aboutsummaryrefslogtreecommitdiffstats
path: root/net/SSLtelnet
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-08-08 10:37:53 +0800
committersteve <steve@FreeBSD.org>2000-08-08 10:37:53 +0800
commitca16fb92082e3deedee72a5095c3f96d2921dbaa (patch)
tree9ff9481b526aa4f30389d65694319917516cdaa6 /net/SSLtelnet
parent9a8a9d6e6214da3af227d501f76a0e5fa0cfe18e (diff)
downloadfreebsd-ports-gnome-ca16fb92082e3deedee72a5095c3f96d2921dbaa.tar.gz
freebsd-ports-gnome-ca16fb92082e3deedee72a5095c3f96d2921dbaa.tar.zst
freebsd-ports-gnome-ca16fb92082e3deedee72a5095c3f96d2921dbaa.zip
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 64220971489e..7baffcbb1866 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
}
+