packages/net/xtables-addons/patches/110-dnetmap-linux-3.7.patch
juhosg 90f047a93e xtables-addons: build version 2.0 for kernel 3.7 onwards
Version 2.0 of xtables-addons dropped support for all kernels older than
3.7. So we still need to build v1.x for older kernels. Keep a separate
patches directory for it, with almost all the same patches for now.

We can easily drop the 1.x build once we have more than two platforms
running 3.7.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@34921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 16:45:40 +00:00

23 lines
758 B
Diff

--- xtables-addons-2.0/extensions/xt_DNETMAP.c~ 2012-11-12 18:03:51.000000000 +0000
+++ xtables-addons-2.0/extensions/xt_DNETMAP.c 2012-12-20 00:06:10.656675731 +0000
@@ -27,7 +27,7 @@
#include <linux/netfilter_ipv4.h>
#include <linux/netfilter/x_tables.h>
#include <linux/version.h>
-#include <net/netfilter/nf_nat_rule.h>
+#include <net/netfilter/nf_nat.h>
#include <net/net_namespace.h>
#include <net/netns/generic.h>
#include <linux/netfilter/nf_nat.h>
--- xtables-addons-2.0/mconfig 2012-12-20 00:55:11.445085492 +0000
+++ xtables-addons-2.0/mconfig~ 2012-12-20 00:54:29.000000000 +0000
@@ -4,7 +4,7 @@ build_ACCOUNT=m
build_CHAOS=m
build_DELUDE=m
build_DHCPMAC=m
-build_DNETMAP=
+build_DNETMAP=m
build_ECHO=m
build_IPMARK=m
build_LOGMARK=m