aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/acct/APKBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/acct/APKBUILD b/main/acct/APKBUILD
index c1f1a80fc3..921cdca414 100644
--- a/main/acct/APKBUILD
+++ b/main/acct/APKBUILD
@@ -13,6 +13,14 @@ install=
subpackages="$pkgname-doc"
source="http://ftp.gnu.org/gnu/acct/${pkgname}-${pkgver}.tar.gz"
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ # fix eglibc-2.16+ build issue
+ sed -i -e '/gets is a/d' \
+ lib/stdio.in.h || return 1
+}
+
build() {
cd "$srcdir/$pkgname-$pkgver"