vp-build/srcpkgs/glibc/patches/glibc-2.12.1-static-shared-getpagesize.patch
2010-10-26 05:42:13 +02:00

12 lines
268 B
Diff

--- 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