[package] add kmod for 2.6.26+ in-kernel uvc video driver (#4637, thanks moh_de)
[openwrt/svn-archive/archive.git] / package / dnsmasq / patches / 102-rtnetlink.patch
index 03f9917a1bc51fb703a157dc622e86e10e7a3b26..613b6b81fe231e1537d54abe11be5de8e71c1bef 100644 (file)
@@ -1,6 +1,7 @@
---- 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 @@
+diff -ur dnsmasq-2.42.orig/src/netlink.c dnsmasq-2.42/src/netlink.c
+--- dnsmasq-2.42.orig/src/netlink.c    2008-06-03 16:38:25.000000000 +0200
++++ dnsmasq-2.42/src/netlink.c 2008-06-03 16:41:06.000000000 +0200
+@@ -21,6 +21,10 @@
  #include <linux/types.h>
  #include <linux/netlink.h>
  #include <linux/rtnetlink.h>
@@ -9,5 +10,5 @@
 +# define IFA_RTA(r)  ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
 +#endif
  
- static struct iovec iov;
+ /* linux 2.6.19 buggers up the headers, patch it up here. */ 
+ #ifndef IFA_RTA