diff options
Diffstat (limited to 'security/fwtk/files/patch-ad')
-rw-r--r-- | security/fwtk/files/patch-ad | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/security/fwtk/files/patch-ad b/security/fwtk/files/patch-ad index 334c3c08c7b..9e6b874bde6 100644 --- a/security/fwtk/files/patch-ad +++ b/security/fwtk/files/patch-ad @@ -1,6 +1,15 @@ ---- firewall.h.orig Fri Nov 4 23:31:26 1994 -+++ firewall.h Wed May 15 21:28:28 1996 -@@ -59,7 +59,7 @@ +--- firewall.h.orig Sun Mar 1 06:54:20 1998 ++++ firewall.h Sat Apr 18 00:33:53 1998 +@@ -47,7 +47,7 @@ + system. + */ + #ifndef PERMFILE +-#define PERMFILE "/usr/local/etc/netperm-table" ++#define PERMFILE "%%BSD_PREFIX%%/etc/netperm-table" + #endif + + /* +@@ -67,7 +67,7 @@ /* Choose a system logging facility for the firewall toolkit. */ #ifndef LFAC @@ -9,13 +18,12 @@ #endif -@@ -77,8 +77,7 @@ +@@ -89,7 +89,7 @@ makes no difference. make sure that whichever your machine uses is defined below. */ --#define DIRECT_STRUCT struct direct --/* #define DIRECT_STRUCT struct dirent */ -+#define DIRECT_STRUCT struct dirent - - - /* +-#if defined(SYSV) || defined(SCO5) || defined(OSF1) || defined(AIX) ++#if defined(SYSV) || defined(SCO5) || defined(OSF1) || defined(AIX) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) + #define DIRECT_STRUCT struct dirent + #else + #define DIRECT_STRUCT struct direct |