commit:     888013ce490ec4f9cbe98e9c736b51c964cc21b1
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Sun Dec 14 08:06:04 2025 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Sun Dec 14 23:10:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=888013ce

sys-libs/basu: fix build failing due to undefined symbols on lld

fixed by upstream

Closes: https://bugs.gentoo.org/918937
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/45021
Closes: https://github.com/gentoo/gentoo/pull/45021
Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 sys-libs/basu/basu-0.2.1.ebuild              |  4 ++++
 sys-libs/basu/files/basu-0.2.1-fix_lld.patch | 15 +++++++++++++++
 2 files changed, 19 insertions(+)

diff --git a/sys-libs/basu/basu-0.2.1.ebuild b/sys-libs/basu/basu-0.2.1.ebuild
index f83f367138c9..fe121b910020 100644
--- a/sys-libs/basu/basu-0.2.1.ebuild
+++ b/sys-libs/basu/basu-0.2.1.ebuild
@@ -26,6 +26,10 @@ BDEPEND="${PYTHON_DEPS}
        dev-util/gperf
 "
 
+PATCHES=(
+       "${FILESDIR}"/${P}-fix_lld.patch #918937
+)
+
 src_configure() {
        local emesonargs=(
                $(meson_feature audit)

diff --git a/sys-libs/basu/files/basu-0.2.1-fix_lld.patch 
b/sys-libs/basu/files/basu-0.2.1-fix_lld.patch
new file mode 100644
index 000000000000..f8c73d11ca68
--- /dev/null
+++ b/sys-libs/basu/files/basu-0.2.1-fix_lld.patch
@@ -0,0 +1,15 @@
+see https://bugs.gentoo.org/918937
+from upstream 
https://git.sr.ht/~emersion/basu/commit/a08cf5a575325435040d35710dbac3d0c32b1676.patch
+Drop unused symbols from version script
+--- a/src/libsystemd/libsystemd.sym
++++ b/src/libsystemd/libsystemd.sym
+@@ -72,9 +72,6 @@ global:
+         sd_bus_get_current_message;
+         sd_bus_get_current_handler;
+         sd_bus_get_current_userdata;
+-        sd_bus_attach_event;
+-        sd_bus_detach_event;
+-        sd_bus_get_event;
+         sd_bus_add_filter;
+         sd_bus_add_match;
+         sd_bus_add_object;

Reply via email to