cpio: added a fix for glibc 'gets' removal

This commit is contained in:
Matt Housh 2012-08-08 09:37:58 -05:00
parent 373df034b2
commit b425324374

View File

@ -4,11 +4,13 @@
name=cpio
version=2.11
release=1
release=2
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
build() {
cd $name-$version
# fix for glibc 'gets' removal
sed -i -e '/gets is a/d' gnu/stdio.in.h
./configure --prefix=/usr \
--mandir=/usr/man \
--disable-nls