prepare packages for kernel upgrade to 2.6.19
authorFelix Fietkau <nbd@openwrt.org>
Thu, 14 Dec 2006 08:00:20 +0000 (08:00 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 14 Dec 2006 08:00:20 +0000 (08:00 +0000)
SVN-Revision: 5786

package/dnsmasq/patches/102-rtnetlink.patch [new file with mode: 0644]
package/iptables/patches/06-iprange-typesh.patch [new file with mode: 0644]
package/switch/src/switch-adm.c
package/switch/src/switch-core.c
package/switch/src/switch-robo.c

diff --git a/package/dnsmasq/patches/102-rtnetlink.patch b/package/dnsmasq/patches/102-rtnetlink.patch
new file mode 100644 (file)
index 0000000..03f9917
--- /dev/null
@@ -0,0 +1,13 @@
+--- dnsmasq-2.35/src/netlink.c.orig    2006-12-04 23:32:49.000000000 +0100
++++ dnsmasq-2.35/src/netlink.c 2006-12-04 23:33:18.000000000 +0100
+@@ -17,6 +17,10 @@
+ #include <linux/types.h>
+ #include <linux/netlink.h>
+ #include <linux/rtnetlink.h>
++#ifndef IFA_RTA
++# include "linux/if_addr.h"
++# define IFA_RTA(r)  ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
++#endif
+ static struct iovec iov;
diff --git a/package/iptables/patches/06-iprange-typesh.patch b/package/iptables/patches/06-iprange-typesh.patch
new file mode 100644 (file)
index 0000000..2dc60d4
--- /dev/null
@@ -0,0 +1,10 @@
+--- iptables-1.3.5/extensions/libipt_iprange.c.orig    2006-12-05 19:28:58.000000000 +0100
++++ iptables-1.3.5/extensions/libipt_iprange.c 2006-12-05 19:30:28.000000000 +0100
+@@ -6,6 +6,7 @@
+ #include <getopt.h>
+ #include <iptables.h>
++#include <linux/types.h>
+ #include <linux/netfilter_ipv4/ipt_iprange.h>
+ /* Function which prints out usage message. */
index beaf9ca7873cd9db8683dc37ed46582dfccdcf78..718096b02641b2f83a6d41874db9762460596d0c 100644 (file)
@@ -26,7 +26,7 @@
  * 02110-1301, USA.
  */
 
-#include <linux/config.h>
+#include <linux/autoconf.h>
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/if.h>
index 7bf705afe47f674affab6c6fcd4a13074566735f..c1c9e58d480c7ed0a7293d457cc5c48de2d4d44c 100644 (file)
@@ -32,7 +32,7 @@
  *     ports: same syntax as for nvram's vlan*ports (eg. "1 2 3 4 5*")
  */
 
-#include <linux/config.h>
+#include <linux/autoconf.h>
 #include <linux/module.h>
 #include <linux/init.h>
 #include <asm/uaccess.h>
index 32cf2b3960306fda8f7108917e0770f4e7757f52..d46f8ff3f2aba95079498c2a42ea0bcf1c7362f7 100644 (file)
@@ -20,7 +20,7 @@
  * 02110-1301, USA.
  */
 
-#include <linux/config.h>
+#include <linux/autoconf.h>
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/if.h>