automatic version update by autodist [release 3.3.4-1mamba;Fri Jun 13 2025]

This commit is contained in:
2025-06-13 23:53:00 +02:00
parent ca88033bf0
commit 2b53299751
2 changed files with 4 additions and 46 deletions

View File

@ -1,42 +0,0 @@
From 914de9d8fdcd7963b44ec496f32deacd859083e3 Mon Sep 17 00:00:00 2001
From: Christopher Schwartz <christopherschwartz@xrite.com>
Date: Wed, 26 Mar 2025 14:00:04 +0100
Subject: [PATCH] Fix issue #2009 of failing build on 32-bit MinGW
Signed-off-by: Christopher Schwartz <christopherschwartz@xrite.com>
---
src/lib/OpenEXRCore/chunk.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/src/lib/OpenEXRCore/chunk.c b/src/lib/OpenEXRCore/chunk.c
index ec3ed7777..ababa9d00 100644
--- a/src/lib/OpenEXRCore/chunk.c
+++ b/src/lib/OpenEXRCore/chunk.c
@@ -565,7 +565,13 @@ extract_chunk_table (
if (ctable == NULL)
{
int64_t nread = 0;
+#ifdef EXR_HAS_STD_ATOMICS
+ uintptr_t eptr = 0, nptr = 0;
+#elif defined(_MSC_VER)
uint64_t eptr = 0, nptr = 0;
+#else
+# error OS unimplemented support for atomics
+#endif
int complete = 1;
uint64_t maxoff = ((uint64_t) -1);
exr_result_t rv;
@@ -639,7 +645,13 @@ extract_chunk_table (
}
else { priv_to_native64 (ctable, part->chunk_count); }
+#ifdef EXR_HAS_STD_ATOMICS
+ nptr = (uintptr_t) ctable;
+#elif defined(_MSC_VER)
nptr = (uint64_t) ctable;
+#else
+# error OS unimplemented support for atomics
+#endif
// see if we win or not
if (!atomic_compare_exchange_strong (
EXR_CONST_CAST (atomic_uintptr_t*, &(part->chunk_table)),

View File

@ -1,5 +1,5 @@
Name: openexr
Version: 3.3.3
Version: 3.3.4
Release: 1mamba
Summary: A high dynamic-range (HDR) image file format for use in computer imaging applications.
Group: Applications/Graphics
@ -8,7 +8,6 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://openexr.com/en/latest/
Source: https://github.com/AcademySoftwareFoundation/openexr.git/v%{version}/openexr-%{version}.tar.bz2
Patch0: openexr-3.3.3-x86-build-fix.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -52,10 +51,8 @@ OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial
OpenEXR is used by ILM on all motion pictures currently in production. The first movies to employ OpenEXR were Harry Potter and the Sorcerers Stone, Men in Black II, Gangs of New York, and Signs. Since then, OpenEXR has become ILM's main image file format.
This package contains static libraries and header files needed for development.
%prep
%setup -q -n openexr-%{version}
%patch 0 -p1 -b .x86-build-fix
%build
%cmake -d build
@ -104,6 +101,9 @@ This package contains static libraries and header files needed for development.
%doc README.md
%changelog
* Fri Jun 13 2025 Automatic Build System <autodist@openmamba.org> 3.3.4-1mamba
- automatic version update by autodist
* Mon Mar 24 2025 Automatic Build System <autodist@openmamba.org> 3.3.3-1mamba
- automatic version update by autodist