1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 22:59:40 +02:00

update arptables to latest upstream version and fix compile with 2.6.19

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5793 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-12-14 19:36:35 +00:00
parent 92f1e1a003
commit aa617fb4c0
2 changed files with 26 additions and 2 deletions

View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=arptables
PKG_VERSION:=0.0.3
PKG_VERSION:=0.0.3-2
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/ebtables
PKG_MD5SUM:=1672244603c8979577aa4738be35a759
PKG_MD5SUM:=283d19292bd99913dc3a42842826c286
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-v$(PKG_VERSION)

View File

@ -0,0 +1,24 @@
diff -ur arptables.old/include/linux/netfilter_arp.h arptables.dev/include/linux/netfilter_arp.h
--- arptables.old/include/linux/netfilter_arp.h 2003-10-25 13:39:06.000000000 +0200
+++ arptables.dev/include/linux/netfilter_arp.h 2006-12-14 20:35:10.000000000 +0100
@@ -7,7 +7,7 @@
* (C)2002 Rusty Russell IBM -- This code is GPL.
*/
-#include <linux/config.h>
+#include <linux/autoconf.h>
#include <linux/netfilter.h>
/* There is no PF_ARP. */
diff -ur arptables.old/include/netfilter_arp.h arptables.dev/include/netfilter_arp.h
--- arptables.old/include/netfilter_arp.h 2003-10-25 12:43:24.000000000 +0200
+++ arptables.dev/include/netfilter_arp.h 2006-12-14 20:34:57.000000000 +0100
@@ -7,7 +7,7 @@
* (C)2002 Rusty Russell IBM -- This code is GPL.
*/
-#include <linux/config.h>
+#include <linux/autoconf.h>
#include <linux/netfilter.h>
/* There is no PF_ARP. */