<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a7ead39a5422f0221d1ae0abed53d756bd37aa48">https://github.com/macports/macports-ports/commit/a7ead39a5422f0221d1ae0abed53d756bd37aa48</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit a7ead39a5422f0221d1ae0abed53d756bd37aa48
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Mon Apr 15 15:49:36 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> imath: update to 3.1.11
</span>---
graphics/imath/Portfile | 13 +++----
graphics/imath/files/patch-std-isfinite.diff | 51 ----------------------------
2 files changed, 5 insertions(+), 59 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/imath/Portfile b/graphics/imath/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 60a41cc6bc8..78a4c4628d6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/imath/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/imath/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,9 +5,9 @@ PortGroup cmake 1.1
</span> PortGroup github 1.0
PortGroup legacysupport 1.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup AcademySoftwareFoundation imath 3.1.10 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup AcademySoftwareFoundation imath 3.1.11 v
</span> github.tarball_from archive
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
categories graphics
license BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,17 +23,14 @@ long_description Imath is a basic, light-weight, and efficient C+
</span>
homepage https://www.openexr.com
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 b463e098fedccdf4b8ada445bf2db98449698d0e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 f2943e86bfb694e216c60b9a169e5356f8a90f18fbd34d7b6e3450be14f60b10 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 595059
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 0f263c7c68c38ca726affd198df08337c3a62b15 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 9057849585e49b8b85abe7cc1e76e22963b01bfdc3b6d83eac90c499cd760063 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 596585
</span>
# NOTE: legacysupport needed for 'CLOCK_MONOTONIC'
depends_build-append port:pkgconfig
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://github.com/AcademySoftwareFoundation/Imath/issues/367
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append patch-std-isfinite.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> compiler.cxx_standard 2014
# avoid redownload after imath subport was split from openexr Portfile
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/imath/files/patch-std-isfinite.diff b/graphics/imath/files/patch-std-isfinite.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 7c241e4d4da..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/imath/files/patch-std-isfinite.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,51 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From 863e7dd43df2925705003424ba52806f6a3da001 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From: Cary Phillips <cary@ilm.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Date: Wed, 14 Feb 2024 10:38:20 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Subject: [PATCH] Add std:: to isfinite in ImathFun.cpp (#368)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Signed-off-by: Cary Phillips <cary@ilm.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-ImathFun.cpp: add std:: to isfinite in remaining cases (#371)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A follow-up to https://github.com/AcademySoftwareFoundation/Imath/pull/368
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fixes: https://github.com/AcademySoftwareFoundation/Imath/issues/367
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Signed-off-by: Sergey Fedorov <vital.had@gmail.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- src/Imath/ImathFun.cpp | 8 ++++----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 1 file changed, 4 insertions(+), 4 deletions(-)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git src/Imath/ImathFun.cpp src/Imath/ImathFun.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index bfec292..c8c2e7e 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/Imath/ImathFun.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/Imath/ImathFun.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -10,25 +10,25 @@ IMATH_INTERNAL_NAMESPACE_SOURCE_ENTER
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- float succf(float f) IMATH_NOEXCEPT
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- return isfinite(f) ?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return std::isfinite(f) ?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- std::nextafter(f, std::numeric_limits<float>::infinity()) : f;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- float predf(float f) IMATH_NOEXCEPT
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- return isfinite(f) ?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return std::isfinite(f) ?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- std::nextafter(f, -std::numeric_limits<float>::infinity()) : f;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- double succd(double d) IMATH_NOEXCEPT
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- return isfinite(d) ?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return std::isfinite(d) ?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- std::nextafter(d, std::numeric_limits<double>::infinity()) : d;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- double predd(double d) IMATH_NOEXCEPT
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- return isfinite(d) ?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return std::isfinite(d) ?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- std::nextafter(d, -std::numeric_limits<double>::infinity()) : d;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span></pre><pre style='margin:0'>
</pre>