[oe] [PATCH] glibc 2.9: Remove unnecessary asm/page.h include, not present in recent headers

Jonathan Cameron jic23 at cam.ac.uk
Mon Aug 17 10:00:33 UTC 2009


Only applies to arm.  The bug may also exist for alpha.
The include doesn't appear to be necessary anyway.

Signed-off-by: Jonathan Cameron <jic23 at cam.ac.uk>
---
First oe patch. Please tell me if I got any of the patch formatting
wrong etc. Lots more to follow ;)

Initial copy seems to have bounced due to my first subscription
attempt going wrong. Sorry Koen if you get this twice.

 recipes/glibc/glibc-2.9/remove_page_header.patch |   10 ++++++++++
 recipes/glibc/glibc_2.9.bb                       |    3 ++-
 2 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/recipes/glibc/glibc-2.9/remove_page_header.patch b/recipes/glibc/glibc-2.9/remove_page_header.patch
new file mode 100644
index 0000000..0c446bc
--- /dev/null
+++ b/recipes/glibc/glibc-2.9/remove_page_header.patch
@@ -0,0 +1,10 @@
+--- glibc-2.9-old/ports/sysdeps/unix/sysv/linux/arm/ioperm.c	2009-08-13 17:00:08.000000000 +0100
++++ glibc-2.9/ports/sysdeps/unix/sysv/linux/arm/ioperm.c	2009-08-13 17:01:02.000000000 +0100
+@@ -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/recipes/glibc/glibc_2.9.bb b/recipes/glibc/glibc_2.9.bb
index 6e323aa..f3592dc 100644
--- a/recipes/glibc/glibc_2.9.bb
+++ b/recipes/glibc/glibc_2.9.bb
@@ -5,7 +5,7 @@ ARM_INSTRUCTION_SET = "arm"
 PACKAGES_DYNAMIC = "libc6*"
 RPROVIDES_${PN}-dev = "libc6-dev virtual-libc-dev"
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 # the -isystem in bitbake.conf screws up glibc do_stage
 BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
@@ -65,6 +65,7 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.bz2 \
            file://generate-supported.mk \
            file://march-i686.patch;patch=1;pnum=0 \
 	   file://tls_i486.patch;patch=1 \
+	   file://remove_page_header.patch;patch=1 \
            "
 
 
-- 
1.6.3.3






More information about the Openembedded-devel mailing list