From 014a57ac2ca5ae8205a72f0ef0bfc1c0e6716101 Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 4 Mar 2012 06:46:56 +0000 Subject: glibc 2.14.1-1 màj port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- glibc/Pkgfile | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) (limited to 'glibc/Pkgfile') diff --git a/glibc/Pkgfile b/glibc/Pkgfile index 17509606d..967582386 100755 --- a/glibc/Pkgfile +++ b/glibc/Pkgfile @@ -4,21 +4,24 @@ # Packager:thierryn1 at hispeed dot ch name=glibc -version=2.13 +version=2.14.1 release=1 -kernelversion=2.6.38.1 - -source=( http://ftp.gnu.org/gnu/glibc/$name-$version.tar.bz2 \ - http://www.kernel.org/pub/linux/kernel/v2.6/linux-${kernelversion}.tar.bz2 \ - http://nutyx.meticul.eu/files/patchs/$name/{nsswitch.conf,ld.so.conf,SUPPORTED} \ - http://www.linuxfromscratch.org/patches/lfs/development/glibc-$version-gcc_fix-1.patch \ - http://nutyx.meticul.eu/files/patchs/$name/glibc-2.12.1-static-shared-getpagesize.patch ) +kernelversion=3.2.9 +source=(http://ftp.gnu.org/gnu/glibc/$name-$version.tar.xz + http://nutyx.meticul.eu/files/patchs/$name/{nsswitch.conf,ld.so.conf,SUPPORTED} + http://www.linuxfromscratch.org/patches/lfs/development/glibc-$version-gcc_fix-1.patch + http://www.linuxfromscratch.org/patches/lfs/development/glibc-$version-fixes-1.patch + http://www.linuxfromscratch.org/patches/lfs/development/glibc-$version-sort-1.patch + http://nutyx.meticul.eu/files/patchs/$name/glibc-2.12.1-static-shared-getpagesize.patch + http://www.kernel.org/pub/linux/kernel/v3.0/linux-${kernelversion%.*}.tar.bz2 + http://www.kernel.org/pub/linux/kernel/v3.0/patch-$kernelversion.bz2) build() { # install build kernel headers mkdir $PKG/usr/ - cd linux-$kernelversion + cd linux-${kernelversion%.*} + bzip2 -d -c $SRC/patch-$kernelversion.bz2 | patch -Np1 sed -i '/scsi/d' include/Kbuild make mrproper make headers_check @@ -27,9 +30,12 @@ build() { # install glibc cd $name-$version patch -Np1 -i ../glibc-$version-gcc_fix-1.patch + patch -Np1 -i ../glibc-$version-fixes-1.patch + patch -Np1 -i ../glibc-$version-sort-1.patch patch -Np1 -i $SRC/glibc-2.12.1-static-shared-getpagesize.patch - + sed -i '195,213 s/PRIVATE_FUTEX/FUTEX_CLOCK_REALTIME/' \ + nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timed{rd,wr}lock.S sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in mv ../SUPPORTED localedata/ -- cgit v1.2.3-54-g00ecf