<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/71126ccc8d425643ceb20cc30fc97ccabddc811f">https://github.com/macports/macports-ports/commit/71126ccc8d425643ceb20cc30fc97ccabddc811f</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 71126ccc8d4 darktable/darktable-devel: avoid xcode clang 11; causes runtime crash See: https://trac.macports.org/ticket/64252
</span>71126ccc8d4 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 71126ccc8d425643ceb20cc30fc97ccabddc811f
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Tue Aug 9 14:55:58 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> darktable/darktable-devel: avoid xcode clang 11; causes runtime crash
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/64252
</span>---
graphics/darktable-devel/Portfile | 16 +++++++++++-----
graphics/darktable/Portfile | 16 +++++++++++-----
2 files changed, 22 insertions(+), 10 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/darktable-devel/Portfile b/graphics/darktable-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index dec53f9c321..86c27fcaa58 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/darktable-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/darktable-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,9 +42,7 @@ checksums rmd160 09b93f79a0e2725aef823ee2f019b8ac9efa4327 \
</span> legacysupport.use_mp_libcxx \
yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# avoid
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Unknown build type: MACPORTS. Please specify one of:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# DEBUG;RELWITHDEBINFO;RELEASE;COVERAGE;SANITIZE;TSAN;FUZZ
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Supported build types: Debug:RelWithDebInfo;Release;Coverage;Sanitize;Tsan;Fuzz
</span> if {[variant_isset debug]} {
cmake.build_type RelWithDebInfo
} else {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -186,9 +184,17 @@ compiler.cxx_standard 2017
</span> compiler.blacklist-append *gcc*
# NOTE: Now requires a minimum of Xcode Clang 10.0.1, as of v3.6.x
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Blacklist anything lower than 11, due to runtime crash with Xcode Clang 10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# However, runtime crashes occur with Xcode Clang 10.x and 11.x, so be sure to avoid both
</span> # See: https://trac.macports.org/ticket/64252
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append {clang < 1100}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ([vercmp ${xcodeversion} 11.0] >= 0) && ([vercmp ${xcodeversion} 12.0] < 0) } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Avoid Xcode Clang 11, if that's what's installed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_debug "Xcode Check: 11.x installed; avoid"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {clang < 1200}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Otherwise, MacPorts Clang 11+ - as well as Xcode Clang 12+ - are both fine
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_debug "Xcode Check: 11.x NOT installed; no problem"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {clang < 1100}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
#--------------------------------------------------------------------------------------------------
# Blacklist MacPorts Clang 14 for now, due to compilation crashes.
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/darktable/Portfile b/graphics/darktable/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index af766c5670e..e75faa24f41 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/darktable/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/darktable/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,9 +42,7 @@ checksums rmd160 09b93f79a0e2725aef823ee2f019b8ac9efa4327 \
</span> legacysupport.use_mp_libcxx \
yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# avoid
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Unknown build type: MACPORTS. Please specify one of:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# DEBUG;RELWITHDEBINFO;RELEASE;COVERAGE;SANITIZE;TSAN;FUZZ
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Supported build types: Debug:RelWithDebInfo;Release;Coverage;Sanitize;Tsan;Fuzz
</span> if {[variant_isset debug]} {
cmake.build_type RelWithDebInfo
} else {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -186,9 +184,17 @@ compiler.cxx_standard 2017
</span> compiler.blacklist-append *gcc*
# NOTE: Now requires a minimum of Xcode Clang 10.0.1, as of v3.6.x
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Blacklist anything lower than 11, due to runtime crash with Xcode Clang 10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# However, runtime crashes occur with Xcode Clang 10.x and 11.x, so be sure to avoid both
</span> # See: https://trac.macports.org/ticket/64252
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append {clang < 1100}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ([vercmp ${xcodeversion} 11.0] >= 0) && ([vercmp ${xcodeversion} 12.0] < 0) } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Avoid Xcode Clang 11, if that's what's installed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_debug "Xcode Check: 11.x installed; avoid"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {clang < 1200}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Otherwise, MacPorts Clang 11+ - as well as Xcode Clang 12+ - are both fine
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_debug "Xcode Check: 11.x NOT installed; no problem"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {clang < 1100}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
#--------------------------------------------------------------------------------------------------
# Blacklist MacPorts Clang 14 for now, due to compilation crashes.
</pre><pre style='margin:0'>
</pre>