summaryrefslogtreecommitdiff
path: root/media-gfx/exiv2/files/exiv2-0.25-fvisibility-hidden.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/exiv2/files/exiv2-0.25-fvisibility-hidden.patch')
-rw-r--r--media-gfx/exiv2/files/exiv2-0.25-fvisibility-hidden.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/media-gfx/exiv2/files/exiv2-0.25-fvisibility-hidden.patch b/media-gfx/exiv2/files/exiv2-0.25-fvisibility-hidden.patch
deleted file mode 100644
index 26c5c1d39d74..000000000000
--- a/media-gfx/exiv2/files/exiv2-0.25-fvisibility-hidden.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Index: CMakeLists.txt
-===================================================================
---- a/xmpsdk/CMakeLists.txt (revision 3974)
-+++ b/xmpsdk/CMakeLists.txt (revision 3975)
-@@ -20,6 +20,14 @@
- ENDIF(NOT MSVC AND NOT CYGWIN AND NOT MSYS)
- ENDFOREACH()
-
-+if(NOT MSVC)
-+ # http://stackoverflow.com/questions/10046114/in-cmake-how-can-i-test-if-the-compiler-is-clang
-+ if ( NOT "${CMAKE_CXX_COMPILER_ID}" MATCHES "AppleClang")
-+ # 1123 - hide xmpsdk symbols
-+ add_definitions( -fvisibility=hidden -fvisibility-inlines-hidden )
-+ endif()
-+endif()
-+
- IF( EXIV2_ENABLE_XMP AND EXIV2_ENABLE_LIBXMP )
- ADD_LIBRARY( xmp STATIC ${XMPSRC} )
- GET_TARGET_PROPERTY( XMPLIB xmp LOCATION )