From aa7364138f44db9894edef5d9758ecdc062d21d7 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 15 Dec 2004 17:13:17 +0000 Subject: Move hacks to a separate hacks.mk file. Remove a section of patch-aa that was an older workaround to the same GCC/alpha bug that is now superseded by simply requiring gcc>=3.0. --- net/ettercap/patches/patch-aa | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'net/ettercap/patches') diff --git a/net/ettercap/patches/patch-aa b/net/ettercap/patches/patch-aa index 63c28bbfbda..3a698336e9b 100644 --- a/net/ettercap/patches/patch-aa +++ b/net/ettercap/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.4 2003/02/09 23:15:55 dmcmahill Exp $ +$NetBSD: patch-aa,v 1.5 2004/12/15 17:13:17 jlam Exp $ --- Makefile.in.orig Wed Jan 22 10:00:38 2003 +++ Makefile.in Sun Feb 9 18:09:08 2003 @@ -9,20 +9,3 @@ $NetBSD: patch-aa,v 1.4 2003/02/09 23:15:55 dmcmahill Exp $ +COPTS = -I. -Isrc/include -I${prefix}/include @COPTS@ @GTK_CFLAGS@ PROG = @PROG@ -@@ -262,2 +262,16 @@ - - # vim:ts=4:noexpandtab -+ -+COMPILE=$(CC) $(ALLOPT) $(DEFS) -c -o -+COMPILE_NOOPT=${COMPILE:C/-O[0-9]*//g} -+ -+.if (${MACHINE_ARCH} == "alpha") -+# problem files for compiling with optimization -+ -+./src/ec_inet.o: ./src/ec_inet.c -+ ${COMPILE_NOOPT} ./src/ec_inet.o ./src/ec_inet.c -+ -+./src/ec_logtofile.o: ./src/ec_logtofile.c -+ ${COMPILE_NOOPT} ./src/ec_logtofile.o ./src/ec_logtofile.c -+ -+.endif -- cgit v1.2.3