maintainer-feedback requested: [Bug 274356] x11/libxklavier: fix build with lld 17

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 08 Oct 2023 15:26:55 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gnome (Nobody)
<gnome@FreeBSD.org> for maintainer-feedback:
Bug 274356: x11/libxklavier: fix build with lld 17
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274356



--- Description ---
Building x11/libxklavier with lld 17 results in the following link
error:

  libtool: link: cc -shared  -fPIC -DPIC  .libs/xkl-enum-types.o
.libs/xklavier.o .libs/xklavier_evt.o .libs/xklavier_config.o
.libs/xklavier_config_iso.o .libs/xklavier_xkb.o .libs/xklavier_evt_xkb.o
.libs/xklavier_config_xkb.o .libs/xklavier_toplevel.o .libs/xklavier_xmm.o
.libs/xklavier_xmm_opts.o .libs/xklavier_evt_xmm.o .libs/xklavier_config_xmm.o
.libs/xklavier_util.o .libs/xklavier_props.o .libs/xklavier_dump.o
.libs/xkl_engine_marshal.o   -L/usr/local/lib -lxml2 -lgobject-2.0 -lglib-2.0
-lintl -lXi -lxkbfile -lX11  -O2 -fstack-protector-strong
-fstack-protector-strong -Wl,-rpath -Wl,/usr/local/lib	 -Wl,-soname
-Wl,libxklavier.so.16 -Wl,-version-script -Wl,.libs/libxklavier.so.16.3.0-ver
-o .libs/libxklavier.so.16.3.0
  ld: error: version script assignment of 'global' to symbol
'xkl_engine_VOID__FLAGS_INT_BOOLEAN' failed: symbol not defined
  cc: error: linker command failed with exit code 1 (use -v to see invocation)

The mentioned symbol has been removed from libxklavier at some point,
and can be deleted from the linker version script.