pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/ghostscript-agpl ghostscript-agpl: Fix SunOS bui...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4c09deaec181
branches:  trunk
changeset: 378256:4c09deaec181
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Apr 04 13:04:18 2018 +0000

description:
ghostscript-agpl: Fix SunOS build with older compilers.

diffstat:

 print/ghostscript-agpl/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 3af93f7d22ed -r 4c09deaec181 print/ghostscript-agpl/Makefile
--- a/print/ghostscript-agpl/Makefile   Wed Apr 04 12:47:53 2018 +0000
+++ b/print/ghostscript-agpl/Makefile   Wed Apr 04 13:04:18 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2018/03/21 17:41:01 adam Exp $
+# $NetBSD: Makefile,v 1.32 2018/04/04 13:04:18 jperkin Exp $
 
 DISTNAME=      ghostscript-${GS_VERSION}
 PKGNAME=       ${DISTNAME:S/ghostscript/ghostscript-agpl/}
@@ -67,6 +67,8 @@
 # Not ideal but too many files hardcode _XOPEN_SOURCE=500.
 .if !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(PKGSRC_COMPILER:Mclang)
 CPPFLAGS.SunOS+=       -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
+.else
+CPPFLAGS.SunOS+=       -D__C99FEATURES__
 .endif
 
 # Interim IRIX build fix, the real problem is that fontconfig.pc doesn't



Home | Main Index | Thread Index | Old Index