diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-08-21 04:59:43 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-08-21 04:59:43 +0000 |
commit | 1157adfb0092ec956526408caf26af94a5930f2f (patch) | |
tree | 006429ad027b48a0d8193a3397b38cdad340a627 /net-misc/rarpd/files/1.1-libnet-1.0.patch | |
parent | old (diff) | |
download | gentoo-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-misc/rarpd/files/1.1-libnet-1.0.patch')
-rw-r--r-- | net-misc/rarpd/files/1.1-libnet-1.0.patch | 60 |
1 files changed, 60 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> |