summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"