git: 42090df722b8 - main - print/py-uharfbuzz: mark BROKEN after ef3919b1cf9d

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 06 Mar 2022 18:25:44 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=42090df722b864eb10a7cabb73221b98a0c49c46

commit 42090df722b864eb10a7cabb73221b98a0c49c46
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-03-06 18:23:32 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-03-06 18:25:15 +0000

    print/py-uharfbuzz: mark BROKEN after ef3919b1cf9d
    
    src/uharfbuzz/_harfbuzz.cpp:15707:10: error: use of undeclared identifier 'hb_font_draw_glyph'; did you mean 'hb_font_get_glyph'?
      (void)(hb_font_draw_glyph(__pyx_v_font->_hb_font, __pyx_t_1, __pyx_v_self->_hb_drawfuncs, ((void *)__pyx_v_self)));
             ^~~~~~~~~~~~~~~~~~
             hb_font_get_glyph
    /usr/local/include/harfbuzz/hb-font.h:899:1: note: 'hb_font_get_glyph' declared here
    hb_font_get_glyph (hb_font_t *font,
    ^
    src/uharfbuzz/_harfbuzz.cpp:15707:64: error: cannot initialize a parameter of type 'hb_codepoint_t' (aka 'unsigned int') with an lvalue of type 'hb_draw_funcs_t *'
      (void)(hb_font_draw_glyph(__pyx_v_font->_hb_font, __pyx_t_1, __pyx_v_self->_hb_drawfuncs, ((void *)__pyx_v_self)));
                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/local/include/harfbuzz/hb-font.h:900:45: note: passing argument to parameter 'variation_selector' here
                       hb_codepoint_t unicode, hb_codepoint_t variation_selector,
                                                              ^
    src/uharfbuzz/_harfbuzz.cpp:16093:3: error: no matching function for call to 'hb_draw_funcs_set_move_to_func'
      hb_draw_funcs_set_move_to_func(__pyx_v_self->_hb_drawfuncs, __pyx_f_9uharfbuzz_9_harfbuzz__move_to_func);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/local/include/harfbuzz/hb-draw.h:210:1: note: candidate function not viable: requires 4 arguments, but 2 were provided
    hb_draw_funcs_set_move_to_func (hb_draw_funcs_t        *dfuncs,
    ^
    src/uharfbuzz/_harfbuzz.cpp:16156:3: error: no matching function for call to 'hb_draw_funcs_set_line_to_func'
      hb_draw_funcs_set_line_to_func(__pyx_v_self->_hb_drawfuncs, __pyx_f_9uharfbuzz_9_harfbuzz__line_to_func);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/local/include/harfbuzz/hb-draw.h:226:1: note: candidate function not viable: requires 4 arguments, but 2 were provided
    hb_draw_funcs_set_line_to_func (hb_draw_funcs_t        *dfuncs,
    ^
    src/uharfbuzz/_harfbuzz.cpp:16219:3: error: no matching function for call to 'hb_draw_funcs_set_cubic_to_func'
      hb_draw_funcs_set_cubic_to_func(__pyx_v_self->_hb_drawfuncs, __pyx_f_9uharfbuzz_9_harfbuzz__cubic_to_func);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/local/include/harfbuzz/hb-draw.h:258:1: note: candidate function not viable: requires 4 arguments, but 2 were provided
    hb_draw_funcs_set_cubic_to_func (hb_draw_funcs_t         *dfuncs,
    ^
    src/uharfbuzz/_harfbuzz.cpp:16282:3: error: no matching function for call to 'hb_draw_funcs_set_quadratic_to_func'
      hb_draw_funcs_set_quadratic_to_func(__pyx_v_self->_hb_drawfuncs, __pyx_f_9uharfbuzz_9_harfbuzz__quadratic_to_func);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/local/include/harfbuzz/hb-draw.h:242:1: note: candidate function not viable: requires 4 arguments, but 2 were provided
    hb_draw_funcs_set_quadratic_to_func (hb_draw_funcs_t             *dfuncs,
    ^
    src/uharfbuzz/_harfbuzz.cpp:16344:3: error: no matching function for call to 'hb_draw_funcs_set_close_path_func'
      hb_draw_funcs_set_close_path_func(__pyx_v_self->_hb_drawfuncs, __pyx_f_9uharfbuzz_9_harfbuzz__close_path_func);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/local/include/harfbuzz/hb-draw.h:274:1: note: candidate function not viable: requires 4 arguments, but 2 were provided
    hb_draw_funcs_set_close_path_func (hb_draw_funcs_t           *dfuncs,
    ^
    
    Reported by:    pkg-fallout
---
 print/py-uharfbuzz/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/print/py-uharfbuzz/Makefile b/print/py-uharfbuzz/Makefile
index 03c3d253a200..066c3ea261e0 100644
--- a/print/py-uharfbuzz/Makefile
+++ b/print/py-uharfbuzz/Makefile
@@ -12,6 +12,8 @@ COMMENT=	Streamlined Cython bindings for the harfbuzz shaping engine
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BROKEN=		requires https://github.com/harfbuzz/uharfbuzz/pull/110
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
 LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz