pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print ghostscript-*: Support GCC >= 10.
details: https://anonhg.NetBSD.org/pkgsrc/rev/a648e95dd3a2
branches: trunk
changeset: 459002:a648e95dd3a2
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Tue Sep 28 12:50:01 2021 +0000
description:
ghostscript-*: Support GCC >= 10.
diffstat:
print/ghostscript-agpl/Makefile | 4 ++--
print/ghostscript-gpl/Makefile | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 9a3404ebb7f3 -r a648e95dd3a2 print/ghostscript-agpl/Makefile
--- a/print/ghostscript-agpl/Makefile Tue Sep 28 12:44:16 2021 +0000
+++ b/print/ghostscript-agpl/Makefile Tue Sep 28 12:50:01 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2021/06/09 20:20:09 adam Exp $
+# $NetBSD: Makefile,v 1.63 2021/09/28 12:50:01 jperkin Exp $
DISTNAME= ghostscript-${GS_VERSION}
PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-agpl/}
@@ -72,7 +72,7 @@
.endif
# Not ideal but too many files hardcode _XOPEN_SOURCE=500.
-.if !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(PKGSRC_COMPILER:Mclang)
+.if !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(CC_VERSION:Mgcc-1[0-9].*) || !empty(PKGSRC_COMPILER:Mclang)
CPPFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
.else
CPPFLAGS.SunOS+= -D__C99FEATURES__
diff -r 9a3404ebb7f3 -r a648e95dd3a2 print/ghostscript-gpl/Makefile
--- a/print/ghostscript-gpl/Makefile Tue Sep 28 12:44:16 2021 +0000
+++ b/print/ghostscript-gpl/Makefile Tue Sep 28 12:50:01 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2021/05/24 19:53:45 wiz Exp $
+# $NetBSD: Makefile,v 1.62 2021/09/28 12:50:02 jperkin Exp $
DISTNAME= ghostscript-${GS_VERSION}
PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-gpl/}
@@ -76,7 +76,7 @@
.endif
# Not ideal but too many files hardcode _XOPEN_SOURCE=500.
-.if !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(PKGSRC_COMPILER:Mclang)
+.if !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(CC_VERSION:Mgcc-1[0-9].*) || !empty(PKGSRC_COMPILER:Mclang)
CPPFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
.endif
Home |
Main Index |
Thread Index |
Old Index