From 2c21a920908a95341ae3b174f537d2f2076dcc70 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Sat, 5 Jan 2013 00:09:24 +0100 Subject: main/nagios-plugins: fix build on eglibc --- main/nagios-plugins/APKBUILD | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'main') 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" -- cgit v1.2.3