wok diff glibc/receipt @ rev 8803
fix bdeps: crosstool-ng needs bison to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Feb 23 00:22:44 2011 +0100 (2011-02-23) |
parents | c906b3acf847 |
children | 21ca332597c4 |
line diff
1.1 --- a/glibc/receipt Thu Jan 27 00:20:50 2011 +0100 1.2 +++ b/glibc/receipt Wed Feb 23 00:22:44 2011 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="glibc" 1.7 -VERSION="2.12.2" 1.8 +VERSION="2.13" 1.9 CATEGORY="meta" 1.10 SHORT_DESC="The GNU C libraries. This package is used to compile the libc." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -19,7 +19,7 @@ 1.13 cd $src 1.14 1.15 # Fix a bug that prevents Glibc from building with GCC-4.5.2: 1.16 - patch -Np1 -i ../stuff/glibc-2.12.2-gcc_fix-1.patch 1.17 + patch -Np1 -i ../stuff/glibc-2.13-gcc_fix-1.patch 1.18 1.19 # Build in a separate directory. 1.20 mkdir ../glibc-build && cd ../glibc-build 1.21 @@ -58,10 +58,16 @@ 1.22 sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=$DL -o|" \ 1.23 scripts/test-installation.pl 1.24 unset DL 1.25 + sed -i -e 's/"db1"/& \&\& $name ne "nss_test1"/' scripts/test-installation.pl 1.26 sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in 1.27 1.28 # Fix a bug that prevents Glibc from building with GCC-4.5.2: 1.29 - patch -Np1 -i ../stuff/glibc-2.12.2-gcc_fix-1.patch 1.30 + patch -Np1 -i ../stuff/glibc-2.13-gcc_fix-1.patch 1.31 + 1.32 + # Fix a stack imbalance that occurs under some conditions: 1.33 + sed -i '195,213 s/PRIVATE_FUTEX/FUTEX_CLOCK_REALTIME/' \ 1.34 + nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S \ 1.35 + nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S 1.36 1.37 mkdir ../glibc-build 1.38 cd ../glibc-build