tar: added a fix for glibc 'gets' removal

This commit is contained in:
Matt Housh 2012-08-08 09:53:30 -05:00
parent 891fceeba4
commit bb9778cf5e

View File

@ -4,12 +4,14 @@
name=tar
version=1.26
release=1
release=2
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz \
$name-rootp.patch tar.1 rmt.8)
build() {
cd $name-$version
# fix for glibc 'gets' removal
sed -i -e '/gets is a/d' gnu/stdio.in.h
patch -p1 -i $SRC/$name-rootp.patch
./configure --prefix= \
--libexec=/usr/lib/tar \