void-packages/srcpkgs/glibc/patches/glibc-2.12.1-static-shared-getpagesize.patch

12 lines
268 B
Diff
Raw Normal View History

2010-10-26 03:42:13 +00:00
--- sysdeps/unix/sysv/linux/getpagesize.c
+++ sysdeps/unix/sysv/linux/getpagesize.c
@@ -28,7 +28,7 @@
int
__getpagesize ()
{
-#ifdef __ASSUME_AT_PAGESIZE
+#if 0 && defined __ASSUME_AT_PAGESIZE
assert (GLRO(dl_pagesize) != 0);
return GLRO(dl_pagesize);
#else