Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 553524 Details for
Bug 609654
dev-lang/rust: Keyword request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix rust-1.29.2.ebuild to work on any arch
rust-1.29.2.ebuild.generic_arch.patch (text/plain), 1.53 KB, created by
Marcus Comstedt
on 2018-10-28 16:18:17 UTC
(
hide
)
Description:
Patch to fix rust-1.29.2.ebuild to work on any arch
Filename:
MIME Type:
Creator:
Marcus Comstedt
Created:
2018-10-28 16:18:17 UTC
Size:
1.53 KB
patch
obsolete
>--- /usr/portage/dev-lang/rust/rust-1.29.2.ebuild 2018-10-18 11:09:30.000000000 +0200 >+++ /usr/local/portage/dev-lang/rust/rust-1.29.2.ebuild 2018-10-28 15:19:06.925390737 +0100 >@@ -21,14 +21,7 @@ > KEYWORDS="~amd64 ~arm64 ~x86" > fi > >-CHOST_amd64=x86_64-unknown-linux-gnu >-CHOST_x86=i686-unknown-linux-gnu >-CHOST_arm64=aarch64-unknown-linux-gnu >- > RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0" >-RUST_STAGE0_amd64="rust-${RUST_STAGE0_VERSION}-${CHOST_amd64}" >-RUST_STAGE0_x86="rust-${RUST_STAGE0_VERSION}-${CHOST_x86}" >-RUST_STAGE0_arm64="rust-${RUST_STAGE0_VERSION}-${CHOST_arm64}" > > CARGO_DEPEND_VERSION="0.$(($(ver_cut 2) + 1)).0" > >@@ -83,8 +76,7 @@ > src_prepare() { > local rust_stage0_root="${WORKDIR}"/rust-stage0 > >- local rust_stage0_name="RUST_STAGE0_${ARCH}" >- local rust_stage0="${!rust_stage0_name}" >+ local rust_stage0="rust-${RUST_STAGE0_VERSION}-$(rust_abi)" > > "${WORKDIR}/${rust_stage0}"/install.sh --disable-ldconfig --destdir="${rust_stage0_root}" --prefix=/ || die > >@@ -96,8 +88,7 @@ > > # Collect rust target names to compile standard libs for all ABIs. > for v in $(multilib_get_enabled_abi_pairs); do >- rust_target_name="CHOST_${v##*.}" >- rust_targets="${rust_targets},\"${!rust_target_name}\"" >+ rust_targets="${rust_targets},\"$(rust_abi $(get_abi_CHOST ${v##*.}))\"" > done > if use wasm; then > rust_targets="${rust_targets},\"wasm32-unknown-unknown\"" >@@ -124,7 +115,6 @@ > > local rust_stage0_root="${WORKDIR}"/rust-stage0 > >- rust_target_name="CHOST_${ARCH}" > rust_target="$(rust_abi)" > > cat <<- EOF > "${S}"/config.toml
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 609654
:
464894
|
464896
|
464898
|
464900
|
549192
|
549200
| 553524 |
553526
|
557036