pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/ghostscript-agpl



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Jul  8 12:35:56 UTC 2025

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

Log Message:
ghostscript-agpl: Work around illumos bug 17491.

It appears that ghostscript-agpl is deliberately using the system inclusion
guard namespace to do something clever so I don't want to patch this for every
OS, and it's unclear whether this is an OS bug or not, which is why it's a
subst hack limited to SunOS for now.  Fixes GCC 14 build.


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 pkgsrc/print/ghostscript-agpl/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.98 pkgsrc/print/ghostscript-agpl/Makefile:1.99
--- pkgsrc/print/ghostscript-agpl/Makefile:1.98 Wed Apr 30 07:43:33 2025
+++ pkgsrc/print/ghostscript-agpl/Makefile      Tue Jul  8 12:35:55 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.98 2025/04/30 07:43:33 adam Exp $
+# $NetBSD: Makefile,v 1.99 2025/07/08 12:35:55 jperkin Exp $
 
 DISTNAME=      ghostscript-${GS_VERSION}
 PKGNAME=       ${DISTNAME:S/ghostscript/ghostscript-agpl/}
@@ -66,6 +66,12 @@ SUBST_MESSAGE.resdir=        Fixing resource di
 SUBST_FILES.resdir=    Resource/Init/gs_res.ps
 SUBST_SED.resdir=      -e "s|/Resource/|${GS_RESOURCEDIR}/|g"
 
+# https://www.illumos.org/issues/17491
+SUBST_CLASSES.SunOS+=  assert
+SUBST_STAGE.assert=    pre-configure
+SUBST_FILES.assert=    base/assert_.h
+SUBST_SED.assert=      -e 's,_ASSERT_H,GS_ASSERT_H,g'
+
 # On Linux-*-x86_64, there was an error message:
 # gp_unix.o: relocation R_X86_64_32 against `a local symbol' can not be
 # used when making a shared object; recompile with -fPIC



Home | Main Index | Thread Index | Old Index