<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/280f2d7a6b5d8d2358b4da62a80fb9fa3f3aa3c5">https://github.com/macports/macports-ports/commit/280f2d7a6b5d8d2358b4da62a80fb9fa3f3aa3c5</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 280f2d7a6b5d8d2358b4da62a80fb9fa3f3aa3c5
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Thu Dec 29 14:41:22 2022 +1100
<span style='display:block; white-space:pre;color:#404040;'> rust: add workaround for mirroring i386 distfile
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/65184
</span>---
_resources/port1.0/group/rust-1.0.tcl | 5 +++++
lang/rust/Portfile | 3 +++
2 files changed, 8 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/rust-1.0.tcl b/_resources/port1.0/group/rust-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 46559725496..4360ea60857 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/rust-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/rust-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -186,6 +186,11 @@ proc rust.add_bootstrap_components {architectures {components {rust-std rustc ca
</span> if {$build_major != 8} {
distfiles-append ${component}-${binTag}${extract.suffix}:${build_vendor}_vendor
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # mirroring workaround for Snow Leopard i386 files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_exists mirror_i386] && [variant_isset mirror_i386]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set extrabintag ${rustc_version}-[option triplet.cpu.i386]-${build_vendor}-[option triplet.os]10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles-append ${component}-${extrabintag}${extract.suffix}:${build_vendor}_vendor
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
} else {
depends_extract-delete port:rust-bootstrap-transition
<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 15996e9d2d1..566aa9d6f20 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;'>@@ -67,6 +67,9 @@ checksums rustc-${version}-src${extract.suffix} \
</span> sha256 3b3cd3ea5a82a266e75d0b35f0b54c16021576d9eb78d384052175a772935a48 \
size 210499823
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# See https://trac.macports.org/ticket/65184
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mirror_i386 description {Add Darwin 10 i386 distfiles for mirroring} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> set rustc_version [rust.add_bootstrap_components ${muniversal.architectures}]
post-extract {
</pre><pre style='margin:0'>
</pre>