diff options
2 files changed, 33 insertions, 0 deletions
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 <parona@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 <parona@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 |