diff options
author | Alfred Wingate <parona@protonmail.com> | 2024-07-03 19:29:35 +0300 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2024-07-05 20:23:22 +0200 |
commit | 2284b892664ff0f188ccb255827992b17d8c0718 (patch) | |
tree | bbf832a1a3e908a2532fafbd5d5c6fc232443e2a /dev-libs/libayatana-appindicator | |
parent | media-fonts/noto: add 20240630 (diff) | |
download | gentoo-2284b892664ff0f188ccb255827992b17d8c0718.tar.gz gentoo-2284b892664ff0f188ccb255827992b17d8c0718.tar.bz2 gentoo-2284b892664ff0f188ccb255827992b17d8c0718.zip |
dev-libs/libayatana-appindicator: backport lld fix
Closes: https://bugs.gentoo.org/934481
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37409
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'dev-libs/libayatana-appindicator')
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 |