blender/build_files/build_environment/patches/openexr_2594.diff
Jonas Holzman cd754c5ccc Deps: Library changes for Blender 5.3
New libraries:
* KTX
* OpenTimelineIO
* Jolt
* hwloc
* RapidJSON

Updated libraries:
* LLVM
* OSL
* OpenImageIO
* OpenUSD
* DPC++
* minizip-ng
* flac

Build changes for existing libraries:
* OpenEXR (build Python bindings)
* FFmpeg (add additional hardware acceleration backends)
* Enable CUDA/OptiX support for Windows ARM64 (LLVM, OSL, OIDN)

Removed libraries:
* fastjsonschema

For a full list of upgraded dependencies, specific versions and additional notes, see the main library change tracking issue below.

Pull Request: https://projects.blender.org/blender/blender/pulls/162972

Ref: #158444

Co-authored-by: Thomas Dinges <thomas@blender.org>
Co-authored-by: Anthony Roberts <anthony.roberts@linaro.org>
Co-authored-by: Ray Molenkamp <github@lazydodo.com>
Co-authored-by: Brecht Van Lommel <brecht@blender.org>
Co-authored-by: Campbell Barton <campbell@blender.org>
Co-authored-by: Sebastian Parborg <sebastian@blender.org>
Co-authored-by: Patrick Mours <pmours@nvidia.com>
Co-authored-by: Nikita Sirgienko <nikita.sirgienko@intel.com>
Co-authored-by: John Kiril Swenson <john@blender.org>
2026-10-01 18:21:55 +02:00

27 lines
952 B
Diff

diff --git a/src/lib/OpenEXR/ImfKeyCode.h b/src/lib/OpenEXR/ImfKeyCode.h
index 9fca7b4f01..4ed4a788d8 100644
--- a/src/lib/OpenEXR/ImfKeyCode.h
+++ b/src/lib/OpenEXR/ImfKeyCode.h
@@ -93,6 +93,7 @@ class IMF_EXPORT_TYPE KeyCode
IMF_EXPORT
KeyCode& operator= (const KeyCode& other);
+ IMF_EXPORT
bool operator== (const KeyCode& other) const;
//----------------------------
diff --git a/src/test/OpenEXRTest/testStandardAttributes.cpp b/src/test/OpenEXRTest/testStandardAttributes.cpp
index a0b894e19f..247f6f3a4a 100644
--- a/src/test/OpenEXRTest/testStandardAttributes.cpp
+++ b/src/test/OpenEXRTest/testStandardAttributes.cpp
@@ -388,6 +388,10 @@ writeReadKeyCode (const char fileName[])
3, // perfsPerFrame
80); // perfsPerCount
+ KeyCode k2 = k1;
+
+ assert (k2 == k1);
+
assert (k1.filmMfcCode () == 12);
assert (k1.filmType () == 34);
assert (k1.prefix () == 123456);