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
 }

Reply via email to