]> git.pld-linux.org Git - packages/ctl.git/commitdiff
- added link patch (missing linking with -lImath) master
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 14 Mar 2023 17:52:28 +0000 (18:52 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 14 Mar 2023 17:52:28 +0000 (18:52 +0100)
ctl-link.patch [new file with mode: 0644]
ctl.spec

diff --git a/ctl-link.patch b/ctl-link.patch
new file mode 100644 (file)
index 0000000..7374e96
--- /dev/null
@@ -0,0 +1,11 @@
+--- CTL-ctl-1.5.2/lib/IlmCtlMath/CMakeLists.txt.orig   2023-03-14 18:23:20.790979681 +0100
++++ CTL-ctl-1.5.2/lib/IlmCtlMath/CMakeLists.txt        2023-03-14 18:44:50.993990051 +0100
+@@ -6,7 +6,7 @@ add_library( IlmCtlMath ${DO_SHARED}
+   CtlRbfInterpolator.cpp
+ )
+-target_link_libraries( IlmCtlMath IlmCtl )
++target_link_libraries( IlmCtlMath IlmCtl Imath )
+ set_target_properties( IlmCtlMath PROPERTIES
+   VERSION ${CTL_VERSION}
index f9d71f1c7592a280709ed2ddc7f4dbd427c28252..805ba12acba912d911bda0a6588e9c18f772276c 100644 (file)
--- a/ctl.spec
+++ b/ctl.spec
@@ -13,6 +13,7 @@ Patch1:               %{name}-ctlrender.patch
 Patch2:                %{name}-pc.patch
 Patch3:                %{name}-openexr-update.patch
 Patch4:                %{name}-c++17.patch
+Patch5:                %{name}-link.patch
 URL:           https://www.oscars.org/science-technology/sci-tech-projects/color-transformation-language
 BuildRequires: OpenEXR-devel
 BuildRequires: aces_container-devel
@@ -150,6 +151,7 @@ ctlrender obsługuje formaty plików OpenEXR, TIFF, DPX oraz ACES.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 install -d build
This page took 0.143804 seconds and 4 git commands to generate.