Skip to content

Commit

Permalink
dev-lang/rust: Disable system-llvm USE flag in 1.32.0 (bug #675752)
Browse files Browse the repository at this point in the history
Add "!system-llvm" to REQUIRED_USE since 1.32.0 pulls in a git version
of llvm to fix the segfault.

Also bump the llvm dep to >=7 since 7 is required now.

Bug: https://bugs.gentoo.org/675752
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Patrick McLean <[email protected]>
  • Loading branch information
patrick-mclean authored and chutz committed Jan 18, 2019
1 parent 0740046 commit d677f94
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dev-lang/rust/rust-1.32.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ COMMON_DEPEND=">=app-eselect/eselect-rust-0.3_pre20150425
net-libs/libssh2
net-libs/http-parser:=
net-misc/curl[ssl]
system-llvm? ( >=sys-devel/llvm-6:= )"
system-llvm? ( >=sys-devel/llvm-7:= )"
DEPEND="${COMMON_DEPEND}
${PYTHON_DEPS}
|| (
Expand All @@ -59,6 +59,9 @@ RDEPEND="${COMMON_DEPEND}
REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )
x86? ( cpu_flags_x86_sse2 )"

# bug #675752
REQUIRED_USE+=" !system-llvm"

S="${WORKDIR}/${MY_P}-src"

PATCHES=( "${FILESDIR}"/1.30.1-clippy-sysroot.patch )
Expand Down

0 comments on commit d677f94

Please sign in to comment.