From 431133bf980eb60d1eef418041a646d83d8b74be Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 10 Dec 1998 16:31:13 +0000 Subject: * 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. --- security/fwtk/files/patch-ad | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'security/fwtk/files/patch-ad') 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 ++#include ++/* #include */ /* conflicts with gethostname() in socket.c */ ++#include ++ + /*- + * 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. */ -- cgit v1.2.3