summaryrefslogtreecommitdiffstats
path: root/glibc/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2012-03-26 21:22:56 +0200
committerpiernov <piernov@piernov.org>2012-05-15 18:19:46 +0200
commit559d7d6b9fdf67d968f5d1c66a2f3f1b1d248109 (patch)
tree28555bcd5e6c6041df73055ded659d3f5bdf27cf /glibc/Pkgfile
parenta94dc4bad6a35831c67e66511e6a36c015efeec3 (diff)
downloadnutyx-pakxe-559d7d6b9fdf67d968f5d1c66a2f3f1b1d248109.tar.gz
nutyx-pakxe-559d7d6b9fdf67d968f5d1c66a2f3f1b1d248109.tar.bz2
nutyx-pakxe-559d7d6b9fdf67d968f5d1c66a2f3f1b1d248109.tar.xz
nutyx-pakxe-559d7d6b9fdf67d968f5d1c66a2f3f1b1d248109.zip
glibc, maj 2.15-1
(cherry picked from commit b65d387781ebef309d982b3ac02b1a2a4d4ad639)
Diffstat (limited to 'glibc/Pkgfile')
-rwxr-xr-xglibc/Pkgfile46
1 files changed, 33 insertions, 13 deletions
diff --git a/glibc/Pkgfile b/glibc/Pkgfile
index f09db7201..38fd9e0d2 100755
--- a/glibc/Pkgfile
+++ b/glibc/Pkgfile
@@ -1,12 +1,21 @@
# Description: La librairie C utilisée dans le système GNU
# URL: http://www.gnu.org/software/libc/
-# Maintainer: NuTyX core team
+# Maintainer: Primarily Roland McGrath, roland at gnu dot org and many contributors, glibc-sc at gnu dot org
# Packager:thierryn1 at hispeed dot ch
name=glibc
-version=2.14.1
+version=2.15
release=1
-kernelversion=3.2.9
+kernelversion=3.3
+
+source=( http://ftp.gnu.org/gnu/glibc/$name-$version.tar.xz \
+ http://www.kernel.org/pub/linux/kernel/v3.3/linux-${kernelversion}.tar.xz \
+ http://nutyx.meticul.eu/files/patchs/$name/{nsswitch.conf,ld.so.conf,SUPPORTED} \
+ http://nutyx.meticul.eu/files/patchs/$name/glibc-2.14-reexport-rpc-interface.patch \
+ http://nutyx.meticul.eu/files/patchs/$name/glibc-2.14-reinstall-nis-rpc-headers.patch \
+ http://www.linuxfromscratch.org/patches/lfs/development/glibc-2.14.1-fixes-1.patch \
+ http://www.linuxfromscratch.org/patches/lfs/development/glibc-2.14.1-sort-1.patch \
+ http://www.linuxfromscratch.org/patches/lfs/development/glibc-2.14.1-gcc_fix-1.patch)
source=(http://ftp.gnu.org/gnu/glibc/$name-$version.tar.xz
http://nutyx.meticul.eu/files/patchs/$name/{nsswitch.conf,ld.so.conf,SUPPORTED}
@@ -28,17 +37,28 @@ build() {
make headers_check
make INSTALL_HDR_PATH=$PKG/usr headers_install
cd ..
+
# 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 ../glibc-$version-cpuid-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
+
+ patch -Np1 -i ../glibc-2.14.1-fixes-1.patch
+ patch -Np1 -i ../glibc-2.14.1-sort-1.patch
+ patch -Np1 -i ../glibc-2.14.1-gcc_fix-1.patch
+
+ # libtirpc need it
+ # http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=acee4873 (fedora branch)
+ patch -p1 -i ../glibc-2.14-reexport-rpc-interface.patch
+ # rpcbind need it
+ # http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=bdd816a3 (fedora branch)
+ patch -p1 -i ../glibc-2.14-reinstall-nis-rpc-headers.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
+
mv ../SUPPORTED localedata/
mkdir -v ../glibc-build
@@ -51,11 +71,11 @@ build() {
../$name-$version/configure --prefix=/usr \
--with-headers=$PKG/usr/include \
--disable-profile \
- --enable-add-ons \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --enable-kernel=2.6.18 \
- --libexecdir=/usr/lib/glibc
+ --enable-add-ons \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --enable-kernel=2.6.25 \
+ --libexecdir=/usr/lib/glibc
make
make install_root=$PKG install
make install_root=$PKG localedata/install-locales