X-Git-Url: http://gitweb/?a=blobdiff_plain;f=glibc%2FPkgfile;h=84e3579b1c1bffc246f8c292830bb529bfee573b;hb=5782eb1572075fc782133494e5bd3776b7f29cf5;hp=1bf9e6875a2a43664358c5faa639544d4be4cd09;hpb=b751b192b8a9f558df99b4050babc1b84d45a372;p=crossrootfs.git diff --git a/glibc/Pkgfile b/glibc/Pkgfile index 1bf9e68..84e3579 100644 --- a/glibc/Pkgfile +++ b/glibc/Pkgfile @@ -5,17 +5,21 @@ # Depends on: name=glibc -version=2.10.1 +version=2.13 release=1 -source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \ +source=(http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz \ ftp://ftp.gnu.org/gnu/$name/$name-ports-$version.tar.bz2 \ - ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2 \ + ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.35.6.tar.gz \ + glibc-ignore_origin.patch \ + Optimize-__getpagesize-a-bit.patch \ $name-$version-cross_hacks-2.patch \ + $name-$version-gnueabihf.patch \ + $name-$version-prelink.patch \ hosts resolv.conf nsswitch.conf host.conf ld.so.conf) build() { # install build kernel headers - cd linux-2.6.29 + cd linux-2.6.35.6 make mrproper make ARCH=arm headers_check make ARCH=arm INSTALL_HDR_PATH=$PKG/usr headers_install @@ -24,7 +28,11 @@ build() { mv $name-ports-$version $name-$version/ports pushd $name-$version + patch -p1 -i $SRC/$name-$version-gnueabihf.patch + patch -p1 -i $SRC/$name-$version-prelink.patch patch -p1 -i $SRC/$name-$version-cross_hacks-2.patch + patch -R -p1 -i $SRC/Optimize-__getpagesize-a-bit.patch + patch -p1 -i $SRC/$name-ignore_origin.patch popd mkdir build @@ -54,7 +62,5 @@ EOF ln -sf ../usr/share/zoneinfo/UTC $PKG/etc/localtime mkdir -p $PKG/etc/ld.so.conf.d $PKG/usr/lib/locale - # conflicts with quota - rm $PKG/usr/include/rpcsvc/{rquota.x,rquota.h} rm -rf $PKG/usr/share/{info,locale} }