aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-01-04 22:52:07 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2013-01-04 22:52:07 +0100
commit8640ab6920ae7a419664cf229fa6175015b66bd2 (patch)
tree8af3e50c27ceb55f8af5c3685d16e8c760e1e468 /main
parentf4487ef759ff869103ba36ba82d2366a373e600d (diff)
downloadaports-8640ab6920ae7a419664cf229fa6175015b66bd2.tar.bz2
aports-8640ab6920ae7a419664cf229fa6175015b66bd2.tar.xz
main/lftp: fix build on eglibc
Diffstat (limited to 'main')
-rw-r--r--main/lftp/APKBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/lftp/APKBUILD b/main/lftp/APKBUILD
index b9c6967047..4eead17835 100644
--- a/main/lftp/APKBUILD
+++ b/main/lftp/APKBUILD
@@ -14,6 +14,14 @@ source="http://ftp.yars.free.net/pub/source/lftp/lftp-${pkgver}.tar.bz2"
_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ # fix eglibc-2.16 build issue
+ sed -i -e '/gets is a/d' \
+ lib/stdio.in.h || return 1
+}
+
build() {
cd "$_builddir"