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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 18 Sep 2021 21:32:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258576

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=17218fbbe7992e766373e403fc91b8a6eaa8468f

commit 17218fbbe7992e766373e403fc91b8a6eaa8468f
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-09-18 17:23:51 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-09-18 21:31:34 +0000

    www/chromium: 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, Stefan Ehmann
    Obtained from:  Arch Linux

 www/chromium/Makefile                         |  2 +-
 www/chromium/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.