m4: added a fix for glibc 'gets' removal
This commit is contained in:
parent
55b38802c6
commit
891fceeba4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user