summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/calligra/files/calligra-3.2.1-imath.patch')
-rw-r--r--app-office/calligra/files/calligra-3.2.1-imath.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/app-office/calligra/files/calligra-3.2.1-imath.patch b/app-office/calligra/files/calligra-3.2.1-imath.patch
deleted file mode 100644
index 62a2daa2f5dc..000000000000
--- a/app-office/calligra/files/calligra-3.2.1-imath.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From c52eb33f20a66acb648b725e2eee3ed977eae896 Mon Sep 17 00:00:00 2001
-From: Antonio Rojas <arojas@archlinux.org>
-Date: Tue, 3 Aug 2021 10:41:09 +0200
-Subject: [PATCH] Only link to Imath when OpenEXR version is >= 3.0
-
-Since OpenEXR 3.0, Imath is in a separate, independently released library. Since that's the only library that Calligra needs, there's no need to link to the full OpenEXR
----
- CMakeLists.txt | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index cdcc02f0236..91c72882d3a 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -338,9 +338,9 @@ endif ()
- ## Check for OpenEXR
- ##
-
--macro_optional_find_package(OpenEXR 3.0 CONFIG QUIET)
--if(TARGET OpenEXR::OpenEXR)
-- set(OPENEXR_LIBRARIES OpenEXR::OpenEXR)
-+macro_optional_find_package(Imath 3.0 CONFIG QUIET)
-+if(TARGET Imath::Imath)
-+ set(OPENEXR_LIBRARIES Imath::Imath)
- else()
- macro_optional_find_package(OpenEXR)
- endif()
---
-GitLab
-