commit:     5f7dd1f9e20c1b009c8031b1e5cee6f3b33022bb
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon Mar 11 03:03:17 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 14:22:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f7dd1f9

media-libs/libcdaudio: mark as LTO-unsafe

Note: upstream is dead in terms of development, although apparently
still available to ask people on sourceforge if they are interested in
taking over maintenance.

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libcdaudio/libcdaudio-0.99.12-r5.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/media-libs/libcdaudio/libcdaudio-0.99.12-r5.ebuild 
b/media-libs/libcdaudio/libcdaudio-0.99.12-r5.ebuild
index d64a5a9ac226..44b0a9468c60 100644
--- a/media-libs/libcdaudio/libcdaudio-0.99.12-r5.ebuild
+++ b/media-libs/libcdaudio/libcdaudio-0.99.12-r5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="Library of cd audio related routines"
 HOMEPAGE="https://libcdaudio.sourceforge.net/";
@@ -31,6 +31,15 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       #
+       # Upstream is pretty dead. The best that can be said is that as of a 
year
+       # ago if you posted support tickets, upstream would ask you:
+       #
+       # "libcdaudio is looking for a maintainer. Would you accept becoming a
+       # maintainer, so that you can integrate the change directly?"
+       filter-lto
+
        econf --enable-threads --disable-static
 }
 

Reply via email to