aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2020-05-02 21:03:01 +0000
committerKoop Mast <kwm@FreeBSD.org>2020-05-02 21:03:01 +0000
commitabf67e3c31f90a99e1d2cc8059ba9cd0273b535a (patch)
tree7964cad02bc466655772b24b81cc3f6f324dc32c /print
parent3246c88e69905c3865dde166b24a10b9885b3f64 (diff)
downloadports-abf67e3c31f90a99e1d2cc8059ba9cd0273b535a.tar.gz
ports-abf67e3c31f90a99e1d2cc8059ba9cd0273b535a.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript9-agpl-base/Makefile2
-rw-r--r--print/ghostscript9-agpl-base/files/patch-lcms2mt22
2 files changed, 23 insertions, 1 deletions
diff --git a/print/ghostscript9-agpl-base/Makefile b/print/ghostscript9-agpl-base/Makefile
index f57f8b2e381a..1cc980ca1a03 100644
--- a/print/ghostscript9-agpl-base/Makefile
+++ b/print/ghostscript9-agpl-base/Makefile
@@ -2,7 +2,7 @@
PORTNAME= ghostscript
PORTVERSION= 9.52
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= print
MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${PORTVERSION:S/.//}/
PKGNAMESUFFIX= 9-agpl-base
diff --git a/print/ghostscript9-agpl-base/files/patch-lcms2mt b/print/ghostscript9-agpl-base/files/patch-lcms2mt
new file mode 100644
index 000000000000..625ea0209ed7
--- /dev/null
+++ b/print/ghostscript9-agpl-base/files/patch-lcms2mt
@@ -0,0 +1,22 @@
+--- Makefile.in.orig
++++ Makefile.in
+@@ -462,6 +462,8 @@
+ # defines from autoconf; note that we don't use all of these at present.
+ ACDEFS=@DEFS@
+
++CFLAGS_VISIBILITY="-fvisibility=hidden"
++
+ CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(AC_CFLAGS) $(XCFLAGS) @CLUSTER_CFLAGS@
+ CFLAGSAUX=$(CFLAGSAUX_STANDARD) $(GCFLAGSAUX) $(XCFLAGSAUX)
+
+--- base/lcms2mt.mak.orig
++++ base/lcms2mt.mak
+@@ -80,7 +80,7 @@
+
+ # NB: we can't use the normal $(CC_) here because msvccmd.mak
+ # adds /Za which conflicts with the lcms source.
+-LCMS2_CC=$(CC) $(D_)SHARE_LCMS=$(SHARE_LCMS)$(_D) $(GENOPT) $(CAPOPT) $(CFLAGS) $(LCMS2_CFLAGS) $(I_)$(LCMS2MTSRCDIR)$(D)include $(LCMS2CF_)
++LCMS2_CC=$(CC) $(CFLAGS_VISIBILITY) $(D_)SHARE_LCMS=$(SHARE_LCMS)$(_D) $(GENOPT) $(CAPOPT) $(CFLAGS) $(LCMS2_CFLAGS) $(I_)$(LCMS2MTSRCDIR)$(D)include $(LCMS2CF_)
+ LCMS2O_=$(O_)$(LCMS2OBJ)
+
+ # switch in the version of lcms2mt.dev we're actually using