graphics/exiv2: readd visibility patch for graphics/gimp

PR:		236677
Reported by:	 lumiwa@gmail.com, starikarp@dismail.de
This commit is contained in:
Tobias C. Berner 2019-07-13 15:52:16 +00:00
parent ad898c681f
commit b261d46a67
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506546
3 changed files with 13 additions and 1 deletions

View File

@ -4,6 +4,7 @@
PORTNAME= exiv2
DISTVERSION= 0.27.1
DISTVERSIONSUFFIX= -Source
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= http://www.exiv2.org/builds/

View File

@ -0,0 +1,11 @@
--- cmake/mainSetup.cmake.orig 2019-07-13 09:31:40 UTC
+++ cmake/mainSetup.cmake
@@ -13,7 +13,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
-if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
+if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
endif()

View File

@ -3,7 +3,7 @@
PORTNAME= gimp
DISTVERSION?= 2.10.12
PORTREVISION?= 0
PORTREVISION?= 1
PORTEPOCH?= 2
CATEGORIES= graphics gnome