From owner-svn-ports-all@freebsd.org Sat May 2 21:03:02 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8890E2C41A8; Sat, 2 May 2020 21:03:02 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49F1mQ33h1z3CRt; Sat, 2 May 2020 21:03:02 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6450027C00; Sat, 2 May 2020 21:03:02 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 042L32KK080880; Sat, 2 May 2020 21:03:02 GMT (envelope-from kwm@FreeBSD.org) Received: (from kwm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 042L32lb080879; Sat, 2 May 2020 21:03:02 GMT (envelope-from kwm@FreeBSD.org) Message-Id: <202005022103.042L32lb080879@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kwm set sender to kwm@FreeBSD.org using -f From: Koop Mast Date: Sat, 2 May 2020 21:03:02 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: kwm X-SVN-Commit-Paths: in head/print/ghostscript9-agpl-base: . files X-SVN-Commit-Revision: 533708 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2020 21:03:02 -0000 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 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