<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ada1e57890f92fe5e8d75e24ea1757dcd654909e">https://github.com/macports/macports-ports/commit/ada1e57890f92fe5e8d75e24ea1757dcd654909e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ada1e57890f92fe5e8d75e24ea1757dcd654909e
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Fri Aug 5 18:59:44 2022 +0545
<span style='display:block; white-space:pre;color:#404040;'> libgcrypt: fix triple for Rosetta
</span>---
devel/libgcrypt/Portfile | 7 +++++++
1 file changed, 7 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgcrypt/Portfile b/devel/libgcrypt/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1f7cd757f7c..ee0732b83a5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libgcrypt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libgcrypt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,6 +49,13 @@ if {${build_arch} eq "i386" || ([variant_isset universal] && [lsearch ${configur
</span> compiler.blacklist-append gcc-4.2
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin 10 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Rosetta misdetects the arch: warning: `-no-install' is ignored for x86_64-apple-darwin10.8.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${build_arch} eq "ppc"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --build=powerpc-apple-darwin${os.major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {[string match "*clang*" ${configure.compiler}]} {
# libgcrypt-1.5.0 does some ugly stuff with their udiv_qrnnd macro in mpih-div.c
# error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast
</pre><pre style='margin:0'>
</pre>