commit: d1ebe725097351435cf9fb2bfb07a94d187e72b1 Author: Z. Liu <zhixu.liu <AT> gmail <DOT> com> AuthorDate: Sat Jul 19 12:53:56 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Sep 14 10:44:24 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1ebe725
net-fs/samba: always pass -Wl,--undefined-version if supported Closes: https://bugs.gentoo.org/914898 Signed-off-by: Z. Liu <zhixu.liu <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43064 Closes: https://github.com/gentoo/gentoo/pull/43064 Signed-off-by: Sam James <sam <AT> gentoo.org> net-fs/samba/samba-4.20.8-r1.ebuild | 2 ++ net-fs/samba/samba-4.21.7.ebuild | 2 ++ net-fs/samba/samba-4.22.3.ebuild | 2 ++ 3 files changed, 6 insertions(+) diff --git a/net-fs/samba/samba-4.20.8-r1.ebuild b/net-fs/samba/samba-4.20.8-r1.ebuild index b75d27234bcd..1a0f9329713b 100644 --- a/net-fs/samba/samba-4.20.8-r1.ebuild +++ b/net-fs/samba/samba-4.20.8-r1.ebuild @@ -300,6 +300,8 @@ multilib_src_configure() { myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper ) fi + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914898 + append-cppflags "-I${ESYSROOT}/usr/include/et" waf-utils_src_configure ${myconf[@]} diff --git a/net-fs/samba/samba-4.21.7.ebuild b/net-fs/samba/samba-4.21.7.ebuild index 859ebf0287ff..054c5dc47b83 100644 --- a/net-fs/samba/samba-4.21.7.ebuild +++ b/net-fs/samba/samba-4.21.7.ebuild @@ -304,6 +304,8 @@ multilib_src_configure() { myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper ) fi + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914898 + append-cppflags "-I${ESYSROOT}/usr/include/et" waf-utils_src_configure ${myconf[@]} diff --git a/net-fs/samba/samba-4.22.3.ebuild b/net-fs/samba/samba-4.22.3.ebuild index 27bc11609d6e..42c7b46371ab 100644 --- a/net-fs/samba/samba-4.22.3.ebuild +++ b/net-fs/samba/samba-4.22.3.ebuild @@ -304,6 +304,8 @@ multilib_src_configure() { myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper ) fi + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914898 + append-cppflags "-I${ESYSROOT}/usr/include/et" waf-utils_src_configure ${myconf[@]}
