diff options
author | tsutsui <tsutsui@pkgsrc.org> | 2020-11-16 16:17:00 +0000 |
---|---|---|
committer | tsutsui <tsutsui@pkgsrc.org> | 2020-11-16 16:17:00 +0000 |
commit | 35ffce601f7ed77550f6c63a3195b12ff7c8b231 (patch) | |
tree | 52f04aa0210b32b813cd157bde963b6a202a6c10 /fonts | |
parent | 9da3193dcb193294fbbf340519753ef723eed9b0 (diff) | |
download | pkgsrc-35ffce601f7ed77550f6c63a3195b12ff7c8b231.tar.gz |
harfbuzz: fix build errors on NetBSD 7.2 with gcc 4.9.
> In file included from ../test/api/test-aat-layout.c:25:0:
> ../test/api/hb-test.h: In function 'hb_test_assert_blobs_equal':
> ../test/api/hb-test.h:178:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
> for (unsigned int i = 0; i < expected_length; i++)
> ^
> ../test/api/hb-test.h:178:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/harfbuzz/Makefile.common | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fonts/harfbuzz/Makefile.common b/fonts/harfbuzz/Makefile.common index 9792cf56311..53e39315af6 100644 --- a/fonts/harfbuzz/Makefile.common +++ b/fonts/harfbuzz/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.1 2020/11/06 15:06:49 nia Exp $ +# $NetBSD: Makefile.common,v 1.2 2020/11/16 16:17:00 tsutsui Exp $ # used by fonts/harfbuzz-icu/Makefile DISTNAME= harfbuzz-2.7.2 @@ -21,7 +21,7 @@ GCC_REQD+= 4.9 .include "../../mk/bsd.prefs.mk" .include "../../graphics/librsvg/available.mk" -USE_LANGUAGES= c c++ +USE_LANGUAGES= c99 c++ USE_TOOLS+= pkg-config # cairo/fontconfig are only needed for command line utilities |