From 3182df6d5dc309bd704cb272c073b6238d2f5198 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 25 Dec 2017 20:46:18 +0000 Subject: media-gfx/darktable : revision bump --- media-gfx/darktable/files/darktable-2.4.0-find-opencl.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 media-gfx/darktable/files/darktable-2.4.0-find-opencl.patch (limited to 'media-gfx/darktable/files/darktable-2.4.0-find-opencl.patch') 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 + ) -- cgit v1.2.3