pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/fonts/harfbuzz



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Mon Nov 16 16:17:00 UTC 2020

Modified Files:
        pkgsrc/fonts/harfbuzz: Makefile.common

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/fonts/harfbuzz/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/fonts/harfbuzz/Makefile.common
diff -u pkgsrc/fonts/harfbuzz/Makefile.common:1.1 pkgsrc/fonts/harfbuzz/Makefile.common:1.2
--- pkgsrc/fonts/harfbuzz/Makefile.common:1.1   Fri Nov  6 15:06:49 2020
+++ pkgsrc/fonts/harfbuzz/Makefile.common       Mon Nov 16 16:17:00 2020
@@ -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



Home | Main Index | Thread Index | Old Index