m4: added a fix for glibc 'gets' removal

This commit is contained in:
Matt Housh 2012-08-08 09:53:18 -05:00
parent 55b38802c6
commit 891fceeba4

View File

@ -4,11 +4,13 @@
name=m4 name=m4
version=1.4.16 version=1.4.16
release=1 release=2
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
build() { build() {
cd $name-$version cd $name-$version
# fix for glibc 'gets' removal
sed -i -e '/gets is a/d' lib/stdio.in.h
./configure --prefix=/usr --mandir=/usr/man ./configure --prefix=/usr --mandir=/usr/man
make make
make DESTDIR=$PKG install make DESTDIR=$PKG install