iproute2 2.6.22: Fix the uclibc build of the latest iproute2.
authorJamie Lenehan <lenehan@twibble.org>
Sat, 18 Aug 2007 10:16:50 +0000 (10:16 +0000)
committerJamie Lenehan <lenehan@twibble.org>
Sat, 18 Aug 2007 10:16:50 +0000 (10:16 +0000)
packages/iproute2/iproute2-2.6.22/ip6tunnel.patch [new file with mode: 0644]
packages/iproute2/iproute2_2.6.22.bb

diff --git a/packages/iproute2/iproute2-2.6.22/ip6tunnel.patch b/packages/iproute2/iproute2-2.6.22/ip6tunnel.patch
new file mode 100644 (file)
index 0000000..a00a7e7
--- /dev/null
@@ -0,0 +1,12 @@
+This fix is needed when building with uclibc
+
+--- iproute-2.6.20-070313/ip/ip6tunnel.c       2007/03/17 03:44:27     1.1
++++ iproute-2.6.20-070313/ip/ip6tunnel.c       2007/03/17 03:43:14
+@@ -33,6 +33,7 @@
+ #include <sys/socket.h>
+ #include <arpa/inet.h>
+ #include <sys/ioctl.h>
++#include <linux/types.h>
+ #include <linux/ip.h>
+ #include <linux/if.h>
+ #include <linux/if_arp.h>
index 7115c58..f734739 100644 (file)
@@ -1,8 +1,9 @@
-PR = "r0"
+PR = "r1"
 
 DATE = "070710"
 
 SRC_URI_append = " file://new-flex-fix.patch;patch=1 \
+                   file://ip6tunnel.patch;patch=1 \
                    file://no-strip.patch;patch=1"
 
 S = "${WORKDIR}"