net-libs/libpcap: Drop obsolete patch (bug #633716).
authorJeroen Roovers <jer@gentoo.org>
Wed, 11 Oct 2017 08:22:56 +0000 (10:22 +0200)
committerJeroen Roovers <jer@gentoo.org>
Wed, 11 Oct 2017 08:23:24 +0000 (10:23 +0200)
Package-Manager: Portage-2.3.11, Repoman-2.3.3

net-libs/libpcap/files/libpcap-9999-cross-linux.patch [deleted file]
net-libs/libpcap/libpcap-9999.ebuild

diff --git a/net-libs/libpcap/files/libpcap-9999-cross-linux.patch b/net-libs/libpcap/files/libpcap-9999-cross-linux.patch
deleted file mode 100644 (file)
index f01a9ca..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -317,7 +317,12 @@
- dnl XXX This could be done for cross-compiling, but for now it's not.
- dnl
- if test -z "$with_pcap" && test "$cross_compiling" = yes; then
--      AC_MSG_ERROR(pcap type not determined when cross-compiling; use --with-pcap=...)
-+      if test -z "$with_pcap" ; then
-+              case $host in
-+                      *-linux*) with_pcap="linux";;
-+                      *) AC_MSG_ERROR(pcap type not determined when cross-compiling; use --with-pcap=...);;
-+              esac
-+      fi
- fi
- AC_ARG_WITH(pcap,
- AC_HELP_STRING([--with-pcap=TYPE],[use packet capture TYPE]))
index 28f3488e0abde37da9f6a4f49e0b1d52f829d32e..f7dcbffb9bf80071e573a7fddd57ecb4df087d5b 100644 (file)
@@ -31,7 +31,6 @@ DEPEND="
 
 PATCHES=(
        "${FILESDIR}"/${PN}-1.6.1-prefix-solaris.patch
-       "${FILESDIR}"/${PN}-9999-cross-linux.patch
        "${FILESDIR}"/${PN}-9999-libnl.patch
        "${FILESDIR}"/${PN}-9999-prefix-darwin.patch
 )