<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3dab2d21bffb10d068a39df61819797d0a9ef07e">https://github.com/macports/macports-ports/commit/3dab2d21bffb10d068a39df61819797d0a9ef07e</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 3dab2d21bff sundials5: fix build for Xcode 15.x
</span>3dab2d21bff is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 3dab2d21bffb10d068a39df61819797d0a9ef07e
</span>Author: Marius Schamschula <mschamschula@gmail.com>
AuthorDate: Thu Sep 28 10:12:56 2023 -0500

<span style='display:block; white-space:pre;color:#404040;'>    sundials5: fix build for Xcode 15.x
</span>---
 math/sundials5/Portfile | 11 +++++++++++
 1 file changed, 11 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/sundials5/Portfile b/math/sundials5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1814de7470f..39d9db5f8f3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/sundials5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/sundials5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -140,6 +140,17 @@ configure.args-append \
</span> configure.env-append \
                     SDKROOT=/
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if { [vercmp ${xcodeversion} >= 15.0] || [vercmp ${xcodecltversion} >= 15.0] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # On macOS13 and newer ensure the 'legacy' linker is used as GCC currently has problems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # with the new default linker in Xcode 15. See e.g.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#Linking
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # https://discussions.apple.com/thread/255137447
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # https://developer.apple.com/forums/thread/737707
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # https://github.com/Homebrew/homebrew-core/issues/145991
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.env-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    LDFLAGS=-ld_classic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant examples description {Install Examples} {
     set example_langs {C CXX F90 F77}
     foreach lang ${example_langs} {
</pre><pre style='margin:0'>

</pre>