commit:     4dbe5fa10cd489fb3806b0a702eb4019e1809fdc
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Thu Nov 20 06:11:06 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 22 11:37:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dbe5fa1

media-libs/avidemux-core: fix lto for bundled ffmpeg

--enable-lto added by default by upstream is removed w/ a patch
But add it again is needed if lto is wanted

Closes: https://bugs.gentoo.org/966255
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44682
Closes: https://github.com/gentoo/gentoo/pull/44682
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/avidemux-core/avidemux-core-2.8.1_p20251019.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/avidemux-core/avidemux-core-2.8.1_p20251019.ebuild 
b/media-libs/avidemux-core/avidemux-core-2.8.1_p20251019.ebuild
index 4957ce9a0d2d..afbcebfe3659 100644
--- a/media-libs/avidemux-core/avidemux-core-2.8.1_p20251019.ebuild
+++ b/media-libs/avidemux-core/avidemux-core-2.8.1_p20251019.ebuild
@@ -65,6 +65,7 @@ src_prepare() {
                --pkg-config=$(tc-getPKG_CONFIG)
                # avoid automagic with libdrm, vaapi, vdpau ...
                --disable-autodetect
+               $(tc-is-lto && echo --enable-lto) #966255
                "--optflags='${CFLAGS} -std=gnu17'"
        )
 

Reply via email to