commit:     c4c0e834dc9f51ed10ea0a623e7e332b819b2d52
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Mar 13 04:06:44 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 13 21:04:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4c0e834

media-sound/musepack-tools: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/860882
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/musepack-tools/musepack-tools-465-r2.ebuild | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/media-sound/musepack-tools/musepack-tools-465-r2.ebuild 
b/media-sound/musepack-tools/musepack-tools-465-r2.ebuild
index 503162e92f33..96d1eb23372f 100644
--- a/media-sound/musepack-tools/musepack-tools-465-r2.ebuild
+++ b/media-sound/musepack-tools/musepack-tools-465-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 # svn export http://svn.musepack.net/libmpc/trunk musepack-tools-${PV}
 # tar -cjf musepack-tools-${PV}.tar.bz2 musepack-tools-${PV}
@@ -31,3 +31,13 @@ PATCHES=(
        "${FILESDIR}"/${P}-fno-common.patch
        "${FILESDIR}"/${P}-musl.patch
 )
+
+src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/860882
+       #
+       # Software is dead since 2016.
+       filter-lto
+
+       cmake_src_configure
+}

Reply via email to