summaryrefslogtreecommitdiffstats
path: root/amd/packages/patches/hipify-6.2.0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'amd/packages/patches/hipify-6.2.0.patch')
-rw-r--r--amd/packages/patches/hipify-6.2.0.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/amd/packages/patches/hipify-6.2.0.patch b/amd/packages/patches/hipify-6.2.0.patch
new file mode 100644
index 0000000..04cac7b
--- /dev/null
+++ b/amd/packages/patches/hipify-6.2.0.patch
@@ -0,0 +1,13 @@
+Ensure installed files carry over the same permissions as the source.
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0d105e20..0c1bbb57 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -177,6 +177,7 @@ if (NOT HIPIFY_CLANG_TESTS_ONLY)
+ install(
+ DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin
+ DESTINATION .
++ USE_SOURCE_PERMISSIONS
+ PATTERN "hipify-perl"
+ PATTERN "*.sh"
+ PATTERN "findcode.sh" EXCLUDE