pkgsrc-Bulk archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc-current Linux 2.6.26-bpo.2-686/i686 bulk build results 20100221.1315



>   devel/glib2                           1503 pkgsrc-users%NetBSD.org@localhost

The following patch solves the problem. Can anybody commit it?
Objections?

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/glib2/Makefile,v
retrieving revision 1.170
diff -u -r1.170 Makefile
--- Makefile    19 Feb 2010 11:44:56 -0000      1.170
+++ Makefile    24 Feb 2010 21:34:44 -0000
@@ -58,6 +58,8 @@
 CPPFLAGS+=             -DPKGLOCALEDIR="\"${PKGLOCALEDIR}\""
 CPPFLAGS+=             -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
 
+CPPFLAGS.Linux+=       -D_GNU_SOURCE
+
 .if ${OPSYS} == "FreeBSD"
 SUBST_CLASSES+=                thr
 SUBST_STAGE.thr=       post-patch

P.S.
In truth to tell it is not fully correct to change CPPFLAGS for Linux
here. It whould be better to do so for systems based on GNU libc,
e.g. Debian/kFreeBSD and maybe others. Is it possible in pkgsrc?

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index