Commit 23139fcf authored by Carlo Landmeter's avatar Carlo Landmeter

main/tar: fix build on eglibc

parent 7ef948f0
......@@ -12,6 +12,13 @@ makedepends=
source="ftp://ftp.gnu.org/gnu/tar/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc"
prepare() {
cd "$srcdir/$pkgname-$pkgver"
# fix eglibc-2.16+ build issue
sed -i -e '/gets is a/d' \
gnu/stdio.in.h || return 1
}
build() {
cd "$srcdir/$pkgname-$pkgver"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment