Sat Jul 1 14:11:48 2023 UTC ()
py-genshi: assumes compiler defaults to c99


(nia)
diff -r1.19 -r1.20 pkgsrc/www/py-genshi/Makefile

cvs diff -r1.19 -r1.20 pkgsrc/www/py-genshi/Makefile (expand / switch to context diff)
--- pkgsrc/www/py-genshi/Makefile 2023/04/30 15:03:18 1.19
+++ pkgsrc/www/py-genshi/Makefile 2023/07/01 14:11:48 1.20
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2023/04/30 15:03:18 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2023/07/01 14:11:48 nia Exp $
 
 DISTNAME=	Genshi-0.7.7
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:tl}
@@ -9,6 +9,9 @@
 HOMEPAGE=	https://genshi.edgewall.org/
 COMMENT=	Python toolkit for generation of output for the web
 LICENSE=	modified-bsd
+
+# "error: 'for' loop initial declarations are only allowed in C99 mode"
+USE_LANGUAGES=	c99
 
 DEPENDS+=	${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
 DEPENDS+=	${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six