dev-cpp/scnlib: fix compilation with simdutf-5.0.0

Fixes: https://bugs.gentoo.org/927799

Signed-off-by: Steffen Winter <steffen.winter@proton.me>
This commit is contained in:
Steffen Winter
2024-03-26 14:39:58 +01:00
parent 1ff0fdd96b
commit 082510a288
3 changed files with 21 additions and 1 deletions

View File

@@ -22,8 +22,12 @@ BDEPEND="
RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/${P}-accept-newer-simdutf.patch"
)
src_prepare() {
use test && eapply "${FILESDIR}/${PN}-2.0.0-no-external-test-deps.patch"
use test && eapply "${FILESDIR}/${P}-no-external-test-deps.patch"
cmake_src_prepare
}