void-packages/srcpkgs/chroot-glibc/patches/glibc-2.12.1-static-shared-getpagesize.patch
2012-02-28 18:14:17 +01:00

11 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