ports/www/webkit2-gtk3/files/patch-Source_WebKit_webkitglib-symbols.map
Dimitry Andric 89d10367e4 www/webkit2-gtk3: fix build with lld 17
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:

655e1bb394
a1c80bec17

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

PR:		274677
Approved by:	gnome (blanket)
MFH:		2023Q4
2023-10-23 18:55:35 +02:00

12 lines
574 B
Text

--- Source/WebKit/webkitglib-symbols.map.orig 2021-05-17 13:22:43 UTC
+++ Source/WebKit/webkitglib-symbols.map
@@ -3,9 +3,6 @@ global:
jsc_*;
webkit_*;
extern "C++" {
- "bmalloc::PerThreadStorage<bmalloc::PerHeapKind<bmalloc::Cache> >::s_didInitialize";
- "bmalloc::PerThreadStorage<bmalloc::PerHeapKind<bmalloc::Cache> >::s_key";
- "bmalloc::vmPageSize()::cached";
"WebKit::NetworkProcessMain(int, char**)";
"WebKit::WebKitExtensionManager::initialize(WebKit::InjectedBundle*, API::Object*)";
"WebKit::WebKitExtensionManager::singleton()";