commit:     2284b892664ff0f188ccb255827992b17d8c0718
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Wed Jul  3 16:29:35 2024 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Jul  5 18:23:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2284b892

dev-libs/libayatana-appindicator: backport lld fix

Closes: https://bugs.gentoo.org/934481
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37409
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 ...-0.5.93-correct-symbols-in-version-script.patch | 29 ++++++++++++++++++++++
 .../libayatana-appindicator-0.5.93.ebuild          |  4 +++
 2 files changed, 33 insertions(+)

diff --git 
a/dev-libs/libayatana-appindicator/files/libayatana-appindicator-0.5.93-correct-symbols-in-version-script.patch
 
b/dev-libs/libayatana-appindicator/files/libayatana-appindicator-0.5.93-correct-symbols-in-version-script.patch
new file mode 100644
index 000000000000..8a0ceea3c070
--- /dev/null
+++ 
b/dev-libs/libayatana-appindicator/files/libayatana-appindicator-0.5.93-correct-symbols-in-version-script.patch
@@ -0,0 +1,29 @@
+https://bugs.gentoo.org/934481
+https://github.com/AyatanaIndicators/libayatana-appindicator/pull/79
+https://github.com/AyatanaIndicators/libayatana-appindicator/commit/6e29dc3814da0a425424b8ed4ccb2e3769bb2de2
+
+From 6e29dc3814da0a425424b8ed4ccb2e3769bb2de2 Mon Sep 17 00:00:00 2001
+From: Alfred Wingate <par...@protonmail.com>
+Date: Tue, 2 Jul 2024 00:08:27 +0300
+Subject: [PATCH 1/1] Correct symbols in version script file
+
+LLVM lld checks for nonexistent symbols in version scripts files.
+Correct symbols names to what appears to be the desired results.
+
+Bug: https://bugs.gentoo.org/934481
+Fixes: 4d97676bb5ba1a7612aed36d219cbaa978adc90e
+Signed-off-by: Alfred Wingate <par...@protonmail.com>
+--- a/src/app-indicator.symbols
++++ b/src/app-indicator.symbols
+@@ -1,6 +1,6 @@
+ {
+     global: app_indicator_*;
+     local:  _notification_*;
+-            _generate_;
+-            _application_;
++            _generate_id;
++            _application_service_marshal_*;
+ };
+-- 
+2.45.2
+

diff --git 
a/dev-libs/libayatana-appindicator/libayatana-appindicator-0.5.93.ebuild 
b/dev-libs/libayatana-appindicator/libayatana-appindicator-0.5.93.ebuild
index db5c89baa196..0173fcfafe1a 100644
--- a/dev-libs/libayatana-appindicator/libayatana-appindicator-0.5.93.ebuild
+++ b/dev-libs/libayatana-appindicator/libayatana-appindicator-0.5.93.ebuild
@@ -27,6 +27,10 @@ BDEPEND="$(vala_depend)
        test? ( dev-util/dbus-test-runner )
 "
 
+PATCHES=(
+       
"${FILESDIR}"/libayatana-appindicator-0.5.93-correct-symbols-in-version-script.patch
+)
+
 src_prepare() {
        vala_setup
        cmake_src_prepare

Reply via email to