maintainer-feedback requested: [Bug 273789] textproc/libxml2: fix build with lld 17

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 14 Sep 2023 17:06:29 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 273789: textproc/libxml2: fix build with lld 17
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273789



--- Description ---
Many symbols in the linker version script libxml2.syms are only defined
when --with-xptr-locs is enabled at configure time. Since version
scripts do not support conditionals, suppress errors with lld >= 17 due
to these undefined symbols.

Note that upstream fixed this in their configure.ac in
https://gitlab.gnome.org/GNOME/libxml2/-/commit/a8fe4900b, but these changes
will only arrive in 2.12.0.