summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2015-06-02 22:14:40 +0300
committerPeter Korsgaard <peter@korsgaard.com>2015-06-02 22:59:54 +0200
commit715f7b98c862e3ae1652effb90586a61ac4f8b6d (patch)
tree7fc2d346caf2a6f00b4b4130e10f266e702520dd
parente7b8f43410e9b9e9afca438d08defbdb40566fc5 (diff)
downloadbuildroot-715f7b98c862e3ae1652effb90586a61ac4f8b6d.tar.gz
buildroot-715f7b98c862e3ae1652effb90586a61ac4f8b6d.zip
libpcap: fix noMMU build
Add a "uClinux is also Linux" patch to fix build for Blackfin. Fixes: http://autobuild.buildroot.net/results/e19/e19e8ebb46560050029576baa040f2c6928e6424/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/libpcap/0002-configure.in-fix-detect-of-if_bonding.h-on-uclinux.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/libpcap/0002-configure.in-fix-detect-of-if_bonding.h-on-uclinux.patch b/package/libpcap/0002-configure.in-fix-detect-of-if_bonding.h-on-uclinux.patch
new file mode 100644
index 0000000000..7838c6f256
--- /dev/null
+++ b/package/libpcap/0002-configure.in-fix-detect-of-if_bonding.h-on-uclinux.patch
@@ -0,0 +1,30 @@
+From 5b8dc4eaeab60d5effc33055e5bce9ac0d98d339 Mon Sep 17 00:00:00 2001
+From: Baruch Siach <baruch@tkos.co.il>
+Date: Tue, 2 Jun 2015 21:39:15 +0300
+Subject: [PATCH] configure.in: fix detect of if_bonding.h on uclinux
+
+noMMU Linux (uClinux) is also Linux
+
+Upstream status: https://github.com/the-tcpdump-group/libpcap/pull/440
+
+Signed-off-by: Baruch Siach <baruch@tkos.co.il>
+---
+ configure.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.in b/configure.in
+index be4b29e2f8ba..31287d0dbe61 100644
+--- a/configure.in
++++ b/configure.in
+@@ -149,7 +149,7 @@ struct rtentry;
+ fi
+
+ case "$host_os" in
+-linux*)
++linux*|uclinux*)
+ AC_CHECK_HEADERS(linux/sockios.h linux/if_bonding.h,,,
+ [
+ #include <sys/socket.h>
+--
+2.1.4
+
OpenPOWER on IntegriCloud