<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/41cce53c601d6c407a48eaf7c705b45bec848dcb">https://github.com/macports/macports-ports/commit/41cce53c601d6c407a48eaf7c705b45bec848dcb</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 41cce53c601 root6: Add workaround for Xcode 15 linker issue
</span>41cce53c601 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 41cce53c601d6c407a48eaf7c705b45bec848dcb
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Wed Oct 4 10:20:05 2023 +0100
<span style='display:block; white-space:pre;color:#404040;'> root6: Add workaround for Xcode 15 linker issue
</span>---
science/root6/Portfile | 12 ++++++++++++
1 file changed, 12 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/root6/Portfile b/science/root6/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1ed5be64970..a94fd6181b3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/root6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/root6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -229,6 +229,18 @@ if {${os.platform} eq "darwin" && ${os.major} >= 20} {
</span> configure.sdk_version
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} >= 22} {
</span><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.ldflags-append -Wl,-ld_classic
</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;'>+
</span> pre-configure {
# Force use of system python in build scripts
# Find command finds text files containing the string to be replaced.
</pre><pre style='margin:0'>
</pre>