commit: 1aee48911a45c7eeeb73f62191b4d70ad3076a30 Author: Z. Liu <zhixu.liu <AT> gmail <DOT> com> AuthorDate: Sat Jul 19 12:47:45 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Sep 14 10:44:23 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1aee4891
sys-libs/talloc: always pass -Wl,--undefined-version if supported Closes: https://bugs.gentoo.org/914712 Signed-off-by: Z. Liu <zhixu.liu <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43064 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-libs/talloc/talloc-2.4.2.ebuild | 4 +++- sys-libs/talloc/talloc-2.4.3.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sys-libs/talloc/talloc-2.4.2.ebuild b/sys-libs/talloc/talloc-2.4.2.ebuild index b4351739914e..0e1ff74e99e1 100644 --- a/sys-libs/talloc/talloc-2.4.2.ebuild +++ b/sys-libs/talloc/talloc-2.4.2.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..13} ) PYTHON_REQ_USE="threads(+)" -inherit waf-utils python-single-r1 multilib-minimal +inherit waf-utils python-single-r1 multilib-minimal flag-o-matic DESCRIPTION="Samba talloc library" HOMEPAGE="https://talloc.samba.org/" @@ -83,6 +83,8 @@ multilib_src_configure() { $([[ ${CHOST} == *-solaris* ]] && echo '--disable-symbol-versions') ) + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914712 + waf-utils_src_configure "${extra_opts[@]}" } diff --git a/sys-libs/talloc/talloc-2.4.3.ebuild b/sys-libs/talloc/talloc-2.4.3.ebuild index 1870821ee999..f578a40082ac 100644 --- a/sys-libs/talloc/talloc-2.4.3.ebuild +++ b/sys-libs/talloc/talloc-2.4.3.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..13} ) PYTHON_REQ_USE="threads(+)" -inherit waf-utils python-single-r1 multilib-minimal +inherit waf-utils python-single-r1 multilib-minimal flag-o-matic DESCRIPTION="Samba talloc library" HOMEPAGE="https://talloc.samba.org/" @@ -83,6 +83,8 @@ multilib_src_configure() { $([[ ${CHOST} == *-solaris* ]] && echo '--disable-symbol-versions') ) + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914712 + waf-utils_src_configure "${extra_opts[@]}" }
