aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
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"