summaryrefslogtreecommitdiffstats
path: root/main/acct
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-01-04 16:54:56 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2013-01-04 16:54:56 +0100
commit2660da36ac591d084bb33bbe9906e95bda7c0a61 (patch)
tree166a75d7616431b98045aec1293fa9cafc8bbcbd /main/acct
parent55945d71e614821151c299bca6ca457c58b4b9db (diff)
downloadaports-2660da36ac591d084bb33bbe9906e95bda7c0a61.tar.bz2
aports-2660da36ac591d084bb33bbe9906e95bda7c0a61.tar.xz
main/acct: fix build on eglibc >= 2.16
Diffstat (limited to 'main/acct')
-rw-r--r--main/acct/APKBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/acct/APKBUILD b/main/acct/APKBUILD
index c1f1a80fc..921cdca41 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"