Created
November 29, 2013 01:51
-
-
Save dbr/7700532 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ext/yaml-cpp-0.3.0.patch b/ext/yaml-cpp-0.3.0.patch | |
index 0b27de4..ef89b7c 100644 | |
--- a/ext/yaml-cpp-0.3.0.patch | |
+++ b/ext/yaml-cpp-0.3.0.patch | |
@@ -1,10 +1,9 @@ | |
-diff -Naur yaml-cpp.orig/CMakeLists.txt yaml-cpp/CMakeLists.txt > yaml-cpp-0.3.0.patch | |
---- yaml-cpp.orig/CMakeLists.txt 2012-01-21 00:52:48.000000000 -0800 | |
-+++ yaml-cpp/CMakeLists.txt 2013-06-18 16:40:03.209535420 -0700 | |
+--- yaml-cpp-0.3.0.orig/CMakeLists.txt 2012-01-21 19:22:48.000000000 +1030 | |
++++ yaml-cpp-0.3.0/CMakeLists.txt 2013-11-29 11:32:33.632118748 +1030 | |
@@ -235,9 +235,15 @@ | |
${contrib_private_headers} | |
) | |
- | |
+ | |
+set(YAML_COMPILE_FLAGS "-fPIC -fvisibility=hidden") | |
+if(OCIO_INLINES_HIDDEN) | |
+ set(YAML_COMPILE_FLAGS "${YAML_COMPILE_FLAGS} -fvisibility-inlines-hidden") | |
@@ -16,3 +15,12 @@ diff -Naur yaml-cpp.orig/CMakeLists.txt yaml-cpp/CMakeLists.txt > yaml-cpp-0.3.0 | |
+ COMPILE_FLAGS "${YAML_COMPILE_FLAGS}" | |
PROJECT_LABEL "yaml-cpp ${LABEL_SUFFIX}" | |
) | |
+ | |
+@@ -263,7 +269,6 @@ | |
+ install( | |
+ DIRECTORY ${header_directory} | |
+ DESTINATION ${INCLUDE_INSTALL_DIR} | |
+- FILES_MATCHING PATTERN "*.h" | |
+ ) | |
+ | |
+ if(UNIX) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment