Created attachment 234980 [details] Update to 0.3.8 Update to 0.3.8 and fix build with mupdf-1.20
(In reply to Wen Heping from comment #0) The mupdf update is pending: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258977
(In reply to Zsolt Udvari from comment #1) I know, I shall commit the update to 1.20 with your approvement.
Friendly ping
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=40511fbefbd83168e749ba0ba28e4dbc4191e7eb commit 40511fbefbd83168e749ba0ba28e4dbc4191e7eb Author: Wen Heping <wen@FreeBSD.org> AuthorDate: 2022-11-26 00:11:50 +0000 Commit: Wen Heping <wen@FreeBSD.org> CommitDate: 2022-11-26 00:11:50 +0000 graphics/zathura-pdf-mupdf: Update to 0.3.8 PR: 264938 Reported by: wen@ Approved by: maintainer graphics/zathura-pdf-mupdf/Makefile | 7 +++---- graphics/zathura-pdf-mupdf/distinfo | 6 +++--- .../files/patch-zathura-pdf-mupdf_index.c (gone) | 11 ----------- .../files/patch-zathura-pdf-mupdf_links.c (gone) | 15 --------------- 4 files changed, 6 insertions(+), 33 deletions(-)
Oh, and it still failed after update FAILED: libpdf-mupdf.so.p/zathura-pdf-mupdf_search.c.o cc -Ilibpdf-mupdf.so.p -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/ha ../zathura-pdf-mupdf/search.c:44:39: error: too few arguments to function call, expected 6, have 5 text, hit_bbox, N_SEARCH_RESULTS); ^ /usr/local/include/mupdf/fitz/structured-text.h:248:5: note: 'fz_search_stext_page' declared here int fz_search_stext_page(fz_context *ctx, fz_stext_page *text, const char *needle, int *hit_mark, fz_quad *hit_bbox, int hit_max); ^ 1 error generated. ninja: build stopped: subcommand failed.
Under working: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268406
This bugreport is outdated. Please close it. Thanks.