Fix building glibc-2.6.1 and glibc-2.7 for ARM with recent kernels.
Patch by Matthias Kaehlcke <matthias@kaehlcke.net>.
/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(+)
1.1 --- a/docs/CREDITS Thu May 15 20:45:18 2008 +0000
1.2 +++ b/docs/CREDITS Sun May 18 14:53:11 2008 +0000
1.3 @@ -43,6 +43,9 @@
1.4 - a patch to glibc to build on 'ancient' shells
1.5 - reported mis-use of $CT_CC_NATIVE
1.6
1.7 + Matthias Kaehlcke:
1.8 + - fix building glibc-2.7 (and 2.6.1) with newer kernels
1.9 +
1.10 Many others have contributed, either in form of patches, suggestions,
1.11 comments, or testing... Thank you to all of you!
1.12
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/patches/glibc/ports-2.6.1/200-ARM-asm_page_h.patch Sun May 18 14:53:11 2008 +0000
2.3 @@ -0,0 +1,11 @@
2.4 +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
2.5 +--- 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
2.6 ++++ glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/ioperm.c 2008-05-18 16:19:45.000000000 +0200
2.7 +@@ -45,7 +45,6 @@
2.8 + #include <sys/mman.h>
2.9 +
2.10 + #include <linux/version.h>
2.11 +-#include <asm/page.h>
2.12 + #include <sys/sysctl.h>
2.13 +
2.14 + #define PATH_ARM_SYSTYPE "/etc/arm_systype"
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/patches/glibc/ports-2.7/100-ARM-asm_page_h.patch Sun May 18 14:53:11 2008 +0000
3.3 @@ -0,0 +1,11 @@
3.4 +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
3.5 +--- glibc-2.7.orig/glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c 2005-06-10 13:12:09.000000000 +0200
3.6 ++++ glibc-2.7/glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c 2008-05-18 16:19:45.000000000 +0200
3.7 +@@ -45,7 +45,6 @@
3.8 + #include <sys/mman.h>
3.9 +
3.10 + #include <linux/version.h>
3.11 +-#include <asm/page.h>
3.12 + #include <sys/sysctl.h>
3.13 +
3.14 + #define PATH_ARM_SYSTYPE "/etc/arm_systype"