summaryrefslogtreecommitdiff
path: root/network/hping3/tcl85.tcpdump.patch
blob: 9c4e6bed50d2a5c7b22c62dd89b40a3ca06191c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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"