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

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


    Date: Wednesday, September 19, 2012 @ 23:31:27
  Author: allan
Revision: 166859

fix build failure with glibc-2.16

Modified:
  tar/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-09-20 03:29:26 UTC (rev 166858)
+++ PKGBUILD	2012-09-20 03:31:27 UTC (rev 166859)
@@ -22,6 +22,9 @@
 build() {
   cd ${srcdir}/$pkgname-$pkgver
 
+  # fix build failure with glibc-2.16
+  sed -i -e '/gets is a/d' gnu/stdio.in.h
+
   ./configure --prefix=/usr --libexecdir=/usr/lib/tar --bindir=/bin
   make
 }




More information about the arch-commits mailing list