diff options
author | root <root@rshg054.dnsready.net> | 2013-04-18 00:07:00 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-04-18 00:07:00 -0700 |
commit | 55c3b92ede6a3b9eb17f254b338931f01a3ea5c6 (patch) | |
tree | 8d01afa98e716f4c647bfb7dfcc2c3ed885fddc7 /core/m4/PKGBUILD | |
parent | 0f02baec6afdab918d86a226ee9a984482b5a534 (diff) |
Thu Apr 18 00:06:59 PDT 2013
Diffstat (limited to 'core/m4/PKGBUILD')
-rw-r--r-- | core/m4/PKGBUILD | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/core/m4/PKGBUILD b/core/m4/PKGBUILD index de13524da..d0e2ffb5a 100644 --- a/core/m4/PKGBUILD +++ b/core/m4/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 142068 2011-11-04 23:36:00Z allan $ +# $Id: PKGBUILD 183048 2013-04-17 02:02:03Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: Andreas Radke <andyrtr@archlinux.org> pkgname=m4 pkgver=1.4.16 -pkgrel=2 +pkgrel=3 pkgdesc="The GNU macro processor" arch=('i686' 'x86_64') url="http://www.gnu.org/software/m4" @@ -15,12 +15,21 @@ install=m4.install source=(ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.xz{,.sig} m4-1.4.16-readlink-einval.patch) md5sums=('7548ec061a1ba993790159764f522d0e' - 'eebe5c94e74e7551e2e30c5844f1b653' + 'SKIP' 'cea138fa9b568d06e46269611cec8dd0') -build() { +prepare() { cd ${srcdir}/$pkgname-$pkgver + + # glibc-2.16 compatibility + sed -i -e '/gets is a/d' lib/stdio.in.h + + # patch testsuite failure with newer kernels patch -Np1 -i $srcdir/m4-1.4.16-readlink-einval.patch +} + +build() { + cd ${srcdir}/$pkgname-$pkgver ./configure --prefix=/usr make } |