r4649 - in glibc-package/trunk/debian: . patches patches/any
Author: aurel32
Date: 2011-05-11 13:38:08 +0000 (Wed, 11 May 2011)
New Revision: 4649
Added:
glibc-package/trunk/debian/patches/any/submitted-at-pagesize.diff
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/series
Log:
* Add patches/any/submitted-at-pagesize.diff from Fedora to fix
getpagesize() on static binaries. Closes: #626379.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2011-05-09 13:30:59 UTC (rev 4648)
+++ glibc-package/trunk/debian/changelog 2011-05-11 13:38:08 UTC (rev 4649)
@@ -12,6 +12,8 @@
- Update patches/any/submitted-autotools.diff to detect the new triplet.
- Add patches/arm/submitted-armhf-triplet.diff to support the
new triplet.
+ * Add patches/any/submitted-at-pagesize.diff from Fedora to fix
+ getpagesize() on static binaries. Closes: #626379.
-- Aurelien Jarno <aurel32@debian.org> Wed, 04 May 2011 19:53:33 +0200
Added: glibc-package/trunk/debian/patches/any/submitted-at-pagesize.diff
===================================================================
--- glibc-package/trunk/debian/patches/any/submitted-at-pagesize.diff (rev 0)
+++ glibc-package/trunk/debian/patches/any/submitted-at-pagesize.diff 2011-05-11 13:38:08 UTC (rev 4649)
@@ -0,0 +1,19 @@
+2010-06-10 Andreas Schwab <schwab@redhat.com>
+
+ * sysdeps/unix/sysv/linux/getpagesize.c: Don't assume AT_PAGESIZE
+ is always available.
+
+--- a/sysdeps/unix/sysv/linux/getpagesize.c
++++ b/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
+--
+1.7.2
+
Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series 2011-05-09 13:30:59 UTC (rev 4648)
+++ glibc-package/trunk/debian/patches/series 2011-05-11 13:38:08 UTC (rev 4649)
@@ -251,3 +251,4 @@
any/local-dl-deps.diff
any/cvs-resolv-tld.diff
any/cvs-sys-param-ARG_MAX.diff
+any/submitted-at-pagesize.diff
Reply to: