[Bug 258576] www/chromium: build fails with harfbuzz 3.0.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 18 Sep 2021 22:05:29 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258576

--- Comment #3 from commit-hook_at_FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3e693f24a78f51cbb7daf258bd727961b3bec046

commit 3e693f24a78f51cbb7daf258bd727961b3bec046
Author:     Jan Beich <jbeich_at_FreeBSD.org>
AuthorDate: 2021-09-18 17:23:51 +0000
Commit:     Jan Beich <jbeich_at_FreeBSD.org>
CommitDate: 2021-09-18 22:04:57 +0000

    devel/electron12: unbreak after dbc5f433f858

    ../../third_party/skia/src/pdf/SkPDFSubsetFont.cpp:74:5: error: use of
undeclared identifier 'hb_subset_input_set_retain_gids'; did you mean
'hb_subset_input_set_flags'?
        hb_subset_input_set_retain_gids(input.get(), true);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        hb_subset_input_set_flags
    /usr/local/include/harfbuzz/hb-subset.h:142:1: note:
'hb_subset_input_set_flags' declared here
    hb_subset_input_set_flags (hb_subset_input_t *input,
    ^
    ../../third_party/skia/src/pdf/SkPDFSubsetFont.cpp:77:5: error: use of
undeclared identifier 'hb_subset_input_set_drop_hints'
        hb_subset_input_set_drop_hints(input.get(), false);
        ^
    ../../third_party/skia/src/pdf/SkPDFSubsetFont.cpp:78:19: error: use of
undeclared identifier 'hb_subset'; did you mean 'hb_set_set'?
        HBFace subset(hb_subset(face.get(), input.get()));
                      ^~~~~~~~~
                      hb_set_set
    /usr/local/include/harfbuzz/hb-set.h:131:1: note: 'hb_set_set' declared
here
    hb_set_set (hb_set_t       *set,
    ^
    ../../third_party/skia/src/pdf/SkPDFSubsetFont.cpp:78:29: error: cannot
initialize a parameter of type 'hb_set_t *' with an rvalue of type
'std::__1::unique_ptr<hb_face_t, SkFunctionWrapper<void (hb_face_t *),
&hb_face_destroy>>::pointer' (aka 'hb_face_t *')
        HBFace subset(hb_subset(face.get(), input.get()));
                                ^~~~~~~~~~
    /usr/local/include/harfbuzz/hb-set.h:131:29: note: passing argument to
parameter 'set' here
    hb_set_set (hb_set_t       *set,
                                ^

    PR:             258576
    Reported by:    pkg-fallout
    Obtained from:  Arch Linux

 devel/electron12/Makefile                         |  2 +-
 devel/electron12/files/patch-harfbuzz-3.0.0 (new) | 98 +++++++++++++++++++++++
 2 files changed, 99 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Sat Sep 18 2021 - 22:05:29 UTC

Original text of this message