summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-08-21 04:59:43 +0000
committerMike Frysinger <vapier@gentoo.org>2003-08-21 04:59:43 +0000
commit1157adfb0092ec956526408caf26af94a5930f2f (patch)
tree006429ad027b48a0d8193a3397b38cdad340a627 /net-analyzer/tcptraceroute/files
parentold (diff)
downloadgentoo-2-1157adfb0092ec956526408caf26af94a5930f2f.tar.gz
gentoo-2-1157adfb0092ec956526408caf26af94a5930f2f.tar.bz2
gentoo-2-1157adfb0092ec956526408caf26af94a5930f2f.zip
patch to compile against SLOT-ed libnet #17772
Diffstat (limited to 'net-analyzer/tcptraceroute/files')
-rw-r--r--net-analyzer/tcptraceroute/files/1.4-libnet-1.0.patch34
-rw-r--r--net-analyzer/tcptraceroute/files/digest-tcptraceroute-1.4-r21
2 files changed, 35 insertions, 0 deletions
diff --git a/net-analyzer/tcptraceroute/files/1.4-libnet-1.0.patch b/net-analyzer/tcptraceroute/files/1.4-libnet-1.0.patch
new file mode 100644
index 000000000000..6ac2b305ab47
--- /dev/null
+++ b/net-analyzer/tcptraceroute/files/1.4-libnet-1.0.patch
@@ -0,0 +1,34 @@
+--- Makefile.orig 2003-08-19 01:31:28.963869296 -0400
++++ Makefile 2003-08-19 01:31:45.567345184 -0400
+@@ -11 +11 @@
+- $(CC) $(CFLAGS) `libnet-config --defines` \
++ $(CC) $(CFLAGS) `libnet-1.0-config --defines` \
+@@ -13 +13 @@
+- `libnet-config --libs` -lpcap
++ `libnet-1.0-config --libs` -lpcap
+--- tcptraceroute.c.orig 2003-08-19 01:31:32.991257040 -0400
++++ tcptraceroute.c 2003-08-19 01:32:02.723737016 -0400
+@@ -27,2 +27,2 @@
+- * gcc -O2 -Wall `libnet-config --defines` \
+- * -o tcptraceroute tcptraceroute.c `libnet-config --libs` -lpcap
++ * gcc -O2 -Wall `libnet-1.0-config --defines` \
++ * -o tcptraceroute tcptraceroute.c `libnet-1.0-config --libs` -lpcap
+@@ -201 +201 @@
+-#include <libnet.h>
++#include <libnet-1.0.h>
+@@ -394,4 +394,4 @@
+- fatal("Usage: %s [-nNFSAE] [-i <interface>] [-f <first ttl>]
+- [-l <packet length>] [-q <number of queries>] [-t <tos>]
+- [-m <max ttl>] [-pP] <source port>] [-s <source address>]
+- [-w <wait time>] <host> [destination port] [packet length]\n\n", name);
++ fatal("Usage: %s [-nNFSAE] [-i <interface>] [-f <first ttl>]\n"\
++" [-l <packet length>] [-q <number of queries>] [-t <tos>]\n"\
++" [-m <max ttl>] [-pP] <source port>] [-s <source address>]\n"\
++" [-w <wait time>] <host> [destination port] [packet length]\n\n", name);
+@@ -1185,3 +1185,3 @@
+- safe_snprintf(filter, TEXTSIZE, "
+- (tcp and src host %s and src port %d and dst host %s)
+- or ((icmp[0] == 11 or icmp[0] == 3) and dst host %s)",
++ safe_snprintf(filter, TEXTSIZE, \
++" (tcp and src host %s and src port %d and dst host %s)\n"\
++" or ((icmp[0] == 11 or icmp[0] == 3) and dst host %s)",
diff --git a/net-analyzer/tcptraceroute/files/digest-tcptraceroute-1.4-r2 b/net-analyzer/tcptraceroute/files/digest-tcptraceroute-1.4-r2
new file mode 100644
index 000000000000..239760bcca0e
--- /dev/null
+++ b/net-analyzer/tcptraceroute/files/digest-tcptraceroute-1.4-r2
@@ -0,0 +1 @@
+MD5 35c5e7d960f2b073db0109e0004e134e tcptraceroute-1.4.tar.gz 31918