From 2dd03634f17af084173c4b72e6b59e2eef63e379 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 18 May 2008 14:53:11 +0000 Subject: Fix building glibc-2.6.1 and glibc-2.7 for ARM with recent kernels. Patch by Matthias Kaehlcke . /trunk/patches/glibc/ports-2.6.1/200-ARM-asm_page_h.patch | 11 11 0 0 +++++++++++ /trunk/patches/glibc/ports-2.7/100-ARM-asm_page_h.patch | 11 11 0 0 +++++++++++ /trunk/docs/CREDITS | 3 3 0 0 +++ 3 files changed, 25 insertions(+) diff --git a/docs/CREDITS b/docs/CREDITS index ab43991..f1ea922 100644 --- a/docs/CREDITS +++ b/docs/CREDITS @@ -43,6 +43,9 @@ And in order of appearance on the crossgcc ML: - a patch to glibc to build on 'ancient' shells - reported mis-use of $CT_CC_NATIVE + Matthias Kaehlcke: + - fix building glibc-2.7 (and 2.6.1) with newer kernels + Many others have contributed, either in form of patches, suggestions, comments, or testing... Thank you to all of you! diff --git a/patches/glibc/ports-2.6.1/200-ARM-asm_page_h.patch b/patches/glibc/ports-2.6.1/200-ARM-asm_page_h.patch new file mode 100644 index 0000000..4e882af --- /dev/null +++ b/patches/glibc/ports-2.6.1/200-ARM-asm_page_h.patch @@ -0,0 +1,11 @@ +diff -durN glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/ioperm.c glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c +--- glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/ioperm.c 2005-06-10 13:12:09.000000000 +0200 ++++ glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/ioperm.c 2008-05-18 16:19:45.000000000 +0200 +@@ -45,7 +45,6 @@ + #include + + #include +-#include + #include + + #define PATH_ARM_SYSTYPE "/etc/arm_systype" diff --git a/patches/glibc/ports-2.7/100-ARM-asm_page_h.patch b/patches/glibc/ports-2.7/100-ARM-asm_page_h.patch new file mode 100644 index 0000000..60079d3 --- /dev/null +++ b/patches/glibc/ports-2.7/100-ARM-asm_page_h.patch @@ -0,0 +1,11 @@ +diff -durN glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/ioperm.c glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c +--- glibc-2.7.orig/glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c 2005-06-10 13:12:09.000000000 +0200 ++++ glibc-2.7/glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c 2008-05-18 16:19:45.000000000 +0200 +@@ -45,7 +45,6 @@ + #include + + #include +-#include + #include + + #define PATH_ARM_SYSTYPE "/etc/arm_systype" -- cgit v0.10.2-6-g49f6