-Iinclude -Igenerated -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DSHARE_JPEG -Ithirdparty/mujs -I/usr/local/include/openjpeg-2.1 -o build/release/html/css-parse.o -c source/html/css-parse.c source/xps/xps-glyphs.c:245:10: error: no member named 'fake_bold' in 'struct fz_font_s'; did you mean 'ft_bold'? font->fake_bold = !!strstr(style_att, "Bold"); ^~~~~~~~~ ft_bold /usr/local/include/mupdf/fitz/font.h:35:6: note: 'ft_bold' declared here int ft_bold; /* ... synthesize bold */ ^ source/xps/xps-glyphs.c:246:10: error: no member named 'is_bold' in 'struct fz_font_s'; did you mean 'ft_bold'? font->is_bold = font->fake_bold; ^~~~~~~ ft_bold /usr/local/include/mupdf/fitz/font.h:35:6: note: 'ft_bold' declared here int ft_bold; /* ... synthesize bold */ ^ source/xps/xps-glyphs.c:246:26: error: no member named 'fake_bold' in 'struct fz_font_s'; did you mean 'ft_bold'? font->is_bold = font->fake_bold; ^~~~~~~~~ ft_bold /usr/local/include/mupdf/fitz/font.h:35:6: note: 'ft_bold' declared here int ft_bold; /* ... synthesize bold */ ^ source/xps/xps-glyphs.c:247:10: error: no member named 'fake_italic' in 'struct fz_font_s'; did you mean 'ft_italic'? font->fake_italic = !!strstr(style_att, "Italic"); ^~~~~~~~~~~ ft_italic /usr/local/include/mupdf/fitz/font.h:36:6: note: 'ft_italic' declared here int ft_italic; /* ... synthesize italic */ ^ source/xps/xps-glyphs.c:248:10: error: no member named 'is_italic' in 'struct fz_font_s'; did you mean 'ft_italic'? font->is_italic = font->fake_italic; ^~~~~~~~~ ft_italic /usr/local/include/mupdf/fitz/font.h:36:6: note: 'ft_italic' declared here int ft_italic; /* ... synthesize italic */ ^ source/xps/xps-glyphs.c:248:28: error: no member named 'fake_italic' in 'struct fz_font_s'; did you mean 'ft_italic'? font->is_italic = font->fake_italic; ^~~~~~~~~~~ ft_italic /usr/local/include/mupdf/fitz/font.h:36:6: note: 'ft_italic' declared here int ft_italic; /* ... synthesize italic */ ^ source/xps/xps-glyphs.c:376:24: error: too few arguments to function call, expected 4, have 1 text = fz_new_text(ctx); ~~~~~~~~~~~ ^ /usr/local/include/mupdf/fitz/text.h:41:1: note: 'fz_new_text' declared here fz_text *fz_new_text(fz_context *ctx, fz_font *face, const fz_matrix *trm, int wmode); ^ source/xps/xps-glyphs.c:427:14: error: no member named 'fake_bold' in 'struct fz_font_s'; did you mean 'ft_bold'? if (font->fake_bold) ^~~~~~~~~ ft_bold /usr/local/include/mupdf/fitz/font.h:35:6: note: 'ft_bold' declared here int ft_bold; /* ... synthesize bold */ ^ source/xps/xps-glyphs.c:454:27: error: use of undeclared identifier 'FZ_BIDI_RTL' dir = bidi_level & 1 ? FZ_BIDI_RTL : FZ_BIDI_LTR; ^ source/xps/xps-glyphs.c:454:41: error: use of undeclared identifier 'FZ_BIDI_LTR' dir = bidi_level & 1 ? FZ_BIDI_RTL : FZ_BIDI_LTR; ^ source/xps/xps-glyphs.c:455:4: warning: implicit declaration of function 'fz_show_glyph' is invalid in C99 [-Wimplicit-function-declaration] fz_show_glyph(ctx, text, font, &tm, glyph_index, char_code, is_sideways, bidi_level, dir, FZ_LANG_UNSET); ^ source/xps/xps-glyphs.c:455:94: error: use of undeclared identifier 'FZ_LANG_UNSET' fz_show_glyph(ctx, text, font, &tm, glyph_index, char_code, is_sideways, bidi_level, dir, FZ_LANG_UNSET); ^ source/xps/xps-glyphs.c:619:44: warning: incompatible pointer to integer conversion passing 'fz_rect *' (aka 'struct fz_rect_s *') to parameter of type 'int' [-Wint-conversion] fz_clip_text(ctx, dev, text, &local_ctm, &area); ^~~~~ /usr/local/include/mupdf/fitz/device.h:156:93: note: passing argument to parameter 'accumulate' here void fz_clip_text(fz_context *ctx, fz_device *dev, fz_text *text, const fz_matrix *ctm, int accumulate); ^ 2 warnings and 11 errors generated. source/cbz/mutiff.c:27:2: warning: implicit declaration of function 'fz_image_resolution' is invalid in C99 [-Wimplicit-function-declaration] fz_image_resolution(image, &xres, &yres); ^ 1 warning generated. source/cbz/muimg.c:38:2: warning: implicit declaration of function 'fz_image_resolution' is invalid in C99 [-Wimplicit-function-declaration] fz_image_resolution(image, &xres, &yres); ^ 1 warning generated. gmake[2]: *** [Makefile:169: build/release/xps/xps-glyphs.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... source/cbz/mucbz.c:123:2: warning: implicit declaration of function 'fz_image_resolution' is invalid in C99 [-Wimplicit-function-declaration] fz_image_resolution(image, &xres, &yres); ^ 1 warning generated. source/xps/xps-path.c:765:31: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const fz_rect *' (aka 'const struct fz_rect_s *') [-Wint-conversion] fz_clip_path(ctx, dev, path, fill_rule == 0, ctm, NULL); ^~~~~~~~~~~~~~ /usr/local/include/mupdf/fitz/device.h:152:82: note: passing argument to parameter 'rect' here void fz_clip_path(fz_context *ctx, fz_device *dev, fz_path *path, const fz_rect *rect, int even_odd, const fz_matrix *ctm); ^ source/xps/xps-path.c:765:47: warning: incompatible pointer to integer conversion passing 'const fz_matrix *' (aka 'const struct fz_matrix_s *') to parameter of type 'int' [-Wint-conversion] fz_clip_path(ctx, dev, path, fill_rule == 0, ctm, NULL); ^~~ /usr/local/include/mupdf/fitz/device.h:152:92: note: passing argument to parameter 'even_odd' here void fz_clip_path(fz_context *ctx, fz_device *dev, fz_path *path, const fz_rect *rect, int even_odd, const fz_matrix *ctm); ^ source/xps/xps-path.c:1005:32: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const fz_rect *' (aka 'const struct fz_rect_s *') [-Wint-conversion] fz_clip_path(ctx, dev, path, fill_rule == 0, &local_ctm, &area); ^~~~~~~~~~~~~~ /usr/local/include/mupdf/fitz/device.h:152:82: note: passing argument to parameter 'rect' here void fz_clip_path(fz_context *ctx, fz_device *dev, fz_path *path, const fz_rect *rect, int even_odd, const fz_matrix *ctm); ^ source/xps/xps-path.c:1005:48: warning: incompatible pointer to integer conversion passing 'fz_matrix *' (aka 'struct fz_matrix_s *') to parameter of type 'int' [-Wint-conversion] fz_clip_path(ctx, dev, path, fill_rule == 0, &local_ctm, &area); ^~~~~~~~~~ /usr/local/include/mupdf/fitz/device.h:152:92: note: passing argument to parameter 'even_odd' here void fz_clip_path(fz_context *ctx, fz_device *dev, fz_path *path, const fz_rect *rect, int even_odd, const fz_matrix *ctm); ^ source/xps/xps-path.c:1005:60: warning: incompatible pointer types passing 'fz_rect *' (aka 'struct fz_rect_s *') to parameter of type 'const fz_matrix *' (aka 'const struct fz_matrix_s *') [-Wincompatible-pointer-types] fz_clip_path(ctx, dev, path, fill_rule == 0, &local_ctm, &area); ^~~~~ /usr/local/include/mupdf/fitz/device.h:152:119: note: passing argument to parameter 'ctm' here void fz_clip_path(fz_context *ctx, fz_device *dev, fz_path *path, const fz_rect *rect, int even_odd, const fz_matrix *ctm); ^ source/xps/xps-path.c:1023:46: warning: incompatible pointer types passing 'fz_stroke_state *' (aka 'struct fz_stroke_state_s *') to parameter of type 'const fz_rect *' (aka 'const struct fz_rect_s *') [-Wincompatible-pointer-types] fz_clip_stroke_path(ctx, dev, stroke_path, stroke, &local_ctm, &area); ^~~~~~ /usr/local/include/mupdf/fitz/device.h:153:89: note: passing argument to parameter 'rect' here void fz_clip_stroke_path(fz_context *ctx, fz_device *dev, fz_path *path, const fz_rect *rect, fz_stroke_state *stroke, const fz_matrix *ctm); ^ source/xps/xps-path.c:1023:54: warning: incompatible pointer types passing 'fz_matrix *' (aka 'struct fz_matrix_s *') to parameter of type 'fz_stroke_state *' (aka 'struct fz_stroke_state_s *') [-Wincompatible-pointer-types] fz_clip_stroke_path(ctx, dev, stroke_path, stroke, &local_ctm, &area); ^~~~~~~~~~ /usr/local/include/mupdf/fitz/device.h:153:112: note: passing argument to parameter 'stroke' here void fz_clip_stroke_path(fz_context *ctx, fz_device *dev, fz_path *path, const fz_rect *rect, fz_stroke_state *stroke, const fz_matrix *ctm); ^ source/xps/xps-path.c:1023:66: warning: incompatible pointer types passing 'fz_rect *' (aka 'struct fz_rect_s *') to parameter of type 'const fz_matrix *' (aka 'const struct fz_matrix_s *') [-Wincompatible-pointer-types] fz_clip_stroke_path(ctx, dev, stroke_path, stroke, &local_ctm, &area); ^~~~~ /usr/local/include/mupdf/fitz/device.h:153:137: note: passing argument to parameter 'ctm' here void fz_clip_stroke_path(fz_context *ctx, fz_device *dev, fz_path *path, const fz_rect *rect, fz_stroke_state *stroke, const fz_matrix *ctm); ^ 8 warnings generated. gmake[2]: Leaving directory '/usr/ports/graphics/mupdf/work/mupdf-1.9a-source' ===> Compilation failed unexpectedly.