git: 9a529daeee94 - main - graphics/openexr: update to v3.2.1

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Fri, 06 Oct 2023 14:15:18 UTC
The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9a529daeee9420facefabfbf0c69625c31c124df

commit 9a529daeee9420facefabfbf0c69625c31c124df
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2023-09-27 22:36:17 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2023-10-06 14:14:27 +0000

    graphics/openexr: update to v3.2.1
    
    ChangeLog: https://github.com/AcademySoftwareFoundation/openexr/blob/v3.2.1/CHANGES.md#version-321-september-27-2023
    
    with one additional patch to change deflate_LIBRARIES to
    deflate_LINK_LIBRARIES in the cmake stuff in order to unbreak
    the build.
    
    Reported upstream: https://github.com/AcademySoftwareFoundation/openexr/issues/1571
    
    Upstream intended to release v3.2.2 on short notice, but the efforts
    appear to have stalled, so ship 3.2.1 with our local fix.
---
 graphics/openexr/Makefile                             |  2 +-
 graphics/openexr/distinfo                             |  6 +++---
 graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake | 11 +++++++++++
 3 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/graphics/openexr/Makefile b/graphics/openexr/Makefile
index b5403286b86c..eb58e44c8d73 100644
--- a/graphics/openexr/Makefile
+++ b/graphics/openexr/Makefile
@@ -1,5 +1,5 @@
 PORTNAME?=	openexr
-PORTVERSION=	3.2.0
+PORTVERSION=	3.2.1
 PORTREVISION?=	0
 CATEGORIES=	graphics devel
 .if !defined(MASTERDIR)
diff --git a/graphics/openexr/distinfo b/graphics/openexr/distinfo
index d6df096407a8..a92ad3fd2c0a 100644
--- a/graphics/openexr/distinfo
+++ b/graphics/openexr/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1693588963
+TIMESTAMP = 1695852029
 SHA256 (openexr/Beachball/multipart.0001.exr) = 0cd032069fbaa14a2766861fef9893ea66a6494ff64650725d3b26a500df774b
 SIZE (openexr/Beachball/multipart.0001.exr) = 2894260
 SHA256 (openexr/Beachball/singlepart.0001.exr) = 29719942ed3c095a8f8f111fc139fc4c28f446007f5bfce00177cae585b1a87a
@@ -31,5 +31,5 @@ SHA256 (openexr/v2/LeftView/Balls.exr) = 86503ff1b0a07372058127896d3858facf625e0
 SIZE (openexr/v2/LeftView/Balls.exr) = 5065464
 SHA256 (openexr/v2/Stereo/Trunks.exr) = 8a2f04e8d5b8ef1a5fd48198cf2059f1dd01129e4cccd7a4c96caf8c472676f7
 SIZE (openexr/v2/Stereo/Trunks.exr) = 3858752
-SHA256 (openexr/AcademySoftwareFoundation-openexr-3.2.0-v3.2.0_GH0.tar.gz) = b1b200606640547fceff0d3ebe01ac05c4a7ae2a131be7e9b3e5b9f491ef35b3
-SIZE (openexr/AcademySoftwareFoundation-openexr-3.2.0-v3.2.0_GH0.tar.gz) = 18822949
+SHA256 (openexr/AcademySoftwareFoundation-openexr-3.2.1-v3.2.1_GH0.tar.gz) = 61e175aa2203399fb3c8c2288752fbea3c2637680d50b6e306ea5f8ffdd46a9b
+SIZE (openexr/AcademySoftwareFoundation-openexr-3.2.1-v3.2.1_GH0.tar.gz) = 18824332
diff --git a/graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake b/graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake
new file mode 100644
index 000000000000..f83fac22e357
--- /dev/null
+++ b/graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake
@@ -0,0 +1,11 @@
+--- cmake/OpenEXRSetup.cmake.orig	2023-09-25 02:46:06 UTC
++++ cmake/OpenEXRSetup.cmake
+@@ -215,7 +215,7 @@ if(NOT TARGET PkgConfig::deflate AND NOT deflate_FOUND
+   set(EXR_DEFLATE_LIB)
+ else()
+   set(EXR_DEFLATE_INCLUDE_DIR)
+-  set(EXR_DEFLATE_LIB ${deflate_LIBRARIES})
++  set(EXR_DEFLATE_LIB ${deflate_LINK_LIBRARIES})
+   # set EXR_DEFATE_LDFLAGS for OpenEXR.pc.in for static build
+   if (BUILD_SHARED_LIBS)
+     set(EXR_DEFLATE_LDFLAGS "")