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
commitfd1282f45f787cb195456bca8101951398349a61 (patch)
tree817178b6ac42c6faa3ad9fc5ea8f27c06de99114 /net-misc/rarpd/files
parentpatch to compile against SLOT-ed libnet #17772 (diff)
downloadhistorical-fd1282f45f787cb195456bca8101951398349a61.tar.gz
historical-fd1282f45f787cb195456bca8101951398349a61.tar.bz2
historical-fd1282f45f787cb195456bca8101951398349a61.zip
patch to compile against SLOT-ed libnet #17772
Diffstat (limited to 'net-misc/rarpd/files')
-rw-r--r--net-misc/rarpd/files/1.1-libnet-1.0.patch60
-rw-r--r--net-misc/rarpd/files/digest-rarpd-1.1-r11
2 files changed, 61 insertions, 0 deletions
diff --git a/net-misc/rarpd/files/1.1-libnet-1.0.patch b/net-misc/rarpd/files/1.1-libnet-1.0.patch
new file mode 100644
index 000000000000..45bacd669423
--- /dev/null
+++ b/net-misc/rarpd/files/1.1-libnet-1.0.patch
@@ -0,0 +1,60 @@
+diff -U 0 -r rarpd-1.1.orig/aclocal.m4 rarpd-1.1/aclocal.m4
+--- rarpd-1.1.orig/aclocal.m4 2003-08-19 15:55:45.204522448 -0400
++++ rarpd-1.1/aclocal.m4 2003-08-19 15:58:54.344768760 -0400
+@@ -278 +278 @@
+-if test -f "$1/libnet-config" ; then
++if test -f "$1/libnet-1.0-config" ; then
+@@ -299 +299 @@
+-if test -f "$1/libnet.h" ; then
++if test -f "$1/libnet-1.0.h" ; then
+@@ -321 +321 @@
+-LIBS="$saved_LIBS -L$1 -lnet"
++LIBS="$saved_LIBS -L$1 -lnet-1.0"
+@@ -375 +375 @@
+- if test -f "$with_libnet/libnet-config"; then
++ if test -f "$with_libnet/libnet-1.0-config"; then
+@@ -413 +413 @@
+- LIBNET_CONFIG=$ac_cv_libnet_where_cfg/libnet-config
++ LIBNET_CONFIG=$ac_cv_libnet_where_cfg/libnet-1.0-config
+diff -U 0 -r rarpd-1.1.orig/cmulocal/libnet.m4 rarpd-1.1/cmulocal/libnet.m4
+--- rarpd-1.1.orig/cmulocal/libnet.m4 2003-08-19 15:55:45.205522296 -0400
++++ rarpd-1.1/cmulocal/libnet.m4 2003-08-19 15:58:54.346768456 -0400
+@@ -7 +7 @@
+-if test -f "$1/libnet-config" ; then
++if test -f "$1/libnet-1.0-config" ; then
+@@ -28 +28 @@
+-if test -f "$1/libnet.h" ; then
++if test -f "$1/libnet-1.0.h" ; then
+@@ -50 +50 @@
+-LIBS="$saved_LIBS -L$1 -lnet"
++LIBS="$saved_LIBS -L$1 -lnet-1.0"
+@@ -104 +104 @@
+- if test -f "$with_libnet/libnet-config"; then
++ if test -f "$with_libnet/libnet-1.0-config"; then
+@@ -142 +142 @@
+- LIBNET_CONFIG=$ac_cv_libnet_where_cfg/libnet-config
++ LIBNET_CONFIG=$ac_cv_libnet_where_cfg/libnet-1.0-config
+diff -U 0 -r rarpd-1.1.orig/configure rarpd-1.1/configure
+--- rarpd-1.1.orig/configure 2003-08-19 15:55:45.205522296 -0400
++++ rarpd-1.1/configure 2003-08-19 15:58:54.370764808 -0400
+@@ -1670 +1670 @@
+- if test -f "$with_libnet/libnet-config"; then
++ if test -f "$with_libnet/libnet-1.0-config"; then
+@@ -1690 +1690 @@
+-if test -f "$i/libnet-config" ; then
++if test -f "$i/libnet-1.0-config" ; then
+@@ -1716 +1716 @@
+-LIBS="$saved_LIBS -L$i -lnet"
++LIBS="$saved_LIBS -L$i -lnet-1.0"
+@@ -1789 +1789 @@
+-if test -f "$i/libnet.h" ; then
++if test -f "$i/libnet-1.0.h" ; then
+@@ -1812 +1812 @@
+- LIBNET_CONFIG=$ac_cv_libnet_where_cfg/libnet-config
++ LIBNET_CONFIG=$ac_cv_libnet_where_cfg/libnet-1.0-config
+diff -U 0 -r rarpd-1.1.orig/rarpd.c rarpd-1.1/rarpd.c
+--- rarpd-1.1.orig/rarpd.c 2003-08-19 15:55:45.205522296 -0400
++++ rarpd-1.1/rarpd.c 2003-08-19 15:58:54.374764200 -0400
+@@ -34 +34 @@
+-#include <libnet.h>
++#include <libnet-1.0.h>
diff --git a/net-misc/rarpd/files/digest-rarpd-1.1-r1 b/net-misc/rarpd/files/digest-rarpd-1.1-r1
new file mode 100644
index 000000000000..bd90889fe960
--- /dev/null
+++ b/net-misc/rarpd/files/digest-rarpd-1.1-r1
@@ -0,0 +1 @@
+MD5 04e2ca849e758d0b88c8281775ec3b58 rarpd-1.1.tar.gz 32053