From owner-svn-ports-all@freebsd.org Fri Mar 29 19:07:33 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5ABEA154F547; Fri, 29 Mar 2019 19:07:33 +0000 (UTC) (envelope-from tcberner@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 DE13D7571E; Fri, 29 Mar 2019 19:07:32 +0000 (UTC) (envelope-from tcberner@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 AF3E630D1; Fri, 29 Mar 2019 19:07:32 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2TJ7WPH000213; Fri, 29 Mar 2019 19:07:32 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2TJ7VWQ000209; Fri, 29 Mar 2019 19:07:31 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201903291907.x2TJ7VWQ000209@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Fri, 29 Mar 2019 19:07:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r497188 - in head/graphics: exiv2 exiv2/files gexiv2 gimp-app X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: in head/graphics: exiv2 exiv2/files gexiv2 gimp-app X-SVN-Commit-Revision: 497188 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: DE13D7571E X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.98)[-0.975,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] 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: Fri, 29 Mar 2019 19:07:33 -0000 Author: tcberner Date: Fri Mar 29 19:07:31 2019 New Revision: 497188 URL: https://svnweb.freebsd.org/changeset/ports/497188 Log: graphics/exiv2: add patch to fix gimp Modify upstrams fix [1] for FreeBSD. PR: 236677 Reported by: Vladimir Omelchuk Added: head/graphics/exiv2/files/ head/graphics/exiv2/files/patch-git_04c9b1 (contents, props changed) Modified: head/graphics/exiv2/Makefile head/graphics/gexiv2/Makefile head/graphics/gimp-app/Makefile Modified: head/graphics/exiv2/Makefile ============================================================================== --- head/graphics/exiv2/Makefile Fri Mar 29 19:02:26 2019 (r497187) +++ head/graphics/exiv2/Makefile Fri Mar 29 19:07:31 2019 (r497188) @@ -4,6 +4,7 @@ PORTNAME= exiv2 DISTVERSION= 0.27.0 DISTVERSIONSUFFIX= a-Source +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= http://www.exiv2.org/builds/ Added: head/graphics/exiv2/files/patch-git_04c9b1 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/exiv2/files/patch-git_04c9b1 Fri Mar 29 19:07:31 2019 (r497188) @@ -0,0 +1,88 @@ +Slightly modified: + +From 04c9b181cc2c7741fcb134ccc43f2bafc1f86f19 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Luis=20D=C3=ADaz=20M=C3=A1s?= +Date: Sat, 12 Jan 2019 12:15:27 +0000 +Subject: [PATCH] Fix #644. Export specializations of BasicError + +- Only export BasicError::setMsg which is the only implementation present in the .cpp +- Only export BasicError specialization on __APPLE__ + +It seems that gcc automatically adds the attribute when the visibility +settings are set to hidden. See this link for more information: +https://reviews.llvm.org/D35388 +--- + cmake/mainSetup.cmake | 6 ++++-- + include/exiv2/error.hpp | 3 ++- + src/error.cpp | 6 ++++-- + 3 files changed, 10 insertions(+), 5 deletions(-) + +diff --git a/cmake/mainSetup.cmake b/cmake/mainSetup.cmake +index 05c16004d..a4d983d4c 100644 +--- cmake/mainSetup.cmake ++++ cmake/mainSetup.cmake +@@ -13,8 +13,10 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) + set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) + set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) + +-set(CMAKE_CXX_VISIBILITY_PRESET hidden) +-set(CMAKE_VISIBILITY_INLINES_HIDDEN 1) ++if (NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang") ++ set(CMAKE_CXX_VISIBILITY_PRESET hidden) ++ set(CMAKE_VISIBILITY_INLINES_HIDDEN 1) ++endif() + + set(CMAKE_CXX_STANDARD 98) + set(CMAKE_CXX_STANDARD_REQUIRED ON) +diff --git a/include/exiv2/error.hpp b/include/exiv2/error.hpp +index 0f9714e5b..42a0959c4 100644 +--- include/exiv2/error.hpp ++++ include/exiv2/error.hpp +@@ -315,7 +315,7 @@ namespace Exiv2 { + std::basic_string arg3_; //!< Third argument + std::string msg_; //!< Complete error message + #ifdef EXV_UNICODE_PATH +- std::wstring wmsg_; //!< Complete error message as a wide string ++ std::wstring wmsg_; //!< Complete error message as a wide string + #endif + }; // class BasicError + +@@ -389,6 +389,7 @@ namespace Exiv2 { + return wmsg_.c_str(); + } + #endif ++ + #ifdef _MSC_VER + # pragma warning( default : 4275 ) + #endif +diff --git a/src/error.cpp b/src/error.cpp +index 6d3a24bd8..c8e2d9e0d 100644 +--- src/error.cpp ++++ src/error.cpp +@@ -224,7 +224,6 @@ namespace Exiv2 { + { + } + +- //! @cond IGNORE + template<> + void BasicError::setMsg() + { +@@ -257,7 +256,9 @@ namespace Exiv2 { + wmsg_ = s2ws(msg); + #endif + } +- //! @endcond ++#ifdef __FreeBSD__ ++ template class EXIV2API BasicError; ++#endif + + #ifdef EXV_UNICODE_PATH + template<> +@@ -291,6 +292,7 @@ namespace Exiv2 { + wmsg_ = wmsg; + msg_ = ws2s(wmsg); + } ++ template class EXIV2API BasicError; + #endif + + const char* errMsg(int code) Modified: head/graphics/gexiv2/Makefile ============================================================================== --- head/graphics/gexiv2/Makefile Fri Mar 29 19:02:26 2019 (r497187) +++ head/graphics/gexiv2/Makefile Fri Mar 29 19:07:31 2019 (r497188) @@ -3,7 +3,7 @@ PORTNAME= gexiv2 PORTVERSION= 0.10.9 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= GNOME Modified: head/graphics/gimp-app/Makefile ============================================================================== --- head/graphics/gimp-app/Makefile Fri Mar 29 19:02:26 2019 (r497187) +++ head/graphics/gimp-app/Makefile Fri Mar 29 19:07:31 2019 (r497188) @@ -3,7 +3,7 @@ PORTNAME?= gimp-app PORTVERSION= 2.10.8 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH?= 1 CATEGORIES?= graphics gnome MASTER_SITES= GIMP/gimp/v${PORTVERSION:R}