<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/df975a3ac1e38defbe439c1ef0ad105d7d8406a5">https://github.com/macports/macports-ports/commit/df975a3ac1e38defbe439c1ef0ad105d7d8406a5</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 df975a3ac1e flac: disable -fstack-protector-strong with GCC 4.*
</span>df975a3ac1e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit df975a3ac1e38defbe439c1ef0ad105d7d8406a5
</span>Author: Evan Miller <emmiller@gmail.com>
AuthorDate: Wed Mar 9 08:28:34 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> flac: disable -fstack-protector-strong with GCC 4.*
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/64779
</span>---
audio/flac/Portfile | 5 +++++
1 file changed, 5 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/flac/Portfile b/audio/flac/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f553355c85c..633b46dc746 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/flac/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/flac/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -53,6 +53,11 @@ platform darwin i386 {
</span> configure.args-append --disable-asm-optimizations
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# -fstack-protector-strong introduced in GCC 4.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match *gcc-4.* ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --disable-stack-smash-protector
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-configure {
if {[variant_exists universal] && [variant_isset universal]} {
system -W ${worksrcpath} "ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed && touch stamp-h1"
</pre><pre style='margin:0'>
</pre>