pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

webkit-gtk: update to 2.52.1



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Apr 1 22:07:40 2026 +0200
Changeset:	015a876217a93147a8a2d63560dc129b53574931

Modified Files:
	webkit-gtk/Makefile
	webkit-gtk/TODO
	webkit-gtk/distinfo
	webkit-gtk/patches/patch-Source_JavaScriptCore_runtime_JSCBytecodeCacheVersion.cpp
	webkit-gtk/patches/patch-Source_WebCore_page_NavigatorBase.cpp
	webkit-gtk/patches/patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp
	webkit-gtk/patches/patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp
	webkit-gtk/patches/patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp
Removed Files:
	webkit-gtk/patches/patch-Source_JavaScriptCore_runtime_JSCJSValueInlines.h

Log Message:
webkit-gtk: update to 2.52.1

new build failure, reported upstream

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=015a876217a93147a8a2d63560dc129b53574931

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 webkit-gtk/Makefile                                |  2 +-
 webkit-gtk/TODO                                    | 27 ++++++++++++++++++++++
 webkit-gtk/distinfo                                | 17 +++++++-------
 ...aScriptCore_runtime_JSCBytecodeCacheVersion.cpp |  8 +++----
 ...urce_JavaScriptCore_runtime_JSCJSValueInlines.h | 19 ---------------
 .../patch-Source_WebCore_page_NavigatorBase.cpp    | 12 +++++-----
 ...platform_graphics_gbm_MemoryMappedGPUBuffer.cpp | 12 +++++-----
 ...e_WebCore_rendering_shapes_ShapeOutsideInfo.cpp |  6 ++---
 ...rce_WebKit_Platform_IPC_unix_ConnectionUnix.cpp | 12 +++++-----
 9 files changed, 61 insertions(+), 54 deletions(-)

diffs:
diff --git a/webkit-gtk/Makefile b/webkit-gtk/Makefile
index 994f8fe5d8..55dbf16f2a 100644
--- a/webkit-gtk/Makefile
+++ b/webkit-gtk/Makefile
@@ -3,7 +3,7 @@
 # Some environment variables that can help debugging this:
 # https://trac.webkit.org/wiki/EnvironmentVariables
 
-DISTNAME=	webkitgtk-2.50.6
+DISTNAME=	webkitgtk-2.52.1
 PKGNAME=	${DISTNAME:S/webkitgtk/webkit-gtk/}
 CATEGORIES=	www
 MASTER_SITES=	https://www.webkitgtk.org/releases/
diff --git a/webkit-gtk/TODO b/webkit-gtk/TODO
index 9736ed7408..8364d3e247 100644
--- a/webkit-gtk/TODO
+++ b/webkit-gtk/TODO
@@ -1,3 +1,30 @@
+NEW in 2.52.1:
+
+[183/8757] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/glib/FileSystemGlib.cpp.o
+FAILED: [code=1] Source/WTF/wtf/CMakeFiles/WTF.dir/glib/FileSystemGlib.cpp.o
+/tmp/wip/webkit-gtk/work/.cwrapper/bin/c++ -DBUILDING_GTK__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WTF -DGETTEXT_PACKAGE=\"WebKitGTK-4.1\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DPAS_BMALLOC=1 -DUSER_AGENT_BRANDING="\"Linux x86_64\"" -D_GLIBCXX_ASSERTIONS=1 -I/tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/cmake-pkgsrc-build -I/tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/cmake-pkgsrc-build/WTF/DerivedSources -I/tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF -I/tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf -I/tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/dtoa -I/tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/fast_float -I/tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/persistence -I/tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/simdutf -I/tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/text -I/tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/text/icu -I/tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Sou
rce/WTF/wtf/threads -I/tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/unicode -isystem /usr/pkg/include -isystem /usr/pkg/include/glib-2.0 -isystem /usr/pkg/lib/glib-2.0/include -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-subobject-linkage -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -fasynchronous-unwind-tables -O2 -Wno-unused-parameter -Wno-undef -gdwarf64 -fstack-clash-protection -I/usr/include -I/usr/pkg/include/python3.14 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/gstreamer-1.0 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/libdrm -I/usr/pkg/include/gst
 reamer-1.0 -Wno-unused-parameter -Wno-undef -gdwarf64 -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=512 -DSTRUCTURE_HEAP_ADDRESS_SIZE_IN_MB=256 -fno-strict-aliasing -fno-exceptions -fno-rtti -fcoroutines -ffunction-sections -fdata-sections -DNDEBUG -std=c++23 -fPIC -fvisibility=hidden -I/usr/pkg/include -pthread -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -MD -MT Source/WTF/wtf/CMakeFiles/WTF.dir/glib/FileSystemGlib.cpp.o -MF Source/WTF/wtf/CMakeFiles/WTF.dir/glib/FileSystemGlib.cpp.o.d -o Source/WTF/wtf/CMakeFiles/WTF.dir/glib/FileSystemGlib.cpp.o -c /tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/glib/FileSystemGlib.cpp
+/tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/glib/FileSystemGlib.cpp: In function 'WTF::CString WTF::FileSystemImpl::currentExecutablePath()':
+/tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/glib/FileSystemGlib.cpp:99:44: error: call of overloaded 'CString(<brace-enclosed initializer list>)' is ambiguous
+   99 |     return CString({readLinkBuffer, result});
+      |                                            ^
+In file included from /tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/text/StringView.h:33,
+                 from /tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/text/StringConcatenate.h:34,
+                 from /tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/text/AtomString.h:349,
+                 from /tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/text/WTFString.h:605,
+                 from /tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/FileSystem.h:43,
+                 from /tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/glib/FileSystemGlib.cpp:24:
+/tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/text/CString.h:136:8: note: candidate: 'WTF::CString::CString(const std::string&)'
+  136 | inline CString::CString(const std::string& value)
+      |        ^~~~~~~
+/tmp/wip/webkit-gtk/work/webkitgtk-2.52.1/Source/WTF/wtf/text/CString.h:75:24: note: candidate: 'WTF::CString::CString(std::span<const char>)'
+   75 |     WTF_EXPORT_PRIVATE CString(std::span<const char>); // Any encoding
+      |                        ^~~~~~~
+[198/8757] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/generic/MemoryPressureHandlerGeneric.cpp.o
+
+
+
+OLD:
+
 pkg_add: webkit-gtk-2.50.4: missing required library: /tmp/wip/webkit-gtk/work/.buildlink/lib/libsqlite3.so
 
 Test with $PREFIX/libexec/webkit2gtk-4.1/MiniBrowser:
diff --git a/webkit-gtk/distinfo b/webkit-gtk/distinfo
index ce6797d8cb..fc0abebfff 100644
--- a/webkit-gtk/distinfo
+++ b/webkit-gtk/distinfo
@@ -1,11 +1,10 @@
 $NetBSD$
 
-BLAKE2s (webkitgtk-2.50.6.tar.xz) = 643c89cbbb9261bbab13f98b4aa4e6a8cf02dae54799ed5a47a71a961901eaac
-SHA512 (webkitgtk-2.50.6.tar.xz) = 62723af51a14aa2352a2ac54b5dab975afce1aee8ce43924666da08f280495c83b86649ff00fb59fcc0cc0ca80b9a78843b1c0ed568a2d77a2312c13889d8ab4
-Size (webkitgtk-2.50.6.tar.xz) = 43831020 bytes
+BLAKE2s (webkitgtk-2.52.1.tar.xz) = 844053a175c8c2c46d5cdb9c72bdb8691b60241a605b7b69c1a26b8911aabc68
+SHA512 (webkitgtk-2.52.1.tar.xz) = 2798e2d94bcdde954e5cacfbae68219918dc2f9fae357ae8289e54db9d2ae6553b98819f073d8421d207ac55b07ec3838211602b4aeda2de248d6861ba1b3421
+Size (webkitgtk-2.52.1.tar.xz) = 65036140 bytes
 SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = 20d09e1c226cfff707659ffa35a2c2c3f1cdb617
-SHA1 (patch-Source_JavaScriptCore_runtime_JSCBytecodeCacheVersion.cpp) = 5c96cbf6c426b75fe808f6cb4acc9075a264796a
-SHA1 (patch-Source_JavaScriptCore_runtime_JSCJSValueInlines.h) = 4d0a96c42f4532d0e5b385e75421df1968860a1b
+SHA1 (patch-Source_JavaScriptCore_runtime_JSCBytecodeCacheVersion.cpp) = 946356c2c8e74a245b4fdd06f6a9a44cfa8af8f0
 SHA1 (patch-Source_JavaScriptCore_runtime_MathCommon.cpp) = 4535d1aed5e92da2d459097516ee01d9faddfd0d
 SHA1 (patch-Source_ThirdParty_ANGLE_src_common_SimpleMutex.h) = 6cd83b9ec476ed39adecec6b30e898bda8e5b76d
 SHA1 (patch-Source_ThirdParty_ANGLE_src_common_platform.h) = 2fda057edc3dde3356f0663ec5aa52cb61fb1229
@@ -16,11 +15,11 @@ SHA1 (patch-Source_ThirdParty_skia_src_ports_SkMemory__malloc.cpp) = e277d988eea
 SHA1 (patch-Source_WTF_wtf_InlineASM.h) = 35afdd5143f4a2df8a5554a0b0b35141a8784c6c
 SHA1 (patch-Source_WTF_wtf_PlatformEnable.h) = 905b2b4bf4b8c90cf91eb8ecf1d414013cc3bcbb
 SHA1 (patch-Source_WTF_wtf_glib_FileSystemGlib.cpp) = a46ae871e2c0919da94bcb14a2b94d0e5a911922
-SHA1 (patch-Source_WebCore_page_NavigatorBase.cpp) = 1549a9bbbc11129e42995719d592ab747413eef6
-SHA1 (patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp) = 89b8f7d0e411f21078c751e0d0dd904322222f8c
+SHA1 (patch-Source_WebCore_page_NavigatorBase.cpp) = 40a1c832e0df382e39cecb6c57527731e7c63c52
+SHA1 (patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp) = 3e95b73709a3a39cd130dcaf4bf440e9c0195fa5
 SHA1 (patch-Source_WebCore_rendering_RenderBox.h) = 88bcb40bef0331b7d3c095ec9d0daab0dcaac6c4
-SHA1 (patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp) = 9d75ffa335014b123611da2c32d124e5a9bb41fd
-SHA1 (patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp) = dde292d5a8be48502253930e42126edee8f85460
+SHA1 (patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp) = ad3370c031b58778b069685a6bbdd038bc09b424
+SHA1 (patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp) = 365873c1dc93cf77d9b5eb28800d2b63f4e9da57
 SHA1 (patch-Source_WebKit_UIProcess_Launcher_glib_ProcessLauncherGLib.cpp) = 45a215a2b7a913b6fba16ff91276e2c9779e06be
 SHA1 (patch-Source_WebKit_UIProcess_gtk_AcceleratedBackingStore.cpp) = e2022bdff272135ceb9894c7df52b62dba12879a
 SHA1 (patch-Source_bmalloc_bmalloc_AvailableMemory.cpp) = 814ba3dc4f941ea13811f6c8d3d7a8ed47844c16
diff --git a/webkit-gtk/patches/patch-Source_JavaScriptCore_runtime_JSCBytecodeCacheVersion.cpp b/webkit-gtk/patches/patch-Source_JavaScriptCore_runtime_JSCBytecodeCacheVersion.cpp
index f7b7fe63da..e57c4a0966 100644
--- a/webkit-gtk/patches/patch-Source_JavaScriptCore_runtime_JSCBytecodeCacheVersion.cpp
+++ b/webkit-gtk/patches/patch-Source_JavaScriptCore_runtime_JSCBytecodeCacheVersion.cpp
@@ -7,14 +7,14 @@ In file included from /scratch/wip/webkit-gtk-2.46/work/webkitgtk-2.50.0/cmake-p
       |                                                 ^~~~~~~~~~~~~~~
 
 
---- Source/JavaScriptCore/runtime/JSCBytecodeCacheVersion.cpp.orig	2025-09-23 16:42:34.984982333 +0000
+--- Source/JavaScriptCore/runtime/JSCBytecodeCacheVersion.cpp.orig	2026-02-23 14:40:52.423317200 +0000
 +++ Source/JavaScriptCore/runtime/JSCBytecodeCacheVersion.cpp
-@@ -66,7 +66,7 @@ uint32_t computeJSCBytecodeCacheVersion(
+@@ -68,7 +68,7 @@ uint32_t computeJSCBytecodeCacheVersion()
          }
          cacheVersion.construct(0);
          dataLogLnIf(JSCBytecodeCacheVersionInternal::verbose, "Failed to get UUID for JavaScriptCore framework");
--#elif OS(UNIX) && !PLATFORM(PLAYSTATION) && !OS(HAIKU)
-+#elif OS(UNIX) && !PLATFORM(PLAYSTATION) && !OS(HAIKU) && !OS(NETBSD)
+-#elif OS(UNIX) && !PLATFORM(PLAYSTATION) && !OS(HAIKU) && !OS(QNX)
++#elif OS(UNIX) && !PLATFORM(PLAYSTATION) && !OS(HAIKU) && !OS(QNX) && !OS(NETBSD)
          auto result = ([&] -> std::optional<uint32_t> {
              Dl_info info { };
              if (!dladdr(jsFunctionAddr, &info))
diff --git a/webkit-gtk/patches/patch-Source_JavaScriptCore_runtime_JSCJSValueInlines.h b/webkit-gtk/patches/patch-Source_JavaScriptCore_runtime_JSCJSValueInlines.h
deleted file mode 100644
index 84f0b7e70f..0000000000
--- a/webkit-gtk/patches/patch-Source_JavaScriptCore_runtime_JSCJSValueInlines.h
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD$
-
-/scratch/wip/webkit-gtk-2.46/work/webkitgtk-2.50.0/Source/JavaScriptCore/runtime/JSCJSValueInlines.h:136:12: error: 'isnan' was not declared in this scope; did you mean 'std::isnan'?
-  136 |     return isnan(d) ? 0.0 : trunc(d) + 0.0;
-      |            ^~~~~
-      |            std::isnan
-
-
---- Source/JavaScriptCore/runtime/JSCJSValueInlines.h.orig	2025-09-23 16:35:34.449018790 +0000
-+++ Source/JavaScriptCore/runtime/JSCJSValueInlines.h
-@@ -133,7 +133,7 @@ inline double JSValue::toIntegerOrInfini
-     if (isInt32())
-         return asInt32();
-     double d = toNumber(globalObject);
--    return isnan(d) ? 0.0 : trunc(d) + 0.0;
-+    return std::isnan(d) ? 0.0 : trunc(d) + 0.0;
- }
- 
- inline bool JSValue::isUInt32() const
diff --git a/webkit-gtk/patches/patch-Source_WebCore_page_NavigatorBase.cpp b/webkit-gtk/patches/patch-Source_WebCore_page_NavigatorBase.cpp
index 15168dffd3..ccbbb446aa 100644
--- a/webkit-gtk/patches/patch-Source_WebCore_page_NavigatorBase.cpp
+++ b/webkit-gtk/patches/patch-Source_WebCore_page_NavigatorBase.cpp
@@ -1,8 +1,8 @@
 $NetBSD$
 
---- Source/WebCore/page/NavigatorBase.cpp.orig	2024-08-19 06:28:39.239276400 +0000
+--- Source/WebCore/page/NavigatorBase.cpp.orig	2026-02-23 14:40:55.413300800 +0000
 +++ Source/WebCore/page/NavigatorBase.cpp
-@@ -41,7 +41,7 @@
+@@ -46,7 +46,7 @@
  #include <wtf/text/MakeString.h>
  #include <wtf/text/WTFString.h>
  
@@ -11,12 +11,12 @@ $NetBSD$
  #include "sys/utsname.h"
  #include <wtf/StdLibExtras.h>
  #endif
-@@ -89,7 +89,7 @@ String NavigatorBase::appVersion() const
+@@ -96,7 +96,7 @@ String NavigatorBase::platform() const
  
  String NavigatorBase::platform() const
  {
 -#if OS(LINUX)
 +#if OS(LINUX) || OS(NETBSD)
-     static LazyNeverDestroyed<String> platformName;
-     static std::once_flag onceKey;
-     std::call_once(onceKey, [] {
+     static NeverDestroyed<String> platformName = [] {
+         struct utsname osname;
+         return uname(&osname) >= 0 ? makeString(unsafeSpan(osname.sysname), " "_s, unsafeSpan(osname.machine)) : emptyString();
diff --git a/webkit-gtk/patches/patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp b/webkit-gtk/patches/patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp
index 1682bb4291..c5199d5fb2 100644
--- a/webkit-gtk/patches/patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp
+++ b/webkit-gtk/patches/patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp
@@ -1,18 +1,18 @@
 $NetBSD$
 
---- Source/WebCore/platform/graphics/gbm/MemoryMappedGPUBuffer.cpp.orig	2025-10-29 09:54:43.774761997 +0000
+--- Source/WebCore/platform/graphics/gbm/MemoryMappedGPUBuffer.cpp.orig	2026-03-08 22:16:59.683749700 +0000
 +++ Source/WebCore/platform/graphics/gbm/MemoryMappedGPUBuffer.cpp
-@@ -35,7 +35,9 @@
- #include "PlatformDisplay.h"
+@@ -36,7 +36,9 @@
+ #include "VivanteSuperTiledTextureInlines.h"
  #include <epoxy/egl.h>
  #include <fcntl.h>
 +#ifdef __linux__
  #include <linux/dma-buf.h>
 +#endif
  #include <sys/ioctl.h>
+ #include <sys/mman.h>
  #include <wtf/SafeStrerror.h>
- #include <wtf/StdLibExtras.h>
-@@ -342,6 +344,7 @@ std::unique_ptr<MemoryMappedGPUBuffer::A
+@@ -406,6 +408,7 @@ bool MemoryMappedGPUBuffer::performDMABufSyncSystemCal
  
  bool MemoryMappedGPUBuffer::performDMABufSyncSystemCall(OptionSet<DMABufSyncFlag> flags)
  {
@@ -20,7 +20,7 @@ $NetBSD$
      constexpr unsigned maxRetries = 10;
  
      struct dma_buf_sync sync;
-@@ -371,6 +374,9 @@ bool MemoryMappedGPUBuffer::performDMABu
+@@ -435,6 +438,9 @@ bool MemoryMappedGPUBuffer::performDMABufSyncSystemCal
      }
  
      return true;
diff --git a/webkit-gtk/patches/patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp b/webkit-gtk/patches/patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp
index d0734f04f2..55d139250d 100644
--- a/webkit-gtk/patches/patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp
+++ b/webkit-gtk/patches/patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp
@@ -2,12 +2,12 @@ $NetBSD$
 
 ShapeOutsideInfo.cpp:140:16: error: 'isnan' was not declared in this scope; did you mean 'std::isnan'?
 
---- Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp.orig	2025-08-08 09:17:55.564470500 +0000
+--- Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp.orig	2026-02-23 14:40:55.846298500 +0000
 +++ Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp
-@@ -257,7 +257,7 @@ Ref<const LayoutShape> makeShapeForShape
+@@ -257,7 +257,7 @@ Ref<const LayoutShape> makeShapeForShapeOutside(const 
  
      auto logicalMargin = [&] {
-         auto shapeMargin = Style::evaluate(style.shapeMargin(), containingBlock.contentBoxLogicalWidth()).toFloat();
+         auto shapeMargin = Style::evaluate<LayoutUnit>(style.shapeMargin(), containingBlock.contentBoxLogicalWidth(), Style::ZoomNeeded { }).toFloat();
 -        return isnan(shapeMargin) ? 0.0f : shapeMargin;
 +        return std::isnan(shapeMargin) ? 0.0f : shapeMargin;
      }();
diff --git a/webkit-gtk/patches/patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp b/webkit-gtk/patches/patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp
index 908d7d2747..e0414b2dc9 100644
--- a/webkit-gtk/patches/patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp
+++ b/webkit-gtk/patches/patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp
@@ -7,11 +7,11 @@ WebKit already uses shared memory to communicate the message body when
 the message is too large, so force it to always use this method to avoid
 encountering EMSGSIZE.
 
---- Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp.orig	2025-05-17 14:36:17.895637982 +0000
+--- Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp.orig	2026-02-23 14:40:56.269296200 +0000
 +++ Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp
-@@ -64,6 +64,10 @@
+@@ -56,6 +56,10 @@
+ #define SOCKET_TYPE SOCK_DGRAM
  #endif
- #endif // SOCK_SEQPACKET
  
 +#ifndef MSG_NOSIGNAL
 +#define MSG_NOSIGNAL   0
@@ -20,7 +20,7 @@ encountering EMSGSIZE.
  WTF_ALLOW_UNSAFE_BUFFER_USAGE_BEGIN // Unix port
  
  namespace IPC {
-@@ -424,8 +428,12 @@ bool Connection::sendOutgoingMessage(Uni
+@@ -374,8 +378,12 @@ bool Connection::sendOutgoingMessage(UniqueRef<Encoder
          return false;
      }
  
@@ -30,6 +30,6 @@ encountering EMSGSIZE.
 +#else
 +    {
 +#endif
-         RefPtr oolMessageBody = WebCore::SharedMemory::allocate(outputMessage.bodySize());
-         if (!oolMessageBody)
+         if (!outputMessage.setBodyOutOfLine())
              return false;
+     }


Home | Main Index | Thread Index | Old Index