summaryrefslogtreecommitdiff
path: root/network/hping3/tcl85.tcpdump.patch
diff options
context:
space:
mode:
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 0000000000..9c4e6bed50
--- /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"