tar: added a fix for glibc 'gets' removal
This commit is contained in:
parent
891fceeba4
commit
bb9778cf5e
@ -4,12 +4,14 @@
|
|||||||
|
|
||||||
name=tar
|
name=tar
|
||||||
version=1.26
|
version=1.26
|
||||||
release=1
|
release=2
|
||||||
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz \
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz \
|
||||||
$name-rootp.patch tar.1 rmt.8)
|
$name-rootp.patch tar.1 rmt.8)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
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
|
patch -p1 -i $SRC/$name-rootp.patch
|
||||||
./configure --prefix= \
|
./configure --prefix= \
|
||||||
--libexec=/usr/lib/tar \
|
--libexec=/usr/lib/tar \
|
||||||
|
Loading…
Reference in New Issue
Block a user