[packages] xtables-addons breaks for powerpc due to missing csum_ipv6_magic()
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Aug 2012 18:38:46 +0000 (18:38 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Aug 2012 18:38:46 +0000 (18:38 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33149 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/xtables-addons/patches/005-powerpc_includes.patch [new file with mode: 0644]

diff --git a/net/xtables-addons/patches/005-powerpc_includes.patch b/net/xtables-addons/patches/005-powerpc_includes.patch
new file mode 100644 (file)
index 0000000..0c16d97
--- /dev/null
@@ -0,0 +1,12 @@
+Index: xtables-addons-1.42/extensions/xt_ECHO.c
+===================================================================
+--- xtables-addons-1.42.orig/extensions/xt_ECHO.c      2012-08-12 20:33:11.000000000 +0200
++++ xtables-addons-1.42/extensions/xt_ECHO.c   2012-08-12 20:33:24.000000000 +0200
+@@ -20,6 +20,7 @@
+ #include <net/ip.h>
+ #include <net/ip6_route.h>
+ #include <net/route.h>
++#include <net/ip6_checksum.h>
+ #include "compat_xtables.h"
+ static unsigned int