alpine: new upstream patch, fix musl cross builds.

This commit is contained in:
Christian Neukirchen 2016-03-31 14:52:09 +02:00
parent 1d0f8f3232
commit 3753627718

View file

@ -1,7 +1,7 @@
# Template file for 'alpine'
pkgname=alpine
version=2.20
revision=4
revision=5
create_wrksrc=yes
build_wrksrc="${pkgname}-${version}"
build_style=gnu-configure
@ -17,12 +17,13 @@ license="Apache-2.0"
homepage="http://patches.freeiz.com/alpine/"
distfiles="http://patches.freeiz.com/${pkgname}/patches/${pkgname}-${version}/all.patch.gz
http://patches.freeiz.com/${pkgname}/release/src/${pkgname}-${version}.tar.xz"
checksum="1dbf8ae947372502fdf41aba0c395c838007682d302230c1c43c66423f83a0ee
checksum="31c75e13d47d9dbf92839e2dca503a13316d720a6b64eac0857f4bb726f3daf8
ed639b6e5bb97e6b0645c85262ca6a784316195d461ce8d8411999bf80449227"
post_extract() {
patch -Np0 <all.patch
sed -i '/run test program/s/^/: /' ${build_wrksrc}/configure
sed -i -e '/run test program/s/^/: /' \
-e 's/linux-gnu/linux-/g' ${build_wrksrc}/configure
}
do_build() {