Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 May 2020 21:03:02 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r533708 - in head/print/ghostscript9-agpl-base: . files
Message-ID:  <202005022103.042L32lb080879@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005022103.042L32lb080879>