[Bug 273789] textproc/libxml2: fix build with lld 17

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 14 Sep 2023 17:06:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273789

            Bug ID: 273789
           Summary: textproc/libxml2: fix build with lld 17
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: dim@FreeBSD.org
          Assignee: desktop@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.