Trying to build the fresh freetype from git with "./configure --with-harfbuzz=no"
I get this failure:
freetype/san_cov/src/autofit/afshaper.c:577:3: error: conflicting types for 'af_shaper_get_coverage'
af_shaper_get_coverage( AF_FaceGlobals globals,
^
freetype/san_cov/src/autofit/afshaper.h:39:3: note: previous declaration is here
af_shaper_get_coverage( AF_FaceGlobals globals,
^
Should be a trivial fix:
--- a/src/autofit/afshaper.c
+++ b/src/autofit/afshaper.c
@@ -576,7 +576,8 @@
FT_Error
af_shaper_get_coverage( AF_FaceGlobals globals,
AF_StyleClass style_class,
- FT_UShort* gstyles )
+ FT_UShort* gstyles,
+ FT_Bool unused)
{
FT_UNUSED( globals );
FT_UNUSED( style_class );
--kcc