summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-05-18 14:53:11 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-05-18 14:53:11 (GMT)
commit2dd03634f17af084173c4b72e6b59e2eef63e379 (patch)
tree49b4d8f6a45e3711e2cfb45b395e2fc698c10315
parent7007cc858faf22ecb9321add5af8a0676cf26404 (diff)
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(+)
-rw-r--r--docs/CREDITS3
-rw-r--r--patches/glibc/ports-2.6.1/200-ARM-asm_page_h.patch11
-rw-r--r--patches/glibc/ports-2.7/100-ARM-asm_page_h.patch11
3 files changed, 25 insertions, 0 deletions
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 <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/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 <sys/mman.h>
+
+ #include <linux/version.h>
+-#include <asm/page.h>
+ #include <sys/sysctl.h>
+
+ #define PATH_ARM_SYSTYPE "/etc/arm_systype"