summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-14 23:00:32 -0400
committerSam James <sam@gentoo.org>2024-03-15 03:18:08 +0000
commitaa99c2f429f532171de0a148ccad9cc6f17f2380 (patch)
tree464d5403f49800a0add884d8fb05b880de504eab /media-video/mpeg-tools
parentmedia-video/mpeg-tools: fix various horribleness related to c99 porting (diff)
downloadgentoo-aa99c2f429f532171de0a148ccad9cc6f17f2380.tar.gz
gentoo-aa99c2f429f532171de0a148ccad9cc6f17f2380.tar.bz2
gentoo-aa99c2f429f532171de0a148ccad9cc6f17f2380.zip
media-video/mpeg-tools: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/861137 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/mpeg-tools')
-rw-r--r--media-video/mpeg-tools/mpeg-tools-1.5b-r5.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/media-video/mpeg-tools/mpeg-tools-1.5b-r5.ebuild b/media-video/mpeg-tools/mpeg-tools-1.5b-r5.ebuild
index c53ba754e99f..27d3b60126f0 100644
--- a/media-video/mpeg-tools/mpeg-tools-1.5b-r5.ebuild
+++ b/media-video/mpeg-tools/mpeg-tools-1.5b-r5.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
MY_PN=mpeg_encode
DESCRIPTION="Tools for MPEG video"
@@ -45,6 +45,11 @@ src_prepare() {
}
src_compile() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/861137
+ # Upstream is thoroughly dead, homepage doesn't even exist anymore.
+ filter-lto
+
emake CC="$(tc-getCC)"
emake -C convert CC="$(tc-getCC)"
emake -C convert/mtv CC="$(tc-getCC)"