pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
webkit-gtk60: move patch to currently used file
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Tue Aug 25 10:13:59 2026 +0200
Changeset: 6956555854176f22cc0bbf0db2c0ae510539d8bd
Modified Files:
webkit-gtk60/distinfo
Added Files:
webkit-gtk60/patches/patch-Source_WebKit_Platform_IPC_glib_ConnectionGLib.cpp
Removed Files:
webkit-gtk60/patches/patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp
Log Message:
webkit-gtk60: move patch to currently used file
The previous location was not compiled any longer.
While here, limit it to NetBSD.
TODO: test if this patch is really needed
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6956555854176f22cc0bbf0db2c0ae510539d8bd
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
webkit-gtk60/distinfo | 2 +-
...rce_WebKit_Platform_IPC_glib_ConnectionGLib.cpp | 24 +++++++++++++++
...rce_WebKit_Platform_IPC_unix_ConnectionUnix.cpp | 35 ----------------------
3 files changed, 25 insertions(+), 36 deletions(-)
diffs:
diff --git a/webkit-gtk60/distinfo b/webkit-gtk60/distinfo
index f2f39bc738..ba1eb76bf3 100644
--- a/webkit-gtk60/distinfo
+++ b/webkit-gtk60/distinfo
@@ -23,7 +23,7 @@ SHA1 (patch-Source_WebCore_platform_graphics_skia_PlatformDisplaySkia.cpp) = 86f
SHA1 (patch-Source_WebCore_platform_graphics_x11_XErrorTrapper.h) = af91534c48bf86e91c7f1f04bbb3e7b228e0fbc0
SHA1 (patch-Source_WebCore_rendering_RenderBox.h) = 88bcb40bef0331b7d3c095ec9d0daab0dcaac6c4
SHA1 (patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp) = ad3370c031b58778b069685a6bbdd038bc09b424
-SHA1 (patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp) = 365873c1dc93cf77d9b5eb28800d2b63f4e9da57
+SHA1 (patch-Source_WebKit_Platform_IPC_glib_ConnectionGLib.cpp) = 9e02aaacf57e2bae5bfc7a6524056ed752befbc3
SHA1 (patch-Source_WebKit_UIProcess_Launcher_glib_ProcessLauncherGLib.cpp) = 45a215a2b7a913b6fba16ff91276e2c9779e06be
SHA1 (patch-Source_WebKit_UIProcess_gtk_AcceleratedBackingStore.cpp) = e2022bdff272135ceb9894c7df52b62dba12879a
SHA1 (patch-Source_WebKit_UIProcess_gtk_DisplayX11.cpp) = 627a532dd871a194360e964fedab5cc00347db88
diff --git a/webkit-gtk60/patches/patch-Source_WebKit_Platform_IPC_glib_ConnectionGLib.cpp b/webkit-gtk60/patches/patch-Source_WebKit_Platform_IPC_glib_ConnectionGLib.cpp
new file mode 100644
index 0000000000..fc9ba4e94b
--- /dev/null
+++ b/webkit-gtk60/patches/patch-Source_WebKit_Platform_IPC_glib_ConnectionGLib.cpp
@@ -0,0 +1,24 @@
+$NetBSD$
+
+On NetBSD we see "Error sending IPC message: Message too long" due to
+the use of sendmsg with a large message body (EMSGSIZE).
+
+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/glib/ConnectionGLib.cpp.orig 2026-08-25 07:43:57.268996834 +0000
++++ Source/WebKit/Platform/IPC/glib/ConnectionGLib.cpp
+@@ -343,8 +343,12 @@ bool Connection::sendOutgoingMessage(UniqueRef<Encoder
+ return false;
+ }
+
++#if !defined(__NetBSD__)
+ size_t messageSizeWithBodyInline = sizeof(MessageInfo) + (outputMessage.attachments().size() * sizeof(AttachmentInfo)) + outputMessage.bodySize();
+ if (messageSizeWithBodyInline > s_messageMaxSize && outputMessage.bodySize()) {
++#else
++ {
++#endif
+ if (!outputMessage.setBodyOutOfLine())
+ return false;
+ }
diff --git a/webkit-gtk60/patches/patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp b/webkit-gtk60/patches/patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp
deleted file mode 100644
index e0414b2dc9..0000000000
--- a/webkit-gtk60/patches/patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD: patch-Source_WebKit_Platform_IPC_unix_ConnectionUnix.cpp,v 1.3 2021/01/12 15:21:31 jperkin Exp $
-
-On NetBSD we see "Error sending IPC message: Message too long" due to
-the use of sendmsg with a large message body (EMSGSIZE).
-
-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 2026-02-23 14:40:56.269296200 +0000
-+++ Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp
-@@ -56,6 +56,10 @@
- #define SOCKET_TYPE SOCK_DGRAM
- #endif
-
-+#ifndef MSG_NOSIGNAL
-+#define MSG_NOSIGNAL 0
-+#endif
-+
- WTF_ALLOW_UNSAFE_BUFFER_USAGE_BEGIN // Unix port
-
- namespace IPC {
-@@ -374,8 +378,12 @@ bool Connection::sendOutgoingMessage(UniqueRef<Encoder
- return false;
- }
-
-+#if 0
- size_t messageSizeWithBodyInline = sizeof(MessageInfo) + (outputMessage.attachments().size() * sizeof(AttachmentInfo)) + outputMessage.bodySize();
- if (messageSizeWithBodyInline > messageMaxSize && outputMessage.bodySize()) {
-+#else
-+ {
-+#endif
- if (!outputMessage.setBodyOutOfLine())
- return false;
- }
Home |
Main Index |
Thread Index |
Old Index