commit: db5243a984b4a04b871269f63ceb19ebaf4105ce Author: John Helmert III <ajak <AT> gentoo <DOT> org> AuthorDate: Mon Sep 2 05:58:00 2024 +0000 Commit: John Helmert III <ajak <AT> gentoo <DOT> org> CommitDate: Mon Sep 2 06:00:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db5243a9
dev-util/rizin: fix tree-sitter-c automagic Bug: https://bugs.gentoo.org/928301 Signed-off-by: John Helmert III <ajak <AT> gentoo.org> dev-util/rizin/{rizin-0.7.3.ebuild => rizin-0.7.3-r1.ebuild} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-util/rizin/rizin-0.7.3.ebuild b/dev-util/rizin/rizin-0.7.3-r1.ebuild similarity index 93% rename from dev-util/rizin/rizin-0.7.3.ebuild rename to dev-util/rizin/rizin-0.7.3-r1.ebuild index 5b8d7bfee238..9f446bfb76f0 100644 --- a/dev-util/rizin/rizin-0.7.3.ebuild +++ b/dev-util/rizin/rizin-0.7.3-r1.ebuild @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{10..13} ) # This is the commit that the CI for the release commit used BINS_COMMIT="1203a9a2f51e32337c8434d9f4f7c4543552e271" -inherit meson python-any-r1 +inherit flag-o-matic meson python-any-r1 DESCRIPTION="reverse engineering framework for binary analysis" HOMEPAGE="https://rizin.re/" @@ -36,6 +36,7 @@ RDEPEND=" dev-libs/openssl:0= dev-libs/libpcre2:0= >=dev-libs/tree-sitter-0.19.0 + dev-libs/tree-sitter-c dev-libs/xxhash sys-apps/file sys-libs/zlib:0= @@ -69,6 +70,9 @@ src_prepare() { } src_configure() { + # workaround tree-sitter-c induced underlinking in bug 928301 + append-ldflags -ltree-sitter + local emesonargs=( -Dcli=enabled -Duse_sys_capstone=enabled
