]> code.ossystems Code Review - openembedded-core.git/commitdiff
glibc: Add patch to avoid header issues after linux-libc-headers update
authorRichard Purdie <rpurdie@linux.intel.com>
Tue, 16 Jun 2009 21:38:43 +0000 (22:38 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 16 Jun 2009 21:38:43 +0000 (22:38 +0100)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
meta/packages/glibc/files/nopageheader.patch [new file with mode: 0644]
meta/packages/glibc/glibc_2.6.1.bb

diff --git a/meta/packages/glibc/files/nopageheader.patch b/meta/packages/glibc/files/nopageheader.patch
new file mode 100644 (file)
index 0000000..0416711
--- /dev/null
@@ -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"
index 85bd53d5f02f9e5ba70d14d8b6f84fe2a6903a0b..f98864276e394b94d90edff4983841ee114ab95e 100644 (file)
@@ -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