diff options
Diffstat (limited to 'dev-cpp/rttr/files/rttr-0.9.6-permission.patch')
-rw-r--r-- | dev-cpp/rttr/files/rttr-0.9.6-permission.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-cpp/rttr/files/rttr-0.9.6-permission.patch b/dev-cpp/rttr/files/rttr-0.9.6-permission.patch new file mode 100644 index 000000000000..bec7ac36bfc9 --- /dev/null +++ b/dev-cpp/rttr/files/rttr-0.9.6-permission.patch @@ -0,0 +1,13 @@ +Avoid installing headers with mode 700. + +--- a/CMake/utility.cmake ++++ b/CMake/utility.cmake +@@ -165,7 +165,7 @@ + getNameOfDir(CMAKE_CURRENT_SOURCE_DIR DIRNAME) + if (${shouldInstall}) + if (NOT ${FULL_HEADER_PATH} MATCHES ".*_p.h$") # we don't want to install header files which are marked as private +- install(FILES ${FULL_HEADER_PATH} DESTINATION "include/${DIRNAME}/${REL_PATH}" PERMISSIONS OWNER_READ) ++ install(FILES ${FULL_HEADER_PATH} DESTINATION "include/${DIRNAME}/${REL_PATH}") + endif() + endif() + endforeach() |