瀏覽代碼

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]>

SVN-Revision: 43992
Steven Barth 10 年之前
父節點
當前提交
d644d1bd5e
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch

+ 10 - 0
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"