summaryrefslogtreecommitdiff
path: root/media-gfx/darktable/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-25 20:46:18 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-25 20:46:18 +0000
commit3182df6d5dc309bd704cb272c073b6238d2f5198 (patch)
tree6e8e08aed9711d78ad067e939691e275fadd3ae6 /media-gfx/darktable/files
parent5f6d717f4be2dc33de40f4bffaf5174f929dc896 (diff)
media-gfx/darktable : revision bump
Diffstat (limited to 'media-gfx/darktable/files')
-rw-r--r--media-gfx/darktable/files/darktable-2.4.0-find-opencl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-gfx/darktable/files/darktable-2.4.0-find-opencl.patch b/media-gfx/darktable/files/darktable-2.4.0-find-opencl.patch
new file mode 100644
index 00000000..0a692f93
--- /dev/null
+++ b/media-gfx/darktable/files/darktable-2.4.0-find-opencl.patch
@@ -0,0 +1,12 @@
+diff -Nur a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt 2017-12-24 09:09:10.000000000 +0000
++++ b/CMakeLists.txt 2017-12-25 20:42:40.998693994 +0000
+@@ -355,7 +355,7 @@
+ message(STATUS "Found clang compiler - ${CLANG_OPENCL_COMPILER}")
+
+ find_path(CLANG_OPENCL_INCLUDE_DIR opencl-c.h
+- HINTS ${LLVM_INSTALL_PREFIX}/lib/clang ${LLVM_INSTALL_PREFIX}/lib64/clang
++ HINTS ${LLVM_INSTALL_PREFIX}/lib/clang ${LLVM_INSTALL_PREFIX}/lib64/clang /usr/lib/clang /usr/lib64/clang
+ PATH_SUFFIXES include ${LLVM_PACKAGE_VERSION}/include
+ NO_DEFAULT_PATH
+ )