<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2625118360b6ca1c0fdbbd0be59c38a70c7d4174">https://github.com/macports/macports-ports/commit/2625118360b6ca1c0fdbbd0be59c38a70c7d4174</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 2625118360b6ca1c0fdbbd0be59c38a70c7d4174
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat May 7 08:06:27 2022 -0700
<span style='display:block; white-space:pre;color:#404040;'> rust: fix build on OS X Lion
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The OS X Lion libSystem does not provide ___muloti4, so get it from
</span><span style='display:block; white-space:pre;color:#404040;'> the compiler runtime library.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> No revbump since port either builds correctly or not at all.
</span>---
lang/rust/Portfile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/rust/Portfile b/lang/rust/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a935ac854c9..607f265f374 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/rust/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/rust/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -98,8 +98,9 @@ if { ${os.platform} eq "darwin" && ${os.major} < 10 } {
</span>
configure.cmd ${configure.python} src/bootstrap/configure.py
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if { ${os.platform} eq "darwin" && ${os.major} < 11 } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # ___emutls_get_address
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.platform} eq "darwin" && ${os.major} < 12 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ___emutls_get_address and ___muloti4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://github.com/rust-lang/rust/commit/8a6ff90a3a41e6ace18aeb089ea0a0eb3726dd08
</span> rust.add_compiler_runtime yes
}
</pre><pre style='margin:0'>
</pre>