aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rttr/permission.patch
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-24 15:38:11 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-24 14:45:53 -0300
commit17aef0b67ac87c3b59f7ed7c23f0ccf341171f75 (patch)
tree38760d5665e0ba926b2d0cf6e3bcbdfdeb2c7654 /testing/rttr/permission.patch
parent25b8375e65f26c65a0cc55e9a4c0a6bc6f636666 (diff)
downloadaports-17aef0b67ac87c3b59f7ed7c23f0ccf341171f75.tar.bz2
aports-17aef0b67ac87c3b59f7ed7c23f0ccf341171f75.tar.xz
testing/rttr: new aport
Diffstat (limited to 'testing/rttr/permission.patch')
-rw-r--r--testing/rttr/permission.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/rttr/permission.patch b/testing/rttr/permission.patch
new file mode 100644
index 0000000000..bec7ac36bf
--- /dev/null
+++ b/testing/rttr/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()