Date: Sunday, January 16, 2011 @ 06:02:49
  Author: allan
Revision: 106270

fix futex bug on x86_64

Modified:
  glibc/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2011-01-16 10:35:05 UTC (rev 106269)
+++ PKGBUILD    2011-01-16 11:02:49 UTC (rev 106270)
@@ -6,7 +6,7 @@
 
 pkgname=glibc
 pkgver=2.12.2
-pkgrel=1
+pkgrel=2
 _glibcdate=20101214
 pkgdesc="GNU C Library"
 arch=('i686' 'x86_64')
@@ -67,6 +67,11 @@
   # http://sourceware.org/git/?p=glibc.git;a=patch;h=d14e6b09 (only fedora 
branch...)
   patch -Np1 -i 
${srcdir}/glibc-2.12.2-ignore-origin-of-privileged-program.patch
 
+  # http://sourceware.org/bugzilla/show_bug.cgi?id=12403
+  if [[ $CARCH == "x86_64" ]]; then
+    sed -i '/__ASSUME_PRIVATE_FUTEX/d'  
$srcdir/glibc/sysdeps/unix/sysv/linux/kernel-features.h
+  fi
+
   install -dm755 ${pkgdir}/etc
   touch ${pkgdir}/etc/ld.so.conf
 

Reply via email to