aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-01-05 00:09:24 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2013-01-05 00:09:24 +0100
commit2c21a920908a95341ae3b174f537d2f2076dcc70 (patch)
treeaf59f0dc58189a960b20c9ccaa41bf13d657de01
parent3bc533a5e7868db315e243da314c66869f3df748 (diff)
downloadaports-2c21a920908a95341ae3b174f537d2f2076dcc70.tar.bz2
aports-2c21a920908a95341ae3b174f537d2f2076dcc70.tar.xz
main/nagios-plugins: fix build on eglibc
-rw-r--r--main/nagios-plugins/APKBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/nagios-plugins/APKBUILD b/main/nagios-plugins/APKBUILD
index 4994d4d80f..693700f815 100644
--- a/main/nagios-plugins/APKBUILD
+++ b/main/nagios-plugins/APKBUILD
@@ -13,6 +13,13 @@ pkgusers="nagios"
pkggroups="nagios"
subpackages="$pkgname-contrib"
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ # fix eglibc-2.16 build issue
+ sed -i -e '/gets is a/d' \
+ gl/stdio.in.h || return 1
+}
+
build() {
cd "$srcdir/$pkgname-$pkgver"