[Bug 274677] www/webkit2-gtk3: fix build with lld 17

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 23 Oct 2023 16:46:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274677

            Bug ID: 274677
           Summary: www/webkit2-gtk3: 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: gnome@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)
          Assignee: gnome@FreeBSD.org

Building www/webkit2-gtk3 with lld 17 results in the following link
errors:

  ld: error: version script assignment of 'global' to symbol
'bmalloc::PerThreadStorage<bmalloc::PerHeapKind<bmalloc::Cache>
>::s_didInitialize' failed: symbol not defined
  ld: error: version script assignment of 'global' to symbol
'bmalloc::PerThreadStorage<bmalloc::PerHeapKind<bmalloc::Cache> >::s_key'
failed: symbol not defined
  ld: error: version script assignment of 'global' to symbol
'bmalloc::vmPageSize()::cached' failed: symbol not defined

The mentioned symbols are no longer external, and have been removed in
upstream commits:

https://github.com/WebKit/WebKit/commit/655e1bb394f423d6c15de98f5874ab181076d016
https://github.com/WebKit/WebKit/commit/a1c80bec178456c109a62723ff937405cdb35b6b

Since the former does not apply cleanly due to edits in the ChangeLog,
merge the functional changes in a single port patch file.

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