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@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Eli Schwartz
2024-03-14 01:10:21 -04:00
committed by Sam James
parent e27a8a8398
commit 99d9c29cd5

View File

@@ -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
}