summaryrefslogtreecommitdiff
path: root/toolchain/glibc
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/glibc')
-rw-r--r--toolchain/glibc/Makefile.inc2
-rw-r--r--toolchain/glibc/patches/getpagesize.patch14
2 files changed, 15 insertions, 1 deletions
diff --git a/toolchain/glibc/Makefile.inc b/toolchain/glibc/Makefile.inc
index a9f838300..c332ddb89 100644
--- a/toolchain/glibc/Makefile.inc
+++ b/toolchain/glibc/Makefile.inc
@@ -3,7 +3,7 @@
PKG_NAME:= glibc
PKG_VERSION:= 2.13
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= fafabe01cb9748acb0a11a6879ebaa7e
PKG_SITES:= ${MASTER_SITE_GNU:=glibc/}
GLIBC_CONFOPTS:= --build=$(GNU_HOST_NAME) \
diff --git a/toolchain/glibc/patches/getpagesize.patch b/toolchain/glibc/patches/getpagesize.patch
new file mode 100644
index 000000000..de9b73213
--- /dev/null
+++ b/toolchain/glibc/patches/getpagesize.patch
@@ -0,0 +1,14 @@
+ This patch is needed at least on kirkwood. Otherwise DNS-lookups will fail, since
+ GLRO(dl_pagesize) is zero. Solution taken from this resource:
+ http://www.mail-archive.com/pld-cvs-commit@lists.pld-linux.org/msg228455.html
+--- glibc-2.12.1/sysdeps/unix/sysv/linux/getpagesize.c.orig 2011-02-28 03:41:47.870001678 +0100
++++ glibc-2.12.1/sysdeps/unix/sysv/linux/getpagesize.c 2011-02-28 03:42:16.712993932 +0100
+@@ -28,7 +28,7 @@
+ int
+ __getpagesize ()
+ {
+-#ifdef __ASSUME_AT_PAGESIZE
++#if 0
+ assert (GLRO(dl_pagesize) != 0);
+ return GLRO(dl_pagesize);
+ #else