pkgsrc-WIP-changes archive

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

webkit-gtk-2.46: update to 2.50.0 (doesn't link)



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Tue Sep 23 18:56:29 2025 +0200
Changeset:	cbd663067940fb83b8ed604f1ad4832a20f0ca47

Modified Files:
	webkit-gtk-2.46/Makefile
	webkit-gtk-2.46/TODO
	webkit-gtk-2.46/distinfo
	webkit-gtk-2.46/patches/patch-Source_JavaScriptCore_runtime_JSCBytecodeCacheVersion.cpp
	webkit-gtk-2.46/patches/patch-Source_WebCore_rendering_RenderBox.h
	webkit-gtk-2.46/patches/patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp
Added Files:
	webkit-gtk-2.46/patches/patch-Source_JavaScriptCore_runtime_JSCJSValueInlines.h
	webkit-gtk-2.46/patches/patch-Source_WebKit_UIProcess_gtk_AcceleratedBackingStore.cpp
Removed Files:
	webkit-gtk-2.46/patches/patch-Source_WebKit_UIProcess_gtk_AcceleratedBackingStoreDMABuf.cpp

Log Message:
webkit-gtk-2.46: update to 2.50.0 (doesn't link)

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

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

diffstat:
 webkit-gtk-2.46/Makefile                           |  2 +-
 webkit-gtk-2.46/TODO                               | 26 ++++++++++++++++++++++
 webkit-gtk-2.46/distinfo                           | 15 +++++++------
 ...aScriptCore_runtime_JSCBytecodeCacheVersion.cpp | 13 +++++++----
 ...urce_JavaScriptCore_runtime_JSCJSValueInlines.h | 19 ++++++++++++++++
 .../patch-Source_WebCore_rendering_RenderBox.h     |  8 +++----
 ...e_WebCore_rendering_shapes_ShapeOutsideInfo.cpp | 10 ++++-----
 ...ebKit_UIProcess_gtk_AcceleratedBackingStore.cpp | 18 +++++++++++++++
 ...UIProcess_gtk_AcceleratedBackingStoreDMABuf.cpp | 18 ---------------
 9 files changed, 90 insertions(+), 39 deletions(-)

diffs:
diff --git a/webkit-gtk-2.46/Makefile b/webkit-gtk-2.46/Makefile
index 57ebf87fa4..e74b49fc44 100644
--- a/webkit-gtk-2.46/Makefile
+++ b/webkit-gtk-2.46/Makefile
@@ -3,7 +3,7 @@
 # Some environment variables that can help debugging this:
 # https://trac.webkit.org/wiki/EnvironmentVariables
 
-DISTNAME=	webkitgtk-2.48.5
+DISTNAME=	webkitgtk-2.50.0
 PKGNAME=	${DISTNAME:S/webkitgtk/webkit-gtk/}
 CATEGORIES=	www
 MASTER_SITES=	https://www.webkitgtk.org/releases/
diff --git a/webkit-gtk-2.46/TODO b/webkit-gtk-2.46/TODO
index 9b18cb3d0d..1b1e4cbf5d 100644
--- a/webkit-gtk-2.46/TODO
+++ b/webkit-gtk-2.46/TODO
@@ -1,3 +1,29 @@
+2.50.0: build failure:
+
+ld: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-ee8a7a7a-7.cpp.o: in function `JSC::StructureAlignedMemoryAllocator::freeAlignedMemory(void*)':
+/scratch/wip/webkit-gtk-2.46/work/webkitgtk-2.50.0/cmake-pkgsrc-build/bmalloc/Headers/bmalloc/pas_thread_local_cache.h:99:(.text._ZN3JSC31StructureAlignedMemoryAllocator17freeAlignedMemoryEPv+0x34): undefined reference to `pas_thread_local_cache_pointer'
+ld: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-ee8a7a7a-7.cpp.o: in function `JSC::StructureAlignedMemoryAllocator::freeAlignedMemory(void*)':
+/scratch/wip/webkit-gtk-2.46/work/webkitgtk-2.50.0/cmake-pkgsrc-build/bmalloc/Headers/bmalloc/pas_bitvector.h:78:(.text._ZN3JSC31StructureAlignedMemoryAllocator17freeAlignedMemoryEPv+0x70): undefined reference to `bmalloc_megapage_table'
+ld: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-ee8a7a7a-7.cpp.o: in function `JSC::StructureAlignedMemoryAllocator::freeAlignedMemory(void*)':
+/scratch/wip/webkit-gtk-2.46/work/webkitgtk-2.50.0/Source/JavaScriptCore/heap/StructureAlignedMemoryAllocator.cpp:223:(.text._ZN3JSC31StructureAlignedMemoryAllocator17freeAlignedMemoryEPv+0xc6): undefined reference to `bmalloc_megapage_table'
+ld: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-ee8a7a7a-7.cpp.o: in function `JSC::StructureAlignedMemoryAllocator::freeAlignedMemory(void*)':
+/scratch/wip/webkit-gtk-2.46/work/webkitgtk-2.50.0/cmake-pkgsrc-build/bmalloc/Headers/bmalloc/pas_deallocate.h:209:(.text._ZN3JSC31StructureAlignedMemoryAllocator17freeAlignedMemoryEPv+0x232): undefined reference to `bmalloc_heap_config'
+ld: /scratch/wip/webkit-gtk-2.46/work/webkitgtk-2.50.0/cmake-pkgsrc-build/bmalloc/Headers/bmalloc/pas_deallocate.h:174:(.text._ZN3JSC31StructureAlignedMemoryAllocator17freeAlignedMemoryEPv+0x12e): undefined reference to `bmalloc_heap_config_specialized_try_deallocate_not_small_exclusive_segregated'
+ld: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-ee8a7a7a-7.cpp.o: in function `pas_try_deallocate':
+/scratch/wip/webkit-gtk-2.46/work/webkitgtk-2.50.0/cmake-pkgsrc-build/bmalloc/Headers/bmalloc/pas_deallocate.h:209:(.text._ZN3JSC31StructureAlignedMemoryAllocator17freeAlignedMemoryEPv+0x246): undefined reference to `pas_try_deallocate_slow_no_cache'
+ld: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-ee8a7a7a-7.cpp.o: in function `JSC::StructureAlignedMemoryAllocator::freeAlignedMemory(void*)':
+/scratch/wip/webkit-gtk-2.46/work/webkitgtk-2.50.0/cmake-pkgsrc-build/bmalloc/Headers/bmalloc/pas_thread_local_cache.h:403:(.text._ZN3JSC31StructureAlignedMemoryAllocator17freeAlignedMemoryEPv+0x269): undefined reference to `pas_thread_local_cache_append_deallocation_slow'
+ld: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-ee8a7a7a-7.cpp.o: in function `JSC::StructureMemoryManager::StructureMemoryManager()':
+/scratch/wip/webkit-gtk-2.46/work/webkitgtk-2.50.0/Source/JavaScriptCore/heap/StructureAlignedMemoryAllocator.cpp:117:(.text._ZN3JSC22StructureMemoryManagerC2Ev[_ZN3JSC22StructureMemoryManagerC5Ev]+0xed): undefined reference to `bmalloc_force_auxiliary_heap_into_reserved_memory'
+ld: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-ee8a7a7a-7.cpp.o: in function `JSC::StructureMemoryManager::tryMallocStructureBlock()':
+/scratch/wip/webkit-gtk-2.46/work/webkitgtk-2.50.0/cmake-pkgsrc-build/bmalloc/Headers/bmalloc/pas_thread_local_cache.h:99:(.text._ZN3JSC22StructureMemoryManager23tryMallocStructureBlockEv[_ZN3JSC22StructureMemoryManager23tryMallocStructureBlockEv]+0x70): undefined reference to `pas_thread_local_cache_pointer'
+ld: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-ee8a7a7a-7.cpp.o: in function `JSC::StructureMemoryManager::tryMallocStructureBlock()':
+/scratch/wip/webkit-gtk-2.46/work/webkitgtk-2.50.0/cmake-pkgsrc-build/bmalloc/Headers/bmalloc/bmalloc_heap_inlines.h:117:(.text._ZN3JSC22StructureMemoryManager23tryMallocStructureBlockEv[_ZN3JSC22StructureMemoryManager23tryMallocStructureBlockEv]+0x13c): undefined reference to `bmalloc_try_allocate_auxiliary_with_alignment_casual'
+ninja: build stopped: subcommand failed.
+*** Error code 1
+
+
+
 pkg_add: webkit-gtk-2.48.5: missing required library: /scratch/wip/webkit-gtk-2.46/work/.buildlink/lib/libsqlite3.so
 
 Test with $PREFIX/libexec/webkit2gtk-4.1/MiniBrowser:
diff --git a/webkit-gtk-2.46/distinfo b/webkit-gtk-2.46/distinfo
index 7a16bc4ed4..d243eb7163 100644
--- a/webkit-gtk-2.46/distinfo
+++ b/webkit-gtk-2.46/distinfo
@@ -1,10 +1,11 @@
 $NetBSD$
 
-BLAKE2s (webkitgtk-2.48.5.tar.xz) = 1cdfa9ed42b9ae1c1611b0d2043dc8bb1aefb5b136ba962950483040a55f5910
-SHA512 (webkitgtk-2.48.5.tar.xz) = 70ee8f58a354cf6d0b1345954ed07c1e49d886f353d4fab945a3d2fc03116726af05454d4b5460f0fe4f5c3d042bb921fc5b43a85474624545afd9acc1c0fc8d
-Size (webkitgtk-2.48.5.tar.xz) = 44131936 bytes
+BLAKE2s (webkitgtk-2.50.0.tar.xz) = 11a6a8dd2e0a53f8052bd8b8c7e7ab08c29a0fdb6cc044bd62d14b12211635cf
+SHA512 (webkitgtk-2.50.0.tar.xz) = 7e3a7ecdd71e21566b3e364ccb7573bec4f86c7cf5fbe5ce6f3fcbb1ed8e5674d9ed239b48fe330afe8f7370bbb323f6500f78a25f4572d8e02d7d274ec843b4
+Size (webkitgtk-2.50.0.tar.xz) = 45267072 bytes
 SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = 20d09e1c226cfff707659ffa35a2c2c3f1cdb617
-SHA1 (patch-Source_JavaScriptCore_runtime_JSCBytecodeCacheVersion.cpp) = a3e2ddaceb3354069108b033f97ee8f2da2cb056
+SHA1 (patch-Source_JavaScriptCore_runtime_JSCBytecodeCacheVersion.cpp) = 5c96cbf6c426b75fe808f6cb4acc9075a264796a
+SHA1 (patch-Source_JavaScriptCore_runtime_JSCJSValueInlines.h) = 4d0a96c42f4532d0e5b385e75421df1968860a1b
 SHA1 (patch-Source_ThirdParty_ANGLE_src_common_SimpleMutex.h) = 6cd83b9ec476ed39adecec6b30e898bda8e5b76d
 SHA1 (patch-Source_ThirdParty_ANGLE_src_common_platform.h) = 2fda057edc3dde3356f0663ec5aa52cb61fb1229
 SHA1 (patch-Source_ThirdParty_ANGLE_src_common_system__utils__linux.cpp) = ec16428e501a85281a288dc38c1da12485a1b746
@@ -15,11 +16,11 @@ SHA1 (patch-Source_WTF_wtf_InlineASM.h) = 35afdd5143f4a2df8a5554a0b0b35141a8784c
 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_rendering_RenderBox.h) = 6a6fc94f1a057723ec404e67713f1f0025cae445
-SHA1 (patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp) = 11e1efcbf2f1832b38c7b649db7a156c1fe2a2c8
+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_WebKit_UIProcess_Launcher_glib_ProcessLauncherGLib.cpp) = 45a215a2b7a913b6fba16ff91276e2c9779e06be
-SHA1 (patch-Source_WebKit_UIProcess_gtk_AcceleratedBackingStoreDMABuf.cpp) = c97c28f22b3792643b98f268e6b6bc247485a18a
+SHA1 (patch-Source_WebKit_UIProcess_gtk_AcceleratedBackingStore.cpp) = e2022bdff272135ceb9894c7df52b62dba12879a
 SHA1 (patch-Source_bmalloc_bmalloc_AvailableMemory.cpp) = 814ba3dc4f941ea13811f6c8d3d7a8ed47844c16
 SHA1 (patch-Source_bmalloc_bmalloc_AvailableMemory.h) = a1eace5da1fa5058067ed2b035e9d685906ce0e4
 SHA1 (patch-Source_bmalloc_bmalloc_BPlatform.h) = 73e57da70ced45db26fa0e039025aff4af25e2b8
diff --git a/webkit-gtk-2.46/patches/patch-Source_JavaScriptCore_runtime_JSCBytecodeCacheVersion.cpp b/webkit-gtk-2.46/patches/patch-Source_JavaScriptCore_runtime_JSCBytecodeCacheVersion.cpp
index 92a249d21c..f7b7fe63da 100644
--- a/webkit-gtk-2.46/patches/patch-Source_JavaScriptCore_runtime_JSCBytecodeCacheVersion.cpp
+++ b/webkit-gtk-2.46/patches/patch-Source_JavaScriptCore_runtime_JSCBytecodeCacheVersion.cpp
@@ -1,15 +1,20 @@
 $NetBSD$
 
-* error: 'NT_GNU_BUILD_ID' was not declared in this scope
+In file included from /scratch/wip/webkit-gtk-2.46/work/webkitgtk-2.50.0/cmake-pkgsrc-build/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f2e18ffc-20.cpp:5:
+/scratch/wip/webkit-gtk-2.46/work/webkitgtk-2.50.0/Source/JavaScriptCore/runtime/JSCBytecodeCacheVersion.cpp: In lambda function:
+/scratch/wip/webkit-gtk-2.46/work/webkitgtk-2.50.0/Source/JavaScriptCore/runtime/JSCBytecodeCacheVersion.cpp:122:49: error: 'NT_GNU_BUILD_ID' was not declared in this scope
+  122 |                             if (note->n_type == NT_GNU_BUILD_ID && note->n_descsz != 0 && note->n_namesz == 4 && memcmp(name, "GNU", 4) == 0) {
+      |                                                 ^~~~~~~~~~~~~~~
 
---- Source/JavaScriptCore/runtime/JSCBytecodeCacheVersion.cpp.orig	2025-05-16 15:15:18.011632366 +0000
+
+--- Source/JavaScriptCore/runtime/JSCBytecodeCacheVersion.cpp.orig	2025-09-23 16:42:34.984982333 +0000
 +++ Source/JavaScriptCore/runtime/JSCBytecodeCacheVersion.cpp
 @@ -66,7 +66,7 @@ uint32_t computeJSCBytecodeCacheVersion(
          }
          cacheVersion.construct(0);
          dataLogLnIf(JSCBytecodeCacheVersionInternal::verbose, "Failed to get UUID for JavaScriptCore framework");
--#elif OS(UNIX) && !PLATFORM(PLAYSTATION)
-+#elif OS(UNIX) && !PLATFORM(PLAYSTATION) && !OS(NETBSD)
+-#elif OS(UNIX) && !PLATFORM(PLAYSTATION) && !OS(HAIKU)
++#elif OS(UNIX) && !PLATFORM(PLAYSTATION) && !OS(HAIKU) && !OS(NETBSD)
          auto result = ([&] -> std::optional<uint32_t> {
              Dl_info info { };
              if (!dladdr(jsFunctionAddr, &info))
diff --git a/webkit-gtk-2.46/patches/patch-Source_JavaScriptCore_runtime_JSCJSValueInlines.h b/webkit-gtk-2.46/patches/patch-Source_JavaScriptCore_runtime_JSCJSValueInlines.h
new file mode 100644
index 0000000000..84f0b7e70f
--- /dev/null
+++ b/webkit-gtk-2.46/patches/patch-Source_JavaScriptCore_runtime_JSCJSValueInlines.h
@@ -0,0 +1,19 @@
+$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-2.46/patches/patch-Source_WebCore_rendering_RenderBox.h b/webkit-gtk-2.46/patches/patch-Source_WebCore_rendering_RenderBox.h
index 2eee8a7625..82e3be518b 100644
--- a/webkit-gtk-2.46/patches/patch-Source_WebCore_rendering_RenderBox.h
+++ b/webkit-gtk-2.46/patches/patch-Source_WebCore_rendering_RenderBox.h
@@ -2,12 +2,12 @@ $NetBSD$
 
 RenderBox.h:701:85: error: 'isnan' was not declared in this scope; did you mean 'std::isnan'?
 
---- Source/WebCore/rendering/RenderBox.h.orig	2025-08-23 12:57:50.364064667 +0000
+--- Source/WebCore/rendering/RenderBox.h.orig	2025-08-08 09:17:55.528471200 +0000
 +++ Source/WebCore/rendering/RenderBox.h
-@@ -698,7 +698,7 @@ protected:
+@@ -706,7 +706,7 @@ protected:
+ 
+     void computePreferredLogicalWidths(const Style::MinimumSize& minLogicalWidth, const Style::MaximumSize& maxLogicalWidth, LayoutUnit borderAndPaddingLogicalWidth);
  
-     void computePreferredLogicalWidths(const Length& minLogicalWidth, const Length& maxLogicalWidth, LayoutUnit borderAndPaddingLogicalWidth);
-     
 -    bool isAspectRatioDegenerate(double aspectRatio) const { return !aspectRatio || isnan(aspectRatio); }
 +    bool isAspectRatioDegenerate(double aspectRatio) const { return !aspectRatio || std::isnan(aspectRatio); }
  
diff --git a/webkit-gtk-2.46/patches/patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp b/webkit-gtk-2.46/patches/patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp
index 1958dde432..d0734f04f2 100644
--- a/webkit-gtk-2.46/patches/patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp
+++ b/webkit-gtk-2.46/patches/patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp
@@ -2,14 +2,14 @@ $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-23 13:14:21.009366295 +0000
+--- Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp.orig	2025-08-08 09:17:55.564470500 +0000
 +++ Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp
-@@ -137,7 +137,7 @@ Ref<const LayoutShape> makeShapeForShape
+@@ -257,7 +257,7 @@ Ref<const LayoutShape> makeShapeForShape
  
-     auto margin = [&] {
-         auto shapeMargin = floatValueForLength(style.shapeMargin(), containingBlock.contentBoxWidth());
+     auto logicalMargin = [&] {
+         auto shapeMargin = Style::evaluate(style.shapeMargin(), containingBlock.contentBoxLogicalWidth()).toFloat();
 -        return isnan(shapeMargin) ? 0.0f : shapeMargin;
 +        return std::isnan(shapeMargin) ? 0.0f : shapeMargin;
      }();
  
- 
+     return WTF::switchOn(shapeOutside,
diff --git a/webkit-gtk-2.46/patches/patch-Source_WebKit_UIProcess_gtk_AcceleratedBackingStore.cpp b/webkit-gtk-2.46/patches/patch-Source_WebKit_UIProcess_gtk_AcceleratedBackingStore.cpp
new file mode 100644
index 0000000000..aa55a91053
--- /dev/null
+++ b/webkit-gtk-2.46/patches/patch-Source_WebKit_UIProcess_gtk_AcceleratedBackingStore.cpp
@@ -0,0 +1,18 @@
+$NetBSD$
+
+Disable dma buf renderer by default.
+
+--- Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp.orig	2025-09-23 16:55:17.436853256 +0000
++++ Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp
+@@ -84,7 +84,11 @@ OptionSet<RendererBufferTransportMode> A
+     static OptionSet<RendererBufferTransportMode> mode;
+     static std::once_flag onceFlag;
+     std::call_once(onceFlag, [] {
++#if defined(__NetBSD__)
++        const char* disableDMABuf = "1";
++#else
+         const char* disableDMABuf = getenv("WEBKIT_DISABLE_DMABUF_RENDERER");
++#endif
+         if (disableDMABuf && g_strcmp0(disableDMABuf, "0"))
+             return;
+ 
diff --git a/webkit-gtk-2.46/patches/patch-Source_WebKit_UIProcess_gtk_AcceleratedBackingStoreDMABuf.cpp b/webkit-gtk-2.46/patches/patch-Source_WebKit_UIProcess_gtk_AcceleratedBackingStoreDMABuf.cpp
deleted file mode 100644
index 87d8296fb9..0000000000
--- a/webkit-gtk-2.46/patches/patch-Source_WebKit_UIProcess_gtk_AcceleratedBackingStoreDMABuf.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD$
-
-Disable dma buf renderer by default.
-
---- Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp.orig	2025-02-25 08:25:42.127409200 +0000
-+++ Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp
-@@ -82,7 +82,11 @@ OptionSet<RendererBufferTransportMode> A
-     static OptionSet<RendererBufferTransportMode> mode;
-     static std::once_flag onceFlag;
-     std::call_once(onceFlag, [] {
-+#if defined(__NetBSD__)
-+        const char* disableDMABuf = "1";
-+#else
-         const char* disableDMABuf = getenv("WEBKIT_DISABLE_DMABUF_RENDERER");
-+#endif
-         if (disableDMABuf && strcmp(disableDMABuf, "0"))
-             return;
- 


Home | Main Index | Thread Index | Old Index