commit:     7516c4570bde60614d7be4a229e016c71c90ceab
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 15:28:20 2022 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue May 31 15:28:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7516c457

dev-util/perf: restrict llvm version for perf 5.15, bug 836402

Closes: https://bugs.gentoo.org/836402
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 dev-util/perf/perf-5.15-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-util/perf/perf-5.15-r1.ebuild 
b/dev-util/perf/perf-5.15-r1.ebuild
index e84ed5803f1a..21985387f161 100644
--- a/dev-util/perf/perf-5.15-r1.ebuild
+++ b/dev-util/perf/perf-5.15-r1.ebuild
@@ -54,8 +54,8 @@ RDEPEND="audit? ( sys-process/audit )
        babeltrace? ( dev-util/babeltrace )
        crypt? ( virtual/libcrypt:= )
        clang? (
-               sys-devel/clang:=
-               sys-devel/llvm:=
+               <sys-devel/clang-14:=
+               <sys-devel/llvm-14:=
        )
        gtk? ( x11-libs/gtk+:2 )
        java? ( virtual/jre:* )
@@ -96,7 +96,7 @@ pkg_pretend() {
 }
 
 pkg_setup() {
-       use clang && llvm_pkg_setup
+       use clang && LLVM_MAX_SLOT=13 llvm_pkg_setup
        # We enable python unconditionally as libbpf always generates
        # API headers using python script
        python_setup

Reply via email to