git: c0f85663f34f - main - graphics/openexr: use official WITH_DEBUG=yes fix
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 Oct 2025 22:19:18 UTC
The branch main has been updated by mandree:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c0f85663f34f29c0e9013f9c35ced11620a408c5
commit c0f85663f34f29c0e9013f9c35ced11620a408c5
Author: Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2025-10-31 22:10:04 +0000
Commit: Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2025-10-31 22:18:16 +0000
graphics/openexr: use official WITH_DEBUG=yes fix
We've developed an officially accepted solution with upstream and
upstream reporter of the issue that prompted the change that broke our
DEBUG builds, so let's switch to the official change to minimize
differences from upstream.
https://github.com/AcademySoftwareFoundation/openexr/issues/1981
https://github.com/AcademySoftwareFoundation/openexr/pull/2166/commits/efa3b861ab0ab515ec7923ce02500acf667eabb0
PR: 290615
Note I am not updating to v3.4.2 because it does not contain changes
for FreeBSD - it contains a fix for Windows, and the other Imath change
is unnecessary for us because our ports system handles the requisite.
---
graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake b/graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake
index 93adc0ce4eb9..d78b2af091db 100644
--- a/graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake
+++ b/graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake
@@ -1,12 +1,11 @@
--- cmake/OpenEXRSetup.cmake.orig 2025-10-07 15:22:39 UTC
+++ cmake/OpenEXRSetup.cmake
-@@ -100,9 +100,6 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+@@ -100,7 +100,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Suffix for debug configuration libraries
# (if you should choose to install those)
# Don't override if the user has set it and don't save it in the cache
-if (NOT CMAKE_DEBUG_POSTFIX)
-- set(CMAKE_DEBUG_POSTFIX "_d")
--endif()
++if (NOT DEFINED CMAKE_DEBUG_POSTFIX)
+ set(CMAKE_DEBUG_POSTFIX "_d")
+ endif()
- if(NOT OPENEXR_IS_SUBPROJECT)
- # Usual cmake option to build shared libraries or not, only overridden if OpenEXR is a top level project,