xtables-addons breaks for powerpc due to missing csum_ipv6_magic()
authorJohn Crispin <john@openwrt.org>
Sun, 12 Aug 2012 18:38:46 +0000 (18:38 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 12 Aug 2012 18:38:46 +0000 (18:38 +0000)
SVN-Revision: 33149

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