commit: 86650bc76e0e324ad63b4b21588fc8068d81a5df Author: Alfred Wingate <parona <AT> protonmail <DOT> com> AuthorDate: Sat Nov 23 17:26:42 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Nov 23 17:37:12 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86650bc7
media-libs/alsa-lib: update symbol name Closes: https://bugs.gentoo.org/943399 Signed-off-by: Alfred Wingate <parona <AT> protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/39433 Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/alsa-lib/alsa-lib-1.2.13.ebuild | 1 + .../files/alsa-lib-1.2.13-update-symbol-name.patch | 38 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/media-libs/alsa-lib/alsa-lib-1.2.13.ebuild b/media-libs/alsa-lib/alsa-lib-1.2.13.ebuild index 68a5a702382e..b6efb887b5db 100644 --- a/media-libs/alsa-lib/alsa-lib-1.2.13.ebuild +++ b/media-libs/alsa-lib/alsa-lib-1.2.13.ebuild @@ -34,6 +34,7 @@ BDEPEND="doc? ( >=app-text/doxygen-1.2.6 )" PATCHES=( "${FILESDIR}/${PN}-1.1.6-missing_files.patch" # bug #652422 + "${FILESDIR}/${PN}-1.2.13-update-symbol-name.patch" # bug #943399 ) pkg_setup() { diff --git a/media-libs/alsa-lib/files/alsa-lib-1.2.13-update-symbol-name.patch b/media-libs/alsa-lib/files/alsa-lib-1.2.13-update-symbol-name.patch new file mode 100644 index 000000000000..637c06bef0b3 --- /dev/null +++ b/media-libs/alsa-lib/files/alsa-lib-1.2.13-update-symbol-name.patch @@ -0,0 +1,38 @@ +https://bugs.gentoo.org/943399 +https://github.com/alsa-project/alsa-lib/issues/420 +https://github.com/alsa-project/alsa-lib/pull/421 +https://github.com/alsa-project/alsa-lib/commit/76edab4e595bd5f3f4c636cccc8d7976d3c519d6 + +From 76edab4e595bd5f3f4c636cccc8d7976d3c519d6 Mon Sep 17 00:00:00 2001 +From: Nicholas Vinson <[email protected]> +Date: Thu, 14 Nov 2024 07:49:53 -0500 +Subject: [PATCH] src/Versions.in.in: Update *_tempo_base name + +Change @SYMBOL_PREFIX@snd_has_tempo_base to +@SYMBOL_PREFIX@snd_has_queue_tempo_base. + +Starting with version 1.2.13, alsa-lib fails to link with ld.lld-19 due +to "version script assignment of 'ALSA_1.2.13' to symbol +'snd_seq_has_tempo_base' failed: symbol not defined". + +Per commit 769d1db1b0a213a39c7e59c0d1d724e7f45b1ac3 the correct name for +the symbol is @SYMBOL_PREFIX@snd_has_queue_tempo_base; therefore, update +src/Vesions.in.in to match. + +Fixes bug #420 +Fixes Gentoo bug 943399 (https://bugs.gentoo.org/943399) + +Closes: https://github.com/alsa-project/alsa-lib/pull/421 +Signed-off-by: Nicholas Vinson <[email protected]> +Signed-off-by: Jaroslav Kysela <[email protected]> +--- a/src/Versions.in.in ++++ b/src/Versions.in.in +@@ -212,7 +212,7 @@ ALSA_1.2.13 { + @SYMBOL_PREFIX@snd_seq_create_ump_block; + @SYMBOL_PREFIX@snd_seq_queue_tempo_get_tempo_base; + @SYMBOL_PREFIX@snd_seq_queue_tempo_set_tempo_base; +- @SYMBOL_PREFIX@snd_seq_has_tempo_base; ++ @SYMBOL_PREFIX@snd_seq_has_queue_tempo_base; + @SYMBOL_PREFIX@snd_seq_port_info_get_ump_is_midi1; + @SYMBOL_PREFIX@snd_seq_port_info_set_ump_is_midi1; + #endif
