mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
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
This commit is contained in:
parent
3246c88e69
commit
abf67e3c31
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533708
@ -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
|
||||
|
22
print/ghostscript9-agpl-base/files/patch-lcms2mt
Normal file
22
print/ghostscript9-agpl-base/files/patch-lcms2mt
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user