summaryrefslogtreecommitdiffstats
path: root/glibc/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'glibc/Pkgfile')
-rwxr-xr-xglibc/Pkgfile21
1 files changed, 12 insertions, 9 deletions
diff --git a/glibc/Pkgfile b/glibc/Pkgfile
index 5b280aa36..10ffacb05 100755
--- a/glibc/Pkgfile
+++ b/glibc/Pkgfile
@@ -4,9 +4,9 @@
# Packager:thierryn1 at hispeed dot ch
name=glibc
-version=2.15
+version=2.16.0
release=1
-kernelversion=3.4.0
+kernelversion=3.4.4
kernelbaseversion=$(expr $kernelversion : '\([0-9]\.[0-9]\)')
source=(http://ftp.gnu.org/gnu/glibc/$name-$version.tar.xz
@@ -19,7 +19,7 @@ source=(http://ftp.gnu.org/gnu/glibc/$name-$version.tar.xz
ld.so.conf)
if [ "${kernelversion}" != "${kernelbaseversion}.0" ]; then
-source[${#source[*]}]="http://www.kernel.org/pub/linux/kernel/v3.0/patch-$version.xz"
+source[${#source[*]}]="http://www.kernel.org/pub/linux/kernel/v3.0/patch-$kernelversion.xz"
fi
build() {
@@ -40,17 +40,19 @@ build() {
sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in
- patch -Np1 -i ../glibc-2.15-fixes-1.patch
- patch -Np1 -i ../glibc-2.15-gcc_fix-1.patch
+# patch -Np1 -i ../glibc-2.15-fixes-1.patch
+# patch -Np1 -i ../glibc-2.15-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
+# 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
+# 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
+# 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#<rpc/types.h>#"rpc/types.h"#' sunrpc/rpc_clntout.c
mv ../SUPPORTED localedata/
@@ -67,7 +69,7 @@ build() {
--enable-add-ons \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --enable-kernel=2.6.25 \
+ --enable-kernel=2.6.32 \
--libexecdir=/usr/lib/glibc
make
make install_root=$PKG install
@@ -77,4 +79,5 @@ build() {
rm $PKG/usr/share/info/dir
fi
rm $PKG/usr/include/drm/{drm.h,drm_sarea.h,i915_drm.h,mga_drm.h,r128_drm.h,radeon_drm.h,savage_drm.h,sis_drm.h,via_drm.h,drm_mode.h,nouveau_drm.h}
+ rm $PKG/usr/{bin/tzselect,sbin/zdump,sbin/zic} # Dans tzdata
}