pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/glib2 glib2: add more CPPFLAGS to fix compilatio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b34af31a919
branches:  trunk
changeset: 418572:4b34af31a919
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Thu Nov 28 09:23:32 2019 +0000

description:
glib2: add more CPPFLAGS to fix compilation on Solaris 11.3.

>From Joern Clausen via PR pkg/54722.

diffstat:

 devel/glib2/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 9a8eb9709ec2 -r 4b34af31a919 devel/glib2/Makefile
--- a/devel/glib2/Makefile      Thu Nov 28 06:45:37 2019 +0000
+++ b/devel/glib2/Makefile      Thu Nov 28 09:23:32 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.264 2019/11/26 10:27:09 jperkin Exp $
+# $NetBSD: Makefile,v 1.265 2019/11/28 09:23:32 bsiegert Exp $
 
 .include "Makefile.common"
 
@@ -13,6 +13,7 @@
 
 MAKE_ENV+=     LD_LIBRARY_PATH=${WRKSRC}/output/gio:${WRKSRC}/output/glib:${WRKSRC}/output/gobject:${WRKSRC}/output/gmodule
 
+CPPFLAGS.SunOS+=       -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
 LDFLAGS.SunOS+=                -liconv -lintl -lnsl -lsocket
 
 REPLACE_PYTHON+=       gio/gio-querymodules-wrapper.py



Home | Main Index | Thread Index | Old Index