aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-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"