commit:     d677f9472c401dc87721904b156d6857ef62551f
Author:     Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Fri Jan 18 19:39:10 2019 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Jan 18 19:40:09 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d677f947

dev-lang/rust: Disable system-llvm USE flag in 1.32.0 (bug #675752)

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 <chutzpah <AT> gentoo.org>

 dev-lang/rust/rust-1.32.0.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-lang/rust/rust-1.32.0.ebuild b/dev-lang/rust/rust-1.32.0.ebuild
index 8b125eb86e3..6adfe7ff5b4 100644
--- a/dev-lang/rust/rust-1.32.0.ebuild
+++ b/dev-lang/rust/rust-1.32.0.ebuild
@@ -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}
        || (
@@ -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 )

Reply via email to