gzip: remove workarounds for musl, use gnulib cache overrides.

This commit is contained in:
Juan RP 2015-06-04 08:33:40 +02:00
parent 8bbae79dc0
commit 77f87af6cc

View file

@ -1,11 +1,10 @@
# Template file for 'gzip' # Template file for 'gzip'
pkgname=gzip pkgname=gzip
version=1.6 version=1.6
revision=7 revision=8
bootstrap=yes bootstrap=yes
build_pie=yes build_pie=yes
build_style=gnu-configure build_style=gnu-configure
configure_args="gl_cv_func_fprintf_posix=yes gl_cv_func_fflush_stdin=yes"
conflicts="chroot-gzip>=0" conflicts="chroot-gzip>=0"
short_desc="GNU compression utility (replacement for compress)" short_desc="GNU compression utility (replacement for compress)"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -13,13 +12,3 @@ homepage="http://www.gnu.org/software/gzip/"
license="GPL-3" license="GPL-3"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz" distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=37dfed1a485d53212c43b3fa2a7c7952f09bf5cd86e37121c222341ee1b27847 checksum=37dfed1a485d53212c43b3fa2a7c7952f09bf5cd86e37121c222341ee1b27847
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl)
# Special case for musl libc; "fix" issues with gnulib.
: > lib/fseeko.c
echo "void close_stdin(void) {}" > lib/closein.c
;;
esac
}