summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2003-05-12 22:10:25 +0000
committeranholt <anholt@FreeBSD.org>2003-05-12 22:10:25 +0000
commit19756a271cf89db0d3662930e35fd1e971bcfa02 (patch)
tree660b09480d8658a2a3d788bd250d265a33883795 /security
parent919796a4fc541dda5e83148761e916b665ea821f (diff)
downloadFreeBSD-ports-19756a271cf89db0d3662930e35fd1e971bcfa02.zip
FreeBSD-ports-19756a271cf89db0d3662930e35fd1e971bcfa02.tar.gz
Fix with newer gcc by converting #if #endif around license statement to /* */
Also fix linking so that CFLAGS get respected.
Diffstat (limited to 'security')
-rw-r--r--security/gag/files/patch-Makefile11
-rw-r--r--security/gag/files/patch-gag.c22
2 files changed, 32 insertions, 1 deletions
diff --git a/security/gag/files/patch-Makefile b/security/gag/files/patch-Makefile
index fae7cfc..e4bf647 100644
--- a/security/gag/files/patch-Makefile
+++ b/security/gag/files/patch-Makefile
@@ -1,5 +1,5 @@
--- Makefile.orig Mon Jan 10 13:13:12 2000
-+++ Makefile Sun Feb 13 17:41:35 2000
++++ Makefile Mon May 12 15:15:36 2003
@@ -1,7 +1,7 @@
-CFLAGS=
+#CFLAGS=
@@ -10,3 +10,12 @@
default:
@clear
+@@ -11,7 +11,7 @@
+ @echo "to suit your operating system, then use 'make gag'"
+
+ gag: gag.o
+- $(CC) -o gag gag.c $(LIBS)
++ $(CC) -o gag gag.o $(LIBS)
+
+ # This assumes the source is in a directory named "sickenscan".
+ tar: sickenscan.tar
diff --git a/security/gag/files/patch-gag.c b/security/gag/files/patch-gag.c
new file mode 100644
index 0000000..ae425a8
--- /dev/null
+++ b/security/gag/files/patch-gag.c
@@ -0,0 +1,22 @@
+--- gag.c.orig Mon May 12 15:15:07 2003
++++ gag.c Mon May 12 15:15:09 2003
+@@ -16,8 +16,7 @@
+ *
+ */
+
+-#if YOU_HAVE_NOT_READ_THIS_YET
+-
++/*
+ This software should only be used in compliance with all applicable laws and
+ the policies and preferences of the owners of any networks, systems, or hosts
+ scanned with the software
+@@ -34,8 +33,7 @@
+ DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, TORT (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING
+ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+-
+-#endif
++*/
+
+ #define GAG "gesundheit!"
+ #define VERSION "$Revision: 2.9 $"
OpenPOWER on IntegriCloud