git: be7aa1a61f2e - main - www/webkit2-gtk: Pull a patch from upstream fixing build with CMake 4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Sep 2026 18:20:43 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=be7aa1a61f2e050f3aecfbe8d3a9633deb72ac76
commit be7aa1a61f2e050f3aecfbe8d3a9633deb72ac76
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-09 13:19:42 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-09 18:19:24 +0000
www/webkit2-gtk: Pull a patch from upstream fixing build with CMake 4
Approved by: portmgr (fixit blanket)
---
...atch-Source_WebKit_UIProcess_glib_WebProcessPoolGLib.cpp | 4 ++--
www/webkit2-gtk/files/patch-Source_cmake_WebKitMacros.cmake | 13 +++++++++++++
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/www/webkit2-gtk/files/patch-Source_WebKit_UIProcess_glib_WebProcessPoolGLib.cpp b/www/webkit2-gtk/files/patch-Source_WebKit_UIProcess_glib_WebProcessPoolGLib.cpp
index 462bcf04a547..7e3215938bb1 100644
--- a/www/webkit2-gtk/files/patch-Source_WebKit_UIProcess_glib_WebProcessPoolGLib.cpp
+++ b/www/webkit2-gtk/files/patch-Source_WebKit_UIProcess_glib_WebProcessPoolGLib.cpp
@@ -1,6 +1,6 @@
---- Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp.orig 2024-08-29 11:52:43 UTC
+--- Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp.orig 2024-10-21 09:00:02 UTC
+++ Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp
-@@ -201,7 +201,7 @@ void WebProcessPool::setSandboxEnabled(bool enabled)
+@@ -207,7 +207,7 @@ void WebProcessPool::setSandboxEnabled(bool enabled)
return;
}
diff --git a/www/webkit2-gtk/files/patch-Source_cmake_WebKitMacros.cmake b/www/webkit2-gtk/files/patch-Source_cmake_WebKitMacros.cmake
new file mode 100644
index 000000000000..420859319601
--- /dev/null
+++ b/www/webkit2-gtk/files/patch-Source_cmake_WebKitMacros.cmake
@@ -0,0 +1,13 @@
+https://github.com/WebKit/WebKit/commit/4bfeff8c67ad47b7bb0f3d78390789f6f2af5dd2
+
+--- Source/cmake/WebKitMacros.cmake.orig 2024-08-19 06:28:40 UTC
++++ Source/cmake/WebKitMacros.cmake
+@@ -277,7 +277,7 @@ macro(_WEBKIT_TARGET_LINK_FRAMEWORK _target)
+ get_property(_linked_into GLOBAL PROPERTY ${framework}_LINKED_INTO)
+
+ # See if the target is linking a framework that the specified framework is already linked into
+- if ((NOT _linked_into) OR (${framework} STREQUAL ${_linked_into}) OR (NOT ${_linked_into} IN_LIST ${_target}_FRAMEWORKS))
++ if ((NOT _linked_into) OR (framework STREQUAL _linked_into) OR (NOT _linked_into IN_LIST ${_target}_FRAMEWORKS))
+ list(APPEND ${_target}_PRIVATE_LIBRARIES WebKit::${framework})
+
+ # The WebKit:: alias targets do not propagate OBJECT libraries so the