From d6d8ec3fac56699b9320c3e0a06e37d698eb0222 Mon Sep 17 00:00:00 2001 From: "Sv. Lockal" Date: Sun, 9 Nov 2025 22:22:38 +0800 Subject: [PATCH] sys-libs/tevent: always pass -Wl,--undefined-version if supported Closes: https://bugs.gentoo.org/965652 Signed-off-by: Sv. Lockal Part-of: https://github.com/gentoo/gentoo/pull/44552 Signed-off-by: Sam James --- sys-libs/tevent/tevent-0.17.1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys-libs/tevent/tevent-0.17.1.ebuild b/sys-libs/tevent/tevent-0.17.1.ebuild index 9669c45c32af1..dc874c91495cf 100644 --- a/sys-libs/tevent/tevent-0.17.1.ebuild +++ b/sys-libs/tevent/tevent-0.17.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..14} ) PYTHON_REQ_USE="threads(+)" -inherit waf-utils multilib-minimal python-single-r1 +inherit flag-o-matic waf-utils multilib-minimal python-single-r1 DESCRIPTION="Samba tevent library" HOMEPAGE="https://tevent.samba.org/" @@ -78,6 +78,8 @@ multilib_src_configure() { bundled_libs="cmocka,${bundled_libs}" fi + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 915198 + waf-utils_src_configure \ --libdir="${EPREFIX}/usr/$(get_libdir)" \ --disable-dependency-tracking \