summaryrefslogtreecommitdiff
path: root/graphics/darktable38/files/patch-cmake_modules_FindOpenEXR.cmake
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2021-12-30 01:14:23 +0100
committerMatthias Andree <mandree@FreeBSD.org>2021-12-30 01:18:34 +0100
commitb515b33388239d2c867e20adf797c64892913cda (patch)
tree8d135a4c72df5568871f86e5a704d926c80c7e51 /graphics/darktable38/files/patch-cmake_modules_FindOpenEXR.cmake
parentgraphics/darktable: update pkg-descr WWW: to https:// (diff)
graphics/darktable38: new v3.8 of raw developer
This port is meant to fill the gap until we can upgrade graphics/darktable (which is v3.6), so that we have 3.8 in 2022Q1, and to avoid breaking darktable for the latter in case new issues show up, as darktable 3.8 is fairly new at the time of commit. This is based on prior work by the graphics/darktable port maintainers, dumbbell@ and lwhsu@. Versus v3.6, we re-enable ninja builds but LTO with RawSpeed currently does not work. For that to work, we need to BINARY_ALIAS the linker, to avoid picking up the base system linker with a newer LLVM toolchain from ports (no matter if 12 or 13). related to PR: 260674
Diffstat (limited to 'graphics/darktable38/files/patch-cmake_modules_FindOpenEXR.cmake')
-rw-r--r--graphics/darktable38/files/patch-cmake_modules_FindOpenEXR.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/darktable38/files/patch-cmake_modules_FindOpenEXR.cmake b/graphics/darktable38/files/patch-cmake_modules_FindOpenEXR.cmake
new file mode 100644
index 000000000000..15b262b00c30
--- /dev/null
+++ b/graphics/darktable38/files/patch-cmake_modules_FindOpenEXR.cmake
@@ -0,0 +1,12 @@
+--- cmake/modules/FindOpenEXR.cmake.orig 2021-02-03 13:36:49 UTC
++++ cmake/modules/FindOpenEXR.cmake
+@@ -24,9 +24,6 @@ find_path(_OPENEXR_LIB_DIR OpenEXR
+ set(OpenEXR_LIB_DIR ${_OPENEXR_LIB_DIR})
+ mark_as_advanced(OpenEXR_LIB_DIR)
+
+-find_library(_OPENEXR_LIBRARY_IMIMF IlmImf
+- HINTS ENV OPENEXR_LIB_DIR)
+-set(OpenEXR_LIBRARY ${OpenEXR_LIBRARY} ${_OPENEXR_LIBRARY_IMIMF})
+ find_library(_OPENEXR_LIBRARY_IMATH Imath
+ HINTS ENV OPENEXR_LIB_DIR)
+ set(OpenEXR_LIBRARY ${OpenEXR_LIBRARY} ${_OPENEXR_LIBRARY_IMATH})