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

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bcb7f890909d015d9f309d56b8048c3c50bb6df6">https://github.com/macports/macports-ports/commit/bcb7f890909d015d9f309d56b8048c3c50bb6df6</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit bcb7f890909d015d9f309d56b8048c3c50bb6df6
</span>Author: Gcenx <38226388+Gcenx@users.noreply.github.com>
AuthorDate: Sun Apr 10 15:05:42 2022 -0400

<span style='display:block; white-space:pre;color:#404040;'>    crossgcc: add depends zstd for gcc10 and later
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Moved depends_lib zstd into the portgroup as discussed in https://github.com/macports/macports-ports/pull/13671
</span>---
 _resources/port1.0/group/crossgcc-1.0.tcl | 5 +++++
 cross/i686-w64-mingw32-gcc/Portfile       | 3 +--
 cross/x86_64-w64-mingw32-gcc/Portfile     | 3 +--
 3 files changed, 7 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/crossgcc-1.0.tcl b/_resources/port1.0/group/crossgcc-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index e2dc744cec0..9d92e6bd693 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/crossgcc-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/crossgcc-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -272,6 +272,11 @@ proc crossgcc.setup {target version} {
</span>         # fatal error: error in backend: ran out of registers during register allocation
         compiler.blacklist  {clang >= 421 < 422}
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+        # Opportunistic links zstd for LTO byte code compression
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if { ${version} >= 10.0 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            depends_lib-append  port:zstd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>         # Section taken from gcc11 Portfile
         if { ${version} >= 11.0 } {
             # https://trac.macports.org/ticket/29067
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/i686-w64-mingw32-gcc/Portfile b/cross/i686-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 912d8aa6d79..77df9ae9af7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/i686-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/i686-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -73,8 +73,7 @@ subport ${mingw_target}-gcc-nothreads {
</span> # Final phase
 if {${subport} eq ${name}} {
     depends_lib-append      port:${mingw_target}-crt \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                            port:${mingw_target}-winpthreads  \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            port:zstd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            port:${mingw_target}-winpthreads
</span> 
     depends_build-append    path:${mingw_target}/lib/libgcc_s.a:${mingw_target}-gcc-nothreads
 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/x86_64-w64-mingw32-gcc/Portfile b/cross/x86_64-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fc891089a9d..9e5e578911c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/x86_64-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/x86_64-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -70,8 +70,7 @@ subport ${mingw_target}-gcc-nothreads {
</span> # Final phase
 if {${subport} eq ${name}} {
     depends_lib-append      port:${mingw_target}-crt \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                            port:${mingw_target}-winpthreads \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            port:zstd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            port:${mingw_target}-winpthreads
</span> 
     depends_build-append    path:${mingw_target}/lib/libgcc_s.a:${mingw_target}-gcc-nothreads
 
</pre><pre style='margin:0'>

</pre>