commit:     019431fffcef8eda566848534a0a567edfa03753
Author:     Brahmajit Das <listout <AT> listout <DOT> xyz>
AuthorDate: Mon Sep  8 16:56:31 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 14 10:44:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=019431ff

dev-libs/totem-pl-parser: always pass -Wl,--undefined-version if supported

Fix ld.lld: error: version script assignment of
'LIBTOTEM_PL_PARSER_MINI_1.0' to symbol 'totem_disc_media_type_get_type'
failed: symbol not defined

Closes: https://bugs.gentoo.org/915087
Signed-off-by: Brahmajit Das <listout <AT> listout.xyz>
Part-of: https://github.com/gentoo/gentoo/pull/43715
Closes: https://github.com/gentoo/gentoo/pull/43715
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/totem-pl-parser/totem-pl-parser-3.26.6-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-libs/totem-pl-parser/totem-pl-parser-3.26.6-r2.ebuild 
b/dev-libs/totem-pl-parser/totem-pl-parser-3.26.6-r2.ebuild
index a22939f99325..6371d1cc653f 100644
--- a/dev-libs/totem-pl-parser/totem-pl-parser-3.26.6-r2.ebuild
+++ b/dev-libs/totem-pl-parser/totem-pl-parser-3.26.6-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit gnome.org meson xdg
+inherit gnome.org meson xdg flag-o-matic
 
 DESCRIPTION="Playlist parsing library"
 HOMEPAGE="https://developer.gnome.org/totem-pl-parser/stable/";
@@ -64,6 +64,7 @@ src_configure() {
                $(meson_use gtk-doc enable-gtk-doc)
                $(meson_use introspection)
        )
+       append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 915087
        meson_src_configure
 }
 

Reply via email to