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

12 lines
268 B
Diff
Raw Normal View History

2012-02-28 17:14:17 +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