summarylogtreecommitdiffstats
path: root/fix_build-dev_command.patch
diff options
context:
space:
mode:
authorJakub Okoński2019-01-27 15:03:18 +0100
committerJakub Okoński2019-01-27 15:03:18 +0100
commit13e847f2685b43fc7606927fcd361e9c0212a936 (patch)
tree04db379450b084a8fe6e05f5c6f6877acc6f3deb /fix_build-dev_command.patch
parentb8a08ec8b6b089530a93896a3426832914d9f0a0 (diff)
downloadaur-13e847f2685b43fc7606927fcd361e9c0212a936.tar.gz
Apply patch to build with cmake 3.13, thanks to ulyssesrr
Diffstat (limited to 'fix_build-dev_command.patch')
-rw-r--r--fix_build-dev_command.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/fix_build-dev_command.patch b/fix_build-dev_command.patch
new file mode 100644
index 000000000000..8e411b505e87
--- /dev/null
+++ b/fix_build-dev_command.patch
@@ -0,0 +1,12 @@
+diff -ura ROCT-Thunk-Interface/CMakeLists.txt new/CMakeLists.txt
+--- ROCT-Thunk-Interface/CMakeLists.txt 2019-01-26 22:04:18.005881703 -0200
++++ new/CMakeLists.txt 2019-01-26 22:05:14.637674335 -0200
+@@ -128,7 +128,7 @@
+ -DSOURCE_DIR="${SOURCE_DIR}"
+ -DCMAKE_INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}"
+ -DCPACK_RPM_PACKAGE_REQUIRES="hsakmt-roct"
+- -DCPACK_PACKAGING_INSTALL_PREFIX="${CPACK_PACKAGING_INSTALL_PREFIX}"
++ -DCPACK_PACKAGING_INSTALL_PREFIX="${CPACK_PACKAGING_INSTALL_PREFIX}" .
+ WORKING_DIRECTORY ${DEV_BUILD_DIR} )
+
+ ## Custom targets for the devel package