Created attachment 273300 [details] ports patch ja-ebview-gtk2-0.3.6_20 crashes immediately after startup on FreeBSD 14.4. The crash is caused by the use of the obsolete PangoX API. Replacing the following two lines in src/preference.c fixes the problem: --- src/preference.c.orig +++ src/preference.c @@ -27,7 +27,7 @@ #ifdef __WIN32__ #include <pango/pangowin32.h> #else -#include <pango/pangox.h> +#include <pango/pangocairo.h> #endif #include "dictbar.h" @@ -429,7 +429,7 @@ return; } - fontmap = pango_x_font_map_for_display(display); + fontmap = pango_cairo_font_map_get_default(); #endif
Created attachment 273301 [details] Fix crashes immediately after startup Since japanese/ebview was removed in 2014, remove CONFLICTS. Switch from REINPLACE_CMD to patchfile.
Created attachment 273302 [details] Fix crashes immediately after startup
Go forward
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e1c65a93e348dddf2ab5a5b099f4d2fae262d0b2 commit e1c65a93e348dddf2ab5a5b099f4d2fae262d0b2 Author: Yasue Takeshi <yasue@meigaku.ac.jp> AuthorDate: 2026-07-30 02:43:59 +0000 Commit: Kousuke Kannagi <mce@FreeBSD.org> CommitDate: 2026-07-31 08:15:26 +0000 japanese/ebview-gtk2: Fix crashes immediately after startup Since japanese/ebview was removed in 2014, remove CONFLICTS. Switch from REINPLACE_CMD to patchfile. PR: 297153 Approved by: fluffy (mentor) Co-authored-by: mce japanese/ebview-gtk2/Makefile | 15 ++++++--------- japanese/ebview-gtk2/files/patch-src_ebview.c (new) | 11 +++++++++++ .../ebview-gtk2/files/patch-src_preference.c (new) | 20 ++++++++++++++++++++ 3 files changed, 37 insertions(+), 9 deletions(-)
(In reply to commit-hook from comment #4) I forgot MFH: 2026Q3.