summaryrefslogtreecommitdiffstats
path: root/glibc/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-03-04 06:46:56 +0000
committerpiernov <piernov@piernov.org>2012-03-04 06:46:56 +0000
commit014a57ac2ca5ae8205a72f0ef0bfc1c0e6716101 (patch)
treea94de7b163ecedd8ca29f0bfda728bc5c5df2b82 /glibc/Pkgfile
parentd50ecf2e03fa3f23709ad4d59832cfd8641ac1c8 (diff)
downloadnutyx-pakxe-014a57ac2ca5ae8205a72f0ef0bfc1c0e6716101.tar.gz
nutyx-pakxe-014a57ac2ca5ae8205a72f0ef0bfc1c0e6716101.tar.bz2
nutyx-pakxe-014a57ac2ca5ae8205a72f0ef0bfc1c0e6716101.tar.xz
nutyx-pakxe-014a57ac2ca5ae8205a72f0ef0bfc1c0e6716101.zip
glibc 2.14.1-1 màj port
Diffstat (limited to 'glibc/Pkgfile')
-rwxr-xr-xglibc/Pkgfile26
1 files changed, 16 insertions, 10 deletions
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/