commit: 9a68e7e37fbe30af4d48e279af7a6b2558c6fbdc Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Mon Mar 4 23:52:36 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Mar 5 04:46:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a68e7e3
media-gfx/pngtools: mark as LTO-unsafe Closes: https://bugs.gentoo.org/875371 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> media-gfx/pngtools/pngtools-0.4_p20220314.ebuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild b/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild index 0e411a64e826..67bd84dbf9e8 100644 --- a/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild +++ b/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools +inherit autotools flag-o-matic MY_COMMIT="1ccca3a0f3f6882661bbafbfb62feb774ca195d1" DESCRIPTION="A series of tools for the PNG image format" @@ -30,6 +30,15 @@ src_prepare() { eautoreconf } +src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/875371 + # https://github.com/mikalstill/pngtools/issues/21 + filter-lto + + default +} + src_install() { default