pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/webkit-gtk41
Module Name: pkgsrc
Committed By: wiz
Date: Tue Sep 22 12:27:03 UTC 2026
Modified Files:
pkgsrc/www/webkit-gtk41: Makefile Makefile.common PLIST buildlink3.mk
distinfo
pkgsrc/www/webkit-gtk41/patches:
patch-Source_JavaScriptCore_assembler_ARM64Assembler.h
patch-Source_JavaScriptCore_runtime_MathCommon.cpp
patch-Source_ThirdParty_ANGLE_src_common_system__utils__linux.cpp
patch-Source_WTF_wtf_StackBounds.cpp
patch-Source_WebCore_loader_cache_CachedResource.h
patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp
patch-Source_WebCore_rendering_RenderBox.h
patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp
patch-Source_cmake_WebKitFeatures.cmake
Added Files:
pkgsrc/www/webkit-gtk41/patches:
patch-Source_ThirdParty_skia_src_core_SkAutoLocaleSetter.h
patch-Source_WTF_wtf_AvailableMemory.cpp
patch-Source_WTF_wtf_AvailableMemory.h
patch-Source_WebCore_platform_graphics_gstreamer_GStreamerCommon.h
patch-Source_bmalloc_libpas_src_libpas_pas__utils.h
Removed Files:
pkgsrc/www/webkit-gtk41/patches:
patch-Source_ThirdParty_skia_src_gpu_ganesh_GrAutoLocaleSetter.h
patch-Source_WebKit_UIProcess_Launcher_glib_ProcessLauncherGLib.cpp
Log Message:
webkit-gtk41: update to 2.54.0.
- Switch web process compositor to use Skia instead of TextureMapper.
- Improved damage handling that is now also used during the composition to limit the composited areas.
- Implement GPU atlas creation and replay substitution for batched raster image uploads.
- Media capability reporting is more accurate.
- Video decoding limits are now respected in media capabilities queries.
- Add new improved API for page favicons.
- Add magnification property to WebKitWebView to handle visual scaling.
- Add new API to allow setting a per-navigation custom User-Agent to WebKitWebsitePolicies.
- Remove the option to use cairo for 2D rendering.
Also tested by fox@
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/webkit-gtk41/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/webkit-gtk41/Makefile.common
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/webkit-gtk41/PLIST \
pkgsrc/www/webkit-gtk41/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/webkit-gtk41/buildlink3.mk
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/www/webkit-gtk41/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h \
pkgsrc/www/webkit-gtk41/patches/patch-Source_JavaScriptCore_runtime_MathCommon.cpp \
pkgsrc/www/webkit-gtk41/patches/patch-Source_ThirdParty_ANGLE_src_common_system__utils__linux.cpp \
pkgsrc/www/webkit-gtk41/patches/patch-Source_WTF_wtf_StackBounds.cpp \
pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_loader_cache_CachedResource.h \
pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp \
pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_rendering_RenderBox.h \
pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp \
pkgsrc/www/webkit-gtk41/patches/patch-Source_cmake_WebKitFeatures.cmake
cvs rdiff -u -r0 -r1.1 \
pkgsrc/www/webkit-gtk41/patches/patch-Source_ThirdParty_skia_src_core_SkAutoLocaleSetter.h \
pkgsrc/www/webkit-gtk41/patches/patch-Source_WTF_wtf_AvailableMemory.cpp \
pkgsrc/www/webkit-gtk41/patches/patch-Source_WTF_wtf_AvailableMemory.h \
pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_platform_graphics_gstreamer_GStreamerCommon.h \
pkgsrc/www/webkit-gtk41/patches/patch-Source_bmalloc_libpas_src_libpas_pas__utils.h
cvs rdiff -u -r1.1 -r0 \
pkgsrc/www/webkit-gtk41/patches/patch-Source_ThirdParty_skia_src_gpu_ganesh_GrAutoLocaleSetter.h \
pkgsrc/www/webkit-gtk41/patches/patch-Source_WebKit_UIProcess_Launcher_glib_ProcessLauncherGLib.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/webkit-gtk41/Makefile
diff -u pkgsrc/www/webkit-gtk41/Makefile:1.3 pkgsrc/www/webkit-gtk41/Makefile:1.4
--- pkgsrc/www/webkit-gtk41/Makefile:1.3 Wed Sep 2 19:05:03 2026
+++ pkgsrc/www/webkit-gtk41/Makefile Tue Sep 22 12:27:02 2026
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.3 2026/09/02 19:05:03 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2026/09/22 12:27:02 wiz Exp $
PLIST_SRC= PLIST
.include "Makefile.common"
PKGNAME= ${DISTNAME:S/webkitgtk/webkit-gtk41/}
-PKGREVISION= 2
COMMENT= GTK3 port of the WebKit browser engine (API 4.1)
CMAKE_CONFIGURE_ARGS+= -DUSE_GTK4=OFF
Index: pkgsrc/www/webkit-gtk41/Makefile.common
diff -u pkgsrc/www/webkit-gtk41/Makefile.common:1.6 pkgsrc/www/webkit-gtk41/Makefile.common:1.7
--- pkgsrc/www/webkit-gtk41/Makefile.common:1.6 Sun Sep 13 00:34:24 2026
+++ pkgsrc/www/webkit-gtk41/Makefile.common Tue Sep 22 12:27:02 2026
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.6 2026/09/13 00:34:24 gdt Exp $
+# $NetBSD: Makefile.common,v 1.7 2026/09/22 12:27:02 wiz Exp $
# used by www/webkit-gtk41/Makefile
# used by www/webkit-gtk60/Makefile
-DISTNAME= webkitgtk-2.52.6
+DISTNAME= webkitgtk-2.54.0
CATEGORIES= www
MASTER_SITES= https://www.webkitgtk.org/releases/
EXTRACT_SUFX= .tar.xz
@@ -22,12 +22,10 @@ TOOL_DEPENDS+= ${PYPKGPREFIX}-gi-docgen-
USE_CXX_FEATURES= c++17
USE_LANGUAGES= c c++
-GCC_REQD+= 11
+# https://github.com/WebKit/WebKit/pull/67753/changes/1fec4985d1794c782ff12e2aefc088b76023ba16
+GCC_REQD+= 13
USE_TOOLS+= automake bash bison flex gdbus-codegen gmake perl pkg-config msgfmt
-# this doesn't seem to be using the pkg-config file, which would add this
-CXXFLAGS+= -I${PREFIX}/include/gstreamer-1.0
-
# Avoid million warnings
CFLAGS+= -Wno-unused-parameter -Wno-undef
CXXFLAGS+= -Wno-unused-parameter -Wno-undef -Wno-narrowing
@@ -59,51 +57,7 @@ CMAKE_CONFIGURE_ARGS+= -DUSE_LIBBACKTRA
CMAKE_CONFIGURE_ARGS+= -DUSE_LIBDRM=OFF
.endif
-# This setting was used in the past because libsqlite3.so was not
-# found by configure. As of 2026-09, without it, cmake/ninja finds
-# and uses the path to the bl3 tree. With it, cmake/ninja puts
-# "$prefix/lib/libsqlite3.so" in NEEDED. Without it, cmake/make works
-# fine.
-# 20260913: Left enabled at request of wiz@.
-CMAKE_CONFIGURE_ARGS+= -DSQLite3_LIBRARY=${BUILDLINK_PREFIX.sqlite3}/lib/libsqlite3.so
-
-# When building:
-# - on NetBSD 10 amd64
-# - with CMAKE_GENERATOR=ninja
-# - and perhaps some other conditions (which are not generally
-# troublesome)
-# somehow, linking of libsqlite3.so into libwebkit2gtk-4.1.so ends up
-# with a bad path. There is a PKG_DEVELOPER check that finds (with
-# and without the above setting):
-# => Checking for missing run-time search paths in webkit-gtk41-2.52.6nb2
-# ERROR: lib/libwebkit2gtk-4.1.so.0.21.10: missing library: /usr/pkg/lib/libsqlite3.so
-#
-# => Checking for missing run-time search paths in webkit-gtk41-2.52.6nb2
-# ERROR: lib/libwebkit2gtk-4.1.so.0.21.10: missing library: /tmp/work/www/webkit-gtk41/work/.buildlink/lib/libsqlite3.so
-# *** Error code 1
-#
-# One can inspect the library in the destdir, with and without the
-# above setting:
-# $ ldd work/.destdir/usr/pkg/lib/libwebkit2gtk-4.1.so.0.21.10|egrep sqli
-# /usr/pkg/lib/libsqlite3.so => /usr/pkg/lib/libsqlite3.so
-#
-# $ ldd work/.destdir/usr/pkg/lib/libwebkit2gtk-4.1.so.0.21.10|egrep sqli
-# /tmp/work/www/webkit-gtk41/work/.buildlink/lib/libsqlite3.so => /tmp/work/www/webkit-gtk41/work/.buildlink/lib/libsqlite3.so
-#
-# And with objdump instead of ldd, with the setting:
-# $ objdump -x work/.destdir/usr/pkg/lib/libwebkit2gtk-4.1.so.0.21.10 | egrep 'RPATH|NEEDED'
-# [many other NEEDED snipped]
-# NEEDED libicuuc.so.78
-# NEEDED libxml2.so.16
-# NEEDED /usr/pkg/lib/libsqlite3.so
-# NEEDED libxslt.so.1
-# NEEDED libz.so.1
-# RPATH /usr/pkg/gcc12/x86_64--netbsd/lib/.:/usr/pkg/gcc12/lib/gcc/x86_64--netbsd/12.5.0:/usr/pkg/lib:/usr/X11R7/lib
-
-# Therefore, to avoid not-understood bugs when using ninja, just
-# don't.
-# Commented out at request of wiz@
-#CMAKE_GENERATORS_INCOMPATIBLE= ninja
+CMAKE_GENERATORS_INCOMPATIBLE= make
# required for faking a better user-agent
CMAKE_CONFIGURE_ARGS+= -DUSER_AGENT_BRANDING="Linux ${MACHINE_ARCH}"
@@ -173,17 +127,17 @@ REPLACE_RUBY+= Source/WebInspectorUI/Sc
REPLACE_RUBY+= Source/bmalloc/libpas/export.rb
SUBST_CLASSES+= python
+SUBST_FILES.python+= Source/JavaScriptCore/Scripts/generate-unified-sources.sh
+SUBST_FILES.python+= Source/WebCore/Scripts/generate-unified-sources.sh
SUBST_FILES.python+= Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl
-SUBST_SED.python+= -e 's,"python3","${PYTHONBIN}",'
+SUBST_FILES.python+= Source/WebKit/Scripts/generate-unified-sources.sh
+SUBST_FILES.python+= Tools/TestWebKitAPI/Scripts/generate-unified-sources.sh
+SUBST_SED.python+= -e 's,python3,${PYTHONBIN},'
SUBST_STAGE.python= pre-configure
SUBST_MESSAGE.python= Fixing path to python binary.
SUBST_CLASSES+= ruby
SUBST_FILES.ruby+= Source/bmalloc/libpas/scripts/tally_verifier_output
-SUBST_FILES.ruby+= Tools/TestWebKitAPI/Scripts/generate-unified-sources.sh
-SUBST_FILES.ruby+= Source/JavaScriptCore/Scripts/generate-unified-sources.sh
-SUBST_FILES.ruby+= Source/WebCore/Scripts/generate-unified-sources.sh
-SUBST_FILES.ruby+= Source/WebKit/Scripts/generate-unified-sources.sh
SUBST_SED.ruby+= -e 's,env ruby,env ${RUBY},'
SUBST_STAGE.ruby= pre-configure
SUBST_MESSAGE.ruby= Fixing path to ruby binary.
@@ -243,7 +197,6 @@ PREFER.gettext= pkgsrc
.include "../../devel/zlib/buildlink3.mk"
.include "../../fonts/harfbuzz-icu/buildlink3.mk"
.include "../../fonts/woff2/buildlink3.mk"
-.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.include "../../graphics/graphene/buildlink3.mk"
@@ -259,6 +212,7 @@ JPEG_ACCEPTED= libjpeg-turbo
.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
.include "../../multimedia/gst-plugins1-good/buildlink3.mk"
.include "../../multimedia/gstreamer1/buildlink3.mk"
+.include "../../multimedia/gst-plugins1-bad/buildlink3.mk"
.include "../../net/libsoup3/buildlink3.mk"
.include "../../security/libgcrypt/buildlink3.mk"
.include "../../security/libgpg-error/buildlink3.mk"
Index: pkgsrc/www/webkit-gtk41/PLIST
diff -u pkgsrc/www/webkit-gtk41/PLIST:1.1 pkgsrc/www/webkit-gtk41/PLIST:1.2
--- pkgsrc/www/webkit-gtk41/PLIST:1.1 Sun Aug 30 14:25:05 2026
+++ pkgsrc/www/webkit-gtk41/PLIST Tue Sep 22 12:27:02 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2026/08/30 14:25:05 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2026/09/22 12:27:02 wiz Exp $
include/webkitgtk-4.1/JavaScriptCore/JSBase.h
include/webkitgtk-4.1/JavaScriptCore/JSContextRef.h
include/webkitgtk-4.1/JavaScriptCore/JSObjectRef.h
@@ -48,6 +48,7 @@ include/webkitgtk-4.1/webkit/WebKitFrame
include/webkitgtk-4.1/webkit/WebKitGeolocationManager.h
include/webkitgtk-4.1/webkit/WebKitGeolocationPermissionRequest.h
include/webkitgtk-4.1/webkit/WebKitHitTestResult.h
+include/webkitgtk-4.1/webkit/WebKitImage.h
include/webkitgtk-4.1/webkit/WebKitInputMethodContext.h
include/webkitgtk-4.1/webkit/WebKitInstallMissingMediaPluginsPermissionRequest.h
include/webkitgtk-4.1/webkit/WebKitJavascriptResult.h
@@ -224,10 +225,10 @@ lib/girepository-1.0/WebKit2-4.1.typelib
lib/girepository-1.0/WebKit2WebExtension-4.1.typelib
lib/libjavascriptcoregtk-4.1.so
lib/libjavascriptcoregtk-4.1.so.0
-lib/libjavascriptcoregtk-4.1.so.0.10.14
+lib/libjavascriptcoregtk-4.1.so.0.11.7
lib/libwebkit2gtk-4.1.so
lib/libwebkit2gtk-4.1.so.0
-lib/libwebkit2gtk-4.1.so.0.21.10
+lib/libwebkit2gtk-4.1.so.0.24.3
lib/pkgconfig/javascriptcoregtk-4.1.pc
lib/pkgconfig/webkit2gtk-4.1.pc
lib/pkgconfig/webkit2gtk-web-extension-4.1.pc
@@ -778,6 +779,7 @@ share/doc/webkit2gtk-4.1/method.Feature.
share/doc/webkit2gtk-4.1/method.Feature.get_status.html
share/doc/webkit2gtk-4.1/method.Feature.ref.html
share/doc/webkit2gtk-4.1/method.Feature.unref.html
+share/doc/webkit2gtk-4.1/method.FeatureList.find.html
share/doc/webkit2gtk-4.1/method.FeatureList.get.html
share/doc/webkit2gtk-4.1/method.FeatureList.get_length.html
share/doc/webkit2gtk-4.1/method.FeatureList.ref.html
@@ -1242,6 +1244,7 @@ share/doc/webkit2gtk-4.1/method.WebView.
share/doc/webkit2gtk-4.1/method.WebView.get_is_muted.html
share/doc/webkit2gtk-4.1/method.WebView.get_is_web_process_responsive.html
share/doc/webkit2gtk-4.1/method.WebView.get_javascript_global_context.html
+share/doc/webkit2gtk-4.1/method.WebView.get_magnification.html
share/doc/webkit2gtk-4.1/method.WebView.get_main_resource.html
share/doc/webkit2gtk-4.1/method.WebView.get_microphone_capture_state.html
share/doc/webkit2gtk-4.1/method.WebView.get_page_id.html
@@ -1299,6 +1302,7 @@ share/doc/webkit2gtk-4.1/method.WebView.
share/doc/webkit2gtk-4.1/method.WebView.set_editable.html
share/doc/webkit2gtk-4.1/method.WebView.set_input_method_context.html
share/doc/webkit2gtk-4.1/method.WebView.set_is_muted.html
+share/doc/webkit2gtk-4.1/method.WebView.set_magnification.html
share/doc/webkit2gtk-4.1/method.WebView.set_microphone_capture_state.html
share/doc/webkit2gtk-4.1/method.WebView.set_settings.html
share/doc/webkit2gtk-4.1/method.WebView.set_zoom_level.html
@@ -1324,6 +1328,8 @@ share/doc/webkit2gtk-4.1/method.WebsiteD
share/doc/webkit2gtk-4.1/method.WebsiteDataManager.get_cookie_manager.html
share/doc/webkit2gtk-4.1/method.WebsiteDataManager.get_disk_cache_directory.html
share/doc/webkit2gtk-4.1/method.WebsiteDataManager.get_dom_cache_directory.html
+share/doc/webkit2gtk-4.1/method.WebsiteDataManager.get_favicon_database.html
+share/doc/webkit2gtk-4.1/method.WebsiteDataManager.get_favicons_enabled.html
share/doc/webkit2gtk-4.1/method.WebsiteDataManager.get_hsts_cache_directory.html
share/doc/webkit2gtk-4.1/method.WebsiteDataManager.get_indexeddb_directory.html
share/doc/webkit2gtk-4.1/method.WebsiteDataManager.get_itp_directory.html
@@ -1339,11 +1345,13 @@ share/doc/webkit2gtk-4.1/method.WebsiteD
share/doc/webkit2gtk-4.1/method.WebsiteDataManager.is_ephemeral.html
share/doc/webkit2gtk-4.1/method.WebsiteDataManager.remove.html
share/doc/webkit2gtk-4.1/method.WebsiteDataManager.remove_finish.html
+share/doc/webkit2gtk-4.1/method.WebsiteDataManager.set_favicons_enabled.html
share/doc/webkit2gtk-4.1/method.WebsiteDataManager.set_itp_enabled.html
share/doc/webkit2gtk-4.1/method.WebsiteDataManager.set_network_proxy_settings.html
share/doc/webkit2gtk-4.1/method.WebsiteDataManager.set_persistent_credential_storage_enabled.html
share/doc/webkit2gtk-4.1/method.WebsiteDataManager.set_tls_errors_policy.html
share/doc/webkit2gtk-4.1/method.WebsitePolicies.get_autoplay_policy.html
+share/doc/webkit2gtk-4.1/method.WebsitePolicies.get_custom_user_agent.html
share/doc/webkit2gtk-4.1/method.WindowProperties.get_fullscreen.html
share/doc/webkit2gtk-4.1/method.WindowProperties.get_geometry.html
share/doc/webkit2gtk-4.1/method.WindowProperties.get_locationbar_visible.html
@@ -1506,6 +1514,7 @@ share/doc/webkit2gtk-4.1/property.WebVie
share/doc/webkit2gtk-4.1/property.WebView.is-muted.html
share/doc/webkit2gtk-4.1/property.WebView.is-playing-audio.html
share/doc/webkit2gtk-4.1/property.WebView.is-web-process-responsive.html
+share/doc/webkit2gtk-4.1/property.WebView.magnification.html
share/doc/webkit2gtk-4.1/property.WebView.microphone-capture-state.html
share/doc/webkit2gtk-4.1/property.WebView.page-id.html
share/doc/webkit2gtk-4.1/property.WebView.related-view.html
@@ -1533,6 +1542,7 @@ share/doc/webkit2gtk-4.1/property.Websit
share/doc/webkit2gtk-4.1/property.WebsiteDataManager.total-storage-ratio.html
share/doc/webkit2gtk-4.1/property.WebsiteDataManager.websql-directory.html
share/doc/webkit2gtk-4.1/property.WebsitePolicies.autoplay.html
+share/doc/webkit2gtk-4.1/property.WebsitePolicies.custom-user-agent.html
share/doc/webkit2gtk-4.1/property.WindowProperties.fullscreen.html
share/doc/webkit2gtk-4.1/property.WindowProperties.geometry.html
share/doc/webkit2gtk-4.1/property.WindowProperties.locationbar-visible.html
Index: pkgsrc/www/webkit-gtk41/distinfo
diff -u pkgsrc/www/webkit-gtk41/distinfo:1.1 pkgsrc/www/webkit-gtk41/distinfo:1.2
--- pkgsrc/www/webkit-gtk41/distinfo:1.1 Sun Aug 30 14:25:05 2026
+++ pkgsrc/www/webkit-gtk41/distinfo Tue Sep 22 12:27:02 2026
@@ -1,33 +1,36 @@
-$NetBSD: distinfo,v 1.1 2026/08/30 14:25:05 wiz Exp $
+$NetBSD: distinfo,v 1.2 2026/09/22 12:27:02 wiz Exp $
-BLAKE2s (webkitgtk-2.52.6.tar.xz) = 4b9bf9eda8179ed1f6f825683ee6f5cbea641c0bdfbdc7b56bc3a2e151eb7367
-SHA512 (webkitgtk-2.52.6.tar.xz) = a3d627122e5a34dc3a10ba9f2294d1b7440e5569521e272c04a963cf8e7b0fada9eedcf773511d35602182dd681c7262e9bbde97ea41016111a29e4fd96dea72
-Size (webkitgtk-2.52.6.tar.xz) = 65746000 bytes
-SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = 20d09e1c226cfff707659ffa35a2c2c3f1cdb617
+BLAKE2s (webkitgtk-2.54.0.tar.xz) = d950d4151672d071523eb6a3943592bd1d0d3b1978f63ede1a457a6d169fc51f
+SHA512 (webkitgtk-2.54.0.tar.xz) = defd32c95df7ff1bae8c76331f7dc960db0590b90314bad35e543112fbd65377b5d2fd40cc66009461e06da0b99356cc96d5a7c4125e90bb81037f178c03608d
+Size (webkitgtk-2.54.0.tar.xz) = 49710944 bytes
+SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = 4980f15a5ef0b69345d8d333ded1d3dbbae8b6fc
SHA1 (patch-Source_JavaScriptCore_parser_VariableEnvironment.h) = 817d8d635c5bcf1ee6d1fbd79ff789cd73d6420f
SHA1 (patch-Source_JavaScriptCore_runtime_DefinePropertyAttributes.h) = 35e5e1080b6c24ffbe00e099b3293c626c7a207b
SHA1 (patch-Source_JavaScriptCore_runtime_JSCBytecodeCacheVersion.cpp) = 946356c2c8e74a245b4fdd06f6a9a44cfa8af8f0
-SHA1 (patch-Source_JavaScriptCore_runtime_MathCommon.cpp) = 4535d1aed5e92da2d459097516ee01d9faddfd0d
+SHA1 (patch-Source_JavaScriptCore_runtime_MathCommon.cpp) = 200bf0b3b7746642b1d806b22b3add9ea27af537
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
+SHA1 (patch-Source_ThirdParty_ANGLE_src_common_system__utils__linux.cpp) = c166760212f8237ce6c3a3d3eef8679315eae390
SHA1 (patch-Source_ThirdParty_ANGLE_src_libANGLE_renderer_gl_egl_DisplayEGL.cpp) = 2cad21ee98bfbf89248a229a05e299e3dcec28b3
SHA1 (patch-Source_ThirdParty_skia_CMakeLists.txt) = 365bf558205b283495fa7992a010861afbdcdc71
-SHA1 (patch-Source_ThirdParty_skia_src_gpu_ganesh_GrAutoLocaleSetter.h) = 6a854b85a470ad32aea3bb5f49d4622ba9df1bb6
+SHA1 (patch-Source_ThirdParty_skia_src_core_SkAutoLocaleSetter.h) = 63442b53b200e652c812e195e34d3dc6df0dd5f0
SHA1 (patch-Source_ThirdParty_skia_src_ports_SkMemory__malloc.cpp) = e277d988eeaacb7ec8b7f051342b77c5e8ac06a7
+SHA1 (patch-Source_WTF_wtf_AvailableMemory.cpp) = 68dbde6e8d0aefbcb0294a2e92e54412eb6b1d3e
+SHA1 (patch-Source_WTF_wtf_AvailableMemory.h) = f05d7cb4a39d9b8f2fa35e2f7b8718507e8784db
SHA1 (patch-Source_WTF_wtf_InlineASM.h) = 35afdd5143f4a2df8a5554a0b0b35141a8784c6c
SHA1 (patch-Source_WTF_wtf_PlatformEnable.h) = 905b2b4bf4b8c90cf91eb8ecf1d414013cc3bcbb
-SHA1 (patch-Source_WTF_wtf_StackBounds.cpp) = c6c0a38f3a8c4357e9cfd9a412fd89ea69436535
-SHA1 (patch-Source_WebCore_loader_cache_CachedResource.h) = 5d82e4797336f3dc0af9f313ac80f3a72be9a22a
+SHA1 (patch-Source_WTF_wtf_StackBounds.cpp) = 7cb7f54e382b9eab13bc775f079d5ae75b4fafe8
+SHA1 (patch-Source_WebCore_loader_cache_CachedResource.h) = 53fbd402c64d7cab342cfb631bd9f0dfc0ebdf6f
SHA1 (patch-Source_WebCore_page_NavigatorBase.cpp) = 40a1c832e0df382e39cecb6c57527731e7c63c52
-SHA1 (patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp) = 3e95b73709a3a39cd130dcaf4bf440e9c0195fa5
+SHA1 (patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp) = dda6cc2170cdb3a026167c0db7ca840e3bd58b85
+SHA1 (patch-Source_WebCore_platform_graphics_gstreamer_GStreamerCommon.h) = d341d1805ab85c6ff034f0a2abf5573c17790047
SHA1 (patch-Source_WebCore_platform_graphics_skia_PlatformDisplaySkia.cpp) = 86f9d65402a6066a19f6385753d7c33e56cdfcd9
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_UIProcess_Launcher_glib_ProcessLauncherGLib.cpp) = 45a215a2b7a913b6fba16ff91276e2c9779e06be
+SHA1 (patch-Source_WebCore_rendering_RenderBox.h) = 8823fbef39f61139155f6a617901909093d0a5ce
+SHA1 (patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp) = 0830881b80bec21e94b8cc52c62f0fc954f6ea47
SHA1 (patch-Source_WebKit_UIProcess_gtk_AcceleratedBackingStore.cpp) = e2022bdff272135ceb9894c7df52b62dba12879a
SHA1 (patch-Source_WebKit_UIProcess_gtk_DisplayX11.cpp) = 627a532dd871a194360e964fedab5cc00347db88
SHA1 (patch-Source_WebKit_WebProcess_WebPage_CoordinatedGraphics_ThreadedCompositor.cpp) = e694951b46fab7bf527dea8a7d08f7175a0bf60c
+SHA1 (patch-Source_bmalloc_libpas_src_libpas_pas__utils.h) = ae13ff985a974cf1d13da2c4f9cfecd1b0a0986d
SHA1 (patch-Source_cmake_FindFlite.cmake) = 83925123ffbac5620865df0fcf2f8e8dfbd3aa57
-SHA1 (patch-Source_cmake_WebKitFeatures.cmake) = 6811f5c3f000900c0404be59a149657fa6b6443b
+SHA1 (patch-Source_cmake_WebKitFeatures.cmake) = 964ab8f75245c5611ca8821ea265a16147148270
Index: pkgsrc/www/webkit-gtk41/buildlink3.mk
diff -u pkgsrc/www/webkit-gtk41/buildlink3.mk:1.2 pkgsrc/www/webkit-gtk41/buildlink3.mk:1.3
--- pkgsrc/www/webkit-gtk41/buildlink3.mk:1.2 Wed Sep 2 19:05:03 2026
+++ pkgsrc/www/webkit-gtk41/buildlink3.mk Tue Sep 22 12:27:02 2026
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2026/09/02 19:05:03 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2026/09/22 12:27:02 wiz Exp $
BUILDLINK_TREE+= webkit-gtk41
@@ -9,7 +9,7 @@ BUILDLINK_API_DEPENDS.webkit-gtk41+= web
BUILDLINK_ABI_DEPENDS.webkit-gtk41?= webkit-gtk41>=2.52.6nb2
BUILDLINK_PKGSRCDIR.webkit-gtk41?= ../../www/webkit-gtk41
-GCC_REQD+= 11
+GCC_REQD+= 13
.include "../../x11/gtk3/buildlink3.mk"
.include "../../net/libsoup3/buildlink3.mk"
Index: pkgsrc/www/webkit-gtk41/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h
diff -u pkgsrc/www/webkit-gtk41/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h:1.1 pkgsrc/www/webkit-gtk41/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h:1.2
--- pkgsrc/www/webkit-gtk41/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h:1.1 Sun Aug 30 14:25:05 2026
+++ pkgsrc/www/webkit-gtk41/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h Tue Sep 22 12:27:02 2026
@@ -1,10 +1,10 @@
-$NetBSD: patch-Source_JavaScriptCore_assembler_ARM64Assembler.h,v 1.1 2026/08/30 14:25:05 wiz Exp $
+$NetBSD: patch-Source_JavaScriptCore_assembler_ARM64Assembler.h,v 1.2 2026/09/22 12:27:02 wiz Exp $
---- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2025-08-25 08:21:59.060354541 +0000
+--- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2026-07-24 08:02:50.530577200 +0000
+++ Source/JavaScriptCore/assembler/ARM64Assembler.h
-@@ -3765,7 +3765,7 @@ public:
-
- linuxPageFlush(current, end);
+@@ -4044,7 +4044,7 @@ class ARM64Assembler { (public)
+ #elif OS(WINDOWS)
+ FlushInstructionCache(GetCurrentProcess(), code, size);
#else
-#error "The cacheFlush support is missing on this platform."
+#warning "The cacheFlush support is missing on this platform."
Index: pkgsrc/www/webkit-gtk41/patches/patch-Source_JavaScriptCore_runtime_MathCommon.cpp
diff -u pkgsrc/www/webkit-gtk41/patches/patch-Source_JavaScriptCore_runtime_MathCommon.cpp:1.1 pkgsrc/www/webkit-gtk41/patches/patch-Source_JavaScriptCore_runtime_MathCommon.cpp:1.2
--- pkgsrc/www/webkit-gtk41/patches/patch-Source_JavaScriptCore_runtime_MathCommon.cpp:1.1 Sun Aug 30 14:25:05 2026
+++ pkgsrc/www/webkit-gtk41/patches/patch-Source_JavaScriptCore_runtime_MathCommon.cpp Tue Sep 22 12:27:02 2026
@@ -1,10 +1,10 @@
-$NetBSD: patch-Source_JavaScriptCore_runtime_MathCommon.cpp,v 1.1 2026/08/30 14:25:05 wiz Exp $
+$NetBSD: patch-Source_JavaScriptCore_runtime_MathCommon.cpp,v 1.2 2026/09/22 12:27:02 wiz Exp $
---- Source/JavaScriptCore/runtime/MathCommon.cpp.orig 2025-08-08 09:17:51.608548200 +0000
+--- Source/JavaScriptCore/runtime/MathCommon.cpp.orig 2026-07-24 08:02:50.857928800 +0000
+++ Source/JavaScriptCore/runtime/MathCommon.cpp
-@@ -626,8 +626,8 @@ static inline double roundeven(double operand)
+@@ -602,8 +602,8 @@ JSC_DEFINE_NOEXCEPT_JIT_OPERATION(f64_nearest, double,
+ return roundeven(operand);
}
- #endif
-JSC_DEFINE_NOEXCEPT_JIT_OPERATION(f32_roundeven, float, (float operand)) { return roundevenf(operand); }
-JSC_DEFINE_NOEXCEPT_JIT_OPERATION(f64_roundeven, double, (double operand)) { return roundeven(operand); }
Index: pkgsrc/www/webkit-gtk41/patches/patch-Source_ThirdParty_ANGLE_src_common_system__utils__linux.cpp
diff -u pkgsrc/www/webkit-gtk41/patches/patch-Source_ThirdParty_ANGLE_src_common_system__utils__linux.cpp:1.1
pkgsrc/www/webkit-gtk41/patches/patch-Source_ThirdParty_ANGLE_src_common_system__utils__linux.cpp:1.2
--- pkgsrc/www/webkit-gtk41/patches/patch-Source_ThirdParty_ANGLE_src_common_system__utils__linux.cpp:1.1 Sun Aug 30 14:25:05 2026
+++ pkgsrc/www/webkit-gtk41/patches/patch-Source_ThirdParty_ANGLE_src_common_system__utils__linux.cpp Tue Sep 22 12:27:02 2026
@@ -1,10 +1,22 @@
-$NetBSD: patch-Source_ThirdParty_ANGLE_src_common_system__utils__linux.cpp,v 1.1 2026/08/30 14:25:05 wiz Exp $
+$NetBSD: patch-Source_ThirdParty_ANGLE_src_common_system__utils__linux.cpp,v 1.2 2026/09/22 12:27:02 wiz Exp $
+NetBSD doesn't provide CLOCK_MONOTONIC_RAW.
pthread_setname_np() has three arguments on NetBSD.
---- Source/ThirdParty/ANGLE/src/common/system_utils_linux.cpp.orig 2025-02-25 08:25:37.951309000 +0000
+--- Source/ThirdParty/ANGLE/src/common/system_utils_linux.cpp.orig 2026-09-11 05:47:59.581623300 +0000
+++ Source/ThirdParty/ANGLE/src/common/system_utils_linux.cpp
-@@ -58,7 +58,10 @@ void SetCurrentThreadName(const char *na
+@@ -18,6 +18,10 @@
+
+ #include <array>
+
++#ifndef CLOCK_MONOTONIC_RAW
++#define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC
++#endif
++
+ namespace angle
+ {
+ std::string GetExecutablePath()
+@@ -66,7 +70,10 @@ void SetCurrentThreadName(const char *name)
{
// There's a 15-character (16 including '\0') limit. If the name is too big (and ERANGE is
// returned), name will be ignored.
Index: pkgsrc/www/webkit-gtk41/patches/patch-Source_WTF_wtf_StackBounds.cpp
diff -u pkgsrc/www/webkit-gtk41/patches/patch-Source_WTF_wtf_StackBounds.cpp:1.1 pkgsrc/www/webkit-gtk41/patches/patch-Source_WTF_wtf_StackBounds.cpp:1.2
--- pkgsrc/www/webkit-gtk41/patches/patch-Source_WTF_wtf_StackBounds.cpp:1.1 Sun Aug 30 14:25:05 2026
+++ pkgsrc/www/webkit-gtk41/patches/patch-Source_WTF_wtf_StackBounds.cpp Tue Sep 22 12:27:03 2026
@@ -1,4 +1,6 @@
-$NetBSD: patch-Source_WTF_wtf_StackBounds.cpp,v 1.1 2026/08/30 14:25:05 wiz Exp $
+$NetBSD: patch-Source_WTF_wtf_StackBounds.cpp,v 1.2 2026/09/22 12:27:03 wiz Exp $
+
+Work around stack size value bug in NetBSD<11.99.8.
--- Source/WTF/wtf/StackBounds.cpp.orig 2026-02-23 14:40:54.556305400 +0000
+++ Source/WTF/wtf/StackBounds.cpp
@@ -22,7 +24,7 @@ $NetBSD: patch-Source_WTF_wtf_StackBound
{
auto ret = newThreadStackBounds(pthread_self());
+#if OS(NETBSD)
-+#if __NetBSD_Version__ < 1199000700
++#if __NetBSD_Version__ < 1199000800
+ // Due to a bug in posix_spawn(3), AT_STACKBASE is wrong for the main thread.
+ // Use __ps_strings to find the top of the stack, and use that if the current
+ // stack falls in the computed range on affected NetBSD versions.
Index: pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_loader_cache_CachedResource.h
diff -u pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_loader_cache_CachedResource.h:1.1 pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_loader_cache_CachedResource.h:1.2
--- pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_loader_cache_CachedResource.h:1.1 Sun Aug 30 14:25:05 2026
+++ pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_loader_cache_CachedResource.h Tue Sep 22 12:27:03 2026
@@ -1,4 +1,4 @@
-$NetBSD: patch-Source_WebCore_loader_cache_CachedResource.h,v 1.1 2026/08/30 14:25:05 wiz Exp $
+$NetBSD: patch-Source_WebCore_loader_cache_CachedResource.h,v 1.2 2026/09/22 12:27:03 wiz Exp $
In file included from /usr/pkg/include/EGL/eglplatform.h:134,
from /usr/pkg/include/epoxy/egl_generated.h:11,
@@ -11,9 +11,9 @@ In file included from /usr/pkg/include/E
https://github.com/WebKit/WebKit/pull/64743
---- Source/WebCore/loader/cache/CachedResource.h.orig 2026-04-17 08:44:48.754804603 +0000
+--- Source/WebCore/loader/cache/CachedResource.h.orig 2026-07-24 08:02:55.011400500 +0000
+++ Source/WebCore/loader/cache/CachedResource.h
-@@ -45,6 +45,10 @@
+@@ -46,6 +46,10 @@
#include <wtf/WeakHashMap.h>
#include <wtf/text/WTFString.h>
@@ -22,5 +22,5 @@ https://github.com/WebKit/WebKit/pull/64
+#endif
+
namespace WebCore {
- class CachedResource;
+
class CachedResourceCallback;
Index: pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp
diff -u pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp:1.1
pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp:1.2
--- pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp:1.1 Sun Aug 30 14:25:05 2026
+++ pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp Tue Sep 22 12:27:03 2026
@@ -1,6 +1,6 @@
-$NetBSD: patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp,v 1.1 2026/08/30 14:25:05 wiz Exp $
+$NetBSD: patch-Source_WebCore_platform_graphics_gbm_MemoryMappedGPUBuffer.cpp,v 1.2 2026/09/22 12:27:03 wiz Exp $
---- Source/WebCore/platform/graphics/gbm/MemoryMappedGPUBuffer.cpp.orig 2026-03-08 22:16:59.683749700 +0000
+--- Source/WebCore/platform/graphics/gbm/MemoryMappedGPUBuffer.cpp.orig 2026-09-11 05:39:27.267262200 +0000
+++ Source/WebCore/platform/graphics/gbm/MemoryMappedGPUBuffer.cpp
@@ -36,7 +36,9 @@
#include "VivanteSuperTiledTextureInlines.h"
@@ -11,8 +11,8 @@ $NetBSD: patch-Source_WebCore_platform_g
+#endif
#include <sys/ioctl.h>
#include <sys/mman.h>
- #include <wtf/SafeStrerror.h>
-@@ -406,6 +408,7 @@ bool MemoryMappedGPUBuffer::performDMABufSyncSystemCal
+ #include <unistd.h>
+@@ -508,6 +510,7 @@ bool MemoryMappedGPUBuffer::performDMABufSyncSystemCal
bool MemoryMappedGPUBuffer::performDMABufSyncSystemCall(OptionSet<DMABufSyncFlag> flags)
{
@@ -20,7 +20,7 @@ $NetBSD: patch-Source_WebCore_platform_g
constexpr unsigned maxRetries = 10;
struct dma_buf_sync sync;
-@@ -435,6 +438,9 @@ bool MemoryMappedGPUBuffer::performDMABufSyncSystemCal
+@@ -537,6 +540,9 @@ bool MemoryMappedGPUBuffer::performDMABufSyncSystemCal
}
return true;
Index: pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_rendering_RenderBox.h
diff -u pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_rendering_RenderBox.h:1.1 pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_rendering_RenderBox.h:1.2
--- pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_rendering_RenderBox.h:1.1 Sun Aug 30 14:25:05 2026
+++ pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_rendering_RenderBox.h Tue Sep 22 12:27:03 2026
@@ -1,15 +1,15 @@
-$NetBSD: patch-Source_WebCore_rendering_RenderBox.h,v 1.1 2026/08/30 14:25:05 wiz Exp $
+$NetBSD: patch-Source_WebCore_rendering_RenderBox.h,v 1.2 2026/09/22 12:27:03 wiz Exp $
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-08 09:17:55.528471200 +0000
+--- Source/WebCore/rendering/RenderBox.h.orig 2026-07-27 08:28:18.880559400 +0000
+++ Source/WebCore/rendering/RenderBox.h
-@@ -706,7 +706,7 @@ protected:
+@@ -661,7 +661,7 @@ class RenderBox : public RenderBoxModelObject { (prote
- void computePreferredLogicalWidths(const Style::MinimumSize& minLogicalWidth, const Style::MaximumSize& maxLogicalWidth, LayoutUnit borderAndPaddingLogicalWidth);
+ void constrainIntrinsicLogicalWidthsByMinMax(LayoutUnit& minIntrinsicLogicalWidth, LayoutUnit& maxIntrinsicLogicalWidth) const;
- bool isAspectRatioDegenerate(double aspectRatio) const { return !aspectRatio || isnan(aspectRatio); }
+ bool isAspectRatioDegenerate(double aspectRatio) const { return !aspectRatio || std::isnan(aspectRatio); }
- bool overflowChangesMayAffectLayout() const final;
-
+ LayoutUnit fillAvailableMeasure(LayoutUnit availableLogicalWidth) const;
+ LayoutUnit fillAvailableMeasure(LayoutUnit availableLogicalWidth, LayoutUnit& marginStart, LayoutUnit& marginEnd) const;
Index: pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp
diff -u pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp:1.1 pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp:1.2
--- pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp:1.1 Sun Aug 30 14:25:05 2026
+++ pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp Tue Sep 22 12:27:03 2026
@@ -1,13 +1,13 @@
-$NetBSD: patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp,v 1.1 2026/08/30 14:25:05 wiz Exp $
+$NetBSD: patch-Source_WebCore_rendering_shapes_ShapeOutsideInfo.cpp,v 1.2 2026/09/22 12:27:03 wiz Exp $
ShapeOutsideInfo.cpp:140:16: error: 'isnan' was not declared in this scope; did you mean 'std::isnan'?
---- Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp.orig 2026-02-23 14:40:55.846298500 +0000
+--- Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp.orig 2026-07-24 08:02:55.428795600 +0000
+++ Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp
-@@ -257,7 +257,7 @@ Ref<const LayoutShape> makeShapeForShapeOutside(const
+@@ -251,7 +251,7 @@ Ref<const LayoutShape> makeShapeForShapeOutside(const
auto logicalMargin = [&] {
- auto shapeMargin = Style::evaluate<LayoutUnit>(style.shapeMargin(), containingBlock.contentBoxLogicalWidth(), Style::ZoomNeeded { }).toFloat();
+ auto shapeMargin = Style::evaluate<LayoutUnit>(style.shapeMargin(), containingBlock.contentBoxLogicalWidth(), zoom).toFloat();
- return isnan(shapeMargin) ? 0.0f : shapeMargin;
+ return std::isnan(shapeMargin) ? 0.0f : shapeMargin;
}();
Index: pkgsrc/www/webkit-gtk41/patches/patch-Source_cmake_WebKitFeatures.cmake
diff -u pkgsrc/www/webkit-gtk41/patches/patch-Source_cmake_WebKitFeatures.cmake:1.1 pkgsrc/www/webkit-gtk41/patches/patch-Source_cmake_WebKitFeatures.cmake:1.2
--- pkgsrc/www/webkit-gtk41/patches/patch-Source_cmake_WebKitFeatures.cmake:1.1 Sun Aug 30 14:25:06 2026
+++ pkgsrc/www/webkit-gtk41/patches/patch-Source_cmake_WebKitFeatures.cmake Tue Sep 22 12:27:03 2026
@@ -1,12 +1,12 @@
-$NetBSD: patch-Source_cmake_WebKitFeatures.cmake,v 1.1 2026/08/30 14:25:06 wiz Exp $
+$NetBSD: patch-Source_cmake_WebKitFeatures.cmake,v 1.2 2026/09/22 12:27:03 wiz Exp $
Disabling JIT (performance will be way worse with pages using
JavaScript, but maybe works).
Also try to use system malloc.
---- Source/cmake/WebKitFeatures.cmake.orig 2025-08-08 09:17:56.304456000 +0000
+--- Source/cmake/WebKitFeatures.cmake.orig 2026-08-06 09:22:31.282348400 +0000
+++ Source/cmake/WebKitFeatures.cmake
-@@ -88,7 +88,7 @@ macro(WEBKIT_OPTION_BEGIN)
+@@ -89,7 +89,7 @@ macro(WEBKIT_OPTION_BEGIN)
set(ENABLE_C_LOOP_DEFAULT ON)
set(ENABLE_SAMPLING_PROFILER_DEFAULT OFF)
endif ()
@@ -15,8 +15,8 @@ Also try to use system malloc.
set(ENABLE_JIT_DEFAULT ON)
set(ENABLE_FTL_DEFAULT ON)
set(USE_SYSTEM_MALLOC_DEFAULT OFF)
-@@ -106,7 +106,7 @@ macro(WEBKIT_OPTION_BEGIN)
- set(USE_SYSTEM_MALLOC_DEFAULT OFF)
+@@ -110,7 +110,7 @@ macro(WEBKIT_OPTION_BEGIN)
+ set(USE_MIMALLOC_DEFAULT ON)
set(ENABLE_C_LOOP_DEFAULT ON)
set(ENABLE_SAMPLING_PROFILER_DEFAULT OFF)
- elseif (WTF_CPU_RISCV64)
Added files:
Index: pkgsrc/www/webkit-gtk41/patches/patch-Source_ThirdParty_skia_src_core_SkAutoLocaleSetter.h
diff -u /dev/null pkgsrc/www/webkit-gtk41/patches/patch-Source_ThirdParty_skia_src_core_SkAutoLocaleSetter.h:1.1
--- /dev/null Tue Sep 22 12:27:03 2026
+++ pkgsrc/www/webkit-gtk41/patches/patch-Source_ThirdParty_skia_src_core_SkAutoLocaleSetter.h Tue Sep 22 12:27:02 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-Source_ThirdParty_skia_src_core_SkAutoLocaleSetter.h,v 1.1 2026/09/22 12:27:02 wiz Exp $
+
+No uselocale() on NetBSD.
+
+--- Source/ThirdParty/skia/src/core/SkAutoLocaleSetter.h.orig 2026-09-16 20:30:24.311812753 +0000
++++ Source/ThirdParty/skia/src/core/SkAutoLocaleSetter.h
+@@ -27,7 +27,7 @@
+ #define HAVE_XLOCALE 0
+ #endif
+
+-#if defined(SK_BUILD_FOR_ANDROID) || defined(__UCLIBC__) || defined(_NEWLIB_VERSION)
++#if defined(SK_BUILD_FOR_ANDROID) || defined(__UCLIBC__) || defined(_NEWLIB_VERSION) || defined(__NetBSD__)
+ #define HAVE_LOCALE_T 0
+ #else
+ #define HAVE_LOCALE_T 1
Index: pkgsrc/www/webkit-gtk41/patches/patch-Source_WTF_wtf_AvailableMemory.cpp
diff -u /dev/null pkgsrc/www/webkit-gtk41/patches/patch-Source_WTF_wtf_AvailableMemory.cpp:1.1
--- /dev/null Tue Sep 22 12:27:03 2026
+++ pkgsrc/www/webkit-gtk41/patches/patch-Source_WTF_wtf_AvailableMemory.cpp Tue Sep 22 12:27:02 2026
@@ -0,0 +1,41 @@
+$NetBSD: patch-Source_WTF_wtf_AvailableMemory.cpp,v 1.1 2026/09/22 12:27:02 wiz Exp $
+
+Add NetBSD support for memoryStatus.
+
+--- Source/WTF/wtf/AvailableMemory.cpp.orig 2026-09-16 19:58:03.960294163 +0000
++++ Source/WTF/wtf/AvailableMemory.cpp
+@@ -50,6 +50,9 @@
+ #include <sys/sysctl.h>
+ #include <sys/types.h>
+ #include <sys/user.h>
++#elif OS(NETBSD)
++#include <sys/sysctl.h>
++#include <sys/types.h>
+ #endif
+ #include <unistd.h>
+ #elif OS(WINDOWS)
+@@ -182,7 +185,7 @@ size_t availableMemory()
+ return availableMemory;
+ }
+
+-#if PLATFORM(IOS_FAMILY) || OS(LINUX) || OS(FREEBSD)
++#if PLATFORM(IOS_FAMILY) || OS(LINUX) || OS(FREEBSD) || OS(NETBSD)
+ MemoryStatus memoryStatus()
+ {
+ #if PLATFORM(IOS_FAMILY)
+@@ -204,6 +207,15 @@ MemoryStatus memoryStatus()
+ size_t memoryFootprint = 0;
+ if (!sysctl(mib.data(), mib.size(), &info, &infolen, nullptr, 0))
+ memoryFootprint = static_cast<size_t>(info.ki_rssize) * pageSize();
++#elif OS(NETBSD)
++ struct kinfo_proc2 info;
++ size_t infolen = sizeof(info);
++
++ std::array<int, 4> mib { CTL_KERN, KERN_PROC2, KERN_PROC_PID, getpid() };
++
++ size_t memoryFootprint = 0;
++ if (!sysctl(mib.data(), mib.size(), &info, &infolen, nullptr, 0))
++ memoryFootprint = static_cast<size_t>(info.p_vm_rssize) * pageSize();
+ #endif
+
+ double percentInUse = static_cast<double>(memoryFootprint) / static_cast<double>(availableMemory());
Index: pkgsrc/www/webkit-gtk41/patches/patch-Source_WTF_wtf_AvailableMemory.h
diff -u /dev/null pkgsrc/www/webkit-gtk41/patches/patch-Source_WTF_wtf_AvailableMemory.h:1.1
--- /dev/null Tue Sep 22 12:27:03 2026
+++ pkgsrc/www/webkit-gtk41/patches/patch-Source_WTF_wtf_AvailableMemory.h Tue Sep 22 12:27:03 2026
@@ -0,0 +1,24 @@
+$NetBSD: patch-Source_WTF_wtf_AvailableMemory.h,v 1.1 2026/09/22 12:27:03 wiz Exp $
+
+Add NetBSD support for memoryStatus.
+
+--- Source/WTF/wtf/AvailableMemory.h.orig 2026-09-16 20:05:45.962495471 +0000
++++ Source/WTF/wtf/AvailableMemory.h
+@@ -32,7 +32,7 @@ WTF_EXPORT_PRIVATE size_t availableMemory();
+
+ WTF_EXPORT_PRIVATE size_t availableMemory();
+
+-#if PLATFORM(IOS_FAMILY) || OS(LINUX) || OS(FREEBSD)
++#if PLATFORM(IOS_FAMILY) || OS(LINUX) || OS(FREEBSD) || OS(NETBSD)
+ struct MemoryStatus {
+ MemoryStatus(size_t memoryFootprint, double percentAvailableMemoryInUse)
+ : memoryFootprint(memoryFootprint)
+@@ -55,7 +55,7 @@ inline bool isUnderMemoryPressure()
+
+ inline bool isUnderMemoryPressure()
+ {
+-#if PLATFORM(IOS_FAMILY) || OS(LINUX) || OS(FREEBSD)
++#if PLATFORM(IOS_FAMILY) || OS(LINUX) || OS(FREEBSD) || OS(NETBSD)
+ constexpr double memoryPressureThreshold = 0.75;
+ return percentAvailableMemoryInUse() > memoryPressureThreshold;
+ #else
Index: pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_platform_graphics_gstreamer_GStreamerCommon.h
diff -u /dev/null pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_platform_graphics_gstreamer_GStreamerCommon.h:1.1
--- /dev/null Tue Sep 22 12:27:03 2026
+++ pkgsrc/www/webkit-gtk41/patches/patch-Source_WebCore_platform_graphics_gstreamer_GStreamerCommon.h Tue Sep 22 12:27:03 2026
@@ -0,0 +1,16 @@
+$NetBSD: patch-Source_WebCore_platform_graphics_gstreamer_GStreamerCommon.h,v 1.1 2026/09/22 12:27:03 wiz Exp $
+
+Bug fix for 2.54.0
+https://lists.webkit.org/archives/list/webkit-gtk%lists.webkit.org@localhost/thread/FPLRIJ2HSM3Q43TKUH64OR5DBXYVGMZ3/
+
+--- Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h.orig 2026-09-18 08:36:48.629470640 +0000
++++ Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h
+@@ -36,7 +36,7 @@
+ #include <wtf/text/CStringView.h>
+
+ #if USE(GSTREAMER_GL)
+-#include "GraphicsTypesGL.h"
++#include "WebCore/GraphicsTypesGL.h"
+ #endif
+
+ namespace WebCore {
Index: pkgsrc/www/webkit-gtk41/patches/patch-Source_bmalloc_libpas_src_libpas_pas__utils.h
diff -u /dev/null pkgsrc/www/webkit-gtk41/patches/patch-Source_bmalloc_libpas_src_libpas_pas__utils.h:1.1
--- /dev/null Tue Sep 22 12:27:03 2026
+++ pkgsrc/www/webkit-gtk41/patches/patch-Source_bmalloc_libpas_src_libpas_pas__utils.h Tue Sep 22 12:27:03 2026
@@ -0,0 +1,25 @@
+$NetBSD: patch-Source_bmalloc_libpas_src_libpas_pas__utils.h,v 1.1 2026/09/22 12:27:03 wiz Exp $
+
+In file included from /tmp/www/webkit-gtk41/work/webkitgtk-2.54.0/cmake-pkgsrc-build/bmalloc/Headers/bmalloc/pas_utils.h:45,
+ from /tmp/www/webkit-gtk41/work/webkitgtk-2.54.0/cmake-pkgsrc-build/bmalloc/Headers/bmalloc/pas_process.h:29,
+ from /tmp/www/webkit-gtk41/work/webkitgtk-2.54.0/Source/WTF/wtf/Threading.cpp:30:
+/usr/include/gcc-14/stdatomic.h:40:9: error: '_Atomic' does not name a type; did you mean 'Atomic'?
+ 40 | typedef _Atomic _Bool atomic_bool;
+ | ^~~~~~~
+ | Atomic
+
+--- Source/bmalloc/libpas/src/libpas/pas_utils.h.orig 2026-07-24 08:02:56.317823600 +0000
++++ Source/bmalloc/libpas/src/libpas/pas_utils.h
+@@ -42,7 +42,12 @@
+ #endif
+
+ #include <limits.h>
++#ifdef __cplusplus
++#include <atomic>
++using namespace std;
++#else
+ #include <stdatomic.h>
++#endif
+ #include <stdbool.h>
+ #include <stdint.h>
+ #include <string.h>
Home |
Main Index |
Thread Index |
Old Index