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
commitfeb8a64a02a13efbb2bb428c91db676db5a8cbb2 (patch)
tree0abb5e928e5635b0bf144576b41786c697fde2f8 /net-analyzer/hping/files
parentVersion bump. (diff)
downloadhistorical-feb8a64a02a13efbb2bb428c91db676db5a8cbb2.tar.gz
historical-feb8a64a02a13efbb2bb428c91db676db5a8cbb2.tar.bz2
historical-feb8a64a02a13efbb2bb428c91db676db5a8cbb2.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).
Package-Manager: portage-2.2_rc60/cvs/Linux i686
Diffstat (limited to 'net-analyzer/hping/files')
-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"