From 2d17a877ee825ac531fbe25eed32e71ae50e01fc Mon Sep 17 00:00:00 2001 From: "Sv. Lockal" Date: Sun, 9 Nov 2025 23:43:15 +0800 Subject: [PATCH] sys-libs/tdb: always pass -Wl,--undefined-version if supported Closes: https://bugs.gentoo.org/965651 Signed-off-by: Sv. Lockal Part-of: https://github.com/gentoo/gentoo/pull/44552 Closes: https://github.com/gentoo/gentoo/pull/44552 Signed-off-by: Sam James --- sys-libs/tdb/tdb-1.4.14.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys-libs/tdb/tdb-1.4.14.ebuild b/sys-libs/tdb/tdb-1.4.14.ebuild index e6405c026e00..ac464d462886 100644 --- a/sys-libs/tdb/tdb-1.4.14.ebuild +++ b/sys-libs/tdb/tdb-1.4.14.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="Simple database API" HOMEPAGE="https://tdb.samba.org/" @@ -60,6 +60,8 @@ multilib_src_configure() { extra_opts+=( --disable-python ) fi + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914857 + waf-utils_src_configure "${extra_opts[@]}" }