summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-08-21 05:05:41 +0000
committerMike Frysinger <vapier@gentoo.org>2003-08-21 05:05:41 +0000
commit94cee67393c645a95cdbe810e306e46cfd747b7f (patch)
tree6bfbca98b4bfb489874b5d053b8553533c1a4fc0 /net-dns/dnshijacker/files
parentstupid cvs up/down (diff)
downloadgentoo-2-94cee67393c645a95cdbe810e306e46cfd747b7f.tar.gz
gentoo-2-94cee67393c645a95cdbe810e306e46cfd747b7f.tar.bz2
gentoo-2-94cee67393c645a95cdbe810e306e46cfd747b7f.zip
patch to compile against SLOT-ed libnet #17772
Diffstat (limited to 'net-dns/dnshijacker/files')
-rw-r--r--net-dns/dnshijacker/files/1.3-libnet-1.0.patch39
-rw-r--r--net-dns/dnshijacker/files/digest-dnshijacker-1.3-r11
2 files changed, 40 insertions, 0 deletions
diff --git a/net-dns/dnshijacker/files/1.3-libnet-1.0.patch b/net-dns/dnshijacker/files/1.3-libnet-1.0.patch
new file mode 100644
index 000000000000..08337d5c8282
--- /dev/null
+++ b/net-dns/dnshijacker/files/1.3-libnet-1.0.patch
@@ -0,0 +1,39 @@
+diff -U 0 -r dnshijacker-1.3.orig/Makefile dnshijacker-1.3/Makefile
+--- dnshijacker-1.3.orig/Makefile 2003-08-19 15:39:54.068117160 -0400
++++ dnshijacker-1.3/Makefile 2003-08-19 15:40:26.836135664 -0400
+@@ -4 +4 @@
+- gcc ask_dns.c -lnet `libnet-config --defines` -o ask_dns
++ gcc ask_dns.c -lnet-1.0 `libnet-1.0-config --defines` -o ask_dns
+@@ -7 +7 @@
+- gcc answer_dns.c -lnet `libnet-config --defines` -o answer_dns
++ gcc answer_dns.c -lnet-1.0 `libnet-1.0-config --defines` -o answer_dns
+@@ -10 +10 @@
+- gcc dnshijacker.c -lpcap -lnet -lresolv `libnet-config --defines` -o dnshijacker
++ gcc dnshijacker.c -lpcap -lnet-1.0 -lresolv `libnet-1.0-config --defines` -o dnshijacker
+@@ -13 +13 @@
+- gcc dnshijacker.c -lpcap -lnet -lresolv `libnet-config --defines` -o dnshijacker -DDEBUG -ggdb
++ gcc dnshijacker.c -lpcap -lnet-1.0 -lresolv `libnet-1.0-config --defines` -o dnshijacker -DDEBUG -ggdb
+diff -U 0 -r dnshijacker-1.3.orig/README dnshijacker-1.3/README
+--- dnshijacker-1.3.orig/README 2003-08-19 15:39:54.068117160 -0400
++++ dnshijacker-1.3/README 2003-08-19 15:40:26.840135056 -0400
+@@ -61 +61 @@
+- gcc dnshijacker.c -lpcap -lnet `libnet-config --defines` -o dnshijacker
++ gcc dnshijacker.c -lpcap -lnet-1.0 `libnet-1.0-config --defines` -o dnshijacker
+diff -U 0 -r dnshijacker-1.3.orig/answer_dns.c dnshijacker-1.3/answer_dns.c
+--- dnshijacker-1.3.orig/answer_dns.c 2003-08-19 15:39:54.069117008 -0400
++++ dnshijacker-1.3/answer_dns.c 2003-08-19 15:40:48.815794248 -0400
+@@ -5 +5 @@
+-#include <libnet.h>
++#include <libnet-1.0.h>
+diff -U 0 -r dnshijacker-1.3.orig/ask_dns.c dnshijacker-1.3/ask_dns.c
+--- dnshijacker-1.3.orig/ask_dns.c 2003-08-19 15:39:54.068117160 -0400
++++ dnshijacker-1.3/ask_dns.c 2003-08-19 15:40:48.816794096 -0400
+@@ -5 +5 @@
+-#include <libnet.h>
++#include <libnet-1.0.h>
+diff -U 0 -r dnshijacker-1.3.orig/dnshijacker.h dnshijacker-1.3/dnshijacker.h
+--- dnshijacker-1.3.orig/dnshijacker.h 2003-08-19 15:39:54.068117160 -0400
++++ dnshijacker-1.3/dnshijacker.h 2003-08-19 15:40:48.818793792 -0400
+@@ -10 +10 @@
+-#include <libnet.h>
++#include <libnet-1.0.h>
diff --git a/net-dns/dnshijacker/files/digest-dnshijacker-1.3-r1 b/net-dns/dnshijacker/files/digest-dnshijacker-1.3-r1
new file mode 100644
index 000000000000..4f6a0e3932dd
--- /dev/null
+++ b/net-dns/dnshijacker/files/digest-dnshijacker-1.3-r1
@@ -0,0 +1 @@
+MD5 f7e8f1432de7f63538b3a7ed91ecf2bd dnshijacker-1.3.tar.gz 23569