summaryrefslogtreecommitdiffstats
path: root/net/SSLtelnet
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-08-08 02:37:53 +0000
committersteve <steve@FreeBSD.org>2000-08-08 02:37:53 +0000
commitca16fb92082e3deedee72a5095c3f96d2921dbaa (patch)
tree9ff9481b526aa4f30389d65694319917516cdaa6 /net/SSLtelnet
parent9a8a9d6e6214da3af227d501f76a0e5fa0cfe18e (diff)
downloadFreeBSD-ports-ca16fb92082e3deedee72a5095c3f96d2921dbaa.zip
FreeBSD-ports-ca16fb92082e3deedee72a5095c3f96d2921dbaa.tar.gz
time(3) returns a time_t and not a long. This fixes build on the Alpha.
Diffstat (limited to 'net/SSLtelnet')
-rw-r--r--net/SSLtelnet/files/patch-af14
1 files changed, 12 insertions, 2 deletions
diff --git a/net/SSLtelnet/files/patch-af b/net/SSLtelnet/files/patch-af
index 6422097..7baffcb 100644
--- a/net/SSLtelnet/files/patch-af
+++ b/net/SSLtelnet/files/patch-af
@@ -1,5 +1,14 @@
---- telnetd/sys_term.c.orig Sat Aug 2 14:37:00 1997
-+++ telnetd/sys_term.c Sat Oct 17 22:11:51 1998
+--- telnetd/sys_term.c.orig Sat Aug 2 01:37:00 1997
++++ telnetd/sys_term.c Sun Aug 6 16:15:37 2000
+@@ -167,7 +167,7 @@
+ struct termios termbuf, termbuf2; /* pty control structure */
+ #endif /* USE_TERMIO */
+
+-extern long time();
++extern time_t time();
+
+ #ifndef STDIN_FILENO
+ #define STDIN_FILENO fileno(stdin)
@@ -531,7 +531,7 @@
return(p);
#else
@@ -68,3 +77,4 @@
+ termbuf.c_iflag &= ~ISTRIP;
#endif
}
+
OpenPOWER on IntegriCloud