summaryrefslogtreecommitdiff
path: root/net/SSLtelnet
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-08-08 02:37:53 +0000
committerSteve Price <steve@FreeBSD.org>2000-08-08 02:37:53 +0000
commitb99a5973fe4498eff6d8b0eabe5c6d8ebc98043d (patch)
treeb45fcd91aba82fbd04c069b37be366d92b370cee /net/SSLtelnet
parentAdd 3 files. (diff)
time(3) returns a time_t and not a long. This fixes build on the Alpha.
Notes
Notes: svn path=/head/; revision=31391
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
}
+