summaryrefslogtreecommitdiff
path: root/security/slush/files/patch-ab
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-27 14:11:12 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-27 14:11:12 +0000
commitf8720f3a34cb42fc4fa2b584f875e60355f83894 (patch)
tree1a71e282e7b9301b35d552492c9786f21b658144 /security/slush/files/patch-ab
parentUpgrade to version 0.1.21. (diff)
- Fix build on -current
- Fixes for portlint (DOCSDIR) PR: 58582 Submitted by: elvis@sslab.cs.ccu.edu.tw
Notes
Notes: svn path=/head/; revision=92322
Diffstat (limited to 'security/slush/files/patch-ab')
-rw-r--r--security/slush/files/patch-ab32
1 files changed, 13 insertions, 19 deletions
diff --git a/security/slush/files/patch-ab b/security/slush/files/patch-ab
index 2a72fc630570..35bdb47ece44 100644
--- a/security/slush/files/patch-ab
+++ b/security/slush/files/patch-ab
@@ -1,19 +1,13 @@
-*** slush.c- Fri May 7 03:31:04 1999
---- slush.c Fri May 7 03:31:14 1999
-***************
-*** 34,40 ****
- #include <signal.h>
- #include <string.h>
- #include <stdlib.h>
-! #include <getopt.h>
- #include <termios.h>
- #include <pwd.h>
- #include <sys/ioctl.h>
---- 34,40 ----
- #include <signal.h>
- #include <string.h>
- #include <stdlib.h>
-! /* #include <getopt.h> */
- #include <termios.h>
- #include <pwd.h>
- #include <sys/ioctl.h>
+--- slush.c- Mon Oct 27 06:19:50 2003
++++ slush.c Mon Oct 27 06:21:46 2003
+@@ -34,7 +34,10 @@
+ #include <signal.h>
+ #include <string.h>
+ #include <stdlib.h>
++#include <sys/param.h>
++#if __FreeBSD_version >= 500000
+ #include <getopt.h>
++#endif
+ #include <termios.h>
+ #include <pwd.h>
+ #include <sys/ioctl.h>