freebsd-ports/net/SSLtelnet/files/patch-al
Vanilla I. Shu f5e43ffcb7 Fix the setterm() on -stable.
Found by:	maintainer
1999-10-16 03:53:17 +00:00

27 lines
466 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- telnet/telnet.c.orig Sat Oct 16 11:32:57 1999
+++ telnet/telnet.c Sat Oct 16 11:34:05 1999
@@ -68,6 +68,7 @@
#include "externs.h"
#include "types.h"
#include "general.h"
+#include <osreldate.h>
#define strip(x) ((x)&0x7f)
@@ -752,6 +753,7 @@
#ifdef TERMCAP
char termbuf[1024];
+#if (__FreeBSD_version < 400011)
/*ARGSUSED*/
int
@@ -769,6 +771,7 @@
*errp = 0;
return(-1);
}
+#endif
#else
#define termbuf ttytype
extern char ttytype[];