From 7ef948f03b098b2a9e7656b02968b7c56202c985 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Fri, 4 Jan 2013 17:28:40 +0100 Subject: main/m4: fix build on eglibc --- main/m4/APKBUILD | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'main/m4') diff --git a/main/m4/APKBUILD b/main/m4/APKBUILD index 7216a43b7a..cf37f2b336 100644 --- a/main/m4/APKBUILD +++ b/main/m4/APKBUILD @@ -12,8 +12,12 @@ source="ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.gz " _builddir="$srcdir"/$pkgname-$pkgver + prepare() { cd "$_builddir" + # fix eglibc-2.16+ build issue + sed -i -e '/gets is a/d' \ + lib/stdio.in.h || return 1 } build() { -- cgit v1.2.3