diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2003-02-09 23:15:54 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2003-02-09 23:15:54 +0000 |
commit | add60685a7583642e9c0cd6e989271e7c9d54ece (patch) | |
tree | f97bc0fd6ab664464b40b4232ead3ac3c3e9c939 /net/ettercap/patches | |
parent | c1d205623f928ffaa24fe0afb82472a2abf922ea (diff) | |
download | pkgsrc-add60685a7583642e9c0cd6e989271e7c9d54ece.tar.gz |
reduce optimization on two problem files on alpha to avoid compiler bugs.
Diffstat (limited to 'net/ettercap/patches')
-rw-r--r-- | net/ettercap/patches/patch-aa | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/net/ettercap/patches/patch-aa b/net/ettercap/patches/patch-aa index 87f71bd9d58..63c28bbfbda 100644 --- a/net/ettercap/patches/patch-aa +++ b/net/ettercap/patches/patch-aa @@ -1,13 +1,28 @@ -$NetBSD: patch-aa,v 1.3 2003/01/30 10:46:57 drochner Exp $ +$NetBSD: patch-aa,v 1.4 2003/02/09 23:15:55 dmcmahill Exp $ ---- Makefile.in.orig Wed Jan 22 16:00:38 2003 -+++ Makefile.in Tue Jan 28 11:45:39 2003 -@@ -29,7 +29,7 @@ - +--- Makefile.in.orig Wed Jan 22 10:00:38 2003 ++++ Makefile.in Sun Feb 9 18:09:08 2003 +@@ -30,5 +30,5 @@ DEBUG = @DEBUG@ CFLAG = @E_CFLAGS@ -COPTS = -I. -Isrc/include @COPTS@ @GTK_CFLAGS@ +COPTS = -I. -Isrc/include -I${prefix}/include @COPTS@ @GTK_CFLAGS@ PROG = @PROG@ - VERSION = @VERSION@ +@@ -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 |