summaryrefslogtreecommitdiff
path: root/meta/packages/linux-libc-headers
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-08-27 14:36:15 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-08-27 14:36:15 +0100
commit0445add6164edf5df8c83b66d72c0e7ddc5cfdde (patch)
tree346efda0a7240e231b8566d934d60d65f600db9d /meta/packages/linux-libc-headers
parentec1d4782715ec07890d73239a2d8afcd4c7d4ef9 (diff)
downloadopenembedded-core-0445add6164edf5df8c83b66d72c0e7ddc5cfdde.tar.gz
openembedded-core-0445add6164edf5df8c83b66d72c0e7ddc5cfdde.tar.bz2
openembedded-core-0445add6164edf5df8c83b66d72c0e7ddc5cfdde.tar.xz
openembedded-core-0445add6164edf5df8c83b66d72c0e7ddc5cfdde.zip
linux-libc-headers: Fix missing include for 2.6.30
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/linux-libc-headers')
-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}"