git: 3ff32fdca51b - main - devel/basu: unbreak build with LLD 17

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 28 Sep 2023 17:48:37 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3ff32fdca51b54be84edf47d2f1d33af96c4b8ab

commit 3ff32fdca51b54be84edf47d2f1d33af96c4b8ab
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-09-28 17:36:09 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-09-28 17:47:47 +0000

    devel/basu: unbreak build with LLD 17
    
    ld: error: version script assignment of 'global' to symbol 'sd_bus_attach_event' failed: symbol not defined
    ld: error: version script assignment of 'global' to symbol 'sd_bus_detach_event' failed: symbol not defined
    ld: error: version script assignment of 'global' to symbol 'sd_bus_get_event' failed: symbol not defined
    
    PR:             274148
    Reported by:    antoine (via bug 273753 exp-run)
---
 devel/basu/files/patch-src_libsystemd_libsystemd.sym | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/devel/basu/files/patch-src_libsystemd_libsystemd.sym b/devel/basu/files/patch-src_libsystemd_libsystemd.sym
new file mode 100644
index 000000000000..c02f2935d81e
--- /dev/null
+++ b/devel/basu/files/patch-src_libsystemd_libsystemd.sym
@@ -0,0 +1,14 @@
+https://lists.sr.ht/~emersion/public-inbox/patches/44750
+
+--- src/libsystemd/libsystemd.sym.orig	2022-12-16 10:13:02 UTC
++++ 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;