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

Allan McRae allan at archlinux.org
Thu Sep 20 07:57:34 UTC 2012


    Date: Thursday, September 20, 2012 @ 03:57:34
  Author: allan
Revision: 166866

fix build with glibc-2.16

Modified:
  gettext/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-09-20 07:57:15 UTC (rev 166865)
+++ PKGBUILD	2012-09-20 07:57:34 UTC (rev 166866)
@@ -19,6 +19,10 @@
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   sed -i -e 's/libexpat.so.0/libexpat.so.1/' gettext-tools/src/x-glade.c
+
+  # fix build issue with glibc-2.16
+  sed -i -e '/gets is a/d' gettext-*/*/stdio.in.h
+
   ./configure --prefix=/usr --enable-csharp
   make
 }




More information about the arch-commits mailing list