pkgsrc-Changes archive

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

CVS commit: pkgsrc/print



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Sep 28 12:50:02 UTC 2021

Modified Files:
        pkgsrc/print/ghostscript-agpl: Makefile
        pkgsrc/print/ghostscript-gpl: Makefile

Log Message:
ghostscript-*: Support GCC >= 10.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 pkgsrc/print/ghostscript-agpl/Makefile
cvs rdiff -u -r1.61 -r1.62 pkgsrc/print/ghostscript-gpl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/ghostscript-agpl/Makefile
diff -u pkgsrc/print/ghostscript-agpl/Makefile:1.62 pkgsrc/print/ghostscript-agpl/Makefile:1.63
--- pkgsrc/print/ghostscript-agpl/Makefile:1.62 Wed Jun  9 20:20:09 2021
+++ pkgsrc/print/ghostscript-agpl/Makefile      Tue Sep 28 12:50:01 2021
@@ -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 @@ CFLAGS+=              -fPIC
 .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__

Index: pkgsrc/print/ghostscript-gpl/Makefile
diff -u pkgsrc/print/ghostscript-gpl/Makefile:1.61 pkgsrc/print/ghostscript-gpl/Makefile:1.62
--- pkgsrc/print/ghostscript-gpl/Makefile:1.61  Mon May 24 19:53:45 2021
+++ pkgsrc/print/ghostscript-gpl/Makefile       Tue Sep 28 12:50:02 2021
@@ -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 @@ CFLAGS+=              -fPIC
 .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