From a2ef9e1ab778b189e3eb03a536a0db312d69b4bb Mon Sep 17 00:00:00 2001 From: nia Date: Sun, 19 Jan 2020 23:19:50 +0000 Subject: babl: USE_LANGUAGES= c99 Build fix for older compilers with c89 default... ../babl/base/formats.c: In function 'babl_formats_init': ../babl/base/formats.c:38:3: error: 'for' loop initial declarations are only allowed in C99 mode --- graphics/babl/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'graphics/babl') diff --git a/graphics/babl/Makefile b/graphics/babl/Makefile index 128c195a879..ef96aff8c82 100644 --- a/graphics/babl/Makefile +++ b/graphics/babl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2020/01/09 23:37:45 nia Exp $ +# $NetBSD: Makefile,v 1.29 2020/01/19 23:19:50 nia Exp $ DISTNAME= babl-0.1.72 CATEGORIES= graphics @@ -11,6 +11,7 @@ COMMENT= Dynamic pixel conversion library LICENSE= gnu-gpl-v3 USE_TOOLS+= pkg-config +USE_LANGUAGES= c99 MESON_ARGS+= -Dwith-docs=false MESON_ARGS+= -Denable-gir=false -- cgit v1.2.3