summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-12-01 13:41:03 +0000
committerSam James <sam@gentoo.org>2024-12-01 13:41:03 +0000
commitb594388d2fd23f31bedce01c9ddb21713d98c7d2 (patch)
tree43adf1618c53e16149e8924980b4b9ac5c11b496 /media-gfx/tif22pnm
parentmedia-libs/rtaudio: Stabilize 6.0.1 arm64, #945540 (diff)
downloadgentoo-b594388d2fd23f31bedce01c9ddb21713d98c7d2.tar.gz
gentoo-b594388d2fd23f31bedce01c9ddb21713d98c7d2.tar.bz2
gentoo-b594388d2fd23f31bedce01c9ddb21713d98c7d2.zip
media-gfx/tif22pnm: build w/ -std=gnu17
Bug: https://bugs.gentoo.org/944994 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/tif22pnm')
-rw-r--r--media-gfx/tif22pnm/tif22pnm-0.14-r1.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/media-gfx/tif22pnm/tif22pnm-0.14-r1.ebuild b/media-gfx/tif22pnm/tif22pnm-0.14-r1.ebuild
index eb2fd906a707..7e8f20c59ac1 100644
--- a/media-gfx/tif22pnm/tif22pnm-0.14-r1.ebuild
+++ b/media-gfx/tif22pnm/tif22pnm-0.14-r1.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=7
-inherit autotools
+inherit autotools flag-o-matic
DESCRIPTION="tif22pnm and png22pnm command-line converters"
HOMEPAGE="http://pts.szit.bme.hu/ https://code.google.com/p/sam2p/"
@@ -29,6 +29,13 @@ src_prepare() {
eautoreconf
}
+src_configure() {
+ # bug #944994
+ append-cflags -std=gnu17
+
+ default
+}
+
src_install() {
dobin png22pnm tif22pnm
einstalldocs