summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-01-19 23:19:50 +0000
committernia <nia@pkgsrc.org>2020-01-19 23:19:50 +0000
commita2ef9e1ab778b189e3eb03a536a0db312d69b4bb (patch)
treeeffd4a560c304b5812b389e895aa3bb2d9ec0e95
parentf4018a97f00db74f68724ca0b9d342da1a1cf951 (diff)
downloadpkgsrc-a2ef9e1ab778b189e3eb03a536a0db312d69b4bb.tar.gz
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
-rw-r--r--graphics/babl/Makefile3
1 files changed, 2 insertions, 1 deletions
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