From 7edacb6ebeecfe51254eb8659a5a923799085742 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 4 Dec 2023 01:53:23 +0000 Subject: [PATCH] app-forensics/aflplusplus: allow LLVM 16 again Reported by toralf/dwfreed. Should really consider some helper for this in llvm.eclass I think. Signed-off-by: Sam James --- ...08c.ebuild => aflplusplus-4.08c-r1.ebuild} | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) rename app-forensics/aflplusplus/{aflplusplus-4.08c.ebuild => aflplusplus-4.08c-r1.ebuild} (89%) diff --git a/app-forensics/aflplusplus/aflplusplus-4.08c.ebuild b/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild similarity index 89% rename from app-forensics/aflplusplus/aflplusplus-4.08c.ebuild rename to app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild index 51cd62ea7a290..2451f727113e3 100644 --- a/app-forensics/aflplusplus/aflplusplus-4.08c.ebuild +++ b/app-forensics/aflplusplus/aflplusplus-4.08c-r1.ebuild @@ -5,6 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) LLVM_MAX_SLOT=17 +LLVM_MIN_SLOT=14 inherit toolchain-funcs llvm optfeature python-single-r1 AFL_PATCHSET="${PN}-4.07c-patches" @@ -24,14 +25,20 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" # This isn't compatible with sandbox RESTRICT="test" -RDEPEND=" - ${PYTHON_DEPS} +LLVM_DEPS=" = ${LLVM_MIN_SLOT}; i--)) ; do + LLVM_DEPS+=" sys-devel/clang:${i}" +done +LLVM_DEPS+=" )" +unset i + +RDEPEND=" + ${PYTHON_DEPS} + ${LLVM_DEPS} !app-forensics/afl " DEPEND="