From b594388d2fd23f31bedce01c9ddb21713d98c7d2 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 1 Dec 2024 13:41:03 +0000 Subject: [PATCH] media-gfx/tif22pnm: build w/ -std=gnu17 Bug: https://bugs.gentoo.org/944994 Signed-off-by: Sam James --- media-gfx/tif22pnm/tif22pnm-0.14-r1.ebuild | 11 +++++++++-- 1 file 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 eb2fd906a707b..7e8f20c59ac18 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