summaryrefslogtreecommitdiff
path: root/security/fwtk/files/patch-ad
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-12-10 16:31:13 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-12-10 16:31:13 +0000
commit431133bf980eb60d1eef418041a646d83d8b74be (patch)
treec0b2f40f3835deed638606ef118cc8b1bcea4c0b /security/fwtk/files/patch-ad
parentUnbreak. (misc/rpm is not broken) (diff)
* Fix compiling on 3.0.x. They include headers in the most non-"standard"
order I've ever seen. Haven't these guys ever done Unix programming before? * Quiet some compiling warnings. For "security" software, this code should NOT have as many warnings and unused vars as it does.
Notes
Notes: svn path=/head/; revision=15252
Diffstat (limited to 'security/fwtk/files/patch-ad')
-rw-r--r--security/fwtk/files/patch-ad19
1 files changed, 15 insertions, 4 deletions
diff --git a/security/fwtk/files/patch-ad b/security/fwtk/files/patch-ad
index 9e6b874bde6f..9b0b404b9fab 100644
--- a/security/fwtk/files/patch-ad
+++ b/security/fwtk/files/patch-ad
@@ -1,6 +1,17 @@
--- firewall.h.orig Sun Mar 1 06:54:20 1998
-+++ firewall.h Sat Apr 18 00:33:53 1998
-@@ -47,7 +47,7 @@
++++ firewall.h Thu Dec 10 08:26:28 1998
+@@ -1,3 +1,10 @@
++/* I don't like including these here, but it is the least intrusive fix
++ I can see at the moment. -- David O'Brien for the FreeBSD port */
++#include <stdlib.h>
++#include <stdio.h>
++/* #include <unistd.h> */ /* conflicts with gethostname() in socket.c */
++#include <string.h>
++
+ /*-
+ * Copyright (c) 1993, 1996, 1997 Trusted Information Systems, Incorporated
+ * All rights reserved.
+@@ -47,7 +54,7 @@
system.
*/
#ifndef PERMFILE
@@ -9,7 +20,7 @@
#endif
/*
-@@ -67,7 +67,7 @@
+@@ -67,7 +74,7 @@
/* Choose a system logging facility for the firewall toolkit. */
#ifndef LFAC
@@ -18,7 +29,7 @@
#endif
-@@ -89,7 +89,7 @@
+@@ -89,7 +96,7 @@
makes no difference. make sure that whichever your machine uses
is defined below.
*/