commit:     99d9c29cd536fb1be71e277fd5a69b7dac3e1936
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 14 05:10:21 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 06:05:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99d9c29c

media-libs/libmodplug: mark as LTO-unsafe

There are 3 different upstreams described for this package. One
homepage, another SRC_URI, and a third in metadata.xml. Nowhere is this
actually maintained, however.

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

 media-libs/libmodplug/libmodplug-0.8.9.1.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/media-libs/libmodplug/libmodplug-0.8.9.1.ebuild 
b/media-libs/libmodplug/libmodplug-0.8.9.1.ebuild
index b92ffbcd510a..41ab576c6625 100644
--- a/media-libs/libmodplug/libmodplug-0.8.9.1.ebuild
+++ b/media-libs/libmodplug/libmodplug-0.8.9.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 MY_PVR="${PV}.r461"
 
-inherit autotools multilib-minimal
+inherit autotools flag-o-matic multilib-minimal
 
 DESCRIPTION="Library for playing MOD-like music files"
 HOMEPAGE="https://modplug-xmms.sourceforge.net/";
@@ -29,6 +29,13 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+       # -Werror=odr
+       # https://bugs.gentoo.org/921707
+       #
+       # Upstream is dead for 2 years. Both of them -- the one in SRC_URI and 
the
+       # one in metadata.xml. Where to report a bug *to*, even? Answer: 
neither. :(
+       filter-lto
+
        ECONF_SOURCE=${S} econf --disable-static
 }
 

Reply via email to