gzip: make this build with glibc>=2.17.

This commit is contained in:
Juan RP 2013-02-19 19:11:01 +01:00
parent 755f910d12
commit ab8a0ec010
1 changed files with 4 additions and 0 deletions

View File

@ -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