summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-04 18:52:36 -0500
committerSam James <sam@gentoo.org>2024-03-05 04:46:45 +0000
commit9a68e7e37fbe30af4d48e279af7a6b2558c6fbdc (patch)
tree9c05516626f49845cb72bff5c5e0cda808031a56 /media-gfx
parentapp-text/docbook-sgml-utils: drop dependency on "which" (diff)
downloadgentoo-9a68e7e37fbe30af4d48e279af7a6b2558c6fbdc.tar.gz
gentoo-9a68e7e37fbe30af4d48e279af7a6b2558c6fbdc.tar.bz2
gentoo-9a68e7e37fbe30af4d48e279af7a6b2558c6fbdc.zip
media-gfx/pngtools: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/875371 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/pngtools/pngtools-0.4_p20220314.ebuild13
1 files 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