# Depends on:
name=glibc
-version=2.16.0
+version=2.19
release=2
source=(http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz \
- ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-3.4.11.tar.bz2 \
- http://ftp.gnu.org/gnu/$name/$name-ports-$version.tar.bz2 \
- hosts resolv.conf nsswitch.conf host.conf ld.so.conf \
- $name-resolv_assert.patch \
- $name-strtod_integer_overflow.patch)
+ ftp://ftp.kernel.org/pub/linux/kernel/v3.0/linux-3.12.tar.xz \
+ hosts resolv.conf nsswitch.conf host.conf ld.so.conf)
build() {
# install kernel headers
- cd linux-3.4.11
+ cd linux-3.12
make mrproper
make ARCH=arm headers_check
make ARCH=arm INSTALL_HDR_PATH=$PKG/usr headers_install
cd $SRC
- mv $name-ports-$version $name-$version/ports
-
- pushd $name-$version
- patch -p1 -i $SRC/$name-resolv_assert.patch
- patch -p1 -i $SRC/$name-strtod_integer_overflow.patch
- popd
mkdir $SRC/build
cd $SRC/build