aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-01-04 17:32:23 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2013-01-04 17:32:23 +0100
commit23139fcf9eaeb342da67b4ae4849d8a480da5dc2 (patch)
tree926445016f7eb3ef3e3924196051fcfbf52480f6
parent7ef948f03b098b2a9e7656b02968b7c56202c985 (diff)
downloadaports-23139fcf9eaeb342da67b4ae4849d8a480da5dc2.tar.bz2
aports-23139fcf9eaeb342da67b4ae4849d8a480da5dc2.tar.xz
main/tar: fix build on eglibc
-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"