commit:     b594388d2fd23f31bedce01c9ddb21713d98c7d2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  1 13:41:03 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec  1 13:41:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b594388d

media-gfx/tif22pnm: build w/ -std=gnu17

Bug: https://bugs.gentoo.org/944994
Signed-off-by: Sam James <sam <AT> gentoo.org>

 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 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

Reply via email to