iproute2: fix header problem for musl
authorSteven Barth <cyrus@openwrt.org>
Sat, 17 Jan 2015 10:58:29 +0000 (10:58 +0000)
committerSteven Barth <cyrus@openwrt.org>
Sat, 17 Jan 2015 10:58:29 +0000 (10:58 +0000)
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

package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch [new file with mode: 0644]

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 (file)
index 0000000..ca1125d
--- /dev/null
@@ -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"