From ab8a0ec010af6f1519aa9ae9ef28c7ce0de3087d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 19 Feb 2013 19:11:01 +0100 Subject: [PATCH] gzip: make this build with glibc>=2.17. --- srcpkgs/gzip/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/gzip/template b/srcpkgs/gzip/template index 282c0468338..91fc8aaee1a 100644 --- a/srcpkgs/gzip/template +++ b/srcpkgs/gzip/template @@ -11,6 +11,10 @@ license="GPL-3" distfiles="http://ftp.gnu.org/gnu/gzip/$pkgname-$version.tar.gz" checksum=b5d56e8ffc9918e8c941fab56e04121194f9870adeeb859e09c09eac264035a3 +pre_configure() { + sed -i -e '/gets is a/d' lib/stdio.in.h +} + post_build() { mkdir -p ${DESTDIR}/usr/share/info touch -f ${DESTDIR}/usr/share/info/dir