mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/tar: fix build on eglibc
This commit is contained in:
parent
7ef948f03b
commit
23139fcf9e
@ -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"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user