summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2007-08-18 10:16:50 +0000
committerJamie Lenehan <lenehan@twibble.org>2007-08-18 10:16:50 +0000
commitc8bff5ceac907680b0a98652445743967d4c05e6 (patch)
tree503a361a3a44ea76377a7c6cbfd9e8f9fb83f675
parent519f39c0541850de64c9d2d3f4f61619ca0dc1fc (diff)
iproute2 2.6.22: Fix the uclibc build of the latest iproute2.
-rw-r--r--packages/iproute2/iproute2-2.6.22/ip6tunnel.patch12
-rw-r--r--packages/iproute2/iproute2_2.6.22.bb3
2 files changed, 14 insertions, 1 deletions
diff --git a/packages/iproute2/iproute2-2.6.22/ip6tunnel.patch b/packages/iproute2/iproute2-2.6.22/ip6tunnel.patch
new file mode 100644
index 0000000000..a00a7e79da
--- /dev/null
+++ b/packages/iproute2/iproute2-2.6.22/ip6tunnel.patch
@@ -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>
diff --git a/packages/iproute2/iproute2_2.6.22.bb b/packages/iproute2/iproute2_2.6.22.bb
index 7115c5890d..f7347395f6 100644
--- a/packages/iproute2/iproute2_2.6.22.bb
+++ b/packages/iproute2/iproute2_2.6.22.bb
@@ -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}"