[arch-commits] Commit in m4/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Thu Sep 20 03:29:27 UTC 2012


    Date: Wednesday, September 19, 2012 @ 23:29:26
  Author: allan
Revision: 166858

fix build failure with glibc-2.16

Modified:
  m4/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++++
 1 file changed, 6 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-09-20 03:26:30 UTC (rev 166857)
+++ PKGBUILD	2012-09-20 03:29:26 UTC (rev 166858)
@@ -20,7 +20,13 @@
 
 build() {
   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
+  
   ./configure --prefix=/usr
   make
 }




More information about the arch-commits mailing list