maintainer-feedback requested: [Bug 298257] editors/libreoffice: crashes with SAL_USE_VCLPLUGIN=gen and enabled Skia

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Sep 2026 00:16:55 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked FreeBSD Office Team
<office@FreeBSD.org> for maintainer-feedback:
Bug 298257: editors/libreoffice: crashes with SAL_USE_VCLPLUGIN=gen and enabled
Skia
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298257



--- Description ---
How to reproduce:
- install editors/libreoffice
- export SAL_USE_VCLPLUGIN=gen
- run libreoffice with the environment variable above
- Tools -> Options -> LibreOffice -> View -> select 'Use Skia for all
rendering'
- restart

Result:
ld-elf.so.1: /usr/local/lib/libreoffice/program/libvclplug_genlo.so: Undefined
symbol
"_ZN8skwindow17MakeRasterForXlibERKNS_14XlibWindowInfoENSt3__110unique_ptrIKNS_
13DisplayParamsENS3_14default_deleteIS6_EEEE"

Another way to reproduce: build the port with LDFLAGS+=-Wl,--no-undefined

The missing symbol was under 'if LINUX' condition in
external/skia/Library_skia.mk; it already has a patch for other OS support, but
in another section.

Fixed patch is attached to the bug report.