diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-26 12:50:39 +0200 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-26 12:50:39 +0200 |
| commit | e0cff236a7b5f42dd5f9ba337841d7f3a4f15bb3 (patch) | |
| tree | a745b0e9c925e57c735dce2573460bd5d6d819f8 /toolchain/glibc/patches/getpagesize.patch | |
| parent | a8c14536161a7f62f06beb5928acfd78691bef78 (diff) | |
| parent | a314aacee222450e5e8d27f38bf49abe38afb10b (diff) | |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/glibc/patches/getpagesize.patch')
| -rw-r--r-- | toolchain/glibc/patches/getpagesize.patch | 14 |
1 files changed, 14 insertions, 0 deletions
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 |
