From 888013ce490ec4f9cbe98e9c736b51c964cc21b1 Mon Sep 17 00:00:00 2001 From: Nicolas PARLANT Date: Sun, 14 Dec 2025 09:06:04 +0100 Subject: [PATCH] sys-libs/basu: fix build failing due to undefined symbols on lld MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixed by upstream Closes: https://bugs.gentoo.org/918937 Signed-off-by: Nicolas PARLANT Part-of: https://github.com/gentoo/gentoo/pull/45021 Closes: https://github.com/gentoo/gentoo/pull/45021 Signed-off-by: Arsen Arsenović --- 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(+) create mode 100644 sys-libs/basu/files/basu-0.2.1-fix_lld.patch diff --git a/sys-libs/basu/basu-0.2.1.ebuild b/sys-libs/basu/basu-0.2.1.ebuild index f83f367138c99..fe121b910020f 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 0000000000000..f8c73d11ca68f --- /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;