net-libs/libpcap: Drop obsolete patch (bug #633716).

Package-Manager: Portage-2.3.11, Repoman-2.3.3
This commit is contained in:
Jeroen Roovers
2017-10-11 10:23:24 +02:00
parent 1fc3b42df3
commit f1cd2d0b0d
2 changed files with 0 additions and 17 deletions
@@ -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]))
-1
View 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
)