summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-14 01:10:21 -0400
committerSam James <sam@gentoo.org>2024-03-14 06:05:31 +0000
commit99d9c29cd536fb1be71e277fd5a69b7dac3e1936 (patch)
tree889f790d5550dda07e248b8c1580b9ed5c03d408
parentgames-emulation/hatari: backport fix for LTO (diff)
downloadgentoo-99d9c29cd536fb1be71e277fd5a69b7dac3e1936.tar.gz
gentoo-99d9c29cd536fb1be71e277fd5a69b7dac3e1936.tar.bz2
gentoo-99d9c29cd536fb1be71e277fd5a69b7dac3e1936.zip
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>
-rw-r--r--media-libs/libmodplug/libmodplug-0.8.9.1.ebuild11
1 files 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
}