From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 79E29138334 for ; Sun, 10 Mar 2019 08:47:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B73D3E09F7; Sun, 10 Mar 2019 08:47:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9B3A4E09F7 for ; Sun, 10 Mar 2019 08:47:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B469C335D06 for ; Sun, 10 Mar 2019 08:47:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1DD7D520 for ; Sun, 10 Mar 2019 08:47:19 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1552207629.c5573f88f5f07123507726c1fb516e6a0b0b440f.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rust/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/rust/rust-1.32.0.ebuild dev-lang/rust/rust-1.33.0.ebuild X-VCS-Directories: dev-lang/rust/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: c5573f88f5f07123507726c1fb516e6a0b0b440f X-VCS-Branch: master Date: Sun, 10 Mar 2019 08:47:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a1d8cbd2-e7e9-42dc-8a38-265460592b69 X-Archives-Hash: ff91097681f34cae8b481acf07b03c95 commit: c5573f88f5f07123507726c1fb516e6a0b0b440f Author: Georgy Yakovlev gentoo org> AuthorDate: Sun Mar 10 08:46:03 2019 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Mar 10 08:47:09 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5573f88 dev-lang/rust: fix boostrap on ppc64 Bug: https://bugs.gentoo.org/679806 Thanks-to: Sergei Trofimovich gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev gentoo.org> dev-lang/rust/rust-1.32.0.ebuild | 6 ++++++ dev-lang/rust/rust-1.33.0.ebuild | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/dev-lang/rust/rust-1.32.0.ebuild b/dev-lang/rust/rust-1.32.0.ebuild index 06578ddc8bf..74202f48fd8 100644 --- a/dev-lang/rust/rust-1.32.0.ebuild +++ b/dev-lang/rust/rust-1.32.0.ebuild @@ -107,6 +107,12 @@ src_prepare() { "${WORKDIR}/${rust_stage0}"/install.sh --disable-ldconfig --destdir="${rust_stage0_root}" --prefix=/ || die + # ugly hack for https://bugs.gentoo.org/679806 + if use ppc64; then + sed -i 's/getentropy/gEtEnTrOpY/g' "${rust_stage0_root}"/bin/cargo + export OPENSSL_ppccap=0 + fi + default } diff --git a/dev-lang/rust/rust-1.33.0.ebuild b/dev-lang/rust/rust-1.33.0.ebuild index c853798a69d..1d6d1dbccc8 100644 --- a/dev-lang/rust/rust-1.33.0.ebuild +++ b/dev-lang/rust/rust-1.33.0.ebuild @@ -103,6 +103,12 @@ src_prepare() { "${WORKDIR}/${rust_stage0}"/install.sh --disable-ldconfig --destdir="${rust_stage0_root}" --prefix=/ || die + # ugly hack for https://bugs.gentoo.org/679806 + if use ppc64; then + sed -i 's/getentropy/gEtEnTrOpY/g' "${rust_stage0_root}"/bin/cargo + export OPENSSL_ppccap=0 + fi + default }