X-Git-Url: http://gitweb/?a=blobdiff_plain;f=glibc%2FPkgfile;h=84e3579b1c1bffc246f8c292830bb529bfee573b;hb=c2b30fb83694e5ee01404f52eacaf7b3f3eaa3c8;hp=1a55efa1afa14056e493bdde883b6ff6f078d06b;hpb=d33c68a05f3c45d0c56015b236ebf1c1315d111e;p=crossrootfs.git diff --git a/glibc/Pkgfile b/glibc/Pkgfile index 1a55efa..84e3579 100644 --- a/glibc/Pkgfile +++ b/glibc/Pkgfile @@ -5,17 +5,21 @@ # Depends on: name=glibc -version=2.10.1 -release=2 -source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \ +version=2.13 +release=1 +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} }