summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-12-22 21:17:15 +0000
committerJeroen Roovers <jer@gentoo.org>2009-12-22 21:17:15 +0000
commit51bd90b00f248e5a3be145d58754293068bc35b1 (patch)
tree762dae6d36dc32936622ceb3cfafc965426a708b /net-analyzer/hping/files/hping-2.0.0_rc3-gentoo.patch
parentVersion bump. (diff)
downloadgentoo-2-51bd90b00f248e5a3be145d58754293068bc35b1.tar.gz
gentoo-2-51bd90b00f248e5a3be145d58754293068bc35b1.tar.bz2
gentoo-2-51bd90b00f248e5a3be145d58754293068bc35b1.zip
Apply the same patches to hping-2 (see previous ChangeLog entry, bar the tcl stuff). Remove useless USE=debug (set -g through CFLAGS instead if you want, both v2 and v3).
(Portage version: 2.2_rc60/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/hping/files/hping-2.0.0_rc3-gentoo.patch')
-rw-r--r--net-analyzer/hping/files/hping-2.0.0_rc3-gentoo.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-analyzer/hping/files/hping-2.0.0_rc3-gentoo.patch b/net-analyzer/hping/files/hping-2.0.0_rc3-gentoo.patch
new file mode 100644
index 000000000000..d8f24bca5e83
--- /dev/null
+++ b/net-analyzer/hping/files/hping-2.0.0_rc3-gentoo.patch
@@ -0,0 +1,20 @@
+--- Makefile.in.org 2004-05-03 11:29:39.000000000 +0200
++++ Makefile.in 2009-12-22 21:55:58.000000000 +0100
+@@ -6,7 +6,7 @@
+ # $date: Sun Jul 25 17:56:15 MET DST 1999$
+ # $rev: 3$
+
+-CC= gcc
++CC?= gcc
+ AR=/usr/bin/ar
+ RANLIB=/usr/bin/ranlib
+ CCOPT= -O2 -Wall @PCAP_INCLUDE@
+@@ -43,7 +43,7 @@
+ $(RANLIB) $@
+
+ hping2: byteorder.h $(OBJ)
+- $(CC) -o hping2 $(CCOPT) $(DEBUG) $(OBJ) $(PCAP) @SOLARISLIB@
++ $(CC) -o hping2 $(CCOPT) $(LDFLAGS) $(DEBUG) $(OBJ) $(PCAP) @SOLARISLIB@
+ @echo
+ ./hping2 -v
+ @echo "use \`make strip' to strip hping2 binary"