commit:     52fbe111cc13b15b1f77990b061dee7fcc72251f
Author:     Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Mon Sep 23 20:17:32 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 06:31:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52fbe111

dev-util/unicorn: sync live

Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/33245
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/unicorn/unicorn-9999.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/dev-util/unicorn/unicorn-9999.ebuild 
b/dev-util/unicorn/unicorn-9999.ebuild
index faf29b762879..65e1adba73c3 100644
--- a/dev-util/unicorn/unicorn-9999.ebuild
+++ b/dev-util/unicorn/unicorn-9999.ebuild
@@ -25,7 +25,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD-2 GPL-2 LGPL-2.1"
 SLOT="0/2"
-IUSE="python static-libs"
+IUSE="logging python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="${PYTHON_DEPS}
@@ -36,6 +36,13 @@ BDEPEND="virtual/pkgconfig
 
 UNICORN_TARGETS="x86 arm aarch64 riscv mips sparc m68k ppc s390x tricore"
 
+# suppress warning wrt 'implicit function declaration' in config logs due to
+# auto-detection of some libc functions (bug #906919)
+QA_CONFIG_IMPL_DECL_SKIP=(
+       clock_adjtime
+       malloc_trim
+)
+
 wrap_python() {
        if use python; then
                # src_prepare
@@ -59,6 +66,8 @@ src_prepare() {
 src_configure(){
        local mycmakeargs=(
                -DUNICORN_ARCH="${UNICORN_TARGETS// /;}"
+               -DUNICORN_LOGGING=$(usex logging)
+               -DZIG_BUILD=OFF
        )
 
        cmake_src_configure

Reply via email to