summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers-2.6.30/headerfix.patch12
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers_2.6.30.bb5
2 files changed, 15 insertions, 2 deletions
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.30/headerfix.patch b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.30/headerfix.patch
new file mode 100644
index 000000000..b2ebf4063
--- /dev/null
+++ b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.30/headerfix.patch
@@ -0,0 +1,12 @@
+Index: linux-2.6.30/include/linux/if_tunnel.h
+===================================================================
+--- linux-2.6.30.orig/include/linux/if_tunnel.h 2009-08-27 14:34:49.000000000 +0100
++++ linux-2.6.30/include/linux/if_tunnel.h 2009-08-27 14:35:04.000000000 +0100
+@@ -2,6 +2,7 @@
+ #define _IF_TUNNEL_H_
+
+ #include <linux/types.h>
++#include <asm/byteorder.h>
+
+ #ifdef __KERNEL__
+ #include <linux/ip.h>
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.30.bb b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.30.bb
index d9f3fab80..9d1412d61 100644
--- a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.30.bb
+++ b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.30.bb
@@ -2,9 +2,10 @@ require linux-libc-headers.inc
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS += "unifdef-native"
-PR = "r2"
+PR = "r3"
-SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 "
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+ file://headerfix.patch;patch=1"
S = "${WORKDIR}/linux-${PV}"