aboutsummaryrefslogtreecommitdiff
path: root/network/hping3/tcl85.tcpdump.patch
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2010-05-12 23:32:14 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:32:14 +0200
commitf054737ae13a8a13f0e407531874818686146bba (patch)
tree7b05bdbd9c5ce6c4ec2b7535318dd7055188cbc2 /network/hping3/tcl85.tcpdump.patch
parent22df004c95878305e396aaf460bcb6449f956617 (diff)
network/hping3: Added to 12.2 repository
Diffstat (limited to 'network/hping3/tcl85.tcpdump.patch')
-rw-r--r--network/hping3/tcl85.tcpdump.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/network/hping3/tcl85.tcpdump.patch b/network/hping3/tcl85.tcpdump.patch
new file mode 100644
index 0000000000000..9c4e6bed50d2a
--- /dev/null
+++ b/network/hping3/tcl85.tcpdump.patch
@@ -0,0 +1,36 @@
+diff -Naur hping3-20051105.orig/configure hping3-20051105/configure
+--- hping3-20051105.orig/configure 2004-06-04 08:39:10.000000000 +0200
++++ hping3-20051105/configure 2008-12-17 23:16:57.000000000 +0100
+@@ -63,7 +63,7 @@
+ #
+ for TCLPATH_TRY in "/usr/bin/" "/usr/local/bin/" "/bin/"
+ do
+- for TCLVER_TRY in "8.4" "8.3" "8.2" "8.1" "8.0"
++ for TCLVER_TRY in "8.5" "8.4" "8.3" "8.2" "8.1" "8.0"
+ do
+ if [ -z $TCLSH ]
+ then
+diff -Naur hping3-20051105.orig/libpcap_stuff.c hping3-20051105/libpcap_stuff.c
+--- hping3-20051105.orig/libpcap_stuff.c 2004-04-10 01:38:56.000000000 +0200
++++ hping3-20051105/libpcap_stuff.c 2008-12-17 23:20:52.000000000 +0100
+@@ -17,7 +17,7 @@
+ #include <stdlib.h>
+ #include <sys/ioctl.h>
+ #include <pcap.h>
+-#include <net/bpf.h>
++#include <pcap-bpf.h>
+
+ #include "globals.h"
+
+diff -Naur hping3-20051105.orig/script.c hping3-20051105/script.c
+--- hping3-20051105.orig/script.c 2004-05-29 08:48:13.000000000 +0200
++++ hping3-20051105/script.c 2008-12-17 23:21:15.000000000 +0100
+@@ -24,7 +24,7 @@
+
+ #include <sys/ioctl.h>
+ #include <pcap.h>
+-#include <net/bpf.h>
++#include <pcap-bpf.h>
+
+ #include "release.h"
+ #include "hping2.h"