Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rust/
Date: Fri, 18 Jan 2019 19:40:30
Message-Id: 1547840409.d677f9472c401dc87721904b156d6857ef62551f.chutzpah@gentoo
1 commit: d677f9472c401dc87721904b156d6857ef62551f
2 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
3 AuthorDate: Fri Jan 18 19:39:10 2019 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 18 19:40:09 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d677f947
7
8 dev-lang/rust: Disable system-llvm USE flag in 1.32.0 (bug #675752)
9
10 Add "!system-llvm" to REQUIRED_USE since 1.32.0 pulls in a git version
11 of llvm to fix the segfault.
12
13 Also bump the llvm dep to >=7 since 7 is required now.
14
15 Bug: https://bugs.gentoo.org/675752
16 Copyright: Sony Interactive Entertainment Inc.
17 Package-Manager: Portage-2.3.56, Repoman-2.3.12
18 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
19
20 dev-lang/rust/rust-1.32.0.ebuild | 5 ++++-
21 1 file changed, 4 insertions(+), 1 deletion(-)
22
23 diff --git a/dev-lang/rust/rust-1.32.0.ebuild b/dev-lang/rust/rust-1.32.0.ebuild
24 index 8b125eb86e3..6adfe7ff5b4 100644
25 --- a/dev-lang/rust/rust-1.32.0.ebuild
26 +++ b/dev-lang/rust/rust-1.32.0.ebuild
27 @@ -45,7 +45,7 @@ COMMON_DEPEND=">=app-eselect/eselect-rust-0.3_pre20150425
28 net-libs/libssh2
29 net-libs/http-parser:=
30 net-misc/curl[ssl]
31 - system-llvm? ( >=sys-devel/llvm-6:= )"
32 + system-llvm? ( >=sys-devel/llvm-7:= )"
33 DEPEND="${COMMON_DEPEND}
34 ${PYTHON_DEPS}
35 || (
36 @@ -59,6 +59,9 @@ RDEPEND="${COMMON_DEPEND}
37 REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )
38 x86? ( cpu_flags_x86_sse2 )"
39
40 +# bug #675752
41 +REQUIRED_USE+=" !system-llvm"
42 +
43 S="${WORKDIR}/${MY_P}-src"
44
45 PATCHES=( "${FILESDIR}"/1.30.1-clippy-sysroot.patch )