1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

graphics/openexr: update to 3.1.11

Changelog: https://github.com/AcademySoftwareFoundation/openexr/blob/v3.1.11/CHANGES.md#version-3111-august-13-2023
MFH:       2023Q3
This commit is contained in:
Matthias Andree 2023-08-14 18:19:12 +02:00
parent 208750bb66
commit 7936ba17c5
3 changed files with 6 additions and 30 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= openexr
PORTVERSION= 3.1.10
PORTREVISION= 1
PORTVERSION= 3.1.11
PORTREVISION= 0
CATEGORIES= graphics devel
MAINTAINER= mandree@FreeBSD.org
@ -25,7 +25,7 @@ LDFLAGS+= -lpthread
_MAJORVER= 3_1
_VER= 30
_MINVER= 10
_MINVER= 11
_PLVER= 1
PLIST_SUB+= MAJORVER=${_MAJORVER} \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1691148231
SHA256 (AcademySoftwareFoundation-openexr-3.1.10-v3.1.10_GH0.tar.gz) = 6e0fd3f0eb1cb907bd3593830ea2b3431b85f22a6f18f99f8cfa099fec70067d
SIZE (AcademySoftwareFoundation-openexr-3.1.10-v3.1.10_GH0.tar.gz) = 20539019
TIMESTAMP = 1692028953
SHA256 (AcademySoftwareFoundation-openexr-3.1.11-v3.1.11_GH0.tar.gz) = 06b4a20d0791b5ec0f804c855d320a0615ce8445124f293616a086e093f1f1e1
SIZE (AcademySoftwareFoundation-openexr-3.1.11-v3.1.11_GH0.tar.gz) = 20539852

View File

@ -1,24 +0,0 @@
https://github.com/AcademySoftwareFoundation/openexr/pull/1507/files
--- src/lib/OpenEXRCore/internal_cpuid.h.orig 2023-07-31 18:17:50 UTC
+++ src/lib/OpenEXRCore/internal_cpuid.h
@@ -39,14 +39,16 @@ static inline void check_for_x86_simd (int *f16c, int
*f16c = 0;
# endif
-#elif OPENEXR_ENABLE_X86_SIMD_CHECK
+#elif defined(__AVX__) && defined(__F16C__)
// shortcut if everything is turned on / compiled in
-# if defined(__AVX__) && defined(__F16C__)
*f16c = 1;
*avx = 1;
*sse2 = 1;
-# elif defined(_MSC_VER) && defined(_WIN32)
+
+#elif OPENEXR_ENABLE_X86_SIMD_CHECK
+
+# if defined(_MSC_VER) && defined(_WIN32)
int regs[4], osxsave;
__cpuid (regs, 0);