commit d6ca24f6759af6522b8f73a37acf41fdc1d1ab6a
Author: Jakub Bogusz <[email protected]>
Date:   Tue Mar 14 18:52:28 2023 +0100

    - added link patch (missing linking with -lImath)

 ctl-link.patch | 11 +++++++++++
 ctl.spec       |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/ctl.spec b/ctl.spec
index f9d71f1..805ba12 100644
--- 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
diff --git a/ctl-link.patch b/ctl-link.patch
new file mode 100644
index 0000000..7374e96
--- /dev/null
+++ b/ctl-link.patch
@@ -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}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ctl.git/commitdiff/d6ca24f6759af6522b8f73a37acf41fdc1d1ab6a

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to