svn commit: r533708 - in head/print/ghostscript9-agpl-base: . files
Koop Mast
kwm at FreeBSD.org
Sat May 2 21:03:02 UTC 2020
Author: kwm
Date: Sat May 2 21:03:01 2020
New Revision: 533708
URL: https://svnweb.freebsd.org/changeset/ports/533708
Log:
Shared library (libgs) with lcms2mt could clash if the calling app also
included lcms2.
For example ImageMagick with the GSLIB option enabled.
PR: 245782
Submitted by: VVD <vvd at unislabs.com>
Approved by: doceng@ (blackend@)
Obtained from: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f210e4c009f7
Added:
head/print/ghostscript9-agpl-base/files/patch-lcms2mt (contents, props changed)
Modified:
head/print/ghostscript9-agpl-base/Makefile
Modified: head/print/ghostscript9-agpl-base/Makefile
==============================================================================
--- head/print/ghostscript9-agpl-base/Makefile Sat May 2 20:55:29 2020 (r533707)
+++ head/print/ghostscript9-agpl-base/Makefile Sat May 2 21:03:01 2020 (r533708)
@@ -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
Added: head/print/ghostscript9-agpl-base/files/patch-lcms2mt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/ghostscript9-agpl-base/files/patch-lcms2mt Sat May 2 21:03:01 2020 (r533708)
@@ -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
More information about the svn-ports-all
mailing list