aboutsummaryrefslogtreecommitdiff
path: root/net/SSLtelnet
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>1999-10-16 03:53:17 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>1999-10-16 03:53:17 +0000
commitf5e43ffcb7837089be2d7921f9d1c40fe0bdb08f (patch)
tree2f9bde5ac5dac985e6fc56b8f187601a1b02bc2c /net/SSLtelnet
parent7f0c7279ed3611eca120b08a5797e0cf192ea640 (diff)
downloadports-f5e43ffcb7837089be2d7921f9d1c40fe0bdb08f.tar.gz
ports-f5e43ffcb7837089be2d7921f9d1c40fe0bdb08f.zip
Notes
Diffstat (limited to 'net/SSLtelnet')
-rw-r--r--net/SSLtelnet/files/patch-al40
1 files changed, 20 insertions, 20 deletions
diff --git a/net/SSLtelnet/files/patch-al b/net/SSLtelnet/files/patch-al
index c0e32618422a..39ed9d90ef05 100644
--- a/net/SSLtelnet/files/patch-al
+++ b/net/SSLtelnet/files/patch-al
@@ -1,26 +1,26 @@
---- telnet/telnet.c.orig Sun Sep 19 11:16:16 1999
-+++ telnet/telnet.c Sun Sep 19 11:16:33 1999
-@@ -752,23 +752,6 @@
+--- 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];
--
-- /*ARGSUSED*/
-- int
--setupterm(tname, fd, errp)
-- char *tname;
-- int fd, *errp;
--{
-- if (tgetent(termbuf, tname) == 1) {
-- termbuf[1023] = '\0';
-- if (errp)
-- *errp = 1;
-- return(0);
-- }
-- if (errp)
-- *errp = 0;
-- return(-1);
--}
++#if (__FreeBSD_version < 400011)
+
+ /*ARGSUSED*/
+ int
+@@ -769,6 +771,7 @@
+ *errp = 0;
+ return(-1);
+ }
++#endif
#else
#define termbuf ttytype
extern char ttytype[];