aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2015-01-17 10:58:29 +0000
committerSteven Barth <cyrus@openwrt.org>2015-01-17 10:58:29 +0000
commitd644d1bd5e8d5fd81656fb3080afacb3dcd13034 (patch)
treeae2b288bed99d80daef98c3a77544a8a7f25f82d /package/network/utils
parent148684bbf45a42ef1ade489eeae96102ba4e1eaa (diff)
downloadupstream-d644d1bd5e8d5fd81656fb3080afacb3dcd13034.tar.gz
upstream-d644d1bd5e8d5fd81656fb3080afacb3dcd13034.tar.bz2
upstream-d644d1bd5e8d5fd81656fb3080afacb3dcd13034.zip
iproute2: fix header problem for musl
iproute2 includes "sanitized" linux kernel headers, which work fine for uClibc, however with musl there is some header conflict, principally some ipv6 structure redefinition. This patch removes <linux/in6.h> from include/linux/if_bridge.h to solve the problem. Signed-off-by: Russell Senior <russell@personaltelco.net> SVN-Revision: 43992
Diffstat (limited to 'package/network/utils')
-rw-r--r--package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch b/package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch
new file mode 100644
index 0000000000..ca1125d1d5
--- /dev/null
+++ b/package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch
@@ -0,0 +1,10 @@
+--- a/include/linux/if_bridge.h
++++ b/include/linux/if_bridge.h
+@@ -15,7 +15,6 @@
+
+ #include <linux/types.h>
+ #include <linux/if_ether.h>
+-#include <linux/in6.h>
+
+ #define SYSFS_BRIDGE_ATTR "bridge"
+ #define SYSFS_BRIDGE_FDB "brforward"