<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a275395ef873f752a66edca8184b91b4327ba019">https://github.com/macports/macports-ports/commit/a275395ef873f752a66edca8184b91b4327ba019</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 a275395ef87 xdispatch2: fix build on macOS <10.11
</span>a275395ef87 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a275395ef873f752a66edca8184b91b4327ba019
</span>Author: aeiouaeiouaeiouaeiouaeiouaeiou <aeioudev@outlook.com>
AuthorDate: Sun May 12 04:31:56 2024 +0300
<span style='display:block; white-space:pre;color:#404040;'> xdispatch2: fix build on macOS <10.11
</span>---
devel/xdispatch2/Portfile | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/xdispatch2/Portfile b/devel/xdispatch2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 20798ad17b1..afd401e5b77 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/xdispatch2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/xdispatch2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,7 +20,12 @@ checksums rmd160 84d03ffa9f18ef854943a19371644707e3b76ee6 \
</span>
cmake.generator Ninja
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# cancelable.cpp:30:8: error: thread-local storage
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# is not supported for the current target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.thread_local_storage \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ yes
</span>
depends_build-append \
port:mz-cmaketools
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -64,7 +69,10 @@ platform darwin {
</span>
# Does not yet build with libdispatch on 10.6:
# https://github.com/emzeat/xdispatch2/issues/2
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} > 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # It also utilizes the QOS API available in macOS >10.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # libdispatch_queue.cpp:139:38: error: use of undeclared
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # identifier 'dispatch_queue_attr_make_with_qos_class'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} > 13} {
</span> default_variants-append \
+libdispatch
}
</pre><pre style='margin:0'>
</pre>