<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/bc53914c46fc95528ad340aa806434a269755838">https://github.com/macports/macports-ports/commit/bc53914c46fc95528ad340aa806434a269755838</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit bc53914c46fc95528ad340aa806434a269755838
</span>Author: Sergey Fedorov <barracuda@macos-powerpc.org>
AuthorDate: Thu Sep 12 09:47:50 2024 +0800

<span style='display:block; white-space:pre;color:#404040;'>    rsgain: set required C++ standard, fix build with gcc
</span>---
 audio/rsgain/Portfile | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/rsgain/Portfile b/audio/rsgain/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 91048b42b72..773f5c13615 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/rsgain/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/rsgain/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,7 +33,7 @@ checksums                       rmd160  c4152e8b4d7534b82e0c1c15821bbf1241616f90
</span> 
 set libfmt_version              11
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build-append            port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append            path:bin/pkg-config:pkgconfig
</span> 
 depends_lib                     port:libebur128 \
                                 port:taglib \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,3 +42,12 @@ depends_lib                     port:libebur128 \
</span>                                 port:libfmt${libfmt_version}
 
 configure.pkg_config_path       ${prefix}/lib/libfmt${libfmt_version}/pkgconfig
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard           2020
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/complexlogic/rsgain/issues/126
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${configure.cxx_stdlib} ne "libc++"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_lib-delete          port:libfmt${libfmt_version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append       -DUSE_STD_FORMAT=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>

</pre>