aboutsummaryrefslogtreecommitdiffstats
path: root/main/tar/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/tar/APKBUILD')
-rw-r--r--main/tar/APKBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/tar/APKBUILD b/main/tar/APKBUILD
index 1e54f4c30b..9ef8468786 100644
--- a/main/tar/APKBUILD
+++ b/main/tar/APKBUILD
@@ -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"