<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c407e3b336b5f8c7760fa57360ce0f629bb78b62">https://github.com/macports/macports-ports/commit/c407e3b336b5f8c7760fa57360ce0f629bb78b62</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new c407e3b336b openjdk8: use isfinite() instead of finite()
</span>c407e3b336b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c407e3b336b5f8c7760fa57360ce0f629bb78b62
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Fri Jan 19 00:24:33 2024 +1100
<span style='display:block; white-space:pre;color:#404040;'> openjdk8: use isfinite() instead of finite()
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/69124
</span>---
java/openjdk8/Portfile | 3 ++-
java/openjdk8/files/finite.patch | 18 ++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/openjdk8/Portfile b/java/openjdk8/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1eff68a567e..e6d84a445c0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/java/openjdk8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/openjdk8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,7 +37,8 @@ patchfiles 0001-8181503-Can-t-compile-hotspot-with-c-11.patch \
</span> 0006-Disable-C-11-warnings.patch \
0007-Added-macosx-bin-zero-jvm.cfg.patch \
0008-ExtendedOptionsImpl.c-define-TCP_KEEPINTVL-and-TCP_K.patch \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- Support-arm64-and-fix-zero-assembler.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Support-arm64-and-fix-zero-assembler.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ finite.patch
</span>
# NSFullSizeContentViewWindowMask is available since 10.10
if {${os.platform} eq "darwin" && ${os.major} < 14} {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/openjdk8/files/finite.patch b/java/openjdk8/files/finite.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..426ad004a11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/openjdk8/files/finite.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+finite() has been deprecated since 10.9 and has been removed in the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+arm64 macOS SDK. Use the standard C99 isfinite() instead.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<https://trac.macports.org/ticket/69124>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp.orig 2023-04-18 14:55:08
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp 2024-01-19 00:03:57
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -249,8 +249,8 @@ inline int g_isfinite(jfloat f) { ret
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Checking for finiteness
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-inline int g_isfinite(jfloat f) { return finite(f); }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-inline int g_isfinite(jdouble f) { return finite(f); }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++inline int g_isfinite(jfloat f) { return isfinite(f); }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++inline int g_isfinite(jdouble f) { return isfinite(f); }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Wide characters
</span></pre><pre style='margin:0'>
</pre>