Accepting request 1224494 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/1224494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alsa?expand=0&rev=228
This commit is contained in:
Ana Guerrero 2024-11-17 15:39:32 +00:00 committed by Git OBS Bridge
commit 809f313589
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,42 @@
From 76edab4e595bd5f3f4c636cccc8d7976d3c519d6 Mon Sep 17 00:00:00 2001
From: Nicholas Vinson <nvinson234@gmail.com>
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 <nvinson234@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---
src/Versions.in.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Versions.in.in b/src/Versions.in.in
index 350ec3d86ad6..7ad6a6333f83 100644
--- 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
--
2.43.0

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Nov 15 16:42:00 UTC 2024 - Takashi Iwai <tiwai@suse.com>
- Fix incorrect versioned symbol for snd_seq_has_queue_tempo_base:
0001-src-Versions.in.in-Update-_tempo_base-name.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 12 14:03:45 UTC 2024 - Takashi Iwai <tiwai@suse.com> Tue Nov 12 14:03:45 UTC 2024 - Takashi Iwai <tiwai@suse.com>

View File

@ -63,6 +63,7 @@ Source34: alsa-init.sh
# from https://www.alsa-project.org/files/pub/gpg-release-key-v1.txt # from https://www.alsa-project.org/files/pub/gpg-release-key-v1.txt
Source35: alsa.keyring Source35: alsa.keyring
# upstream fixes # upstream fixes
Patch1: 0001-src-Versions.in.in-Update-_tempo_base-name.patch
# rest suse fixes # rest suse fixes
Patch101: alsa-lib-ignore-non-accessible-ALSA_CONFIG_PATH.patch Patch101: alsa-lib-ignore-non-accessible-ALSA_CONFIG_PATH.patch
BuildRequires: doxygen BuildRequires: doxygen