Author: cyrus
Date: 2015-01-17 11:58:29 +0100 (Sat, 17 Jan 2015)
New Revision: 43992

Added:
   
trunk/package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch
Log:
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 <[email protected]>

Added: 
trunk/package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch
===================================================================
--- 
trunk/package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch
                            (rev 0)
+++ 
trunk/package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch
    2015-01-17 10:58:29 UTC (rev 43992)
@@ -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"
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to