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

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ad13c6254b9b4c033c14d4d8ddde6e1e48633b0b">https://github.com/macports/macports-ports/commit/ad13c6254b9b4c033c14d4d8ddde6e1e48633b0b</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 ad13c6254b9 gcc9: use no-pie patch on systems < 10.6
</span>ad13c6254b9 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit ad13c6254b9b4c033c14d4d8ddde6e1e48633b0b
</span>Author: Ken <21211439+kencu@users.noreply.github.com>
AuthorDate: Fri Nov 29 18:43:26 2024 -0800

<span style='display:block; white-space:pre;color:#404040;'>    gcc9: use no-pie patch on systems < 10.6
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    building gcc9 on 10.5 Intel fails with the no-pie bug noted in the patch explanation. gcc9 builds with clang-11 on 10.5 Intel, so it's not surprising it hits this no-pie bug.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    the patch was restricted to 10.6+ when a year or two ago it was noted that the patch caused a build to fail on a different system setup.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    this may need further tweaking as more systems try to build this, but for the moment, libgcc9 is needed on 10.5 Intel to move it to gcc14/libgcc14, and it won't build without the patch.
</span>---
 lang/gcc9/Portfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/gcc9/Portfile b/lang/gcc9/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1507a92290b..92598d17bea 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/gcc9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/gcc9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,7 +47,7 @@ if { ${os.platform} eq "darwin" && ${os.major} > 19 } {
</span>     patchfiles-append patch-genconditions.diff
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if { ${configure.build_arch} eq "i386" && ${os.major} >= 10 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${configure.build_arch} eq "i386" } {
</span> 
     # fix no-pie clang bug bootstrapping gcc on i386
     # https://trac.macports.org/ticket/63161
</pre><pre style='margin:0'>

</pre>