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

Thomas Bächler thomas at archlinux.org
Fri May 15 21:39:57 EDT 2009


    Date: Friday, May 15, 2009 @ 21:39:57
  Author: thomas
Revision: 39396

upgpkg: ppp 2.4.4-8

Modified:
  ppp/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-16 01:30:42 UTC (rev 39395)
+++ PKGBUILD	2009-05-16 01:39:57 UTC (rev 39396)
@@ -31,6 +31,8 @@
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   # fix CFLAGS
+  # -D_GNU_SOURCE is needed for IPv6 to work apparently
+  export CFLAGS="$CFLAGS -D_GNU_SOURCE"
   sed -i "s:-O2 -pipe -Wall -g:${CFLAGS}:" pppd/Makefile.linux
   sed -i "s:-g -O2:${CFLAGS}:" pppd/plugins/Makefile.linux
   sed -i "s:-O2:${CFLAGS}:" pppstats/Makefile.linux



More information about the arch-commits mailing list