summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-06-16 22:38:43 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-06-16 22:38:43 +0100
commit7901380195c8426cb4901310809d09a844a5e90e (patch)
treedfb158b9f0816324ad5e7097b628be77a0e79979 /meta
parent1acaab0f4bcbcb648167a15a924def801be63979 (diff)
downloadopenembedded-core-7901380195c8426cb4901310809d09a844a5e90e.tar.gz
openembedded-core-7901380195c8426cb4901310809d09a844a5e90e.tar.bz2
openembedded-core-7901380195c8426cb4901310809d09a844a5e90e.zip
glibc: Add patch to avoid header issues after linux-libc-headers update
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/glibc/files/nopageheader.patch12
-rw-r--r--meta/packages/glibc/glibc_2.6.1.bb1
2 files changed, 13 insertions, 0 deletions
diff --git a/meta/packages/glibc/files/nopageheader.patch b/meta/packages/glibc/files/nopageheader.patch
new file mode 100644
index 0000000000..0416711586
--- /dev/null
+++ b/meta/packages/glibc/files/nopageheader.patch
@@ -0,0 +1,12 @@
+Index: glibc-2.6.1/ports/sysdeps/unix/sysv/linux/arm/ioperm.c
+===================================================================
+--- glibc-2.6.1.orig/ports/sysdeps/unix/sysv/linux/arm/ioperm.c 2005-06-10 11:12:09.000000000 +0000
++++ glibc-2.6.1/ports/sysdeps/unix/sysv/linux/arm/ioperm.c 2009-06-16 21:16:16.007016198 +0000
+@@ -45,7 +45,6 @@
+ #include <sys/mman.h>
+
+ #include <linux/version.h>
+-#include <asm/page.h>
+ #include <sys/sysctl.h>
+
+ #define PATH_ARM_SYSTYPE "/etc/arm_systype"
diff --git a/meta/packages/glibc/glibc_2.6.1.bb b/meta/packages/glibc/glibc_2.6.1.bb
index 85bd53d5f0..f98864276e 100644
--- a/meta/packages/glibc/glibc_2.6.1.bb
+++ b/meta/packages/glibc/glibc_2.6.1.bb
@@ -59,6 +59,7 @@ SRC_URI = "\
file://glibc-2.6.1-use-short-for-fnstsw.patch;patch=1 \
file://glibc-include-fixed.patch;patch=1;pnum=0 \
file://no-hwcaps.patch;patch=1 \
+ file://nopageheader.patch;patch=1 \
"
# Build fails on sh3 and sh4 without additional patches