summaryrefslogtreecommitdiff
path: root/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/pngtools/pngtools-0.4_p20220314.ebuild')
-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