<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/09f1f0168de2c6a7990ce7c9cdab8835744d9bf8">https://github.com/macports/macports-ports/commit/09f1f0168de2c6a7990ce7c9cdab8835744d9bf8</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 09f1f0168de2c6a7990ce7c9cdab8835744d9bf8
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Wed Nov 18 20:13:17 2020 +0000
<span style='display:block; white-space:pre;color:#404040;'> (lib)gcc10: Restore sanitizers on Darwin20
</span>---
lang/gcc10/Portfile | 7 +++++--
lang/gcc10/files/fix-sanitisers-darwin20.diff | 12 ++++++++++++
2 files changed, 17 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc10/Portfile b/lang/gcc10/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1197afc630a..2a63a22bd37 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc10/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc10/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,8 +9,8 @@ PortGroup conflicts_build 1.0
</span> epoch 5
name gcc10
version 10.2.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport libgcc10 { revision 2 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport libgcc10 { revision 3 }
</span> platforms darwin
categories lang
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,6 +56,9 @@ if { ${os.major} > 19 } {
</span> patchfiles-append big-sur-version-fix.diff
# Build doesn't understand a 11.0 deployment target so force to 10.16
macosx_deployment_target 10.16
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Fix detection of sanitizer support
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/61494
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append fix-sanitisers-darwin20.diff
</span> }
depends_lib port:cctools \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc10/files/fix-sanitisers-darwin20.diff b/lang/gcc10/files/fix-sanitisers-darwin20.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..362eb305415
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc10/files/fix-sanitisers-darwin20.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- libsanitizer/configure.tgt.orig 2020-11-18 18:57:16.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ libsanitizer/configure.tgt 2020-11-18 18:57:16.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -63,6 +63,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ x86_64-*-darwin1[2-9]* | i?86-*-darwin1[2-9]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TSAN_SUPPORTED=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ x86_64-*-darwin2[0-9]* | i?86-*-darwin2[0-9]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ TSAN_SUPPORTED=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ x86_64-*-solaris2.11* | i?86-*-solaris2.11*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ riscv64-*-linux*)
</span></pre><pre style='margin:0'>
</pre>