pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
qt6-qtwebengine: update to 6.9.3
Module Name: pkgsrc-wip
Committed By: Mark Davies <mark%ecs.vuw.ac.nz@localhost>
Pushed By: markd
Date: Tue Oct 21 18:54:54 2025 +1300
Changeset: a38d38877626085fdddae08a8883601a79f2dc59
Modified Files:
qt6-qtwebengine/Makefile
qt6-qtwebengine/PLIST
qt6-qtwebengine/distinfo
qt6-qtwebengine/patches/patch-cmake_Functions.cmake
qt6-qtwebengine/patches/patch-configure.cmake
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_dispatcher_tls.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_partition__alloc.gni
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__page__constants.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__root.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_base__paths__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_compiler__specific.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_debug_stack__trace.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_file__path__watcher__unittest.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_file__util__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_memory_platform__shared__memory__region.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_posix_sysctl.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_launch.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_memory__linux.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics__freebsd.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics__netbsd.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics__openbsd.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_stack__base__address__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_stack__sampling__profiler__unittest.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_thread__delegate__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_rand__util__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_system_sys__info__freebsd.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_system_sys__info__openbsd.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_threading_platform__thread__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_trace__event_malloc__dump__provider.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_trace__event_process__memory__dump.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_clang_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_compiler_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_toolchain_gcc__toolchain.gni
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_toolchain_toolchain.gni
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_api__browser__context__keyed__service__factories.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_management_chrome__management__api__delegate.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_settings__private_prefs__util.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_tabs_tabs__api.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_webstore__private_webstore__private__api.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_desktop__media__picker__controller.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__log__uploader.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__logging__controller.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_prefs_browser__prefs.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_channel__info.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_channel__info__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__features.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__features.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__switches.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__switches.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_media_component__widevine__cdm__hint__file__linux.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_pref__names.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_url__constants.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_test_chromedriver_keycode__text__conversion__unittest.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_commerce_core_commerce__feature__list.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_crash_core_app_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_embedder__support_user__agent__utils__unittest.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_eye__dropper_eye__dropper__view.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__configurations.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feed_core_v2_proto__util__unittest.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_media__router_common_media__source.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_named__mojo__ipc__server_connection__info.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_os__crypt_sync_libsecret__util__linux.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_os__crypt_sync_os__crypt.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__form__manager.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store_login__database__unittest.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_common_policy__utils.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_content_common_file__type__policies__unittest.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_content_resources_gen__file__type__proto.py
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_core_common_features.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_search__engines_template__url__service.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__service.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_user__education_views_help__bubble__view.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_display__embedder_skia__output__surface__impl.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_app_content__main.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_app_content__main__runner__impl.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper__linux.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_file__system__access_file__system__access__local__path__watcher.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_gpu_compositor__util.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_gpu_gpu__memory__buffer__manager__singleton.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_gpu_gpu__process__host.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_media_media__keys__listener__manager__impl.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__aura.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__event__handler.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__process__host.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__process__host.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__process__host__receiver__bindings.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_v8__snapshot__files.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_child_child__process.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_common_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_common_features.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_common_features.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_gpu_gpu__main.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_common_content__features.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_common_content__switches.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_common_content__switches.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_test_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_services.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_speech_speech__recognition__sandbox__hook__linux.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_utility__main.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_zygote_zygote__linux.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_browser_api_api__browser__context__keyed__service__factories.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_common_command.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_app_shell__main__delegate.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_angle__vulkan__image__backing__factory.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_config_gpu__finch__features.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_ipc_service_gpu__memory__buffer__factory.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__device__queue.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_headless_lib_browser_headless__content__browser__client.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_audio_alsa_audio__manager__alsa.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_libaom__thread__wrapper.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_media__switches.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_media__switches.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_video__frame.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_video__frame.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_chromeos_libyuv__image__processor__backend.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_chromeos_mailbox__video__frame__converter.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_chromeos_video__decoder__pipeline.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__encoding__sandbox__hook__linux.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_vaapi_vaapi__video__decoder.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_fake__gpu__memory__buffer.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_gpu__memory__buffer__video__frame__pool.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_webrtc_helpers.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_webrtc_helpers__unittests.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_mojo_core_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_mojo_core_channel.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_mojo_public_tools_bindings_mojom.gni
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_native__client__sdk_src_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_dns_address__sorter__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_http_http__network__session.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_proxy__resolution_proxy__config__service__linux.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_socket_udp__socket__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_socket_udp__socket__unittest.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_tools_net__watcher_net__watcher.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_traffic__annotation_network__traffic__annotation.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_url__request_url__request__context.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_url__request_url__request__context.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_printing__features.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_printing__features.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_sandbox_print__backend__sandbox__hook__linux.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_features.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_features.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_sandbox__type.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_audio_audio__sandbox__hook__linux.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_usb_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_usb_usb__service.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_network__sandbox__hook__linux.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_network__service.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_public_cpp_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_public_mojom_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_on__device__model_on__device__model__service.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_Display.cpp
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_bindings_scripts_bind__gen_style__format.py
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_css_properties_css__color__function__parser.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_layout_layout__view.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__cache.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_video__frame__submitter.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_runtime__enabled__features.json5
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_scheduler_common_thread.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_cpuinfo_cpuinfo.gni
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_dawn_include_dawn_native_VulkanBackend.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_fontconfig_include_config.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_libc++_src_src_chrono.cpp
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_libc++_src_src_filesystem_filesystem__clock.cpp
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_libc++abi_src_src_cxa__guard__impl.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_node_node.gni
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_node_node.py
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_pdfium_fxjs_cjs__publicmethods.cpp
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_utils.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_trace__processor_db_column_utils.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_tflite_features.gni
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_wayland_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_ip__address.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_physical__socket__server.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_zlib_cpu__features.c
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_tools_perf_chrome__telemetry__build_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_tools_v8__context__snapshot_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__non__backed.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ime_fake__text__input__client.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__switches.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__switches.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_webui_web__ui__util.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_color_color__id.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_font__render__params__linux.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_font__util.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_linux_gbm__wrapper.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_native__widget__types.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_platform__font__skia.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_render__text__fuzzer.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_switches.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_gl__fence.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_gl__implementation.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_sync__control__vsync__provider.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gtk_printing_print__dialog__gtk.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_message__center_views_message__popup__view.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_native__theme_native__theme.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_native__theme_native__theme__base.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_common_wayland__util.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__window.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_platform__window_platform__window__delegate.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_platform__window_platform__window__init__properties.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_corewm_tooltip__aura.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_focus_focus__manager.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_style_platform__style.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__drag__drop__client__ozone.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_root__view.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_window_custom__frame__view.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_platform_memory.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_platform_platform-openbsd.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_platform_platform-posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_flags_flags.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.h
qt6-qtwebengine/patches/patch-src_core_CMakeLists.txt
qt6-qtwebengine/patches/patch-src_core_api_configure.cmake
qt6-qtwebengine/patches/patch-src_pdf_CMakeLists.txt
Added Files:
qt6-qtwebengine/patches/patch-cmake_QtConfigureHelpers.cmake
qt6-qtwebengine/patches/patch-cmake_QtToolchainHelpers.cmake
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_proc__maps__linux.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_base__switches.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_base__switches.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_trusted__vault_trusted__vault__connection__impl.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__bsd.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__kqueue.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_child_child__process.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_screen__ai_sandbox_screen_ai__sandbox__hook__linux.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_core_clock__snapshots.cc
Removed Files:
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__address__space.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_starscan_stack_stack.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_test_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_common_gpu__memory__buffer__support.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_libvpx__thread__wrapper.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_geolocation_location__arbitrator.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_build_scripts_gperf.py
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_ml_webnn_features.gni
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_core_tracing__service__impl.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_skia_src_base_SkContainers.cpp
Log Message:
qt6-qtwebengine: update to 6.9.3
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a38d38877626085fdddae08a8883601a79f2dc59
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
qt6-qtwebengine/Makefile | 6 +-
qt6-qtwebengine/PLIST | 63 ++-
qt6-qtwebengine/distinfo | 595 +++++++++++----------
.../patches/patch-cmake_Functions.cmake | 42 +-
.../patches/patch-cmake_QtConfigureHelpers.cmake | 24 +
.../patches/patch-cmake_QtToolchainHelpers.cmake | 36 ++
qt6-qtwebengine/patches/patch-configure.cmake | 196 ++++---
.../patches/patch-src_3rdparty_chromium_BUILD.gn | 20 +-
.../patch-src_3rdparty_chromium_base_BUILD.gn | 47 +-
...dparty_chromium_base_allocator_dispatcher_tls.h | 8 +-
...cator_partition__allocator_partition__alloc.gni | 22 +-
...tition__allocator_src_partition__alloc_BUILD.gn | 6 +-
...artition__alloc_address__space__randomization.h | 14 +-
...llocator_src_partition__alloc_page__allocator.h | 8 +-
...c_partition__alloc_page__allocator__constants.h | 39 +-
...tion__alloc_page__allocator__internals__posix.h | 10 +-
...c_partition__alloc_partition__address__space.cc | 16 -
...rtition__alloc__base_debug_proc__maps__linux.cc | 17 +
...ition__alloc__base_debug_stack__trace__posix.cc | 20 +-
...loc_partition__alloc__base_rand__util__posix.cc | 2 +-
...ition__alloc__base_threading_platform__thread.h | 18 +-
...e_threading_platform__thread__internal__posix.h | 6 +-
...lloc__base_threading_platform__thread__posix.cc | 6 +-
...src_partition__alloc_partition__alloc__config.h | 39 +-
..._partition__alloc_partition__alloc__constants.h | 32 +-
...c_partition__alloc_partition__page__constants.h | 16 +-
...locator_src_partition__alloc_partition__root.cc | 33 +-
...__allocator_src_partition__alloc_stack_stack.cc | 55 ++
...or_src_partition__alloc_starscan_stack_stack.cc | 55 --
..._src_partition__alloc_thread__isolation_pkey.cc | 6 +-
...rc_3rdparty_chromium_base_base__paths__posix.cc | 30 +-
...ch-src_3rdparty_chromium_base_base__switches.cc | 17 +
...tch-src_3rdparty_chromium_base_base__switches.h | 17 +
...src_3rdparty_chromium_base_compiler__specific.h | 12 +-
...rc_3rdparty_chromium_base_debug_stack__trace.cc | 19 +-
...ium_base_files_file__path__watcher__unittest.cc | 10 +-
...dparty_chromium_base_files_file__util__posix.cc | 24 +-
..._base_memory_platform__shared__memory__region.h | 12 +-
...mium_base_message__loop_message__pump__epoll.cc | 17 +
...omium_base_message__loop_message__pump__epoll.h | 20 +
...atch-src_3rdparty_chromium_base_posix_sysctl.cc | 13 +-
...tch-src_3rdparty_chromium_base_process_launch.h | 6 +-
...3rdparty_chromium_base_process_memory__linux.cc | 8 +-
...party_chromium_base_process_process__metrics.cc | 13 +-
...dparty_chromium_base_process_process__metrics.h | 37 +-
...omium_base_process_process__metrics__freebsd.cc | 74 ++-
...romium_base_process_process__metrics__netbsd.cc | 11 +-
...omium_base_process_process__metrics__openbsd.cc | 154 +++---
...rdparty_chromium_base_process_process__posix.cc | 10 +-
...e_profiler_sampling__profiler__thread__token.cc | 4 +-
...um_base_profiler_stack__base__address__posix.cc | 8 +-
...profiler_stack__sampling__profiler__unittest.cc | 6 +-
...romium_base_profiler_thread__delegate__posix.cc | 10 +-
...src_3rdparty_chromium_base_rand__util__posix.cc | 18 +-
...arty_chromium_base_system_sys__info__freebsd.cc | 11 +-
...arty_chromium_base_system_sys__info__openbsd.cc | 7 +-
...omium_base_threading_platform__thread__posix.cc | 19 +-
...ium_base_trace__event_malloc__dump__provider.cc | 12 +-
...mium_base_trace__event_process__memory__dump.cc | 6 +-
...c_3rdparty_chromium_build_config_clang_BUILD.gn | 8 +-
...rdparty_chromium_build_config_compiler_BUILD.gn | 48 +-
...rty_chromium_build_toolchain_gcc__toolchain.gni | 8 +-
...3rdparty_chromium_build_toolchain_toolchain.gni | 6 +-
...rty_chromium_chrome_browser_extensions_BUILD.gn | 10 +-
..._browser__context__keyed__service__factories.cc | 8 +-
...management_chrome__management__api__delegate.cc | 10 +-
...s_api_runtime_chrome__runtime__api__delegate.cc | 8 +-
...extensions_api_settings__private_prefs__util.cc | 10 +-
...chrome_browser_extensions_api_tabs_tabs__api.cc | 8 +-
...api_webstore__private_webstore__private__api.cc | 10 +-
...ia_webrtc_desktop__media__picker__controller.cc | 10 +-
...e_browser_media_webrtc_webrtc__log__uploader.cc | 6 +-
...ser_media_webrtc_webrtc__logging__controller.cc | 4 +-
...rowser_net_system__network__context__manager.cc | 61 +--
...browser_net_system__network__context__manager.h | 19 +-
...chromium_chrome_browser_prefs_browser__prefs.cc | 37 +-
...i_webui_chrome__web__ui__controller__factory.cc | 8 +-
...i_connectors__internals_device__trust__utils.cc | 10 +-
...e_browser_ui_webui_management_management__ui.cc | 6 +-
..._ui_webui_management_management__ui__handler.cc | 40 +-
...r_ui_webui_management_management__ui__handler.h | 25 +-
...tings_settings__localized__strings__provider.cc | 28 +-
...3rdparty_chromium_chrome_common_channel__info.h | 20 +-
..._chromium_chrome_common_channel__info__posix.cc | 8 +-
...arty_chromium_chrome_common_chrome__features.cc | 54 +-
...party_chromium_chrome_common_chrome__features.h | 30 +-
...arty_chromium_chrome_common_chrome__switches.cc | 8 +-
...party_chromium_chrome_common_chrome__switches.h | 8 +-
...romium_chrome_common_media_cdm__registration.cc | 55 +-
...a_component__widevine__cdm__hint__file__linux.h | 6 +-
...c_3rdparty_chromium_chrome_common_pref__names.h | 43 +-
...rdparty_chromium_chrome_common_url__constants.h | 10 +-
...chromium_chrome_common_webui__url__constants.cc | 83 +--
..._chromium_chrome_common_webui__url__constants.h | 54 +-
...atch-src_3rdparty_chromium_chrome_test_BUILD.gn | 16 -
...medriver_keycode__text__conversion__unittest.cc | 6 +-
...ill_core_common_autofill__payments__features.cc | 15 +-
...onents_commerce_core_commerce__feature__list.cc | 18 +-
...rty_chromium_components_crash_core_app_BUILD.gn | 28 +-
...bedder__support_user__agent__utils__unittest.cc | 23 +-
...m_components_eye__dropper_eye__dropper__view.cc | 6 +-
...e__engagement_public_feature__configurations.cc | 21 +-
...eature__engagement_public_feature__constants.cc | 31 +-
...feature__engagement_public_feature__constants.h | 25 +-
...nts_feature__engagement_public_feature__list.cc | 25 +-
...ents_feature__engagement_public_feature__list.h | 44 +-
...omponents_feed_core_v2_proto__util__unittest.cc | 6 +-
...omponents_media__router_common_media__source.cc | 12 +-
...nts_named__mojo__ipc__server_connection__info.h | 10 +-
...onents_os__crypt_sync_libsecret__util__linux.cc | 6 +-
..._chromium_components_os__crypt_sync_os__crypt.h | 10 +-
...ger_core_browser_features_password__features.cc | 16 +-
...ager_core_browser_features_password__features.h | 10 +-
...manager_core_browser_password__form__manager.cc | 10 +-
...word__manager_core_browser_password__manager.cc | 15 +-
...er_password__store_login__database__unittest.cc | 12 +-
..._components_policy_core_common_policy__utils.cc | 8 +-
...ontent_common_file__type__policies__unittest.cc | 6 +-
...ing_content_resources_gen__file__type__proto.py | 12 +-
..._browser_realtime_url__lookup__service__base.cc | 6 +-
...mponents_safe__browsing_core_common_features.cc | 12 +-
...nents_search__engines_template__url__service.cc | 8 +-
..._user_core_browser_supervised__user__service.cc | 10 +-
...onents_supervised__user_core_common_features.cc | 75 ++-
...ponents_supervised__user_core_common_features.h | 31 +-
...sted__vault_trusted__vault__connection__impl.cc | 17 +
...nts_user__education_views_help__bubble__view.cc | 6 +-
...isplay__embedder_skia__output__surface__impl.cc | 10 +-
..._display__embedder_software__output__surface.cc | 10 +-
...e_display__embedder_software__output__surface.h | 10 +-
...e__sinks_root__compositor__frame__sink__impl.cc | 10 +-
...me__sinks_root__compositor__frame__sink__impl.h | 8 +-
..._3rdparty_chromium_content_app_content__main.cc | 17 +-
...mium_content_app_content__main__runner__impl.cc | 68 +--
...-src_3rdparty_chromium_content_browser_BUILD.gn | 21 +-
..._browser_browser__child__process__host__impl.cc | 10 +-
...tent_browser_child__process__launcher__helper.h | 8 +-
...wser_child__process__launcher__helper__linux.cc | 24 +-
...ccess_file__path__watcher_file__path__watcher.h | 17 +
...file__path__watcher_file__path__watcher__bsd.cc | 64 +++
...le__path__watcher_file__path__watcher__kqueue.h | 16 +
...s_file__system__access__local__path__watcher.cc | 18 +-
...hromium_content_browser_gpu_compositor__util.cc | 26 +-
..._gpu_gpu__memory__buffer__manager__singleton.cc | 12 +-
...omium_content_browser_gpu_gpu__process__host.cc | 17 +-
...r_media_media__keys__listener__manager__impl.cc | 10 +-
...derer__host_render__widget__host__view__aura.cc | 18 +-
...t_render__widget__host__view__event__handler.cc | 6 +-
...omium_content_browser_utility__process__host.cc | 42 +-
...romium_content_browser_utility__process__host.h | 12 +-
...r_utility__process__host__receiver__bindings.cc | 8 +-
...chromium_content_browser_v8__snapshot__files.cc | 6 +-
...browser_webui_web__ui__main__frame__observer.cc | 4 +-
..._browser_webui_web__ui__main__frame__observer.h | 4 +-
...dparty_chromium_content_child_child__process.cc | 25 +-
...rdparty_chromium_content_child_child__process.h | 17 +
...h-src_3rdparty_chromium_content_common_BUILD.gn | 19 +-
...rc_3rdparty_chromium_content_common_features.cc | 8 +-
...src_3rdparty_chromium_content_common_features.h | 10 +-
...-src_3rdparty_chromium_content_gpu_gpu__main.cc | 24 +-
...mium_content_public_common_content__features.cc | 30 +-
...mium_content_public_common_content__switches.cc | 8 +-
...omium_content_public_common_content__switches.h | 8 +-
...tch-src_3rdparty_chromium_content_test_BUILD.gn | 22 +-
...c_3rdparty_chromium_content_utility_services.cc | 35 +-
...ch_speech__recognition__sandbox__hook__linux.cc | 8 +-
...party_chromium_content_utility_utility__main.cc | 54 +-
...dparty_chromium_content_zygote_zygote__linux.cc | 8 +-
..._browser__context__keyed__service__factories.cc | 6 +-
..._3rdparty_chromium_extensions_common_command.cc | 6 +-
...m_extensions_shell_app_shell__main__delegate.cc | 6 +-
...shell_browser_shell__extensions__api__client.cc | 6 +-
..._shell_browser_shell__extensions__api__client.h | 6 +-
...__buffer_common_gpu__memory__buffer__support.cc | 25 -
...image_angle__vulkan__image__backing__factory.cc | 6 +-
..._image_external__vk__image__backing__factory.cc | 10 +-
...rty_chromium_gpu_config_gpu__finch__features.cc | 22 +-
...gpu_ipc_service_gpu__memory__buffer__factory.cc | 12 +-
...rty_chromium_gpu_vulkan_vulkan__device__queue.h | 6 +-
...b_browser_headless__content__browser__client.cc | 36 +-
.../patch-src_3rdparty_chromium_media_BUILD.gn | 10 +-
...romium_media_audio_alsa_audio__manager__alsa.cc | 16 +-
..._chromium_media_base_libaom__thread__wrapper.cc | 16 +-
..._chromium_media_base_libvpx__thread__wrapper.cc | 30 --
...3rdparty_chromium_media_base_media__switches.cc | 57 +-
..._3rdparty_chromium_media_base_media__switches.h | 23 +-
...rc_3rdparty_chromium_media_base_video__frame.cc | 55 +-
...src_3rdparty_chromium_media_base_video__frame.h | 22 +-
...u_chromeos_libyuv__image__processor__backend.cc | 18 +-
...pu_chromeos_mailbox__video__frame__converter.cc | 6 +-
..._media_gpu_chromeos_video__decoder__pipeline.cc | 15 +-
...dware__video__decoding__sandbox__hook__linux.cc | 18 +-
...dware__video__encoding__sandbox__hook__linux.cc | 6 +-
...romium_media_gpu_vaapi_vaapi__video__decoder.cc | 6 +-
...romium_media_video_fake__gpu__memory__buffer.cc | 14 +-
...ideo_gpu__memory__buffer__video__frame__pool.cc | 32 +-
...h-src_3rdparty_chromium_media_webrtc_helpers.cc | 18 +-
...rty_chromium_media_webrtc_helpers__unittests.cc | 31 +-
.../patch-src_3rdparty_chromium_mojo_core_BUILD.gn | 18 +-
...atch-src_3rdparty_chromium_mojo_core_channel.cc | 8 +-
...y_chromium_mojo_public_tools_bindings_mojom.gni | 6 +-
...party_chromium_native__client__sdk_src_BUILD.gn | 8 +-
.../patch-src_3rdparty_chromium_net_BUILD.gn | 32 +-
...arty_chromium_net_dns_address__sorter__posix.cc | 6 +-
...rty_chromium_net_http_http__network__session.cc | 6 +-
...xy__resolution_proxy__config__service__linux.cc | 12 +-
...party_chromium_net_socket_udp__socket__posix.cc | 22 +-
...ty_chromium_net_socket_udp__socket__unittest.cc | 24 +-
...chromium_net_tools_net__watcher_net__watcher.cc | 4 +-
...ffic__annotation_network__traffic__annotation.h | 8 +-
...omium_net_url__request_url__request__context.cc | 6 +-
...romium_net_url__request_url__request__context.h | 6 +-
...rdparty_chromium_printing_printing__features.cc | 10 +-
...3rdparty_chromium_printing_printing__features.h | 12 +-
...sandbox_print__backend__sandbox__hook__linux.cc | 6 +-
...rc_3rdparty_chromium_sandbox_policy_features.cc | 13 +-
...src_3rdparty_chromium_sandbox_policy_features.h | 15 +-
...dparty_chromium_sandbox_policy_sandbox__type.cc | 42 +-
...m_services_audio_audio__sandbox__hook__linux.cc | 10 +-
...ices_device_geolocation_location__arbitrator.cc | 16 -
..._3rdparty_chromium_services_device_usb_BUILD.gn | 15 +-
...ty_chromium_services_device_usb_usb__service.cc | 13 +-
...rvices_network_network__sandbox__hook__linux.cc | 12 +-
...ty_chromium_services_network_network__service.h | 12 +-
...y_chromium_services_network_public_cpp_BUILD.gn | 10 +-
...chromium_services_network_public_mojom_BUILD.gn | 10 +-
..._on__device__model_on__device__model__service.h | 16 +-
...n__ai_sandbox_screen_ai__sandbox__hook__linux.h | 22 +
...ium_third__party_angle_src_libANGLE_Display.cpp | 14 +-
...rer_bindings_scripts_bind__gen_style__format.py | 6 +-
...rd__party_blink_renderer_build_scripts_gperf.py | 33 --
..._css_properties_css__color__function__parser.cc | 30 +-
...arty_blink_renderer_core_layout_layout__view.cc | 8 +-
..._renderer_core_scroll_scrollbar__theme__aura.cc | 8 +-
...ty_blink_renderer_modules_ml_webnn_features.gni | 16 -
...er_modules_peerconnection_rtc__data__channel.cc | 8 +-
...rty_blink_renderer_platform_fonts_font__cache.h | 14 +-
...er_platform_graphics_video__frame__submitter.cc | 10 +-
...derer_platform_runtime__enabled__features.json5 | 60 ++-
...nk_renderer_platform_scheduler_common_thread.cc | 8 +-
...party_chromium_third__party_cpuinfo_cpuinfo.gni | 6 +-
..._party_dawn_include_dawn_native_VulkanBackend.h | 9 +-
...romium_third__party_fontconfig_include_config.h | 52 +-
...chromium_third__party_libc++_src_src_chrono.cpp | 14 +-
...libc++_src_src_filesystem_filesystem__clock.cpp | 10 +-
...ird__party_libc++abi_src_src_cxa__guard__impl.h | 16 +-
...rc_3rdparty_chromium_third__party_node_node.gni | 16 +-
...src_3rdparty_chromium_third__party_node_node.py | 6 +-
...arty_pdfium_core_fxge_linux_fx__linux__impl.cpp | 14 +-
...third__party_pdfium_fxjs_cjs__publicmethods.cpp | 24 +-
...hromium_third__party_perfetto_src_base_utils.cc | 34 +-
...erfetto_src_trace__processor_db_column_utils.cc | 12 +-
...y_perfetto_src_tracing_core_clock__snapshots.cc | 14 +
...etto_src_tracing_core_tracing__service__impl.cc | 17 -
...ium_third__party_skia_src_base_SkContainers.cpp | 27 -
...party_chromium_third__party_tflite_features.gni | 15 +-
...3rdparty_chromium_third__party_wayland_BUILD.gn | 14 +-
...um_third__party_webrtc_rtc__base_ip__address.cc | 10 +-
...ty_webrtc_rtc__base_physical__socket__server.cc | 65 ++-
...arty_chromium_third__party_zlib_cpu__features.c | 27 +-
...um_tools_perf_chrome__telemetry__build_BUILD.gn | 4 +-
...y_chromium_tools_v8__context__snapshot_BUILD.gn | 18 +-
...op_os__exchange__data__provider__non__backed.cc | 8 +-
...romium_ui_base_ime_fake__text__input__client.cc | 6 +-
...3rdparty_chromium_ui_base_ui__base__switches.cc | 4 +-
..._3rdparty_chromium_ui_base_ui__base__switches.h | 4 +-
...rdparty_chromium_ui_base_webui_web__ui__util.cc | 8 +-
...atch-src_3rdparty_chromium_ui_color_color__id.h | 10 +-
..._chromium_ui_gfx_font__render__params__linux.cc | 6 +-
...atch-src_3rdparty_chromium_ui_gfx_font__util.cc | 8 +-
..._3rdparty_chromium_ui_gfx_linux_gbm__wrapper.cc | 6 +-
...fx_mojom_native__handle__types__mojom__traits.h | 10 +-
...rdparty_chromium_ui_gfx_native__widget__types.h | 8 +-
...rdparty_chromium_ui_gfx_platform__font__skia.cc | 8 +-
...rdparty_chromium_ui_gfx_render__text__fuzzer.cc | 8 +-
.../patch-src_3rdparty_chromium_ui_gfx_switches.h | 6 +-
.../patch-src_3rdparty_chromium_ui_gl_BUILD.gn | 10 +-
.../patch-src_3rdparty_chromium_ui_gl_gl__fence.cc | 8 +-
...c_3rdparty_chromium_ui_gl_gl__implementation.cc | 6 +-
...hromium_ui_gl_sync__control__vsync__provider.cc | 10 +-
..._chromium_ui_gtk_printing_print__dialog__gtk.cc | 10 +-
...i_message__center_views_message__popup__view.cc | 6 +-
...party_chromium_ui_native__theme_native__theme.h | 6 +-
...hromium_ui_native__theme_native__theme__base.cc | 6 +-
..._ozone_platform_wayland_common_wayland__util.cc | 15 +-
...form_wayland_emulate_wayland__input__emulate.cc | 6 +-
...tform_wayland_emulate_wayland__input__emulate.h | 8 +-
..._ozone_platform_wayland_host_wayland__window.cc | 14 +-
...i_ozone_platform_wayland_host_wayland__window.h | 12 +-
...y_chromium_ui_ozone_platform_x11_x11__window.cc | 6 +-
..._platform__window_platform__window__delegate.cc | 8 +-
...rm__window_platform__window__init__properties.h | 6 +-
...romium_ui_views_controls_textfield_textfield.cc | 14 +-
...hromium_ui_views_controls_textfield_textfield.h | 8 +-
...party_chromium_ui_views_corewm_tooltip__aura.cc | 6 +-
...party_chromium_ui_views_focus_focus__manager.cc | 10 +-
...arty_chromium_ui_views_style_platform__style.cc | 12 +-
...top__aura_desktop__drag__drop__client__ozone.cc | 6 +-
...3rdparty_chromium_ui_views_widget_root__view.cc | 10 +-
...chromium_ui_views_window_custom__frame__view.cc | 6 +-
.../patch-src_3rdparty_chromium_v8_BUILD.gn | 64 ++-
...3rdparty_chromium_v8_src_base_platform_memory.h | 19 +-
...romium_v8_src_base_platform_platform-openbsd.cc | 4 +-
...chromium_v8_src_base_platform_platform-posix.cc | 27 +-
...tch-src_3rdparty_chromium_v8_src_flags_flags.cc | 8 +-
..._embedded_platform-embedded-file-writer-base.cc | 8 +-
...t_embedded_platform-embedded-file-writer-base.h | 6 +-
.../patches/patch-src_core_CMakeLists.txt | 50 +-
.../patches/patch-src_core_api_configure.cmake | 70 ++-
.../patches/patch-src_pdf_CMakeLists.txt | 24 +-
310 files changed, 3295 insertions(+), 3010 deletions(-)
diffs:
diff --git a/qt6-qtwebengine/Makefile b/qt6-qtwebengine/Makefile
index 30fb2b9777..ed3e5e5c76 100644
--- a/qt6-qtwebengine/Makefile
+++ b/qt6-qtwebengine/Makefile
@@ -28,6 +28,8 @@ UNLIMIT_RESOURCES+= datasize
USE_CXX_FEATURES+= c++20
+EXTRA_CXXFLAGS= -I${BUILDLINK_DIR}/include/libepoll-shim
+
# kill fatal warnings or QtPdf fails to build because of
# warning: libstdc++.so.9, needed by ... may conflict with libstdc++.so.7
BUILDLINK_TRANSFORM+= rm:-Wl,--fatal-warnings
@@ -89,7 +91,9 @@ SUBST_FILES.path+= src/3rdparty/chromium/services/device/time_zone_monitor/time_
SUBST_FILES.path+= src/3rdparty/chromium/third_party/perfetto/src/base/utils.cc
SUBST_FILES.path+= src/3rdparty/chromium/ui/qt/qt.gni
SUBST_FILES.path+= src/3rdparty/chromium/v8/tools/run-paxctl.py
-SUBST_VARS.path+= PREFIX PKG_SYSCONFBASE VARBASE QTDIR X11BASE PYTHONBIN
+SUBST_FILES.path+= src/core/CMakeLists.txt
+SUBST_FILES.path+= src/pdf/CMakeLists.txt
+SUBST_VARS.path+= PREFIX PKG_SYSCONFBASE VARBASE QTDIR X11BASE PYTHONBIN EXTRA_CXXFLAGS
NOT_PAX_MPROTECT_SAFE+= qt6/libexec/QtWebEngineProcess
diff --git a/qt6-qtwebengine/PLIST b/qt6-qtwebengine/PLIST
index 111ab71533..fba7327e75 100644
--- a/qt6-qtwebengine/PLIST
+++ b/qt6-qtwebengine/PLIST
@@ -13,6 +13,7 @@ qt6/include/QtPdf/${PKGVERSION}/QtPdf/private/qpdflinkmodel_p.h
qt6/include/QtPdf/${PKGVERSION}/QtPdf/private/qpdfsearchmodel_p.h
qt6/include/QtPdf/${PKGVERSION}/QtPdf/private/qpdfselection_p.h
qt6/include/QtPdf/${PKGVERSION}/QtPdf/private/qtpdf-config_p.h
+qt6/include/QtPdf/${PKGVERSION}/QtPdf/private/qtpdfglobal_p.h
qt6/include/QtPdf/QPdfBookmarkModel
qt6/include/QtPdf/QPdfDocument
qt6/include/QtPdf/QPdfDocumentRenderOptions
@@ -74,6 +75,7 @@ qt6/include/QtWebEngineCore/${PKGVERSION}/QtWebEngineCore/private/qwebengineneww
qt6/include/QtWebEngineCore/${PKGVERSION}/QtWebEngineCore/private/qwebenginepage_p.h
qt6/include/QtWebEngineCore/${PKGVERSION}/QtWebEngineCore/private/qwebenginepermission_p.h
qt6/include/QtWebEngineCore/${PKGVERSION}/QtWebEngineCore/private/qwebengineprofile_p.h
+qt6/include/QtWebEngineCore/${PKGVERSION}/QtWebEngineCore/private/qwebengineprofilebuilder_p.h
qt6/include/QtWebEngineCore/${PKGVERSION}/QtWebEngineCore/private/qwebenginescriptcollection_p.h
qt6/include/QtWebEngineCore/${PKGVERSION}/QtWebEngineCore/private/qwebengineurlrequestinfo_p.h
qt6/include/QtWebEngineCore/${PKGVERSION}/QtWebEngineCore/private/qwebenginewebauthuxrequest_p.h
@@ -101,6 +103,7 @@ qt6/include/QtWebEngineCore/QWebEngineNotification
qt6/include/QtWebEngineCore/QWebEnginePage
qt6/include/QtWebEngineCore/QWebEnginePermission
qt6/include/QtWebEngineCore/QWebEngineProfile
+qt6/include/QtWebEngineCore/QWebEngineProfileBuilder
qt6/include/QtWebEngineCore/QWebEngineQuotaRequest
qt6/include/QtWebEngineCore/QWebEngineRegisterProtocolHandlerRequest
qt6/include/QtWebEngineCore/QWebEngineScript
@@ -141,6 +144,7 @@ qt6/include/QtWebEngineCore/qwebenginenotification.h
qt6/include/QtWebEngineCore/qwebenginepage.h
qt6/include/QtWebEngineCore/qwebenginepermission.h
qt6/include/QtWebEngineCore/qwebengineprofile.h
+qt6/include/QtWebEngineCore/qwebengineprofilebuilder.h
qt6/include/QtWebEngineCore/qwebenginequotarequest.h
qt6/include/QtWebEngineCore/qwebengineregisterprotocolhandlerrequest.h
qt6/include/QtWebEngineCore/qwebenginescript.h
@@ -161,8 +165,9 @@ qt6/include/QtWebEngineQuick/${PKGVERSION}/QtWebEngineQuick/private/qquickwebeng
qt6/include/QtWebEngineQuick/${PKGVERSION}/QtWebEngineQuick/private/qquickwebengineforeigntypes_p.h
qt6/include/QtWebEngineQuick/${PKGVERSION}/QtWebEngineQuick/private/qquickwebenginenewwindowrequest_p.h
qt6/include/QtWebEngineQuick/${PKGVERSION}/QtWebEngineQuick/private/qquickwebengineprofile_p.h
+qt6/include/QtWebEngineQuick/${PKGVERSION}/QtWebEngineQuick/private/qquickwebengineprofileprototype_p.h
+qt6/include/QtWebEngineQuick/${PKGVERSION}/QtWebEngineQuick/private/qquickwebengineprofileprototype_p_p.h
qt6/include/QtWebEngineQuick/${PKGVERSION}/QtWebEngineQuick/private/qquickwebenginescriptcollection_p.h
-qt6/include/QtWebEngineQuick/${PKGVERSION}/QtWebEngineQuick/private/qquickwebenginescriptcollection_p_p.h
qt6/include/QtWebEngineQuick/${PKGVERSION}/QtWebEngineQuick/private/qquickwebenginesettings_p.h
qt6/include/QtWebEngineQuick/${PKGVERSION}/QtWebEngineQuick/private/qquickwebenginesingleton_p.h
qt6/include/QtWebEngineQuick/${PKGVERSION}/QtWebEngineQuick/private/qquickwebenginetouchhandle_p.h
@@ -226,6 +231,14 @@ qt6/lib/cmake/Qt6Pdf/Qt6PdfTargets-release.cmake
qt6/lib/cmake/Qt6Pdf/Qt6PdfTargets.cmake
qt6/lib/cmake/Qt6Pdf/Qt6PdfVersionlessAliasTargets.cmake
qt6/lib/cmake/Qt6Pdf/Qt6PdfVersionlessTargets.cmake
+qt6/lib/cmake/Qt6PdfPrivate/Qt6PdfPrivateAdditionalTargetInfo.cmake
+qt6/lib/cmake/Qt6PdfPrivate/Qt6PdfPrivateConfig.cmake
+qt6/lib/cmake/Qt6PdfPrivate/Qt6PdfPrivateConfigVersion.cmake
+qt6/lib/cmake/Qt6PdfPrivate/Qt6PdfPrivateConfigVersionImpl.cmake
+qt6/lib/cmake/Qt6PdfPrivate/Qt6PdfPrivateDependencies.cmake
+qt6/lib/cmake/Qt6PdfPrivate/Qt6PdfPrivateTargets.cmake
+qt6/lib/cmake/Qt6PdfPrivate/Qt6PdfPrivateVersionlessAliasTargets.cmake
+qt6/lib/cmake/Qt6PdfPrivate/Qt6PdfPrivateVersionlessTargets.cmake
qt6/lib/cmake/Qt6PdfQuick/Qt6PdfQuickAdditionalTargetInfo.cmake
qt6/lib/cmake/Qt6PdfQuick/Qt6PdfQuickConfig.cmake
qt6/lib/cmake/Qt6PdfQuick/Qt6PdfQuickConfigVersion.cmake
@@ -235,6 +248,14 @@ qt6/lib/cmake/Qt6PdfQuick/Qt6PdfQuickTargets-release.cmake
qt6/lib/cmake/Qt6PdfQuick/Qt6PdfQuickTargets.cmake
qt6/lib/cmake/Qt6PdfQuick/Qt6PdfQuickVersionlessAliasTargets.cmake
qt6/lib/cmake/Qt6PdfQuick/Qt6PdfQuickVersionlessTargets.cmake
+qt6/lib/cmake/Qt6PdfQuickPrivate/Qt6PdfQuickPrivateAdditionalTargetInfo.cmake
+qt6/lib/cmake/Qt6PdfQuickPrivate/Qt6PdfQuickPrivateConfig.cmake
+qt6/lib/cmake/Qt6PdfQuickPrivate/Qt6PdfQuickPrivateConfigVersion.cmake
+qt6/lib/cmake/Qt6PdfQuickPrivate/Qt6PdfQuickPrivateConfigVersionImpl.cmake
+qt6/lib/cmake/Qt6PdfQuickPrivate/Qt6PdfQuickPrivateDependencies.cmake
+qt6/lib/cmake/Qt6PdfQuickPrivate/Qt6PdfQuickPrivateTargets.cmake
+qt6/lib/cmake/Qt6PdfQuickPrivate/Qt6PdfQuickPrivateVersionlessAliasTargets.cmake
+qt6/lib/cmake/Qt6PdfQuickPrivate/Qt6PdfQuickPrivateVersionlessTargets.cmake
qt6/lib/cmake/Qt6PdfWidgets/Qt6PdfWidgetsAdditionalTargetInfo.cmake
qt6/lib/cmake/Qt6PdfWidgets/Qt6PdfWidgetsConfig.cmake
qt6/lib/cmake/Qt6PdfWidgets/Qt6PdfWidgetsConfigVersion.cmake
@@ -244,6 +265,14 @@ qt6/lib/cmake/Qt6PdfWidgets/Qt6PdfWidgetsTargets-release.cmake
qt6/lib/cmake/Qt6PdfWidgets/Qt6PdfWidgetsTargets.cmake
qt6/lib/cmake/Qt6PdfWidgets/Qt6PdfWidgetsVersionlessAliasTargets.cmake
qt6/lib/cmake/Qt6PdfWidgets/Qt6PdfWidgetsVersionlessTargets.cmake
+qt6/lib/cmake/Qt6PdfWidgetsPrivate/Qt6PdfWidgetsPrivateAdditionalTargetInfo.cmake
+qt6/lib/cmake/Qt6PdfWidgetsPrivate/Qt6PdfWidgetsPrivateConfig.cmake
+qt6/lib/cmake/Qt6PdfWidgetsPrivate/Qt6PdfWidgetsPrivateConfigVersion.cmake
+qt6/lib/cmake/Qt6PdfWidgetsPrivate/Qt6PdfWidgetsPrivateConfigVersionImpl.cmake
+qt6/lib/cmake/Qt6PdfWidgetsPrivate/Qt6PdfWidgetsPrivateDependencies.cmake
+qt6/lib/cmake/Qt6PdfWidgetsPrivate/Qt6PdfWidgetsPrivateTargets.cmake
+qt6/lib/cmake/Qt6PdfWidgetsPrivate/Qt6PdfWidgetsPrivateVersionlessAliasTargets.cmake
+qt6/lib/cmake/Qt6PdfWidgetsPrivate/Qt6PdfWidgetsPrivateVersionlessTargets.cmake
qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6PdfQuickpluginAdditionalTargetInfo.cmake
qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6PdfQuickpluginConfig.cmake
qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6PdfQuickpluginConfigVersion.cmake
@@ -273,6 +302,14 @@ qt6/lib/cmake/Qt6WebEngineCore/Qt6WebEngineCoreTargets-release.cmake
qt6/lib/cmake/Qt6WebEngineCore/Qt6WebEngineCoreTargets.cmake
qt6/lib/cmake/Qt6WebEngineCore/Qt6WebEngineCoreVersionlessAliasTargets.cmake
qt6/lib/cmake/Qt6WebEngineCore/Qt6WebEngineCoreVersionlessTargets.cmake
+qt6/lib/cmake/Qt6WebEngineCorePrivate/Qt6WebEngineCorePrivateAdditionalTargetInfo.cmake
+qt6/lib/cmake/Qt6WebEngineCorePrivate/Qt6WebEngineCorePrivateConfig.cmake
+qt6/lib/cmake/Qt6WebEngineCorePrivate/Qt6WebEngineCorePrivateConfigVersion.cmake
+qt6/lib/cmake/Qt6WebEngineCorePrivate/Qt6WebEngineCorePrivateConfigVersionImpl.cmake
+qt6/lib/cmake/Qt6WebEngineCorePrivate/Qt6WebEngineCorePrivateDependencies.cmake
+qt6/lib/cmake/Qt6WebEngineCorePrivate/Qt6WebEngineCorePrivateTargets.cmake
+qt6/lib/cmake/Qt6WebEngineCorePrivate/Qt6WebEngineCorePrivateVersionlessAliasTargets.cmake
+qt6/lib/cmake/Qt6WebEngineCorePrivate/Qt6WebEngineCorePrivateVersionlessTargets.cmake
qt6/lib/cmake/Qt6WebEngineCoreTools/Qt6WebEngineCoreToolsAdditionalTargetInfo.cmake
qt6/lib/cmake/Qt6WebEngineCoreTools/Qt6WebEngineCoreToolsConfig.cmake
qt6/lib/cmake/Qt6WebEngineCoreTools/Qt6WebEngineCoreToolsConfigVersion.cmake
@@ -298,6 +335,22 @@ qt6/lib/cmake/Qt6WebEngineQuickDelegatesQml/Qt6WebEngineQuickDelegatesQmlTargets
qt6/lib/cmake/Qt6WebEngineQuickDelegatesQml/Qt6WebEngineQuickDelegatesQmlTargets.cmake
qt6/lib/cmake/Qt6WebEngineQuickDelegatesQml/Qt6WebEngineQuickDelegatesQmlVersionlessAliasTargets.cmake
qt6/lib/cmake/Qt6WebEngineQuickDelegatesQml/Qt6WebEngineQuickDelegatesQmlVersionlessTargets.cmake
+qt6/lib/cmake/Qt6WebEngineQuickDelegatesQmlPrivate/Qt6WebEngineQuickDelegatesQmlPrivateAdditionalTargetInfo.cmake
+qt6/lib/cmake/Qt6WebEngineQuickDelegatesQmlPrivate/Qt6WebEngineQuickDelegatesQmlPrivateConfig.cmake
+qt6/lib/cmake/Qt6WebEngineQuickDelegatesQmlPrivate/Qt6WebEngineQuickDelegatesQmlPrivateConfigVersion.cmake
+qt6/lib/cmake/Qt6WebEngineQuickDelegatesQmlPrivate/Qt6WebEngineQuickDelegatesQmlPrivateConfigVersionImpl.cmake
+qt6/lib/cmake/Qt6WebEngineQuickDelegatesQmlPrivate/Qt6WebEngineQuickDelegatesQmlPrivateDependencies.cmake
+qt6/lib/cmake/Qt6WebEngineQuickDelegatesQmlPrivate/Qt6WebEngineQuickDelegatesQmlPrivateTargets.cmake
+qt6/lib/cmake/Qt6WebEngineQuickDelegatesQmlPrivate/Qt6WebEngineQuickDelegatesQmlPrivateVersionlessAliasTargets.cmake
+qt6/lib/cmake/Qt6WebEngineQuickDelegatesQmlPrivate/Qt6WebEngineQuickDelegatesQmlPrivateVersionlessTargets.cmake
+qt6/lib/cmake/Qt6WebEngineQuickPrivate/Qt6WebEngineQuickPrivateAdditionalTargetInfo.cmake
+qt6/lib/cmake/Qt6WebEngineQuickPrivate/Qt6WebEngineQuickPrivateConfig.cmake
+qt6/lib/cmake/Qt6WebEngineQuickPrivate/Qt6WebEngineQuickPrivateConfigVersion.cmake
+qt6/lib/cmake/Qt6WebEngineQuickPrivate/Qt6WebEngineQuickPrivateConfigVersionImpl.cmake
+qt6/lib/cmake/Qt6WebEngineQuickPrivate/Qt6WebEngineQuickPrivateDependencies.cmake
+qt6/lib/cmake/Qt6WebEngineQuickPrivate/Qt6WebEngineQuickPrivateTargets.cmake
+qt6/lib/cmake/Qt6WebEngineQuickPrivate/Qt6WebEngineQuickPrivateVersionlessAliasTargets.cmake
+qt6/lib/cmake/Qt6WebEngineQuickPrivate/Qt6WebEngineQuickPrivateVersionlessTargets.cmake
qt6/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsAdditionalTargetInfo.cmake
qt6/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfig.cmake
qt6/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfigVersion.cmake
@@ -307,6 +360,14 @@ qt6/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsTargets-release.cmake
qt6/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsTargets.cmake
qt6/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsVersionlessAliasTargets.cmake
qt6/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsVersionlessTargets.cmake
+qt6/lib/cmake/Qt6WebEngineWidgetsPrivate/Qt6WebEngineWidgetsPrivateAdditionalTargetInfo.cmake
+qt6/lib/cmake/Qt6WebEngineWidgetsPrivate/Qt6WebEngineWidgetsPrivateConfig.cmake
+qt6/lib/cmake/Qt6WebEngineWidgetsPrivate/Qt6WebEngineWidgetsPrivateConfigVersion.cmake
+qt6/lib/cmake/Qt6WebEngineWidgetsPrivate/Qt6WebEngineWidgetsPrivateConfigVersionImpl.cmake
+qt6/lib/cmake/Qt6WebEngineWidgetsPrivate/Qt6WebEngineWidgetsPrivateDependencies.cmake
+qt6/lib/cmake/Qt6WebEngineWidgetsPrivate/Qt6WebEngineWidgetsPrivateTargets.cmake
+qt6/lib/cmake/Qt6WebEngineWidgetsPrivate/Qt6WebEngineWidgetsPrivateVersionlessAliasTargets.cmake
+qt6/lib/cmake/Qt6WebEngineWidgetsPrivate/Qt6WebEngineWidgetsPrivateVersionlessTargets.cmake
qt6/lib/libQt6Pdf.prl
qt6/lib/libQt6Pdf.so
qt6/lib/libQt6Pdf.so.6
diff --git a/qt6-qtwebengine/distinfo b/qt6-qtwebengine/distinfo
index 122da845a4..6210879c0c 100644
--- a/qt6-qtwebengine/distinfo
+++ b/qt6-qtwebengine/distinfo
@@ -1,43 +1,47 @@
$NetBSD$
-BLAKE2s (qtwebengine-everywhere-src-6.8.3.tar.xz) = 084140048a7a3d5d9d68e3d260caa29ff55c024df795dac06bc6e1b979d5cc5c
-SHA512 (qtwebengine-everywhere-src-6.8.3.tar.xz) = 01e8988c76ff40ca5e38f76e90791d7ef708c29f2e9f8e83ca8604b6335fbecdee71473678a63633ec1edec85088256b20e56a618ca95748ccbe1e7b9673c298
-Size (qtwebengine-everywhere-src-6.8.3.tar.xz) = 566553436 bytes
BLAKE2s (kikadf-chromium-audioio-v130.0.tar.gz) = 45fe07cb8280f81b8ef490059002da426b59fe69b5ebd53951fe1dc3e9495a10
SHA512 (kikadf-chromium-audioio-v130.0.tar.gz) = 840aed119dc69982f14fd5f4767e144bfc8a66672b660f0f05f5459070d7f6a36b8719ae7c0de049f7345dec39266759aedcdd5ee37aa4e98bcd2b44d06a3a4c
Size (kikadf-chromium-audioio-v130.0.tar.gz) = 7824 bytes
-SHA1 (patch-cmake_Functions.cmake) = 40fa3beae3151fa399adb16c84c22096137fe500
-SHA1 (patch-configure.cmake) = 82aeec6c9cb2296dba41b552b53318bd976d0ec4
-SHA1 (patch-src_3rdparty_chromium_BUILD.gn) = a30601c51cc74ba0b1d6892396364d176a3d68b4
-SHA1 (patch-src_3rdparty_chromium_base_BUILD.gn) = 1c82890df98b3e76771ff0a4d1530a39bb86b938
-SHA1 (patch-src_3rdparty_chromium_base_allocator_dispatcher_tls.h) = 62dd16d4a24bba8ce37f3f190f49a75fb0ade6ee
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_partition__alloc.gni) = 7239cfcde9c1e91ba84dba1535658f6980e3b3b3
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_BUILD.gn) = 1cbdc7f722442ab943cca94e25d45549f696b53e
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h) = e3889e0ef74ff8559d9f981be61deef532c0a098
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator.h) = fcea50bc229d47c2446e52b1927a37de105ee86b
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h) = b1a5f2cff91fa023f4917fc4edc0b1ba0c571bc1
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h) = cbffb1940b291f966d538c9a6008194d770d1d84
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__address__space.cc) = 8337bdff2da1dcf5976bbb07e1b927415c00a7c8
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc) = 8564bbc7ff9e9ff521c317406d50cb49f37be855
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc) = a860fe3f31508962606cb6759be269ca4aa16414
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h) = 46df0aacbe5cd8d62c568404cf03410bdb0b2e37
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h) = 1416e565262c94b29c57c647fa2cd10a5f34fcc9
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc) = 6c1950dc3798480435ca593d47fb7266318fccca
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h) = d0116447916dd3c343d557a7ea74a3bfdfa9f0b4
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h) = 700e4bc98aa5a9c79bf0f36e1d4c8068135e9dda
+BLAKE2s (qtwebengine-everywhere-src-6.9.3.tar.xz) = 97b776eb195bafa256cfe59c03f3ddfe9998d7c5362fb66285be45e0b3d98cc5
+SHA512 (qtwebengine-everywhere-src-6.9.3.tar.xz) = 6ebdb077205c2c6e8d5c77a88bb84fb4b66e33868c0abdf866a32203354884a67e6633a9a350b405fd863e46117d08a1b4a6d32b98e2ba288bbde4ddcef213f4
+Size (qtwebengine-everywhere-src-6.9.3.tar.xz) = 672100216 bytes
+SHA1 (patch-cmake_Functions.cmake) = 84648afe64cc6501b164137ea2965c1c81d99ab6
+SHA1 (patch-cmake_QtConfigureHelpers.cmake) = a2ba24b20ef5ac8a0b8e5e04e8fad8aaea3fc04d
+SHA1 (patch-cmake_QtToolchainHelpers.cmake) = 51bcb2ff0e95b5264644c461690a41db453bd47c
+SHA1 (patch-configure.cmake) = 559cb9da56e2e53cbd7d22657f013f6f2404179d
+SHA1 (patch-src_3rdparty_chromium_BUILD.gn) = f22c3a71d1e7923e204a310c12f9e0cd709f5dcc
+SHA1 (patch-src_3rdparty_chromium_base_BUILD.gn) = 3ad59705263549a289f01c3a2842a8b174deb837
+SHA1 (patch-src_3rdparty_chromium_base_allocator_dispatcher_tls.h) = ffad5ba28a141d30eea44b0b38964f8302f24bfd
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_partition__alloc.gni) = 0c2bb1bae61303924559b4de37855f35752c87b4
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_BUILD.gn) = ab01e593235b68fc91ac934fb3382a8548191f69
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h) = 14e58a90e47e659f860eee5c356bd045bec9563f
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator.h) = 304ef2f02a8cf7cb57ded4166368eb202dedf608
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h) = 556741bce33ec052b3e29e957df94873fbf6394c
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h) = e84c60a5469a90ddcea6db207ddc15352b332f35
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_proc__maps__linux.cc) = a2e2c097e2faa9f1ac1a46b08d22b31688f3af9e
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc) = 0b06e50188e014bb9ab0066cd83b9d710f7bfb03
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc) = c02eb252b25b5aca85411dc85116144d19f63cad
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h) = 12e6d1b9d275b6a4cfc905942880487fa2374820
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h) = 8e2bb0eb3214d3fecc94b5b0e9e9f6c5a9cece71
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc) = 3b482a707942e41f57d7efecd733ac6a71a81a40
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h) = 3a4272d3c935bbc0218e23a8fc360356e3a79216
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h) = 9fc0fc1c09b7b0e242ec346fb8bf848e0d80f6c2
SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__forward.h) = 968a494d44b7c2717355589b296dd46723ce23bc
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__page__constants.h) = bb59bcb86f4873e72d60a7c966a93e9d1f3ef30e
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__root.cc) = 05b48457c461ead1d9ac6fb0d2e4a6f7740ba4e1
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__page__constants.h) = 209f148702664bb6e6fe2db4e5abdbf97ff9d925
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__root.cc) = a83ba58f4fec0c2c993ed605fa8692b2a3fbbc9e
SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc) = b7c53bba2b13dc740a53ebcb57bc18f77c7ddb16
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_starscan_stack_stack.cc) = 2181644c58cc1308566357a95f0d34fa113431af
-SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc) = f6160c683456b1196b91a8f1bba3996c63aeb0f0
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc) = 74d973e35e41566cf5288ad8b82e36747b47e4da
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc) = cc9b3890a11a8ed887bb8ee384e60b0aa3989155
SHA1 (patch-src_3rdparty_chromium_base_atomicops.h) = 38fcb75a7219fcc2e229fbfd55fe07217a9129f6
-SHA1 (patch-src_3rdparty_chromium_base_base__paths__posix.cc) = 91098d26e467c64faea8b59ab2c0ee8336cc5b2b
-SHA1 (patch-src_3rdparty_chromium_base_compiler__specific.h) = ea8f3535b5dcaef19afbf23a3cfb14c3957e286c
+SHA1 (patch-src_3rdparty_chromium_base_base__paths__posix.cc) = 34372d8a070bac8dfaa978b744f40a6e926e4784
+SHA1 (patch-src_3rdparty_chromium_base_base__switches.cc) = fe2da03a7c16e0f1827f0dfe52ce22233702fc3d
+SHA1 (patch-src_3rdparty_chromium_base_base__switches.h) = 2d33ab0b656ec4edb6f66e43120db5892d5c60c3
+SHA1 (patch-src_3rdparty_chromium_base_compiler__specific.h) = b043c084a46b026729e4b81118c34b40995b706c
SHA1 (patch-src_3rdparty_chromium_base_debug_debugger__posix.cc) = f608a6585be3f9a54bb3f23b788318bdc440598b
SHA1 (patch-src_3rdparty_chromium_base_debug_elf__reader.cc) = 2e10bf0c0cdb3407868c0cd210130f2a8adde689
SHA1 (patch-src_3rdparty_chromium_base_debug_proc__maps__linux.cc) = d66fe018b4ad00b6655fa6746f01fa52eaeab504
-SHA1 (patch-src_3rdparty_chromium_base_debug_stack__trace.cc) = a00d33c1c6234e17a2a5ff3da02c11179e023078
+SHA1 (patch-src_3rdparty_chromium_base_debug_stack__trace.cc) = 1caf9b81b68adf033a8923b15a4dce0e6c25d472
SHA1 (patch-src_3rdparty_chromium_base_debug_stack__trace__posix.cc) = bd7730aae2e5cd87e7acca764d69f792a0f26732
SHA1 (patch-src_3rdparty_chromium_base_files_dir__reader__linux.h) = 5dc2a4054205330fec8d3dd3d81147e1ab4c901e
SHA1 (patch-src_3rdparty_chromium_base_files_dir__reader__posix.h) = a8e8b9e461287b8a8510d00c85ce5afa4a442d98
@@ -45,8 +49,8 @@ SHA1 (patch-src_3rdparty_chromium_base_files_file__path__watcher.h) = fe1ad05582
SHA1 (patch-src_3rdparty_chromium_base_files_file__path__watcher__bsd.cc) = 6231ccce3b4b3114af472b75305c644ed93b5d41
SHA1 (patch-src_3rdparty_chromium_base_files_file__path__watcher__kqueue.cc) = bd83db7c92ed175e0776b5b77ee4a1524e4adcc5
SHA1 (patch-src_3rdparty_chromium_base_files_file__path__watcher__kqueue.h) = 53b480411c22837914730b80a4c8f641f7e3ab5e
-SHA1 (patch-src_3rdparty_chromium_base_files_file__path__watcher__unittest.cc) = 203b37949747c1fb528e5a320508036a0ee4bc93
-SHA1 (patch-src_3rdparty_chromium_base_files_file__util__posix.cc) = 11561e5d471a77dd890dc9290d3c0ac572b43e6f
+SHA1 (patch-src_3rdparty_chromium_base_files_file__path__watcher__unittest.cc) = a9b861b31675127e4f8ac434c628f107e8ddcf86
+SHA1 (patch-src_3rdparty_chromium_base_files_file__util__posix.cc) = 8064f297889c8c459e59dd8c44c374508e0121f7
SHA1 (patch-src_3rdparty_chromium_base_files_file__util__unittest.cc) = f1f70956e53f93d43c0a9658eb0259c2d1e49d58
SHA1 (patch-src_3rdparty_chromium_base_files_important__file__writer__cleaner.cc) = de86478609591de9997b82f555a831e38b049a55
SHA1 (patch-src_3rdparty_chromium_base_files_scoped__file.cc) = f8502c8f6696a82272821c4b593346b6e8925931
@@ -57,22 +61,24 @@ SHA1 (patch-src_3rdparty_chromium_base_logging__unittest.cc) = ec1e4e21e4b80ec9b
SHA1 (patch-src_3rdparty_chromium_base_memory_discardable__memory.cc) = 7e3640074dfa3558f2c5d6887db12014648981e6
SHA1 (patch-src_3rdparty_chromium_base_memory_discardable__memory__internal.h) = 1d74d6018ebd11f5061ad3b1a5a90582ce34fec4
SHA1 (patch-src_3rdparty_chromium_base_memory_madv__free__discardable__memory__posix.cc) = 804e85fc709c6dd5f438a1699ab458de438cb21c
-SHA1 (patch-src_3rdparty_chromium_base_memory_platform__shared__memory__region.h) = 69a14f8c7b0a24167a7df8eafc321449ef736e56
+SHA1 (patch-src_3rdparty_chromium_base_memory_platform__shared__memory__region.h) = a2124fcbcaf6580e55765f37eb3e9087257ac7e7
SHA1 (patch-src_3rdparty_chromium_base_memory_platform__shared__memory__region__posix.cc) = a5560afdc084ccdf2add8c2228cec8e20ac6ec09
+SHA1 (patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.cc) = bdc0eab2d5137b54bbd0ceb4a6a8af26f90a61d1
+SHA1 (patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.h) = 34ca569db5240645d23852a26589534b85885b78
SHA1 (patch-src_3rdparty_chromium_base_message__loop_message__pump__glib.cc) = 463d0d926709e791d562145219e5bc44c2a4529a
SHA1 (patch-src_3rdparty_chromium_base_native__library__posix.cc) = 93fa36e71f785ef665a1c3c879d0c4e9d7de0937
SHA1 (patch-src_3rdparty_chromium_base_native__library__unittest.cc) = 4288a70ed512e645b016df42fbc794adcdb9c640
SHA1 (patch-src_3rdparty_chromium_base_posix_can__lower__nice__to.cc) = 5dcfa8450f2bf92baa508d06f3cf4dec17e33cc9
SHA1 (patch-src_3rdparty_chromium_base_posix_file__descriptor__shuffle.h) = 6d6aa20e5a00d681f76b1c1c63e936c43ed1e988
-SHA1 (patch-src_3rdparty_chromium_base_posix_sysctl.cc) = 94e33996f6786e9c289cda852bade3bd49db3c28
+SHA1 (patch-src_3rdparty_chromium_base_posix_sysctl.cc) = b0692310489a891682e06e52149564dcacaf6cd8
SHA1 (patch-src_3rdparty_chromium_base_posix_unix__domain__socket.cc) = cbc4c15896351641ee30bb31ee376479c9ab4587
SHA1 (patch-src_3rdparty_chromium_base_posix_unix__domain__socket__unittest.cc) = 6eececbbfb4902317fc171deda8b8049969f8201
SHA1 (patch-src_3rdparty_chromium_base_process_internal__linux.h) = eaffd4add1ae07943562a6bd4b7fc488bb93003d
SHA1 (patch-src_3rdparty_chromium_base_process_kill.h) = 1df481e693cdb8d5eea041b1209c25b2a80660c1
SHA1 (patch-src_3rdparty_chromium_base_process_kill__posix.cc) = 474b2def0f29bf37ff0ef92be567ae6c18610312
-SHA1 (patch-src_3rdparty_chromium_base_process_launch.h) = 82cd7a1dc7e3a92e5f1790adab83d8568df6436d
+SHA1 (patch-src_3rdparty_chromium_base_process_launch.h) = 2963b5f31bdef63cd6a8316e53504c7416aa89fb
SHA1 (patch-src_3rdparty_chromium_base_process_launch__posix.cc) = c9552ddfa00fc8ef3d613c62ca59b4309ecc4a17
-SHA1 (patch-src_3rdparty_chromium_base_process_memory__linux.cc) = e07d143e40806c9f41809ffcbf3edab8200bd11b
+SHA1 (patch-src_3rdparty_chromium_base_process_memory__linux.cc) = b8df86e9eabd8a952a7db901e3b87fb462cbfcc7
SHA1 (patch-src_3rdparty_chromium_base_process_process__handle.cc) = 0adbb849965bb4d821b382bfe127b912b51f9c7b
SHA1 (patch-src_3rdparty_chromium_base_process_process__handle.h) = ede2ea73cbf8af090314e93be175e120007cd14a
SHA1 (patch-src_3rdparty_chromium_base_process_process__handle__freebsd.cc) = 72a8cf0f66393c42109d9a3dec462e25b68e1e3c
@@ -82,32 +88,32 @@ SHA1 (patch-src_3rdparty_chromium_base_process_process__iterator.h) = a3491d58b6
SHA1 (patch-src_3rdparty_chromium_base_process_process__iterator__freebsd.cc) = fa2b9fdc9a0a6e000d5f445641dfbe37c4dee753
SHA1 (patch-src_3rdparty_chromium_base_process_process__iterator__netbsd.cc) = bc3f50b860ccc6fb208c64241e2c14cbf110f4eb
SHA1 (patch-src_3rdparty_chromium_base_process_process__iterator__openbsd.cc) = e3ce9fcc077c47a4c7eb4d3d3604cd0791a77ff1
-SHA1 (patch-src_3rdparty_chromium_base_process_process__metrics.cc) = 3c4fc4870fbd870b265582aa2ee0a37fd9e17523
-SHA1 (patch-src_3rdparty_chromium_base_process_process__metrics.h) = 5f8c73c654c7531e9cb1a17d79ec65427cc4c82c
-SHA1 (patch-src_3rdparty_chromium_base_process_process__metrics__freebsd.cc) = b421c8d9b9e28a4c6a990c73f2f5af8de2c9ab62
-SHA1 (patch-src_3rdparty_chromium_base_process_process__metrics__netbsd.cc) = 3fc1a7d3803aa09825fab35ef7747d4278fab450
-SHA1 (patch-src_3rdparty_chromium_base_process_process__metrics__openbsd.cc) = b0935262c5e12db898173e8f3b22edc16bd0d079
+SHA1 (patch-src_3rdparty_chromium_base_process_process__metrics.cc) = 1944a9133c4d9201f086f23611def0d830cc7a32
+SHA1 (patch-src_3rdparty_chromium_base_process_process__metrics.h) = 600de56cbfa009e35d363a423c961d091ccfa23b
+SHA1 (patch-src_3rdparty_chromium_base_process_process__metrics__freebsd.cc) = 847d5b244fbcf5cb511978068a8841b531479978
+SHA1 (patch-src_3rdparty_chromium_base_process_process__metrics__netbsd.cc) = cff47111d045cc85e4da10feb13fdcdf03f8316a
+SHA1 (patch-src_3rdparty_chromium_base_process_process__metrics__openbsd.cc) = 083dd10aa76888f7625fadb68fcad40de8370979
SHA1 (patch-src_3rdparty_chromium_base_process_process__metrics__posix.cc) = 6ca12bac5f082aed94903484f210d6c614bbba8c
SHA1 (patch-src_3rdparty_chromium_base_process_process__metrics__unittest.cc) = f2398badbe02b8cb51d5c8573f735d5eb79efe86
-SHA1 (patch-src_3rdparty_chromium_base_process_process__posix.cc) = 7c7d96e6af71ae4ad329bff6cab169cc8eeb82ef
+SHA1 (patch-src_3rdparty_chromium_base_process_process__posix.cc) = 594804aa0c999db99acc55361976632c2546a069
SHA1 (patch-src_3rdparty_chromium_base_process_process__unittest.cc) = 91d000f76e482b6f3835b7414433f8b21b45349b
SHA1 (patch-src_3rdparty_chromium_base_profiler_module__cache.cc) = 382dad250a199787a4b2ffef66ef5251484ea9c6
-SHA1 (patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.cc) = 80c48e7d725b2179b66c66366e125a13e3d6b687
+SHA1 (patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.cc) = 312b01999d202dbf792c5a6e39cd88996e4e16d5
SHA1 (patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.h) = 8a9f253b03db50e2e2e8240092fa26d96a8573e3
-SHA1 (patch-src_3rdparty_chromium_base_profiler_stack__base__address__posix.cc) = f6dc2c59718f42b95fc008126c43d3ab7adb4c1a
+SHA1 (patch-src_3rdparty_chromium_base_profiler_stack__base__address__posix.cc) = f288bd8c26d9ebb3a247f11404266f01264aaebb
SHA1 (patch-src_3rdparty_chromium_base_profiler_stack__sampling__profiler__test__util.cc) = 55d976e8fcf9d24c6b65851a28d3bac1324511df
-SHA1 (patch-src_3rdparty_chromium_base_profiler_stack__sampling__profiler__unittest.cc) = c5485a3ea823b41b14024e5dfff7234be4f5cf95
-SHA1 (patch-src_3rdparty_chromium_base_profiler_thread__delegate__posix.cc) = 8823d8de79dae7c936feb81a507f19f76343bcd7
+SHA1 (patch-src_3rdparty_chromium_base_profiler_stack__sampling__profiler__unittest.cc) = 52db8345edaa7d169e2698f884a982e608ea06b2
+SHA1 (patch-src_3rdparty_chromium_base_profiler_thread__delegate__posix.cc) = 7ca2d59f3c9bc43c242c7a696002bf7be50fba09
SHA1 (patch-src_3rdparty_chromium_base_rand__util.h) = 2a65a2cbc0f2739f6e11c2625ee5efdb51dcb9fc
-SHA1 (patch-src_3rdparty_chromium_base_rand__util__posix.cc) = b4560125f019041bbc5374c6ee1ace38d91403a2
+SHA1 (patch-src_3rdparty_chromium_base_rand__util__posix.cc) = 0f9b3d3657477e869fd4b23d733cea780c05bdfa
SHA1 (patch-src_3rdparty_chromium_base_strings_safe__sprintf__unittest.cc) = 56edca996d44079981bb6a4679ff2b6cbe21cd9b
SHA1 (patch-src_3rdparty_chromium_base_synchronization_lock__impl.h) = 9448f70539ad9060466c9838132bae283e7778e6
SHA1 (patch-src_3rdparty_chromium_base_syslog__logging.cc) = 1baf65e09e1cdf46524fae60009d9d340d682363
SHA1 (patch-src_3rdparty_chromium_base_system_sys__info.cc) = 823207e1ac226196a9f19177b5386c5aa8694521
SHA1 (patch-src_3rdparty_chromium_base_system_sys__info.h) = 1b98f4863d548481a47695554f13f8d4944063f1
-SHA1 (patch-src_3rdparty_chromium_base_system_sys__info__freebsd.cc) = 80ee764dfff994ef295435c921c6f88a3832471a
+SHA1 (patch-src_3rdparty_chromium_base_system_sys__info__freebsd.cc) = c0b4f586936841a7b450affa68bc9721ccefb8b4
SHA1 (patch-src_3rdparty_chromium_base_system_sys__info__netbsd.cc) = 3a8a2187161158bf42a1ffc2d8f502f2c7d8a0fd
-SHA1 (patch-src_3rdparty_chromium_base_system_sys__info__openbsd.cc) = d4dc93d8b581e10dc0fa5fadc450e05ee14be212
+SHA1 (patch-src_3rdparty_chromium_base_system_sys__info__openbsd.cc) = 4e910d39525c5ef48d29b3b99fc11f5f640f9ad5
SHA1 (patch-src_3rdparty_chromium_base_system_sys__info__posix.cc) = 5e9c722c3d8dd9ed36f40372b9099a7cc26c51c7
SHA1 (patch-src_3rdparty_chromium_base_system_sys__info__unittest.cc) = df18697ebe7509c08d35e665ed24957e01598f0c
SHA1 (patch-src_3rdparty_chromium_base_task_thread__pool_environment__config__unittest.cc) = 5f1ee11c5243c8229a2f6eb96746895b3ca41230
@@ -117,18 +123,18 @@ SHA1 (patch-src_3rdparty_chromium_base_threading_hang__watcher.cc) = 64defdd7167
SHA1 (patch-src_3rdparty_chromium_base_threading_platform__thread.h) = f324e7cd9d17ead4438a87b076e054f30fa53e1b
SHA1 (patch-src_3rdparty_chromium_base_threading_platform__thread__bsd.cc) = 90a5f62c2f9094c7b1ae170611f9a2af901bb6c4
SHA1 (patch-src_3rdparty_chromium_base_threading_platform__thread__internal__posix.cc) = 2d8b287f92a2d99f332bbc0a0e8c12b36c227f44
-SHA1 (patch-src_3rdparty_chromium_base_threading_platform__thread__posix.cc) = 1ccdbdaec4a8e819f44e0bf8d7e974702eded84a
+SHA1 (patch-src_3rdparty_chromium_base_threading_platform__thread__posix.cc) = b8aaf749ac136f17677252be4f3325c93661f2b0
SHA1 (patch-src_3rdparty_chromium_base_threading_platform__thread__unittest.cc) = 0f7496d1a3ff5982fa202ee0f4e5ecdcfed22b2b
-SHA1 (patch-src_3rdparty_chromium_base_trace__event_malloc__dump__provider.cc) = 3e5cf0bf8b9384cd19ec583af072a68f9f0fa96d
+SHA1 (patch-src_3rdparty_chromium_base_trace__event_malloc__dump__provider.cc) = 0993e0aa6dc835958f9a0bc87a9cb6d8b5fee41e
SHA1 (patch-src_3rdparty_chromium_base_trace__event_memory__dump__manager.cc) = 613adda9a7be06da2576c47a5154cf819c0b9676
-SHA1 (patch-src_3rdparty_chromium_base_trace__event_process__memory__dump.cc) = 52aa13b521e86317b5c31ca4fe31f29b05e2417e
+SHA1 (patch-src_3rdparty_chromium_base_trace__event_process__memory__dump.cc) = a043969ce94d20e0ab7025a754dfc853aedbd347
SHA1 (patch-src_3rdparty_chromium_base_tracing_trace__time.cc) = 746d6234c99eb5898e455c2a12bae4113dd8f451
SHA1 (patch-src_3rdparty_chromium_base_tracing_trace__time.h) = 7a292e2ae27178e81b098965fd8cadb870cb9a68
SHA1 (patch-src_3rdparty_chromium_base_version__info_version__info.h) = 0f1449da140f3495991439da4f8a81a812e4a1dd
SHA1 (patch-src_3rdparty_chromium_build_config_BUILD.gn) = f3f9ad478465493b5236447f2f3c71cd2044dee9
SHA1 (patch-src_3rdparty_chromium_build_config_BUILDCONFIG.gn) = 07be4105e2e30346af514f831f73f0beb4821d34
-SHA1 (patch-src_3rdparty_chromium_build_config_clang_BUILD.gn) = d802c65ed104f7dfd43bb6104f06ff1134b63e76
-SHA1 (patch-src_3rdparty_chromium_build_config_compiler_BUILD.gn) = f8cf52751105fcabf1cc0444557c73d29f653aba
+SHA1 (patch-src_3rdparty_chromium_build_config_clang_BUILD.gn) = 94761ace93c9c8e29dd54f63dadb1f1a1399a233
+SHA1 (patch-src_3rdparty_chromium_build_config_compiler_BUILD.gn) = fcbd984d7b4265ff5fb54919602a60ec6eafd0bd
SHA1 (patch-src_3rdparty_chromium_build_config_linux_BUILD.gn) = 588ad35ecaf9895e8107c7cb2e2468aa0a5304b8
SHA1 (patch-src_3rdparty_chromium_build_config_linux_pkg-config.py) = 22d7fd4c016287f4459b6d4d750e1431787dd149
SHA1 (patch-src_3rdparty_chromium_build_config_ozone.gni) = 10d5c393f57bcce6d63add2bf7c8c62d4c2477fd
@@ -145,83 +151,82 @@ SHA1 (patch-src_3rdparty_chromium_build_rust_rust__bindgen.gni) = 67a2d7b0aa0a6c
SHA1 (patch-src_3rdparty_chromium_build_rust_std_BUILD.gn) = 50180fecf48372cf21973a6f444b489ea061a712
SHA1 (patch-src_3rdparty_chromium_build_toolchain_freebsd_BUILD.gn) = b7a6842fe9b84044494168d9f5c86f7c7b660d15
SHA1 (patch-src_3rdparty_chromium_build_toolchain_gcc__solink__wrapper.py) = 349a7badce1a4cfb95c5e9de234a36f97b1f4578
-SHA1 (patch-src_3rdparty_chromium_build_toolchain_gcc__toolchain.gni) = e61958a14c0d728be2f94ffc9e76ff1ae54812a2
+SHA1 (patch-src_3rdparty_chromium_build_toolchain_gcc__toolchain.gni) = a7537f581eb895856b469f0305517e10cb1e6835
SHA1 (patch-src_3rdparty_chromium_build_toolchain_netbsd_BUILD.gn) = 8ac3f0aa5710ffae54ad94c4d2e595b63352c242
SHA1 (patch-src_3rdparty_chromium_build_toolchain_openbsd_BUILD.gn) = 6f4d62635830d9c68387ddd174c005870cdb6111
-SHA1 (patch-src_3rdparty_chromium_build_toolchain_toolchain.gni) = ab382024ecc6f358578fffd650a1f7563a54f8b1
+SHA1 (patch-src_3rdparty_chromium_build_toolchain_toolchain.gni) = 5ded892761fd7e3ce42fa0fa3e924563ca690674
SHA1 (patch-src_3rdparty_chromium_cc_base_features.cc) = 2ac20522b75bdec3ba935e0aa588ad379042a284
SHA1 (patch-src_3rdparty_chromium_chrome_browser_BUILD.gn) = 003f56b68cae781d80bb73db6342e5ab75308449
SHA1 (patch-src_3rdparty_chromium_chrome_browser_custom__handlers_chrome__protocol__handler__registry__delegate.cc) = 128d6390eab78c1ca71e5f942736ddd381bae791
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_BUILD.gn) = 9a8e668db96717fb0e0e0a7de803c2d4dc998643
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_api__browser__context__keyed__service__factories.cc) = 3af0dba7e5cd606f52f13dec7230d47f73d026dd
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_BUILD.gn) = c313fcf73dffa53fa896edff4af35b879b83bf92
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_api__browser__context__keyed__service__factories.cc) = c8f69b85bfeb7b95253a2afec7403f84970d23b1
SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_chrome__desktop__report__request__helper.cc) = ce8bcf1f676586ac6d1999b8ce24fd030be876b9
SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_conversion__utils.cc) = e60669922ff5c615b939188a1dbe334bfa5faae9
SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_conversion__utils.h) = 2ae05166b8b52ff2d5a92ed225e1f6e044b0b7e0
SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.cc) = 600b50d3ffa29cf8f97a29d1e2388a7625b06679
SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.h) = 1e3ba7ba152138323a5e1925e5f1e0e7d8d50ac9
SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_image__writer__private_removable__storage__provider.cc) = 498ba50c5324aa930837cfe5a8e887418a6d0482
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_management_chrome__management__api__delegate.cc) = cce63c8bac75c8ac9d8212082cfa686291875ee3
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_management_chrome__management__api__delegate.cc) = ecef35a2fe4d6094befa9f74a428a7ef578a64a9
SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc) = 8c02cc981dc48d73b9605c7a3702d58ff71f6f32
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc) = 37e63147dd3b03b46741de4297522e4505b1b923
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_settings__private_prefs__util.cc) = 49cb9e93921536b08ef8c2a84216ce4029ae7ec5
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_tabs_tabs__api.cc) = e4cea3fbea237ae308aedfb1efb7d2897f6c55d6
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc) = e97619e70deacf59d85eeb1f6af8d988d54b8be4
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_settings__private_prefs__util.cc) = 64791b78cf87c58360def57b33791c5da44cc17a
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_tabs_tabs__api.cc) = ae7cc4be0db741c4208d3e78db7bf2db7c416043
SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_webrtc__logging__private_webrtc__logging__private__api.cc) = af38f76276fbdc93ac2f2ef6532249437a9edefc
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_webstore__private_webstore__private__api.cc) = a276e717c88e967c74603f60342f943f9fe23d7f
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_webstore__private_webstore__private__api.cc) = beffaac273654a2d8cce283d5f96541a671f23df
SHA1 (patch-src_3rdparty_chromium_chrome_browser_gcm_gcm__profile__service__factory.cc) = 0dcfcd89a8077cd625a1930e2e11b86a9a2453ad
SHA1 (patch-src_3rdparty_chromium_chrome_browser_gcm_instance__id_instance__id__profile__service__factory.cc) = c9f5841dde7ffc00609cdd7a3d98d49b44cf4709
SHA1 (patch-src_3rdparty_chromium_chrome_browser_media_router_discovery_BUILD.gn) = 7885a9567b35d90a338cb70e7fbbdc08d82db317
SHA1 (patch-src_3rdparty_chromium_chrome_browser_media_webrtc_chrome__screen__enumerator.cc) = cc50bb75f4658ae0cf677e1c677adfc0adbe920a
SHA1 (patch-src_3rdparty_chromium_chrome_browser_media_webrtc_chrome__screen__enumerator.h) = 67394c3109628fc9f345a680a597dcaead35cab1
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_media_webrtc_desktop__media__picker__controller.cc) = 53503f434c7c6dc3662d30ed692cc1282057e596
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__log__uploader.cc) = e114863dda1893ce130359f14e3469458ab8853a
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__logging__controller.cc) = b9b4bd790af7461dd9c81b0fcc4befee26861040
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_media_webrtc_desktop__media__picker__controller.cc) = 4d923c9d8555143558d34de214a5b04e43ea59d0
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__log__uploader.cc) = 0489bee75f2e5d08660bf04060f2298be6981049
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__logging__controller.cc) = 6f82e61b1745e1569662018ef6e98a92a09542f8
SHA1 (patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__logging__controller.h) = 819d6f3ce0a9e0a0692bd0a6d40873d927d98898
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.cc) = b4c6d040f065acfc5cc8abe44914ad50e187ae7b
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.h) = e5bec71d664dd93a5882da3207235dd1d7f1e675
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_prefs_browser__prefs.cc) = 0cdb76b59d7d781c69866a5e52437ad558da17b0
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.cc) = 248a4160217188412d959d8940a16681a753c963
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.h) = 65b9c9e7f41ab3f83cdc06d78e54d6d9ab3548df
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_prefs_browser__prefs.cc) = 6655e26fc9b12a1c8cc63d52ad72ad95d4176edf
SHA1 (patch-src_3rdparty_chromium_chrome_browser_prefs_pref__service__incognito__allowlist.cc) = 0968219904fbb40e7f91ea3813942c37b1aec8d9
SHA1 (patch-src_3rdparty_chromium_chrome_browser_printing_print__backend__service__manager.cc) = e1f0574365d7eddf4d490a6cf2ee2808a979aaba
SHA1 (patch-src_3rdparty_chromium_chrome_browser_printing_printer__query.cc) = bba9283339589c9a823e7dbdac161f5c3f07a285
SHA1 (patch-src_3rdparty_chromium_chrome_browser_resources_signin_signin__shared.css) = 9aab292b6b5162fd99e99245ee2f68c48d5eed33
SHA1 (patch-src_3rdparty_chromium_chrome_browser_signin_signin__util.cc) = f1f9605c4e877f0f3eaebf6419ed12cf7ee82444
SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_about_about__ui.cc) = 0e22630c2adf2e064b73ea48eb8223df1e5aa813
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc) = ae312de4ca0554987d2e97bd53dbb126955236f0
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc) = 977afb90e166c2a2d52d031abada949215e08058
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui.cc) = 91ca1265b3f56abd5f39fb6f37f458b90af4a565
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.cc) = 6e7acbc9812d8cd49184986965962506109a45c9
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.h) = d2835f42a05bf014f693ac9f1e9360bede0570e3
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc) = 499be82bb0fad36edc0114cbaace0487a10c2950
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc) = 12bbb54cd385a66c2ab6f40aeeec58469652dd72
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui.cc) = 30226e54911550997d63cbbdf4e644fb91eb9592
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.cc) = 6f91e37263caf24f3ee187f57a1fec45ff95aed1
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.h) = 4a0e1d9f401ff17915bed67075507144b6001af4
SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_password__manager_promo__cards__handler.cc) = 6014b6f4c163c4363fa158cf28be9d3c90b83709
SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_password__manager_promo__cards_relaunch__chrome__promo.cc) = f2fd0b6e1839d5c987bc508539f25511df18cafc
SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_settings_appearance__handler.cc) = 2a7b9786c797e7e2900e84e7f6f147b5a8949ae9
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc) = d487dfc1ae7fe64e5328f70deeba9fc841eec262
-SHA1 (patch-src_3rdparty_chromium_chrome_common_channel__info.h) = 1f28e415e9f41db29878ce7d7f1485850bec689c
-SHA1 (patch-src_3rdparty_chromium_chrome_common_channel__info__posix.cc) = 344174c334d8436216e585c89792c4282fc53c73
-SHA1 (patch-src_3rdparty_chromium_chrome_common_chrome__features.cc) = 272ec0b6dbbcacb11f46fef2f0d08950bf509e0b
-SHA1 (patch-src_3rdparty_chromium_chrome_common_chrome__features.h) = 8bcf4a32a7099a542e4be06e33d677be9b3136f3
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc) = 0cd8a6158d9e8e443d77c1729a0c1907ed1cc0bc
+SHA1 (patch-src_3rdparty_chromium_chrome_common_channel__info.h) = e618323fc6c4ab09467c0cf079fc12d18b90df43
+SHA1 (patch-src_3rdparty_chromium_chrome_common_channel__info__posix.cc) = b9f3cd6d580c6d089978f1ac1660ad5876b3945f
+SHA1 (patch-src_3rdparty_chromium_chrome_common_chrome__features.cc) = 5b56f7c8c47822611ff2239c9290faa3390d82c2
+SHA1 (patch-src_3rdparty_chromium_chrome_common_chrome__features.h) = 04547376924ae216c75d4385ee34cbbdfd3db50a
SHA1 (patch-src_3rdparty_chromium_chrome_common_chrome__paths.cc) = 778b90200859f35e95e36de19edb1a65540646b9
SHA1 (patch-src_3rdparty_chromium_chrome_common_chrome__paths.h) = a62b8fe1643a740380561d7d27df72ae5611dfd4
SHA1 (patch-src_3rdparty_chromium_chrome_common_chrome__paths__internal.h) = 36b4c54736331bd4bc85aa70a3c1b7876dc6d2d0
-SHA1 (patch-src_3rdparty_chromium_chrome_common_chrome__switches.cc) = 05380531fc25293b1344555ed7689b99ab85bab3
-SHA1 (patch-src_3rdparty_chromium_chrome_common_chrome__switches.h) = ef5a61208d6ec9f58df582f06507e5f232da5a5c
+SHA1 (patch-src_3rdparty_chromium_chrome_common_chrome__switches.cc) = 9105321a1615893d5de7f9a99dff9cae20b3da75
+SHA1 (patch-src_3rdparty_chromium_chrome_common_chrome__switches.h) = 81c06b1728fede62b7a419e8662b112e0aa1a897
SHA1 (patch-src_3rdparty_chromium_chrome_common_extensions_permissions_chrome__permission__message__rules.cc) = 60c80e2c29108d87b5d52e6013064add66f930a2
SHA1 (patch-src_3rdparty_chromium_chrome_common_media_cdm__host__file__path.cc) = a81bdce23f14c0073bf44e8fcf54fbcbbc17296d
-SHA1 (patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.cc) = 95016d220b73f83ed02dd606b87747b4fb276750
-SHA1 (patch-src_3rdparty_chromium_chrome_common_media_component__widevine__cdm__hint__file__linux.h) = fed312a5aafcbf73b4cd06adfa9845acc3b6a4b6
-SHA1 (patch-src_3rdparty_chromium_chrome_common_pref__names.h) = ee3d5aabf8b9b722a3f558605c1b4c6a972abcd1
-SHA1 (patch-src_3rdparty_chromium_chrome_common_url__constants.h) = 119d1497ef01bbfcf0bf5e909fb6298db4aa5ace
-SHA1 (patch-src_3rdparty_chromium_chrome_common_webui__url__constants.cc) = 2c7012bdedbfb024b9b1fe9eb6fd79d4c4783408
-SHA1 (patch-src_3rdparty_chromium_chrome_common_webui__url__constants.h) = f9417d8a8d042d2ac9f754165a984d89c8fa59fc
-SHA1 (patch-src_3rdparty_chromium_chrome_test_BUILD.gn) = 944ca4068e7206a19ed95f95e40c4307432e22bc
+SHA1 (patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.cc) = 9c5be2750b269e39a6459ae2d7109577c2ce0c59
+SHA1 (patch-src_3rdparty_chromium_chrome_common_media_component__widevine__cdm__hint__file__linux.h) = 295602189ab9c902db753fc4a5d5e722cb02294e
+SHA1 (patch-src_3rdparty_chromium_chrome_common_pref__names.h) = 19d33dfe830adbc41ec977e60ed9260abc624dfa
+SHA1 (patch-src_3rdparty_chromium_chrome_common_url__constants.h) = 98eb4635cfe28e6ac7e81c848d00798e90f84d14
+SHA1 (patch-src_3rdparty_chromium_chrome_common_webui__url__constants.cc) = 6a7eb5f1a14ceb14269ea0f37b18bd3f4dd96298
+SHA1 (patch-src_3rdparty_chromium_chrome_common_webui__url__constants.h) = e36d78ac9091a510a38f1146d4f466a88fd33e2e
SHA1 (patch-src_3rdparty_chromium_chrome_test_chromedriver_chrome__launcher.cc) = f1517f7a848f3311dd95c7696e16e2312bbf2d87
SHA1 (patch-src_3rdparty_chromium_chrome_test_chromedriver_chrome_chrome__finder.cc) = 3512b432bb1fff98e55aca04bdf81b9777c0ecde
SHA1 (patch-src_3rdparty_chromium_chrome_test_chromedriver_key__converter__unittest.cc) = b5175d35769a253f1fff6d1ca4884b47980faa50
-SHA1 (patch-src_3rdparty_chromium_chrome_test_chromedriver_keycode__text__conversion__unittest.cc) = 4e92519601b9fde07013f257a30c3eb7fd14b271
-SHA1 (patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.cc) = 535a1bfe140de68030f67145c4d562e25eb205bc
-SHA1 (patch-src_3rdparty_chromium_components_commerce_core_commerce__feature__list.cc) = 6a4ea89c401f2af56d3dc84995efb34d643ec48d
+SHA1 (patch-src_3rdparty_chromium_chrome_test_chromedriver_keycode__text__conversion__unittest.cc) = fc382cf7b33b24c963b2acb2d131420ec445920b
+SHA1 (patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.cc) = e5c7220ea277f4c24b2d2fbff486d883c458b709
+SHA1 (patch-src_3rdparty_chromium_components_commerce_core_commerce__feature__list.cc) = e60a6f39b5c65f0449fb181a56c6ee3176f49fbf
SHA1 (patch-src_3rdparty_chromium_components_constrained__window_constrained__window__views.cc) = b0084df24933dc24669eaff43534caa72328e902
SHA1 (patch-src_3rdparty_chromium_components_content__settings_core_browser_website__settings__registry.cc) = 0926b1a99aba0635a728e1a507e7d72d1e15c318
SHA1 (patch-src_3rdparty_chromium_components_cookie__config_cookie__store__util.cc) = b7ac306e95fe7e82d38c609cbdad9d7c8eba5966
-SHA1 (patch-src_3rdparty_chromium_components_crash_core_app_BUILD.gn) = 1176c6ad82a5076e689cec03eec9177ee1109b55
+SHA1 (patch-src_3rdparty_chromium_components_crash_core_app_BUILD.gn) = 5febd6f28b1e08705f67cc47803adf6d0106b4e4
SHA1 (patch-src_3rdparty_chromium_components_crash_core_app_chrome__crashpad__handler.cc) = e55ee1c56f4d0340293fd7953cb055cd59d4cee7
SHA1 (patch-src_3rdparty_chromium_components_crash_core_app_crashpad__handler__main.cc) = 92f85709f3f00092e0b9f9598fb43cbfef1a778f
SHA1 (patch-src_3rdparty_chromium_components_crash_core_browser_crash__upload__list__crashpad.cc) = e1571452b691e495ea6c5b9ab7a95f45a29f6641
@@ -238,19 +243,19 @@ SHA1 (patch-src_3rdparty_chromium_components_device__signals_core_common_signals
SHA1 (patch-src_3rdparty_chromium_components_device__signals_core_system__signals_platform__delegate.cc) = 9862cf6a8a4bb1fe8ca67323fdc19f03ba24e5c4
SHA1 (patch-src_3rdparty_chromium_components_discardable__memory_service_discardable__shared__memory__manager.cc) = 0a33f14a2324cd93393366a1c1c6277037b0135a
SHA1 (patch-src_3rdparty_chromium_components_embedder__support_user__agent__utils.cc) = cab34391eed0485bc3f72ec07132de255f7f9bfe
-SHA1 (patch-src_3rdparty_chromium_components_embedder__support_user__agent__utils__unittest.cc) = d980df617e0c7da36746382657a9e488adf47dc0
-SHA1 (patch-src_3rdparty_chromium_components_eye__dropper_eye__dropper__view.cc) = 133f5629bb29399ad59b951252ccbe84e937f107
+SHA1 (patch-src_3rdparty_chromium_components_embedder__support_user__agent__utils__unittest.cc) = 51b83c67fcfe3426737203dbc7d1691470f6de0c
+SHA1 (patch-src_3rdparty_chromium_components_eye__dropper_eye__dropper__view.cc) = 12676a07323f802acb0293b095c62bb0f02f7012
SHA1 (patch-src_3rdparty_chromium_components_feature__engagement_public_event__constants.cc) = ffee96e45a277ff8e163d42df8516c144197157d
SHA1 (patch-src_3rdparty_chromium_components_feature__engagement_public_event__constants.h) = 2cb996e599e7188c8ccd2938bfdd269ba9ace66a
-SHA1 (patch-src_3rdparty_chromium_components_feature__engagement_public_feature__configurations.cc) = edd75156dcf7ba9475eae7626ce0c5dac75f38bb
-SHA1 (patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.cc) = d69effa21d3c60404b9f5f01ab24551761c0eb28
-SHA1 (patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.h) = 26fb309ef98f16520f4c950bff0d320e89b3a5a1
-SHA1 (patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.cc) = 1e14520411628e8bb2191bfa05859a556c9333e7
-SHA1 (patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.h) = 921850748c225898c2a3bb1ad08ce63f117af533
+SHA1 (patch-src_3rdparty_chromium_components_feature__engagement_public_feature__configurations.cc) = 9bbb2c98e49e4099cfa14a3872bf5094114e8d29
+SHA1 (patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.cc) = 0314f3fcf802002cf4f61358c34561fefbab54ca
+SHA1 (patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.h) = 622ed2ecd89c561ab56159cd64d8a11e6258036d
+SHA1 (patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.cc) = 82615203f20943cec9c21cea0c2df2cfe960978b
+SHA1 (patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.h) = 4576a3bb751f7c0d277de33c8728e49d9bc3a840
SHA1 (patch-src_3rdparty_chromium_components_feed_core_proto_v2_wire_version.proto) = 12c32619487c151108e88404447dd644c0ed4c1e
SHA1 (patch-src_3rdparty_chromium_components_feed_core_v2_feed__network__impl__unittest.cc) = c14cafd7aecfa42db2746c44c73d4186269d98a9
SHA1 (patch-src_3rdparty_chromium_components_feed_core_v2_proto__util.cc) = 72d91adfe116b34e01a96bec95f1af888f4dd7cf
-SHA1 (patch-src_3rdparty_chromium_components_feed_core_v2_proto__util__unittest.cc) = 8cbd6fba1ff969c3cb3c1ef7a8086045e892cb24
+SHA1 (patch-src_3rdparty_chromium_components_feed_core_v2_proto__util__unittest.cc) = 636a72f180625da0b537669bb0b7029ee57b7038
SHA1 (patch-src_3rdparty_chromium_components_flags__ui_flags__state.cc) = 5d1fde3606d89266eb3a2cb033cd9a2756aa4b79
SHA1 (patch-src_3rdparty_chromium_components_gwp__asan_BUILD.gn) = 01aac21983d3a4eca1f7e7e6373542c2fd3e8004
SHA1 (patch-src_3rdparty_chromium_components_gwp__asan_client_guarded__page__allocator__posix.cc) = 4b3cb3fa504bb746da2bca142212d5cbca747838
@@ -259,27 +264,27 @@ SHA1 (patch-src_3rdparty_chromium_components_gwp__asan_client_gwp__asan__feature
SHA1 (patch-src_3rdparty_chromium_components_gwp__asan_crash__handler_crash__analyzer.cc) = 67896d5641e94df1d3d9b227c8ae99d23f4c7592
SHA1 (patch-src_3rdparty_chromium_components_live__caption_caption__util.cc) = c558032470e87ff00fb503b3821d1b788a7221e8
SHA1 (patch-src_3rdparty_chromium_components_live__caption_caption__util.h) = 3815429f0a286f03101a93c9cf7ea6ec61f6394d
-SHA1 (patch-src_3rdparty_chromium_components_media__router_common_media__source.cc) = 1fc1990b07a5c9aca646562f675a4781f23b6ca5
+SHA1 (patch-src_3rdparty_chromium_components_media__router_common_media__source.cc) = 2fe4010029fbc0b0f5fbb724aa13dc90a9759551
SHA1 (patch-src_3rdparty_chromium_components_media__router_common_providers_cast_channel_cast__message__util.cc) = 688735b3f89d22501ab6b703504631ed3aa28e13
SHA1 (patch-src_3rdparty_chromium_components_metrics_drive__metrics__provider__linux.cc) = 7649837f9bec3d2b58245dce24e2b2a52dba6ddb
SHA1 (patch-src_3rdparty_chromium_components_metrics_metrics__log.cc) = be1763ddd7c31a0ac4ed8e7e29bb6fb0fcd5092f
SHA1 (patch-src_3rdparty_chromium_components_metrics_motherboard.cc) = 70e02be0c5ac7987eced6c05c88d43ce678b935c
-SHA1 (patch-src_3rdparty_chromium_components_named__mojo__ipc__server_connection__info.h) = 2c99b291b5341a2e553e49ba70f56ca9a161a668
+SHA1 (patch-src_3rdparty_chromium_components_named__mojo__ipc__server_connection__info.h) = 4841499806155d40ef4dea01572105be6db1ed64
SHA1 (patch-src_3rdparty_chromium_components_named__mojo__ipc__server_named__mojo__ipc__server__client__util.cc) = 416cde55ef508f7f994a9844c5f2110f2f30ec8b
SHA1 (patch-src_3rdparty_chromium_components_neterror_resources_neterror.js) = fd262ef85ad1724c1f13d4d03d0862a9d8ec4364
SHA1 (patch-src_3rdparty_chromium_components_optimization__guide_core_optimization__guide__util.cc) = d5eb48a1c4dfe5d84834096e7828efd73115f672
-SHA1 (patch-src_3rdparty_chromium_components_os__crypt_sync_libsecret__util__linux.cc) = 77de623c9233fa28faf0aef6980c934c6edff9d5
-SHA1 (patch-src_3rdparty_chromium_components_os__crypt_sync_os__crypt.h) = 3a9fe171112f3bb1e2fa984d9a5f033ec4f7aa7c
+SHA1 (patch-src_3rdparty_chromium_components_os__crypt_sync_libsecret__util__linux.cc) = 65a6edf9fe47dafc5eeaaf5bfdc4a0a087f5c6e0
+SHA1 (patch-src_3rdparty_chromium_components_os__crypt_sync_os__crypt.h) = 1751874df5687251abafefc2397e8b1cc34f1775
SHA1 (patch-src_3rdparty_chromium_components_paint__preview_browser_paint__preview__client.cc) = bb17b370ef0ecf04a395793cc36959d6b9a54f47
SHA1 (patch-src_3rdparty_chromium_components_paint__preview_browser_paint__preview__client__unittest.cc) = 7aeab3c3a2ececf420372163e62e75beafda4d71
SHA1 (patch-src_3rdparty_chromium_components_paint__preview_common_proto_paint__preview.proto) = ac7caae213f34f0fb0ea2fc34817fffb86083f73
SHA1 (patch-src_3rdparty_chromium_components_paint__preview_player_player__compositor__delegate.cc) = 69dfc6368026f334ff7a10e8e5361b8253272bba
-SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.cc) = 1f68c622254be93771b5ee0729f2a02e1d1c9250
-SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.h) = b156f0c003ddb787b266750fa60d20d427fed7a4
-SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_password__form__manager.cc) = 1d81778d1677f9ba80d075b95ff89a95df6800bb
-SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager.cc) = 1dec25e10b5a7317dab7ce48b9551edf52c94fc1
+SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.cc) = 9a680facdc0ff6d307fb260df391e8f3f3ba9a26
+SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.h) = d3aff12c4d3fb1ec18d56ddcbf5ad63c88728a08
+SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_password__form__manager.cc) = 33f419a7df9a411fdca6184b478becc44a065102
+SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager.cc) = 8562113008a407082b065f4fe1da457c031d655b
SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store_login__database__async__helper.cc) = 996310a07659217dd477c096e92f87368f1bd1eb
-SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store_login__database__unittest.cc) = 2451a727b60e00a6f3ab68294bb50e737ffd77a7
+SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store_login__database__unittest.cc) = 72c669b6422491c62257c3a5ec28725ceac5d0f1
SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_common_password__manager__pref__names.h) = da8021d0a7caa77b840e1aeae05f9540f052a7f4
SHA1 (patch-src_3rdparty_chromium_components_performance__manager_public_features.h) = d1f428da1f124785a7a9be421af7ee7728a03f9d
SHA1 (patch-src_3rdparty_chromium_components_permissions_prediction__service_prediction__common.cc) = cb425243112893fac3c23641a879749b0d07ab51
@@ -288,68 +293,72 @@ SHA1 (patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__pol
SHA1 (patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__util.cc) = 54221115c575e0bce93dc834e439e6a710e526cc
SHA1 (patch-src_3rdparty_chromium_components_policy_core_common_policy__loader__common.cc) = da89450545e98b76f9bf808634d0cf7aa5f68186
SHA1 (patch-src_3rdparty_chromium_components_policy_core_common_policy__paths.cc) = ba1205cab4364d2af33fbf6a91717a9536de6654
-SHA1 (patch-src_3rdparty_chromium_components_policy_core_common_policy__utils.cc) = d74bde2d59278eb2dc15f9719d8663cbbe38741f
+SHA1 (patch-src_3rdparty_chromium_components_policy_core_common_policy__utils.cc) = 1a2e87e07d3d31aeb79ebf1d7e3ee2b4acc2ccb1
SHA1 (patch-src_3rdparty_chromium_components_policy_tools_generate__policy__source.py) = d190fac8fb191bfe2e9b9340deb6a5c7f23519d0
SHA1 (patch-src_3rdparty_chromium_components_power__metrics_BUILD.gn) = 1a943004e050b219a3b8a4a0d88c9a2b1beb6cd6
SHA1 (patch-src_3rdparty_chromium_components_power__metrics_energy__metrics__provider.cc) = baf2ac37d7285215c9d9e11876f344c593d6f7e3
-SHA1 (patch-src_3rdparty_chromium_components_safe__browsing_content_common_file__type__policies__unittest.cc) = 94620c7425f388e049f67cfe4c27e68645376cf0
-SHA1 (patch-src_3rdparty_chromium_components_safe__browsing_content_resources_gen__file__type__proto.py) = ea3d8400547f3e6a5283d280d613a7f804a6c54b
+SHA1 (patch-src_3rdparty_chromium_components_safe__browsing_content_common_file__type__policies__unittest.cc) = 4fd3b4da2aa2ea79e8fff0cf91275fbe54da8a1c
+SHA1 (patch-src_3rdparty_chromium_components_safe__browsing_content_resources_gen__file__type__proto.py) = 2ae69f027ade9656e66de09ce7b0e12ab04cf111
SHA1 (patch-src_3rdparty_chromium_components_safe__browsing_core_browser_db_v4__protocol__manager__util.cc) = 7c5bd917e3651ed8575956d9a9eb2d0a9fcaf550
-SHA1 (patch-src_3rdparty_chromium_components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc) = 0df46ec91b5b7b707e8dd93b25fb200b0e36effc
-SHA1 (patch-src_3rdparty_chromium_components_safe__browsing_core_common_features.cc) = 1718ff11b1380dcb8dda12b5c97034c775307e77
+SHA1 (patch-src_3rdparty_chromium_components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc) = 8b519d7e4f7da3e33ef1895de0ffa1a8582b907a
+SHA1 (patch-src_3rdparty_chromium_components_safe__browsing_core_common_features.cc) = 74b6712f97dda5512979937b3f7a9aaf423ad5a9
SHA1 (patch-src_3rdparty_chromium_components_search__engines_search__engine__choice_search__engine__choice__service.cc) = 093327e5cdcbc8da10354019a0a0d469ef9b31a5
-SHA1 (patch-src_3rdparty_chromium_components_search__engines_template__url__service.cc) = 95ce7f2c7fedf72c596c26587cd68376c605a24e
+SHA1 (patch-src_3rdparty_chromium_components_search__engines_template__url__service.cc) = 36126eb9dd33ada4421b9ab60dc49f63389896ce
SHA1 (patch-src_3rdparty_chromium_components_security__interstitials_content_utils.cc) = f922567407809c224434f2e75ad4a7885dd63255
SHA1 (patch-src_3rdparty_chromium_components_segmentation__platform_embedder_default__model_cross__device__user__segment.cc) = 63d0533184aae55308979817ae2306145cd6b145
SHA1 (patch-src_3rdparty_chromium_components_services_paint__preview__compositor_paint__preview__compositor__collection__impl.cc) = de0919ae028241f22ff4c75e421b9419a282d590
SHA1 (patch-src_3rdparty_chromium_components_storage__monitor_BUILD.gn) = ac3a1410b94258d2b63f1ba5b5646c3133537102
SHA1 (patch-src_3rdparty_chromium_components_storage__monitor_removable__device__constants.cc) = c790e6148175426f9062115c8658281c8adbfc35
SHA1 (patch-src_3rdparty_chromium_components_storage__monitor_removable__device__constants.h) = 9cfc097c70aba3468d80ebe20765c33e54947064
-SHA1 (patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__service.cc) = 153cb2ab312f1abe1bcef3dc962c68e77a82410f
-SHA1 (patch-src_3rdparty_chromium_components_supervised__user_core_common_features.cc) = c3e0c00c18f1cc77fa07b88c2c75a50f1bd7c9be
-SHA1 (patch-src_3rdparty_chromium_components_supervised__user_core_common_features.h) = fc77923801bfbc12e8553417000bbc3c2ca41dad
+SHA1 (patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__service.cc) = 3ae7e248dea1f5a04906bcf19e09a726cdfd9ae8
+SHA1 (patch-src_3rdparty_chromium_components_supervised__user_core_common_features.cc) = 8962a0dfe16264439786da2d04baff6efc798008
+SHA1 (patch-src_3rdparty_chromium_components_supervised__user_core_common_features.h) = 251c2a2c49c7febf4be56767e7b616e5e8a90886
SHA1 (patch-src_3rdparty_chromium_components_sync__device__info_local__device__info__util.cc) = 054b0d50aca537efee9ac5eb349b4598a2457b4f
SHA1 (patch-src_3rdparty_chromium_components_sync__device__info_local__device__info__util__linux.cc) = 9547bee293ce5cc6c94dc0405d4c11fadd70d0ca
SHA1 (patch-src_3rdparty_chromium_components_system__cpu_cpu__probe.cc) = a8f8a2952552a314ad62f0059b1ca5d5d2a98b9d
+SHA1 (patch-src_3rdparty_chromium_components_trusted__vault_trusted__vault__connection__impl.cc) = d6c2e2ec1d83286ccb1b2d39156a0e1ec7b34e04
SHA1 (patch-src_3rdparty_chromium_components_update__client_update__query__params.cc) = f7a241bb1a877d6f3c8f54d55a8ac2b2dd5e073b
SHA1 (patch-src_3rdparty_chromium_components_url__formatter_spoof__checks_idn__spoof__checker.cc) = 2933b6a01e4df61eeb932f018d95487260233ac5
-SHA1 (patch-src_3rdparty_chromium_components_user__education_views_help__bubble__view.cc) = 859fe1e0bfdd257dd07b57eaf93ba7ef31c59f7f
+SHA1 (patch-src_3rdparty_chromium_components_user__education_views_help__bubble__view.cc) = 12b6e27c67eac3832580a50d501a09e2356c32e5
SHA1 (patch-src_3rdparty_chromium_components_variations_service_variations__service.cc) = 5e08d3501cef557f801d4e77ac5efcdbf17c117d
SHA1 (patch-src_3rdparty_chromium_components_viz_host_host__display__client.cc) = 9879ee2d8d7063e186eaccfa982f937f81710246
SHA1 (patch-src_3rdparty_chromium_components_viz_host_host__display__client.h) = c3ba7e67efe01e64a3ce74a31475aa1c84efdb8a
-SHA1 (patch-src_3rdparty_chromium_components_viz_service_display__embedder_skia__output__surface__impl.cc) = 62e141bb8bb4d078789fe9348448c365944cb87b
-SHA1 (patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.cc) = 15fd73dc3c2a6b11862f323fa56f1a39b5cc1922
-SHA1 (patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.h) = 2d60af4d6b7ada3dedc2aef170d6c7eff3d976b6
+SHA1 (patch-src_3rdparty_chromium_components_viz_service_display__embedder_skia__output__surface__impl.cc) = 3251201b4035b2a5963053b56c56b6e064345d95
+SHA1 (patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.cc) = d78bb74fcc3605eb19acaba9507f4fcbd374e62f
+SHA1 (patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.h) = 7021872d8bbff75c38b773b1ddac9d61d862674b
SHA1 (patch-src_3rdparty_chromium_components_viz_service_display_skia__renderer.cc) = 55417c509a21089fa63a97467529fa36cd903158
-SHA1 (patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc) = 6755b359c9f24b3baa6d9b7dc83a4bcd455509ca
-SHA1 (patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h) = dfe82918b9c55ed3f1c7f765b6f78a06d54113ef
+SHA1 (patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc) = fcb689c6e5b1bd541ad9ced2db6836e4b5cb2c43
+SHA1 (patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h) = cba1037c8e767f28ce9d51410d5dd605748efaf2
SHA1 (patch-src_3rdparty_chromium_content_app_BUILD.gn) = c6cfd60c33462a6a29d3ac1788ecdb5dece9d180
-SHA1 (patch-src_3rdparty_chromium_content_app_content__main.cc) = cd5e77a39f2b44d16334c69847aafe8d8cdd4caf
-SHA1 (patch-src_3rdparty_chromium_content_app_content__main__runner__impl.cc) = 1d653aaf10ad7f8c045171b442fb2e155afd48e5
-SHA1 (patch-src_3rdparty_chromium_content_browser_BUILD.gn) = fc38294898afda7cb02fb318440d8ca569a4ecc5
+SHA1 (patch-src_3rdparty_chromium_content_app_content__main.cc) = 63db95179c929f44be2cb332800c6121828add40
+SHA1 (patch-src_3rdparty_chromium_content_app_content__main__runner__impl.cc) = 4c56105d83a2e7ba975412403e95b2b0ebff6351
+SHA1 (patch-src_3rdparty_chromium_content_browser_BUILD.gn) = ff0aacdeaa24ecc6d457f9254156fc355c0d1bac
SHA1 (patch-src_3rdparty_chromium_content_browser_audio_audio__service.cc) = fd9c1cceee306950dac3b28025ecb3cc44a6154e
-SHA1 (patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl.cc) = 5d48472cb38d893b4c485b24e9a3ed3e3406d560
+SHA1 (patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl.cc) = 8e913dcddb303f9c3f3e962dab4fad6ae2836dc1
SHA1 (patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl.h) = 9558d2fe1ac358b3717605d21c23cc288560f1df
SHA1 (patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl__receiver__bindings.cc) = 32e8d35058ee05ac1d99016ca56e0296fb476266
SHA1 (patch-src_3rdparty_chromium_content_browser_browser__main__loop.cc) = 47ed970f381804aad0aecd7808950f14fd3a12c1
-SHA1 (patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper.h) = a188d692a929c39890ee04fc03ffcb868d365eaf
-SHA1 (patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper__linux.cc) = af26e49d07271cba5c0178d379de6eee6a92b3aa
+SHA1 (patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper.h) = 3f2f16a61be7a9452e99e7279f25d9169ccda435
+SHA1 (patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper__linux.cc) = 5ea8c3e04355eeca3e79c1b05f5ee9529b0bf9ee
SHA1 (patch-src_3rdparty_chromium_content_browser_child__thread__type__switcher__linux.cc) = ee4e8b5d7a90b0a43afeb66ac70549e868260bfb
SHA1 (patch-src_3rdparty_chromium_content_browser_compositor_viz__process__transport__factory.cc) = fcf5af17620095ab102843be0cea01b542bb39fb
SHA1 (patch-src_3rdparty_chromium_content_browser_devtools_devtools__frontend__host__impl.cc) = 50449f18c138c28ceb7696c61fd505e857d94f58
SHA1 (patch-src_3rdparty_chromium_content_browser_devtools_devtools__frontend__host__impl.h) = c8870d9b841fd247250cac1985248a2f5cfc8150
SHA1 (patch-src_3rdparty_chromium_content_browser_devtools_protocol_system__info__handler.cc) = 929f6c782eeeb2d0170b57ecfa97b38fbc33173f
-SHA1 (patch-src_3rdparty_chromium_content_browser_file__system__access_file__system__access__local__path__watcher.cc) = 16627aa8f59782eb66ca22df246e216bf13efc8f
+SHA1 (patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher.h) = 6238b62a268263a79b48fc85a1370054f2eaa92a
+SHA1 (patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__bsd.cc) = 4755098181a8d3c7d24923c72ed444836878763d
+SHA1 (patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__kqueue.h) = cacb903babd0eb775fbec6add25eac09492f284c
+SHA1 (patch-src_3rdparty_chromium_content_browser_file__system__access_file__system__access__local__path__watcher.cc) = 537ef545e25ee063ab0d434c65f3fa4fd5a47b03
SHA1 (patch-src_3rdparty_chromium_content_browser_font__access_font__enumeration__data__source.cc) = 3d6ddf2349e194f32aecad0d419605a262275321
-SHA1 (patch-src_3rdparty_chromium_content_browser_gpu_compositor__util.cc) = 021c074b9160c4154d50f2266b8f8f216f2efb11
+SHA1 (patch-src_3rdparty_chromium_content_browser_gpu_compositor__util.cc) = 5265cf29d271849d9f7e05cdeef63930851449d5
SHA1 (patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl.cc) = 1c7f4639a39128078559bd75a30a42374030fffd
SHA1 (patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl.h) = c7c6ecf04b94813a5a80d8e35056b9e34ad0cddb
SHA1 (patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl__private.cc) = e65df70258f67ef214189ad4e31def1d5c5d190f
SHA1 (patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl__private.h) = bbe336e60fd7c0ddc0a66f9df06c215a639b531c
-SHA1 (patch-src_3rdparty_chromium_content_browser_gpu_gpu__memory__buffer__manager__singleton.cc) = 332be8df3b5dbd10edf8e2428a7ba5cb09fc826a
-SHA1 (patch-src_3rdparty_chromium_content_browser_gpu_gpu__process__host.cc) = b3ae477c187d7aab479eaca9be8cbba6a0dd9893
+SHA1 (patch-src_3rdparty_chromium_content_browser_gpu_gpu__memory__buffer__manager__singleton.cc) = ee995bcbd722853b6eed8e8906eae2a4b3656090
+SHA1 (patch-src_3rdparty_chromium_content_browser_gpu_gpu__process__host.cc) = 83539db8019dd7b5b85954e0bbb71f6f73b5afec
SHA1 (patch-src_3rdparty_chromium_content_browser_media_frameless__media__interface__proxy.h) = fa3b3a1bc8f2291cf71845ff15ce960f675c5061
-SHA1 (patch-src_3rdparty_chromium_content_browser_media_media__keys__listener__manager__impl.cc) = c8208faab29a79c96e913b8a250545e21f836423
+SHA1 (patch-src_3rdparty_chromium_content_browser_media_media__keys__listener__manager__impl.cc) = 1a9e40564c61b26ef281d6355a8b5fd14b7c57de
SHA1 (patch-src_3rdparty_chromium_content_browser_network__service__instance__impl.cc) = c092a9ae6c4b4db2c824f82f37dc825161b7df68
SHA1 (patch-src_3rdparty_chromium_content_browser_ppapi__plugin__process__host__receiver__bindings.cc) = d1c21125d3b563b57e842733603991effb7542b6
SHA1 (patch-src_3rdparty_chromium_content_browser_renderer__host_delegated__frame__host.cc) = 8241670824fa60679501cfda687734c3d4c93e3b
@@ -357,44 +366,45 @@ SHA1 (patch-src_3rdparty_chromium_content_browser_renderer__host_media_service__
SHA1 (patch-src_3rdparty_chromium_content_browser_renderer__host_pepper_pepper__file__io__host.cc) = 669c3446d412f7167816057126124555df7d34ff
SHA1 (patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl.h) = 00a3749d5841e761a1c1b0d344b02ecabf42af09
SHA1 (patch-src_3rdparty_chromium_content_browser_renderer__host_render__view__host__impl.cc) = 93a6125a264b75837e1b5f79816732c686affbdd
-SHA1 (patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__aura.cc) = 3e97473e3070e62dcf9f97543ec78d31b19529ed
+SHA1 (patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__aura.cc) = c7656da80a7d5d7b9b67bd67d7466b0b0babd5bc
SHA1 (patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__aura.h) = ce49c23e89edf76eb080c53bb16a038e3fc30ad8
-SHA1 (patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__event__handler.cc) = 75ae7bfc21bcaacbfdcc48234e12ef0bae58a4c5
+SHA1 (patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__event__handler.cc) = f968ffbaa5714b392610aaf97fec8863b8b81fb3
SHA1 (patch-src_3rdparty_chromium_content_browser_sandbox__host__linux.cc) = 764320ce426ecc32f39bacd613e58ab18ca8df25
SHA1 (patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_jank__monitor__impl.cc) = 079d9c65d04975114a9a758dcbf75f2547b795f8
SHA1 (patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_native__event__observer.cc) = 6b5607085fc714ee5b86e4f7250e4b4d89b0a094
SHA1 (patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_native__event__observer.h) = df97a621485f2dc4912b723ede9e95934d0eee07
-SHA1 (patch-src_3rdparty_chromium_content_browser_utility__process__host.cc) = a5a0108ae7b440b4c48ddc3c25a0d54054a6959e
-SHA1 (patch-src_3rdparty_chromium_content_browser_utility__process__host.h) = 0ed2f2b5ff97848f88a86eb7d153709467c1aac7
-SHA1 (patch-src_3rdparty_chromium_content_browser_utility__process__host__receiver__bindings.cc) = 6e4845fb82c0d0da3581adc425501bc1e65d5bed
+SHA1 (patch-src_3rdparty_chromium_content_browser_utility__process__host.cc) = 07597e4206b7c5d6cf5d99b5090102c483ce19c2
+SHA1 (patch-src_3rdparty_chromium_content_browser_utility__process__host.h) = e6f4377b098ad176b73f042727857cf0a8e196f5
+SHA1 (patch-src_3rdparty_chromium_content_browser_utility__process__host__receiver__bindings.cc) = 02fd310ffa67f03264a8d7748f921b9de5730276
SHA1 (patch-src_3rdparty_chromium_content_browser_utility__sandbox__delegate.cc) = a55578144b7024933d5ba2c85efb4210f04ffb6f
-SHA1 (patch-src_3rdparty_chromium_content_browser_v8__snapshot__files.cc) = 3dced7908647aff5d482975090371474d3d170b2
+SHA1 (patch-src_3rdparty_chromium_content_browser_v8__snapshot__files.cc) = 55f96893d16f4bf2cae0bfceeb0883fd8a272226
SHA1 (patch-src_3rdparty_chromium_content_browser_web__contents_web__contents__view__aura.cc) = 450fb743b379a264fd7ea853daa76881d6b0e4be
SHA1 (patch-src_3rdparty_chromium_content_browser_web__contents_web__contents__view__aura__unittest.cc) = 2d43c7a0634caac9f230c011ee3268ad6ff86f3b
-SHA1 (patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.cc) = aa905d282f47a64e43fd2c9388a451c69344d222
-SHA1 (patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.h) = f21cec746d9cd16e55127979e8c451c4de0743e7
+SHA1 (patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.cc) = a1d5f393009373308f67da7c4e1cbe0f829bcad9
+SHA1 (patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.h) = 41b3b0594230f38126e07a842519ff6cc9c40c2d
SHA1 (patch-src_3rdparty_chromium_content_browser_zygote__host_zygote__host__impl__linux.cc) = ea8731432995cab24ece52926ab0ad8a44aa42f4
SHA1 (patch-src_3rdparty_chromium_content_browser_zygote__host_zygote__host__impl__linux.h) = 885dcb8cf8a53b9cdcedbba7e7865326b3043ebe
SHA1 (patch-src_3rdparty_chromium_content_child_BUILD.gn) = ab9b7542ca4bf8e153fcb6afabb82cac8e5ed5ce
-SHA1 (patch-src_3rdparty_chromium_content_child_child__process.cc) = 368fe1fbae69c6461eff0064a09c9e9c1fd6d052
-SHA1 (patch-src_3rdparty_chromium_content_common_BUILD.gn) = 56d0cdd847f12e7d7215882ce8f2e05892cb5848
-SHA1 (patch-src_3rdparty_chromium_content_common_features.cc) = c81d566fe3c8542f49def72cfc8040d08564fab1
-SHA1 (patch-src_3rdparty_chromium_content_common_features.h) = 5b700edbdb839b62f76185cccadbc9c892d39543
+SHA1 (patch-src_3rdparty_chromium_content_child_child__process.cc) = f3daf6ea203479ce25230432c690fd8c7dd615a1
+SHA1 (patch-src_3rdparty_chromium_content_child_child__process.h) = 6cf29096e181fb917c624946daf82ea150934035
+SHA1 (patch-src_3rdparty_chromium_content_common_BUILD.gn) = b6cdbcbdb867afa4122a3b092954b2869cf0a73f
+SHA1 (patch-src_3rdparty_chromium_content_common_features.cc) = 141adb67e08acbb6964735df84125131a9037121
+SHA1 (patch-src_3rdparty_chromium_content_common_features.h) = ed624c5e1af2b327cf71fdaecc7f07da02f574c6
SHA1 (patch-src_3rdparty_chromium_content_common_font__list__unittest.cc) = 4147d40cafcb87b12f6c04be8d948a4d726dcb72
SHA1 (patch-src_3rdparty_chromium_content_common_gpu__pre__sandbox__hook__bsd.cc) = dd57387435a994c69aef9afea495de76b3f736e6
SHA1 (patch-src_3rdparty_chromium_content_common_gpu__pre__sandbox__hook__bsd.h) = 6547f9becfe13fb22d441edc1655900992c8df9c
SHA1 (patch-src_3rdparty_chromium_content_common_gpu__pre__sandbox__hook__linux.h) = b53368bd737610a0eb8770e9f938d5c40511bc6d
SHA1 (patch-src_3rdparty_chromium_content_common_user__agent.cc) = 0922725969e3b6a215fcfcf426a4b9932e0bc192
SHA1 (patch-src_3rdparty_chromium_content_gpu_gpu__child__thread.cc) = 9a61b08c4a6873c886c52a786489753814cbedc0
-SHA1 (patch-src_3rdparty_chromium_content_gpu_gpu__main.cc) = 0e6da5007d18e253f2afa54e6723723e5c9c5b22
+SHA1 (patch-src_3rdparty_chromium_content_gpu_gpu__main.cc) = a2f979a3b2e80680e0be1b6d658a9c40b53d567e
SHA1 (patch-src_3rdparty_chromium_content_ppapi__plugin_ppapi__blink__platform__impl.cc) = 533e41030472d0167bff41827b8f3103d97a916b
SHA1 (patch-src_3rdparty_chromium_content_ppapi__plugin_ppapi__blink__platform__impl.h) = 5dfbad5b849a1598657f64db0d52acebe5c0bb6c
SHA1 (patch-src_3rdparty_chromium_content_ppapi__plugin_ppapi__plugin__main.cc) = 24732b8429b4b5d3963d585ef6422d81a2fa692d
SHA1 (patch-src_3rdparty_chromium_content_public_browser_content__browser__client.cc) = 4148c0640d882a67ed4cd8bbf5744be4d19dfff6
SHA1 (patch-src_3rdparty_chromium_content_public_browser_zygote__host_zygote__host__linux.h) = 8763092681b697a55ce3f927c0f8b356e58bcb0c
-SHA1 (patch-src_3rdparty_chromium_content_public_common_content__features.cc) = 6fbb294818de7a38643c245e4b141c2173bd2b85
-SHA1 (patch-src_3rdparty_chromium_content_public_common_content__switches.cc) = bacd682136d15cb7c480897da4ff3f9fc3460cb8
-SHA1 (patch-src_3rdparty_chromium_content_public_common_content__switches.h) = 8e1a99d7e7f00d07839088755760dc7fdfcb9822
+SHA1 (patch-src_3rdparty_chromium_content_public_common_content__features.cc) = b5f3d2c54ffd52b2e3b725818e12ce57637f2012
+SHA1 (patch-src_3rdparty_chromium_content_public_common_content__switches.cc) = d426b5c67cbc72a5023c9df603fc71501e20e18c
+SHA1 (patch-src_3rdparty_chromium_content_public_common_content__switches.h) = 31ee2b28737725b56f648fc750f9c15bc4be68f9
SHA1 (patch-src_3rdparty_chromium_content_public_common_zygote_features.gni) = a191c39249b291f204db480730cca161153b96df
SHA1 (patch-src_3rdparty_chromium_content_renderer_render__thread__impl.cc) = f9fd9a30ddad2ba4107ea274acfc15fde2b0f0fd
SHA1 (patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.cc) = 711f2085256c0609dd9d1503cc1a02e019f23616
@@ -403,67 +413,66 @@ SHA1 (patch-src_3rdparty_chromium_content_renderer_renderer__main__platform__del
SHA1 (patch-src_3rdparty_chromium_content_shell_BUILD.gn) = 0f4a9059699a73df180d558f05d0c32b8c3c74c4
SHA1 (patch-src_3rdparty_chromium_content_shell_app_shell__main__delegate.cc) = c1177a45a477c8bf98104e0d4356b8000d56c19f
SHA1 (patch-src_3rdparty_chromium_content_shell_utility_shell__content__utility__client.cc) = 682574b8a753fbae2ac7a244fa353d74e8eb59de
-SHA1 (patch-src_3rdparty_chromium_content_test_BUILD.gn) = 7ee34009ff075d1af8b5d6c0b884f815b7e60a1d
-SHA1 (patch-src_3rdparty_chromium_content_utility_services.cc) = b1b563f74fb85b6727594538bc2c2050bad9ca97
-SHA1 (patch-src_3rdparty_chromium_content_utility_speech_speech__recognition__sandbox__hook__linux.cc) = bb88a8af2daa1ec69fac99f0ec9be494d864b340
+SHA1 (patch-src_3rdparty_chromium_content_test_BUILD.gn) = 5c1624182302a3e4db373e790ff6d43258141e49
+SHA1 (patch-src_3rdparty_chromium_content_utility_services.cc) = d3392db7a25e5574e9a4deaf551c4a3a9ab31eee
+SHA1 (patch-src_3rdparty_chromium_content_utility_speech_speech__recognition__sandbox__hook__linux.cc) = c91a4dc989858f2aa2f535f6788a458fa3604e44
SHA1 (patch-src_3rdparty_chromium_content_utility_speech_speech__recognition__sandbox__hook__linux.h) = 6ba3ef820e8b13d072b43f47b4397c30dbc3af38
SHA1 (patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.cc) = 3b506783181810f188acf26c76ecdcaf81c1eb57
SHA1 (patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.h) = 199f5680fb1b1ee84ba60df1eddadea0d8bd2b24
-SHA1 (patch-src_3rdparty_chromium_content_utility_utility__main.cc) = c0ee8654e269c33d2a8d4c31201a61d8a98a9b4a
+SHA1 (patch-src_3rdparty_chromium_content_utility_utility__main.cc) = 2e7eaa8f7c06f34a37f88c8cf47c79637e864d42
SHA1 (patch-src_3rdparty_chromium_content_utility_utility__thread__impl.cc) = 45944906fb2f1285a712ebd35cbadb49f4553ccd
SHA1 (patch-src_3rdparty_chromium_content_zygote_BUILD.gn) = 00512232debcdc307b01e324bf0132712083324b
-SHA1 (patch-src_3rdparty_chromium_content_zygote_zygote__linux.cc) = 4a03bd9bf8ce532754459aa2dc9c4e1bef181dc7
+SHA1 (patch-src_3rdparty_chromium_content_zygote_zygote__linux.cc) = b1573ab74055e70a6eb48b180634053e38b4531c
SHA1 (patch-src_3rdparty_chromium_content_zygote_zygote__main__linux.cc) = be3b0f689f0190cdf0cc4bafbb31dba2d5e8130f
SHA1 (patch-src_3rdparty_chromium_device_bluetooth_bluetooth__adapter.cc) = fb9f2124ad6ebf015fa99d4263c5c2d9333f94f9
SHA1 (patch-src_3rdparty_chromium_device_bluetooth_cast__bluetooth.gni) = bb5b63d2ee9fab9258ab61f0cefe722ac28c9c92
SHA1 (patch-src_3rdparty_chromium_device_gamepad_BUILD.gn) = 0936a7f98dd8fdbbb1c464b1186427444349baf0
SHA1 (patch-src_3rdparty_chromium_device_gamepad_gamepad__provider.cc) = 213d311dffd711969f75844b99ad601250939230
SHA1 (patch-src_3rdparty_chromium_device_gamepad_hid__writer__linux.cc) = 14ae4871a679b3d27ecf4c646e7eaaaffbd28d82
-SHA1 (patch-src_3rdparty_chromium_extensions_browser_api_api__browser__context__keyed__service__factories.cc) = 42a3159d7e19e1a6babcad79895305d195c5eafe
+SHA1 (patch-src_3rdparty_chromium_extensions_browser_api_api__browser__context__keyed__service__factories.cc) = f47a8836147687ac91057d4fb274c0878c135efa
SHA1 (patch-src_3rdparty_chromium_extensions_browser_api_management_management__api.cc) = cbdfd993b529b792685d1de683ba0fb5effa2b58
SHA1 (patch-src_3rdparty_chromium_extensions_browser_api_messaging_message__service.cc) = 0b15d4f1fc8bdb156e8cb9a572c1cc63f4fe51df
SHA1 (patch-src_3rdparty_chromium_extensions_browser_api_networking__private_networking__private__delegate__factory.cc) = f54cc50d47bee18ac1848c19d1202bb9ea8803dc
SHA1 (patch-src_3rdparty_chromium_extensions_common_api___permission__features.json) = cc41d83ecf6a40a320de50afde6d023fd88320d7
SHA1 (patch-src_3rdparty_chromium_extensions_common_api_runtime.json) = 1bb5eb10b41d0a85e2f50b451d68cece2504a79c
-SHA1 (patch-src_3rdparty_chromium_extensions_common_command.cc) = 3f6158806e9cb86df92b5ea78b6f25aa517cea00
+SHA1 (patch-src_3rdparty_chromium_extensions_common_command.cc) = 08c0f5a6316c66f74fd0bbb63ffece779805f6e2
SHA1 (patch-src_3rdparty_chromium_extensions_common_features_feature.cc) = 6649655b96991b580c4c7ea64df945a6856d736b
SHA1 (patch-src_3rdparty_chromium_extensions_renderer_bindings_api__binding__util.cc) = 2007136709b3f4217ec52ed0e5599f4359e3dc94
SHA1 (patch-src_3rdparty_chromium_extensions_renderer_bindings_argument__spec.cc) = ef59f6295a8024376e6eac8743343335d570e357
-SHA1 (patch-src_3rdparty_chromium_extensions_shell_app_shell__main__delegate.cc) = c595f84c60691cd3e881aaf214b52c2820b7ab9d
+SHA1 (patch-src_3rdparty_chromium_extensions_shell_app_shell__main__delegate.cc) = df571a8b60c6af600203fa7b4183462d8312f512
SHA1 (patch-src_3rdparty_chromium_extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc) = 5ce68e7336ef4eac916a12d05a9e35adfec92bdb
SHA1 (patch-src_3rdparty_chromium_extensions_shell_browser_shell__browser__main__parts.cc) = 021aa5c9068f2fa38a67cc812d7b7932cb18c781
-SHA1 (patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.cc) = a3a9185d2c9e1583b3fedfadd94ec5cc05bd63f5
-SHA1 (patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.h) = 861eb96d9fc9f3ffa394ee8ae634067d299ced76
+SHA1 (patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.cc) = 17415ead2acd1b9a90694c80fc5e4f20643a603f
+SHA1 (patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.h) = 44a795d4c3f44a5b1445c719a52d3b7befdcde8d
SHA1 (patch-src_3rdparty_chromium_google__apis_gcm_engine_heartbeat__manager.cc) = 6c177386426d1cd94c04a2c2397730b34cc57c16
-SHA1 (patch-src_3rdparty_chromium_gpu_command__buffer_common_gpu__memory__buffer__support.cc) = 17c6fe12778ec72886bf6336b17572e4d3f513bf
SHA1 (patch-src_3rdparty_chromium_gpu_command__buffer_service_dawn__context__provider.cc) = 445ec193be368a2edd621d17201b4f3ca64ef3e0
SHA1 (patch-src_3rdparty_chromium_gpu_command__buffer_service_gles2__cmd__decoder.cc) = 06fe499899b4f4db8aa1dc5d30d920248f53befc
-SHA1 (patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_angle__vulkan__image__backing__factory.cc) = 23a648cb7317bc1882b3f6a66810f3eb57192e58
+SHA1 (patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_angle__vulkan__image__backing__factory.cc) = 9ea71ec243dfc6d0860921f9e6dd72f0d0a67811
SHA1 (patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_external__vk__image__backing.cc) = e7781198f8ac1e69f44af2c5ed9487fe3549234e
-SHA1 (patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc) = 372727972db08b164fe2b0aca4dd5a5cbc2dea19
+SHA1 (patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc) = b0c15252ec58e985c81033c3a1e1a963fc85632e
SHA1 (patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_shared__image__factory.cc) = 77e794248169d299f3a7c4768ccfbb799a6c314a
SHA1 (patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_shared__image__manager.cc) = 0afe9f23e99ea6707984934fb0f52a10b64acf34
SHA1 (patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_wrapped__sk__image__backing.cc) = 34de06cae637847637789027cd0df1b50dd89a71
SHA1 (patch-src_3rdparty_chromium_gpu_command__buffer_service_webgpu__decoder__impl.cc) = 65ec6dfddc942ee4c1dde20283af4f22c8dc220e
SHA1 (patch-src_3rdparty_chromium_gpu_config_gpu__control__list.cc) = 308e88f63c989f15b30bfd9a52bf47f448555641
-SHA1 (patch-src_3rdparty_chromium_gpu_config_gpu__finch__features.cc) = bacd521c932a69ee12618d4f20859ae26de48897
+SHA1 (patch-src_3rdparty_chromium_gpu_config_gpu__finch__features.cc) = b323329d90a8cc75178a81d7ca6eb5cef5fe3311
SHA1 (patch-src_3rdparty_chromium_gpu_config_gpu__info__collector.cc) = 2229bbffbc3abdb8e7c2305c4d729ce1eb4eb823
SHA1 (patch-src_3rdparty_chromium_gpu_config_gpu__test__config.cc) = 5a554c2a53568404f9c1f8f9f1fe9e8083761edb
SHA1 (patch-src_3rdparty_chromium_gpu_ipc_common_gpu__memory__buffer__support.cc) = 90ebeba9396d14ee6e11c03cd86f6ae7e2125d2f
SHA1 (patch-src_3rdparty_chromium_gpu_ipc_common_gpu__memory__buffer__support.h) = eeea99c2b8bb941ada73e4250bbffcb1fc910b98
SHA1 (patch-src_3rdparty_chromium_gpu_ipc_service_gpu__init.cc) = 0b525b36ef1121c396d73aefe23640917db4c274
-SHA1 (patch-src_3rdparty_chromium_gpu_ipc_service_gpu__memory__buffer__factory.cc) = 610b89485cffed6519cdf943b60d7e39bde01134
+SHA1 (patch-src_3rdparty_chromium_gpu_ipc_service_gpu__memory__buffer__factory.cc) = 6889b2408523e0b3e0b21d678634a40f2ba75e0e
SHA1 (patch-src_3rdparty_chromium_gpu_ipc_service_x__util.h) = 6b28e974050eec8dbf20a98cdde1fb4803aa8ace
SHA1 (patch-src_3rdparty_chromium_gpu_vulkan_generate__bindings.py) = 56b6d80a29ba6ebefeddc09a32beb390c22d58e5
SHA1 (patch-src_3rdparty_chromium_gpu_vulkan_semaphore__handle.cc) = 8eef71110f8444ad7bacd85e930101f6db53a507
SHA1 (patch-src_3rdparty_chromium_gpu_vulkan_vulkan__device__queue.cc) = 5c295836de834e04f6959945d8824889bad5ffeb
-SHA1 (patch-src_3rdparty_chromium_gpu_vulkan_vulkan__device__queue.h) = cdad174b6b23a714b2e440fe5450375d721a68ce
+SHA1 (patch-src_3rdparty_chromium_gpu_vulkan_vulkan__device__queue.h) = 11adfd74d28bd939161e59082e9e7d9592cb4ad6
SHA1 (patch-src_3rdparty_chromium_gpu_vulkan_vulkan__function__pointers.cc) = 430fcf35005af0da67a088d3086b27c8af2e312d
SHA1 (patch-src_3rdparty_chromium_gpu_vulkan_vulkan__function__pointers.h) = 3373787838bd72a0c654636debd46c02c0f79c41
SHA1 (patch-src_3rdparty_chromium_gpu_vulkan_vulkan__image.h) = 41b41b2878f986b076480324f47a16f2e934f884
SHA1 (patch-src_3rdparty_chromium_gpu_vulkan_vulkan__util.cc) = 1a7f183343f92a508428541c4c3a9010f5d0c444
SHA1 (patch-src_3rdparty_chromium_headless_lib_browser_headless__browser__main__parts__posix.cc) = 1f2fe3ae395f4fe84859a1609fef760480efcc25
-SHA1 (patch-src_3rdparty_chromium_headless_lib_browser_headless__content__browser__client.cc) = 6e991de2d04ba393d44b730823f6690ad8f17d61
+SHA1 (patch-src_3rdparty_chromium_headless_lib_browser_headless__content__browser__client.cc) = e575e3f73418f4fc43cd0047275d54549b855c28
SHA1 (patch-src_3rdparty_chromium_headless_lib_browser_headless__content__browser__client.h) = e6c6bd9717d20b0fd2c1008b9c6170ac7520ef06
SHA1 (patch-src_3rdparty_chromium_headless_lib_browser_headless__web__contents__impl.cc) = bc41301d90ba1ded0dfe46a7f61960fe2d071279
SHA1 (patch-src_3rdparty_chromium_headless_lib_headless__content__main__delegate.cc) = 177892e3041c6b2dcfb22857f99368198ad54624
@@ -472,9 +481,9 @@ SHA1 (patch-src_3rdparty_chromium_ipc_ipc__channel__common.cc) = 941ed5e15e564ad
SHA1 (patch-src_3rdparty_chromium_ipc_ipc__channel__mojo.cc) = 84378c9f04dfb5d461333b19c308a18cf5aafd62
SHA1 (patch-src_3rdparty_chromium_ipc_ipc__message__utils.cc) = 46600edba0d9ad41d24192ace1707fc98b5a8f9c
SHA1 (patch-src_3rdparty_chromium_ipc_ipc__message__utils.h) = 26e8e3b27f2b1669a7428782190e857b7526b0e2
-SHA1 (patch-src_3rdparty_chromium_media_BUILD.gn) = 7f710212d907166263d0a87ee03f10e3ec77232e
+SHA1 (patch-src_3rdparty_chromium_media_BUILD.gn) = 31fa24665f0c1719dc184536413354195e8f19ec
SHA1 (patch-src_3rdparty_chromium_media_audio_BUILD.gn) = 7c1ec08f0f408add785afcde4ad715cd8a1e07a4
-SHA1 (patch-src_3rdparty_chromium_media_audio_alsa_audio__manager__alsa.cc) = 57aca596b8ba807b6eb7916c2363f35e9b0316b4
+SHA1 (patch-src_3rdparty_chromium_media_audio_alsa_audio__manager__alsa.cc) = e4bb081aa30c2544e04e21dcfc7e8787512f31d5
SHA1 (patch-src_3rdparty_chromium_media_audio_audio__input__device.cc) = fd2f64f3dd6209e24f67f0297d0250715aa74d60
SHA1 (patch-src_3rdparty_chromium_media_audio_audio__output__proxy__unittest.cc) = d1ef65416d783ffd309928c42c83d5a5d601bc0b
SHA1 (patch-src_3rdparty_chromium_media_audio_audioio_audio__manager__audioio.cc) = 0d5dec95421d539febbd83869fdb8f92017e775c
@@ -488,13 +497,12 @@ SHA1 (patch-src_3rdparty_chromium_media_audio_sndio_sndio__input.h) = 353c08375e
SHA1 (patch-src_3rdparty_chromium_media_audio_sndio_sndio__output.cc) = 406f5fd558c7a549f38d769c8465b301a8a4e3d3
SHA1 (patch-src_3rdparty_chromium_media_audio_sndio_sndio__output.h) = c4e8466589dd3aa2dfaa5197ca62d4dfb6cf1808
SHA1 (patch-src_3rdparty_chromium_media_base_audio__latency.cc) = fb1c08231b6e6dd90f14fe532811a66764b13930
-SHA1 (patch-src_3rdparty_chromium_media_base_libaom__thread__wrapper.cc) = e89488addd10bb59c4b2a9814a3ebbed195f0a63
-SHA1 (patch-src_3rdparty_chromium_media_base_libvpx__thread__wrapper.cc) = 99cb5bf3b05c1e08d7f8abf386baf0645d806563
-SHA1 (patch-src_3rdparty_chromium_media_base_media__switches.cc) = 0654a739390d1eee0b9855c17bb997da03977aba
-SHA1 (patch-src_3rdparty_chromium_media_base_media__switches.h) = 7be4055c6f62f1b657bdf0680ac28d4585d805f3
+SHA1 (patch-src_3rdparty_chromium_media_base_libaom__thread__wrapper.cc) = d32195d69f4f724027abb56e383fc8f9d4afbbc3
+SHA1 (patch-src_3rdparty_chromium_media_base_media__switches.cc) = 084f32653dc6300f3eab30240364de687f3dc870
+SHA1 (patch-src_3rdparty_chromium_media_base_media__switches.h) = bd9b2cfa94b8f0fbe3d02fd3b97b3843c18be34a
SHA1 (patch-src_3rdparty_chromium_media_base_user__input__monitor__unittest.cc) = 07efb655d712114412be69713424affab690c967
-SHA1 (patch-src_3rdparty_chromium_media_base_video__frame.cc) = fcf80da4daf680bd7b4fcad15096e7a07dd41ebc
-SHA1 (patch-src_3rdparty_chromium_media_base_video__frame.h) = a1b2f636d208df7733fb0e73a0ae534149743ede
+SHA1 (patch-src_3rdparty_chromium_media_base_video__frame.cc) = dfb709c3d8bd7c33afc458b478230111d81c09d0
+SHA1 (patch-src_3rdparty_chromium_media_base_video__frame.h) = d3c4907cfc8a2767ff2cedf549ecc89bbf90a995
SHA1 (patch-src_3rdparty_chromium_media_capture_video_create__video__capture__device__factory.cc) = 5a65448b4f1dc0b0b51bd75c62ebc53c4d1b4452
SHA1 (patch-src_3rdparty_chromium_media_capture_video_fake__video__capture__device__factory.cc) = 44cfcb384e8e8dc9090853862269b8b6337c8a39
SHA1 (patch-src_3rdparty_chromium_media_capture_video_file__video__capture__device__factory.cc) = 58bfab8f501d3b14ca6c51ed971abacf551cf707
@@ -514,16 +522,16 @@ SHA1 (patch-src_3rdparty_chromium_media_cdm_cdm__paths__unittest.cc) = c62a3291b
SHA1 (patch-src_3rdparty_chromium_media_cdm_library__cdm_cdm__paths.gni) = 0f6016d55ae95f5e7de7c491e799892c4a2d7489
SHA1 (patch-src_3rdparty_chromium_media_gpu_buffer__validation.cc) = a4fb9f336d468a6f69a17107335641251bad629c
SHA1 (patch-src_3rdparty_chromium_media_gpu_chromeos_gl__image__processor__backend.cc) = 2bc47424f58d4fbed812f7166e4135377593f680
-SHA1 (patch-src_3rdparty_chromium_media_gpu_chromeos_libyuv__image__processor__backend.cc) = 6d36cd86fff45ed5d5417d07e6ae144485493191
-SHA1 (patch-src_3rdparty_chromium_media_gpu_chromeos_mailbox__video__frame__converter.cc) = cf77c7e494ea4559d6ec66dedfc458c17987a15f
+SHA1 (patch-src_3rdparty_chromium_media_gpu_chromeos_libyuv__image__processor__backend.cc) = c4a847bd316e48ef3f1d8c4cf6d287d2224730b8
+SHA1 (patch-src_3rdparty_chromium_media_gpu_chromeos_mailbox__video__frame__converter.cc) = a3d29639410496434569e1dad4feceb954e32cb5
SHA1 (patch-src_3rdparty_chromium_media_gpu_chromeos_platform__video__frame__utils.cc) = 30d6badd05ad06ebfb00257c2e2ed6c5e45761e3
-SHA1 (patch-src_3rdparty_chromium_media_gpu_chromeos_video__decoder__pipeline.cc) = d65566d9456bd40fde167b548c30df3aab62f378
+SHA1 (patch-src_3rdparty_chromium_media_gpu_chromeos_video__decoder__pipeline.cc) = 79f6d691722bce11bc3d5974e0fc08fc8bfe5617
SHA1 (patch-src_3rdparty_chromium_media_gpu_gpu__video__encode__accelerator__factory.cc) = 3cef60cfc57e78bd8922d92cd63cfd9873aa69de
-SHA1 (patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc) = 4b818dcc7a0aa5105e1770af872b88066672bd69
+SHA1 (patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc) = baaf7e9c10bd6086dc605847c129e57e9affb7ce
SHA1 (patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.h) = 75fe8e39ff222205316646501114cc0f959e856a
-SHA1 (patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__encoding__sandbox__hook__linux.cc) = dfacee29004cc8bce1c80fb2ca630bae1521b2f3
+SHA1 (patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__encoding__sandbox__hook__linux.cc) = 21a85a4d16c2f252b4876be2e65ca39e34b19173
SHA1 (patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__encoding__sandbox__hook__linux.h) = f29ac4348a3fe9736529504ca88863c333c48eb6
-SHA1 (patch-src_3rdparty_chromium_media_gpu_vaapi_vaapi__video__decoder.cc) = 53d1904446b6341b65a0ac9237d9aa09e77898e2
+SHA1 (patch-src_3rdparty_chromium_media_gpu_vaapi_vaapi__video__decoder.cc) = a21afc24c2ac4f141c44b4383631bb5405ae7116
SHA1 (patch-src_3rdparty_chromium_media_gpu_vaapi_vaapi__wrapper.cc) = 5b70f17c08401ed873467f77670efb0a286de8b8
SHA1 (patch-src_3rdparty_chromium_media_media__options.gni) = fe6ccf4d7e4f0a6481b9c9c85f74285863c3a39e
SHA1 (patch-src_3rdparty_chromium_media_mojo_mojom_stable_BUILD.gn) = 5b2f545ea291449ffacad8ec62243dc32dfcf08c
@@ -531,20 +539,20 @@ SHA1 (patch-src_3rdparty_chromium_media_mojo_mojom_stable_stable__video__decoder
SHA1 (patch-src_3rdparty_chromium_media_mojo_mojom_stable_stable__video__decoder__types__mojom__traits.h) = 1e72dd8f848fe3e813427b6a792a5ddc94202b01
SHA1 (patch-src_3rdparty_chromium_media_mojo_mojom_video__frame__mojom__traits.cc) = f8166f17ae32363bb1e9f35aee2b4070397831f7
SHA1 (patch-src_3rdparty_chromium_media_mojo_services_webrtc__video__perf__history.cc) = 61e993464221bf6833c602d889f703bfbb66f3a5
-SHA1 (patch-src_3rdparty_chromium_media_video_fake__gpu__memory__buffer.cc) = e93397dd9d611ada06858f94f11435ebbd64e6d8
-SHA1 (patch-src_3rdparty_chromium_media_video_gpu__memory__buffer__video__frame__pool.cc) = b26795c7ec5e252ce8137946cc8621e273232449
+SHA1 (patch-src_3rdparty_chromium_media_video_fake__gpu__memory__buffer.cc) = 0f95d8038179668e8f9d3141a163300f0cee0692
+SHA1 (patch-src_3rdparty_chromium_media_video_gpu__memory__buffer__video__frame__pool.cc) = ae2e75055d3da29b71924c5352a84c0adf8a8f1c
SHA1 (patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter.cc) = b07fd1d0da728707de251f37e7ce987d6b34e9d2
SHA1 (patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter__test.cc) = a5bb2ff6a3c0787efa7d2b33cef49b6568e7592f
SHA1 (patch-src_3rdparty_chromium_media_webrtc_audio__processor.cc) = c67142dbafd61b20bc3f43905e060c89fe4152c5
-SHA1 (patch-src_3rdparty_chromium_media_webrtc_helpers.cc) = fb27ac71e1728f076605af0a533f698abf27fd4a
-SHA1 (patch-src_3rdparty_chromium_media_webrtc_helpers__unittests.cc) = f50cc8432ead1a5706679450435cc520a84b88ee
-SHA1 (patch-src_3rdparty_chromium_mojo_core_BUILD.gn) = 0ab796956ce4ffe5c73a86d66b332e0156a6aef5
-SHA1 (patch-src_3rdparty_chromium_mojo_core_channel.cc) = 627dc671f90262d0189def3485ebf6c4ee613e54
+SHA1 (patch-src_3rdparty_chromium_media_webrtc_helpers.cc) = 9d4a4fd729105ae095c6fb382f8cd7575dd6c1f7
+SHA1 (patch-src_3rdparty_chromium_media_webrtc_helpers__unittests.cc) = 374b8909391cc0985796d0a89136fbb5b70e3702
+SHA1 (patch-src_3rdparty_chromium_mojo_core_BUILD.gn) = de7f8187c5a02d314efaa8031effbc55c95e3691
+SHA1 (patch-src_3rdparty_chromium_mojo_core_channel.cc) = 967d24f296dd22dd964478076faaaacab76eaaf2
SHA1 (patch-src_3rdparty_chromium_mojo_core_embedder_features.h) = 6ff3def34d3bb255c7edaecfac23d3b887aae9fc
SHA1 (patch-src_3rdparty_chromium_mojo_public_cpp_platform_socket__utils__posix.cc) = 9c80e09154b7a81b715c947bd419489f175e4257
-SHA1 (patch-src_3rdparty_chromium_mojo_public_tools_bindings_mojom.gni) = 8e5612a3250675fef639339a7bb4631f8c7107e0
-SHA1 (patch-src_3rdparty_chromium_native__client__sdk_src_BUILD.gn) = 10543ab70002963271887b759d6d421411876fb4
-SHA1 (patch-src_3rdparty_chromium_net_BUILD.gn) = c45775f830fe77ca443f1fcc5bacaf4d34d627fe
+SHA1 (patch-src_3rdparty_chromium_mojo_public_tools_bindings_mojom.gni) = 32bf050cb25a9a9508f5f3cbf38254808fcbef82
+SHA1 (patch-src_3rdparty_chromium_native__client__sdk_src_BUILD.gn) = 0b11c227d896bfae0c420a786f5cb3493a663d13
+SHA1 (patch-src_3rdparty_chromium_net_BUILD.gn) = 2a358cd0da038c159ef673461ba60d1baa35e1f1
SHA1 (patch-src_3rdparty_chromium_net_base_features.cc) = 4e5b0db0068a41154dbd1bed94b11984c645e6c3
SHA1 (patch-src_3rdparty_chromium_net_base_mock__network__change__notifier.cc) = b637a33df137bc0fffc2d0f75a97ac1b64adc12d
SHA1 (patch-src_3rdparty_chromium_net_base_mock__network__change__notifier.h) = afb7671fc94b187858cd45efdd85e49eaf2d353b
@@ -558,7 +566,7 @@ SHA1 (patch-src_3rdparty_chromium_net_cert_cert__verify__proc.h) = 763fc0a35781d
SHA1 (patch-src_3rdparty_chromium_net_disk__cache_simple_simple__file__tracker.cc) = eafd2af927551bd6b666698b3b1dddf1a53c42ee
SHA1 (patch-src_3rdparty_chromium_net_dns_BUILD.gn) = 5635d20190a27513fe3d0a8fd9c0f2837364105d
SHA1 (patch-src_3rdparty_chromium_net_dns_address__info.cc) = 0d4085e902b10bca089c7cf2babc44dbd64e5929
-SHA1 (patch-src_3rdparty_chromium_net_dns_address__sorter__posix.cc) = b57c9af8918d5a76042b361c1750b0d22a1234a7
+SHA1 (patch-src_3rdparty_chromium_net_dns_address__sorter__posix.cc) = 9e78593b28a951f93d114f83949bb5cacf58715c
SHA1 (patch-src_3rdparty_chromium_net_dns_dns__reloader.cc) = d75060d7ecc651cf5d8e0f89d98d21b23ba4c7dd
SHA1 (patch-src_3rdparty_chromium_net_dns_dns__util.cc) = 24fc4d22a96c0ec9469e0c954454de78caccaace
SHA1 (patch-src_3rdparty_chromium_net_dns_host__resolver__proc.cc) = 564c5c8fa7eafa946505ba2dfccbb0d910ab7fd9
@@ -572,20 +580,20 @@ SHA1 (patch-src_3rdparty_chromium_net_http_http__auth__gssapi__posix.h) = 7aa326
SHA1 (patch-src_3rdparty_chromium_net_http_http__auth__handler__negotiate.cc) = 181fac4434b526e7a117303c29a17e5055e33190
SHA1 (patch-src_3rdparty_chromium_net_http_http__auth__preferences.cc) = 819826494d415257b8f07358f59ad2dbd5ab4f3f
SHA1 (patch-src_3rdparty_chromium_net_http_http__auth__preferences.h) = 95d6e049a77ce5ac46935ccfa0706301a0cb7f8a
-SHA1 (patch-src_3rdparty_chromium_net_http_http__network__session.cc) = d82202b25d1866aefb4b6bd98b52512a74c1c152
+SHA1 (patch-src_3rdparty_chromium_net_http_http__network__session.cc) = f787493e47d6e205ad4f8a88586990b82aac62a5
SHA1 (patch-src_3rdparty_chromium_net_proxy__resolution_proxy__config__service.cc) = e9a4da970c5e4bf55d54ec42e6d3249edc3eec51
-SHA1 (patch-src_3rdparty_chromium_net_proxy__resolution_proxy__config__service__linux.cc) = 480eb460cbaa34a101e5b713a210eed60ecc46c2
+SHA1 (patch-src_3rdparty_chromium_net_proxy__resolution_proxy__config__service__linux.cc) = e61372af056d7304d85880de876b62d1f02594a4
SHA1 (patch-src_3rdparty_chromium_net_socket_socket__posix.cc) = 26ead2b2d5ed28cb26e89c7ae4846f2d8a4ca1a9
SHA1 (patch-src_3rdparty_chromium_net_socket_socks5__client__socket.cc) = 63ff0e69a590de54287695b7353b5525969db150
SHA1 (patch-src_3rdparty_chromium_net_socket_tcp__socket__posix.cc) = 22be9ee46c6c0d0d7942605215fcd57353750887
-SHA1 (patch-src_3rdparty_chromium_net_socket_udp__socket__posix.cc) = 70269b191d3392081c651d8e369f00b95998a979
-SHA1 (patch-src_3rdparty_chromium_net_socket_udp__socket__unittest.cc) = 1bc5a29113b95f81110cfc9b480bcb5046292b41
+SHA1 (patch-src_3rdparty_chromium_net_socket_udp__socket__posix.cc) = 67a46a607ea8d5f60518095db2e5d2beeaa9ac0f
+SHA1 (patch-src_3rdparty_chromium_net_socket_udp__socket__unittest.cc) = 9dcdff0e2344d2fe55bce0d542c77f405835220e
SHA1 (patch-src_3rdparty_chromium_net_third__party_quiche_BUILD.gn) = d9a3e6fd7caab454d72f23a1efab2eaf5deaefd5
SHA1 (patch-src_3rdparty_chromium_net_tools_cert__verify__tool_cert__verify__tool.cc) = b39c7d3c442ddb05db36628a2bd66efb78018f01
-SHA1 (patch-src_3rdparty_chromium_net_tools_net__watcher_net__watcher.cc) = e332fd546881d2fc83d19d3787d9f96311e6be2e
-SHA1 (patch-src_3rdparty_chromium_net_traffic__annotation_network__traffic__annotation.h) = 1e26d097798adeeeb29ff56c63007db322a25d67
-SHA1 (patch-src_3rdparty_chromium_net_url__request_url__request__context.cc) = 8742ef3fe428051dfaa89917b4d759159723fe46
-SHA1 (patch-src_3rdparty_chromium_net_url__request_url__request__context.h) = 6fd058c49520fda884e8cec3c28f18eacf9054cb
+SHA1 (patch-src_3rdparty_chromium_net_tools_net__watcher_net__watcher.cc) = e1b32bbcfb424da0a4caa453238e0553eccadba8
+SHA1 (patch-src_3rdparty_chromium_net_traffic__annotation_network__traffic__annotation.h) = b3c373b4d9ddbcb20926168ccaea7507601518bd
+SHA1 (patch-src_3rdparty_chromium_net_url__request_url__request__context.cc) = 2986e9a2b4032503da061987471f7ef0a62514ff
+SHA1 (patch-src_3rdparty_chromium_net_url__request_url__request__context.h) = c7e01e86e2cc3c51cdf11f4ba0ad7c00f9950a0f
SHA1 (patch-src_3rdparty_chromium_net_url__request_url__request__context__builder.cc) = b810f374b31d2e7dc5790a11ac1ab947ad3f1dea
SHA1 (patch-src_3rdparty_chromium_pdf_pdfium_pdfium__engine.cc) = d543568c13dbdc29433c4f17c0fdea6b89eec07e
SHA1 (patch-src_3rdparty_chromium_printing_backend_cups__ipp__helper.cc) = 8cc3bf17a5410ea3880fba772fdaa3d83d1fe0ff
@@ -595,9 +603,9 @@ SHA1 (patch-src_3rdparty_chromium_printing_print__settings.cc) = 6a9759160b4ff30
SHA1 (patch-src_3rdparty_chromium_printing_print__settings.h) = d0e79036b581f2c0e4c82ad7135fb724ee16454b
SHA1 (patch-src_3rdparty_chromium_printing_print__settings__conversion.cc) = 5749c09fc10779f84feb93227822d87c4c76d91c
SHA1 (patch-src_3rdparty_chromium_printing_printing__context__linux.cc) = 974da97079bd5d292c943b533c3ba32cd42ef81f
-SHA1 (patch-src_3rdparty_chromium_printing_printing__features.cc) = 450855f1f46fee27d578c9aed548c5686c6a605d
-SHA1 (patch-src_3rdparty_chromium_printing_printing__features.h) = 465966b68f1746c045cd928548ae2cd316cd4965
-SHA1 (patch-src_3rdparty_chromium_printing_sandbox_print__backend__sandbox__hook__linux.cc) = 645453e7f0126265e2d54fbcf942056d652d41a1
+SHA1 (patch-src_3rdparty_chromium_printing_printing__features.cc) = 45a22e4a6ed1eca8a3e57de2efde6347075485e4
+SHA1 (patch-src_3rdparty_chromium_printing_printing__features.h) = 99c1f9ef34364808cf1834ab733ca06705c5262d
+SHA1 (patch-src_3rdparty_chromium_printing_sandbox_print__backend__sandbox__hook__linux.cc) = 04075580d8a238631cbc74b3ef9bca395792ecf6
SHA1 (patch-src_3rdparty_chromium_printing_sandbox_print__backend__sandbox__hook__linux.h) = 8efeb3ae8c693ae3b050db87039480efcea95bb9
SHA1 (patch-src_3rdparty_chromium_sandbox_BUILD.gn) = 51457132dc40a99b3bccd97a3d47e8326cb67e73
SHA1 (patch-src_3rdparty_chromium_sandbox_features.gni) = 93b7ae6ebd8d31736c80c952102b03b566234023
@@ -605,8 +613,8 @@ SHA1 (patch-src_3rdparty_chromium_sandbox_linux_BUILD.gn) = 2e3cb73d8085624e149b
SHA1 (patch-src_3rdparty_chromium_sandbox_linux_services_init__process__reaper.cc) = 5ec77ce4c569a2bd7a871fbebbbb4892b05fb53d
SHA1 (patch-src_3rdparty_chromium_sandbox_linux_services_libc__interceptor.cc) = c2293a2ae1efd35151c7e5f489c1a5edba386b76
SHA1 (patch-src_3rdparty_chromium_sandbox_policy_BUILD.gn) = 572809d8774dba0b50b3dd6ac05e5f38028d1a80
-SHA1 (patch-src_3rdparty_chromium_sandbox_policy_features.cc) = c1fcac1e67fd8d782f7ba9348557cc4a73f8093d
-SHA1 (patch-src_3rdparty_chromium_sandbox_policy_features.h) = fa74e0aa664cb41a157e3e4a78c87e863bce0a16
+SHA1 (patch-src_3rdparty_chromium_sandbox_policy_features.cc) = 576acaf6e33b8f21eefb4864386d2f983ff61ded
+SHA1 (patch-src_3rdparty_chromium_sandbox_policy_features.h) = c17f723a41c9b7067852ecc59e891a9620bc8efd
SHA1 (patch-src_3rdparty_chromium_sandbox_policy_freebsd_sandbox__freebsd.cc) = 0464946da7d1bdca9571ae98e01a49d5d54dcf03
SHA1 (patch-src_3rdparty_chromium_sandbox_policy_freebsd_sandbox__freebsd.h) = fa878568c18278fb2813958e23a9136b51253812
SHA1 (patch-src_3rdparty_chromium_sandbox_policy_mojom_sandbox.mojom) = 998da97aae0c5ceb21c02c0a51add96c1b3ea404
@@ -616,13 +624,12 @@ SHA1 (patch-src_3rdparty_chromium_sandbox_policy_openbsd_sandbox__openbsd.cc) =
SHA1 (patch-src_3rdparty_chromium_sandbox_policy_openbsd_sandbox__openbsd.h) = 9155ca0ec2263de9c0b4b947ef0e1963cb1611b0
SHA1 (patch-src_3rdparty_chromium_sandbox_policy_sandbox.cc) = 29c1680854e05f6fb0ff56d3142a87aabc399169
SHA1 (patch-src_3rdparty_chromium_sandbox_policy_sandbox.h) = f5363643e18497f73bb881b86e5e7cd6438f5316
-SHA1 (patch-src_3rdparty_chromium_sandbox_policy_sandbox__type.cc) = a58fcb31c574359d301fe5f794d950d87dbd4bb8
+SHA1 (patch-src_3rdparty_chromium_sandbox_policy_sandbox__type.cc) = 002a68cde08f228ab0f42b1713ca7e46aafcd3eb
SHA1 (patch-src_3rdparty_chromium_sandbox_policy_switches.cc) = e5c58817b4960861c84dca355bc3301b73244854
SHA1 (patch-src_3rdparty_chromium_sandbox_policy_switches.h) = e420a1d68732f6e5bf2f7643321d6a78dfa1c0b5
-SHA1 (patch-src_3rdparty_chromium_services_audio_audio__sandbox__hook__linux.cc) = 34da1e1a20094ac9cde12046370ac6f5d1dfd00a
+SHA1 (patch-src_3rdparty_chromium_services_audio_audio__sandbox__hook__linux.cc) = 5620309d185248a6ab726a61beb093264bdaf7f2
SHA1 (patch-src_3rdparty_chromium_services_audio_audio__sandbox__hook__linux.h) = d56e4bdacbff751ffbe89b324aa7894477d2c033
SHA1 (patch-src_3rdparty_chromium_services_device_BUILD.gn) = 53bf5fee9e0c13b1a077928e4625f0f704730a32
-SHA1 (patch-src_3rdparty_chromium_services_device_geolocation_location__arbitrator.cc) = bfb37b7f2299c6c2df59c1fd8277cdd8c072aee4
SHA1 (patch-src_3rdparty_chromium_services_device_hid_BUILD.gn) = 78f83257574d071d7589b23f88ea12a2d466c32a
SHA1 (patch-src_3rdparty_chromium_services_device_hid_hid__connection__fido.cc) = 3b31fe0dcd23802531d0b478d1a69b14fc6a618a
SHA1 (patch-src_3rdparty_chromium_services_device_hid_hid__connection__fido.h) = cc206325efc2949cf18c080f4c1386137450a22d
@@ -641,27 +648,28 @@ SHA1 (patch-src_3rdparty_chromium_services_device_serial_BUILD.gn) = 7c2b11119a3
SHA1 (patch-src_3rdparty_chromium_services_device_serial_serial__device__enumerator.cc) = 28cd750d17993cb05d7184ff17d19e0c49b58910
SHA1 (patch-src_3rdparty_chromium_services_device_serial_serial__io__handler__posix.cc) = 4b1df731a55f64c0bdfb2a04b487d1174e6e25d2
SHA1 (patch-src_3rdparty_chromium_services_device_time__zone__monitor_time__zone__monitor__linux.cc) = 572bb22a91689d83fc485f7d8dd8a6a8d941a5d4
-SHA1 (patch-src_3rdparty_chromium_services_device_usb_BUILD.gn) = b5a8c3ca383427cc07ece2600c9ff467ba800eda
-SHA1 (patch-src_3rdparty_chromium_services_device_usb_usb__service.cc) = f5c6bc8c45e5129648fa35c0b6f7f729f1da4095
+SHA1 (patch-src_3rdparty_chromium_services_device_usb_BUILD.gn) = 19b87892d1dae0c6ba165890add4d3525eea952d
+SHA1 (patch-src_3rdparty_chromium_services_device_usb_usb__service.cc) = af86335dad1acd20ea50ccd57affa7dc9b514b9c
SHA1 (patch-src_3rdparty_chromium_services_device_usb_usb__service__fake.cc) = f07c75f9ec7c6ec0b083b309c80a22405ae52901
SHA1 (patch-src_3rdparty_chromium_services_device_usb_usb__service__fake.h) = 4522bbb8feec8c210c1dd0810f47559fe887fc30
SHA1 (patch-src_3rdparty_chromium_services_network_BUILD.gn) = 51c5dfb1136a5da25e3e0e993a2d1ebe225ffe78
SHA1 (patch-src_3rdparty_chromium_services_network_network__context.cc) = c5898ee87a9d7e1bc2b1552359cb5ef45330e646
SHA1 (patch-src_3rdparty_chromium_services_network_network__context.h) = 4d86a288e5978eb49f584db1fddcdfccc41b703c
-SHA1 (patch-src_3rdparty_chromium_services_network_network__sandbox__hook__linux.cc) = 55e9cad0a16885f6ce118c2b94b6a4c5c146f39a
+SHA1 (patch-src_3rdparty_chromium_services_network_network__sandbox__hook__linux.cc) = 0b3418a7514c23a7b514f71376851e58858c23ab
SHA1 (patch-src_3rdparty_chromium_services_network_network__sandbox__hook__linux.h) = d1ce84c6183708bad47043b5a451343be92e231e
SHA1 (patch-src_3rdparty_chromium_services_network_network__service.cc) = f123125b1b803dcffa195bd38889ccbed96a8ac2
-SHA1 (patch-src_3rdparty_chromium_services_network_network__service.h) = e23ba3ebde009a5ee7503fb2fe9066df632123d5
-SHA1 (patch-src_3rdparty_chromium_services_network_public_cpp_BUILD.gn) = 45823fd9fd76b86378ab7f3361253a9527fc7d88
+SHA1 (patch-src_3rdparty_chromium_services_network_network__service.h) = 7a28ba8de313efd06c1a88cf6dd9382a8638901e
+SHA1 (patch-src_3rdparty_chromium_services_network_public_cpp_BUILD.gn) = 03cb119592361453092a3263830e60d1eb7901c7
SHA1 (patch-src_3rdparty_chromium_services_network_public_cpp_features.cc) = 1a8911fdfe5dbe69e3d1a618084e7a0f56b166f4
-SHA1 (patch-src_3rdparty_chromium_services_network_public_mojom_BUILD.gn) = 5ebc99c5f605df239d4175d7edb388a2791da006
+SHA1 (patch-src_3rdparty_chromium_services_network_public_mojom_BUILD.gn) = 74c3dd7278e1e6c303ed89ccf8d5b84c706b139b
SHA1 (patch-src_3rdparty_chromium_services_network_shared__dictionary_shared__dictionary__writer__in__memory.h) = d5e7a28a398255f933c1f8dbdc6d117635ed0faf
-SHA1 (patch-src_3rdparty_chromium_services_on__device__model_on__device__model__service.h) = a1257826c55a52134dd746ed6790ea5d960643cd
+SHA1 (patch-src_3rdparty_chromium_services_on__device__model_on__device__model__service.h) = 581853677c9937ea97c4fd385eafb64f295bbc70
SHA1 (patch-src_3rdparty_chromium_services_on__device__model_pre__sandbox__init.cc) = 1eee17f5d152647287370e1d0971bc38a515686b
SHA1 (patch-src_3rdparty_chromium_services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc) = c7b8b0ed4a641855df5371bfe6ba45306d847a20
SHA1 (patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_BUILD.gn) = c482b05e67200bfad04b963c49f2531223bc69e8
SHA1 (patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h) = 21e1288281c64aa373d2a74c3e49d865a7c48f27
SHA1 (patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc) = 5da17e38bce6654dd0ea582ff656da03b0455bef
+SHA1 (patch-src_3rdparty_chromium_services_screen__ai_sandbox_screen_ai__sandbox__hook__linux.h) = 1d3233682e2e7755ee0d2527e4344a7c92fb64f3
SHA1 (patch-src_3rdparty_chromium_services_service__manager_BUILD.gn) = e2bae929f864212043e79c67dc29633d067d9199
SHA1 (patch-src_3rdparty_chromium_services_service__manager_public_cpp_service__executable_BUILD.gn) = be1f5d26b35f26de3e59e28a12d7ec4c4ddef945
SHA1 (patch-src_3rdparty_chromium_services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc) = 228f67b9bf1f58544d2d99c63a50a938a54bf1e3
@@ -686,7 +694,7 @@ SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemI
SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__libpci.cpp) = b742d7b6a08f231a916ad9d961145439abb45449
SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__linux.cpp) = c41650e26450372e6b04f4ff49738bb72e7e1f74
SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__x11.cpp) = 809071fd924c50cd99d15a69004d87f852b85da4
-SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_Display.cpp) = 1399a0e5cde293100f4bcba264f10457088c9ee4
+SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_Display.cpp) = 10bf21a548c22f89ef2b6787c132f558d4832c0d
SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_formatutils.cpp) = b9be88ba78de61a1fa723f03fc0ebcee3fc6aa61
SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_renderer_gl_glx_FunctionsGLX.cpp) = 9ef698da8165aef6a36acf9995cbe34ece2b813c
SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_renderer_vulkan_DisplayVk__api.h) = 909eb8c6699e19b7afb53c01cf0063246ebc0856
@@ -696,13 +704,12 @@ SHA1 (patch-src_3rdparty_chromium_third__party_blink_public_common_renderer__pre
SHA1 (patch-src_3rdparty_chromium_third__party_blink_public_common_renderer__preferences_renderer__preferences__mojom__traits.h) = 18364af054852fb537e6dc2577852432bb4da32d
SHA1 (patch-src_3rdparty_chromium_third__party_blink_public_platform_platform.h) = c80717444fbb1996221780cc825cc001497dc5bd
SHA1 (patch-src_3rdparty_chromium_third__party_blink_public_platform_web__vector.h) = 891a92e74d3b7898818f0161cc9ec903120f7a6b
-SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_bindings_scripts_bind__gen_style__format.py) = 35a023f27e740f863b5edc3a964e1c906c6d7931
-SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_build_scripts_gperf.py) = e454e41d2e0429e4c6914cc2d01373c619f94c6c
+SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_bindings_scripts_bind__gen_style__format.py) = f8606238b3c45770e438ba25217dda1cd5e08128
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_build_scripts_run__with__pythonpath.py) = e0d41b7dc611fd9bd34a71ed96a13f42a9455ce4
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_controller_blink__initializer.cc) = a00bef8e201666ae078324387dbbe09df7db483c
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_controller_memory__usage__monitor__posix.cc) = da609482ea0a82e6b9bcc95e666a143b6e6f0680
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_controller_memory__usage__monitor__posix.h) = b7dcb2da184995b5ba3f0785d7ea648a9b3a602f
-SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_css_properties_css__color__function__parser.cc) = 4ef540534b17ec70b38a9f1743fae57da6104eba
+SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_css_properties_css__color__function__parser.cc) = 4f433172bdd183fd2551992f7ed2c57df8f5ef45
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_editing_editing__behavior.cc) = 4e8b0a004e1fd44002d2453d7f5ac868bed7d604
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_execution__context_navigator__base.cc) = cd3d4a3358c7d6e0a6de4c96d7e28f6581984c82
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_exported_web__view__impl.cc) = 833682d6eeab3523bf48e80693553ba2165a4201
@@ -710,23 +717,22 @@ SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_frame_web__fr
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_html_canvas_canvas__async__blob__creator.cc) = 5f74418265561e1a1c4264e62b4db06dc65ebebb
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_html_track_vtt_vtt__cue__layout__algorithm.cc) = 05fab5f2c789087d21cf7605b33f7d55dbaf9f12
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_inspector_inspector__memory__agent.cc) = 6e5cae1e1722f494cfc52244e98412735e7e1d4c
-SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_layout_layout__view.cc) = 0788b591d44b37a32c1b11a4490501210137cc5a
+SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_layout_layout__view.cc) = d8dc0fcf477c8854bd59b400a64d705ede9328b4
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_paint_paint__layer.cc) = 45dd43290fc72bfd8fca6b02589dec39d3e62514
-SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc) = 429b0ecd5ff057f704a93b9cef86ba9db505f8c1
+SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc) = 31e46e1f8e03107668469796a4cde5df19dff066
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_streams_miscellaneous__operations.cc) = 20ed92adab9421731cae10fc9c9ffbd4b7dfe90e
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_streams_queue__with__sizes.cc) = 32110924daf47cc7091f39ba3e53b42f476c7897
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_style_style__crossfade__image.cc) = 33cc3c57254ca4c086bc2173e57bfa53abab4f47
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_modules_media_audio_audio__device__factory.cc) = 244927596a35ca45ab89456a59a94785ab28df32
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_modules_media_audio_audio__renderer__mixer__manager__test.cc) = 28a45766bca76eabb8f6ef51f6577443b6ea083b
-SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_modules_ml_webnn_features.gni) = 3828d783f6951b8f4bdb9422ce6a43076c9bcbf9
-SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc) = f74816e9e38f4e413b5374374ab8a02af6ee3bcc
+SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc) = cb455460e4757133718dab69a57acdc1768a57b9
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc) = e62fd7786161bf544a22dc0ead08af4e531f241a
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_modules_webaudio_audio__worklet__thread__test.cc) = 3eb4c6af3ef84450a2cd918ed2862e8ca9d08147
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc) = e516793e753c121391b0b005ace1e87379706410
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_modules_webgpu_gpu__queue.cc) = d393518da3f25d558f2540010279330d7ffa207f
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_BUILD.gn) = 5e4eff5b05e576dfc9be1f2331ca274ac2fb8952
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__cache.cc) = cce2f6f172517c1a9b4b5abfed354858263319f3
-SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__cache.h) = 2208cd66c8568d6446aed10c6d126e03538b193b
+SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__cache.h) = 3f39a792d8c1cc7346df0378645907fdec4a592a
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__description.cc) = 71bc1c0b961821011b436fcb3a0b3a69e6856141
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__metrics.cc) = ec1d58bdd85d9decfac7193cb0b5c99e93391adb
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__platform__data.cc) = adb035a3f5c3163dcf10bc7be0e4874fc199097c
@@ -734,17 +740,17 @@ SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_fon
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc) = 8fe09027e048660a5bdd90a5b79be3f8ae6ced24
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_begin__frame__provider.cc) = 7590c583f0d24e22810619cc1c34f5e2b7190619
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_color.cc) = 114db343a2f260db6c39c8a00fd13f708b915b11
-SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_video__frame__submitter.cc) = d9a81cb9e7416f9f2d9ba13d8c5c388bfb2fe81a
+SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_video__frame__submitter.cc) = 8f83b157aafe59d8f5b29ffb34ba8e8c502394ba
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_instrumentation_partition__alloc__memory__dump__provider.cc) = acc575358d959c5149c968eafa2ddfb61d121cf6
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_peerconnection_rtc__video__encoder__factory.cc) = f6f31aa03ad53edb67ac68dcfd5ffb86613b8254
-SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_runtime__enabled__features.json5) = 4cb8d728585cc75410bf3d327a1948e4614c6fc6
-SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_scheduler_common_thread.cc) = 089fff93a14d4fd7ea5fe4e37008964222ad91b8
+SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_runtime__enabled__features.json5) = ce10e51e740cc7edff64230d66dcd758575234d4
+SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_scheduler_common_thread.cc) = 2243720fc0a123f02091b8f3cf255a45fee87312
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_widget_compositing_blink__categorized__worker__pool__delegate.cc) = fec0f1093e52ab27941b92f0189c1609ce2046ec
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_wtf_container__annotations.h) = f425805a50ae5f0b07b886b1e338bf055d53b1be
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_wtf_math__extras.h) = 6748c595e0a4ebfc6d0cf2b0f36a74f7f393f031
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_wtf_stack__util.cc) = f9290ad20511b1c7f78a49789037f3718aadd582
SHA1 (patch-src_3rdparty_chromium_third__party_brotli_common_platform.h) = 2246c2c9135c6fd8e5fecb51a3c4fcda1a935183
-SHA1 (patch-src_3rdparty_chromium_third__party_cpuinfo_cpuinfo.gni) = 395d8334db6e712670b31b392633b49f5920f8f7
+SHA1 (patch-src_3rdparty_chromium_third__party_cpuinfo_cpuinfo.gni) = 06732bf5faec7e58939bb46d8f81ab10df20b87c
SHA1 (patch-src_3rdparty_chromium_third__party_crashpad_crashpad_build_crashpad__buildconfig.gni) = 824408609b62e5f54368fc97ed13c9d9b323c146
SHA1 (patch-src_3rdparty_chromium_third__party_crashpad_crashpad_client_BUILD.gn) = 2e748e393bb9368617890a8ead82006db2d20f12
SHA1 (patch-src_3rdparty_chromium_third__party_crashpad_crashpad_client_crashpad__client__posix.cc) = 3473de5baf8d0e78c90d046ae1a1620bb782c88e
@@ -758,7 +764,7 @@ SHA1 (patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_drop
SHA1 (patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_signals.cc) = ac090058943b52a508fce44e958d7f03d22930df
SHA1 (patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_symbolic__constants__posix.cc) = fa045385b45456a5dfebe1007951d096fa318536
SHA1 (patch-src_3rdparty_chromium_third__party_crc32c_BUILD.gn) = cb6b21ecff03ac54032ecb554acb3bcbc5af84ef
-SHA1 (patch-src_3rdparty_chromium_third__party_dawn_include_dawn_native_VulkanBackend.h) = 9a17af605529adbf19b2f556b5a94d17bae9aeaf
+SHA1 (patch-src_3rdparty_chromium_third__party_dawn_include_dawn_native_VulkanBackend.h) = b25c7484d57d39eb45113653b19450dab8794577
SHA1 (patch-src_3rdparty_chromium_third__party_dawn_src_dawn_common_Platform.h) = fedcd17e6aa2c10875c45ee291a90169e39b35c2
SHA1 (patch-src_3rdparty_chromium_third__party_dawn_src_dawn_native_vulkan_BackendVk.cpp) = b5b83663c12a569c0b1bd17d393d38593737ad6d
SHA1 (patch-src_3rdparty_chromium_third__party_ffmpeg_BUILD.gn) = b363c013b32624cfd48deb161eeb2a82e4c5a07f
@@ -767,15 +773,15 @@ SHA1 (patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_cpu.c) = 20dfcf3
SHA1 (patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_mem.c) = b833a7cd7c4f21fa1c8266c20c5fae18a19142da
SHA1 (patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_random__seed.c) = 3d6e1415a5f6d3d129776d75e36a603ba362ac78
SHA1 (patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_x86_x86inc.asm) = 9a51e157818b3588caca2c26b95a65900992e80e
-SHA1 (patch-src_3rdparty_chromium_third__party_fontconfig_include_config.h) = 2a1cb6f208d0fd4597b777c5f92e8f77fd12dc21
+SHA1 (patch-src_3rdparty_chromium_third__party_fontconfig_include_config.h) = fc590fa8da9b0a294db716dfec2d69f0b9ac822f
SHA1 (patch-src_3rdparty_chromium_third__party_fontconfig_src_src_fccompat.c) = 589973cf310da6153b7e44c26268bfe46514a225
SHA1 (patch-src_3rdparty_chromium_third__party_ipcz_src_reference__drivers_random.cc) = ba0a891a0d4965cbaa4b8fd9b4a05eda4f3452b4
SHA1 (patch-src_3rdparty_chromium_third__party_ipcz_src_standalone_base_logging.cc) = bbac877e4349235ee5219c191d401f8af1912467
SHA1 (patch-src_3rdparty_chromium_third__party_leveldatabase_env__chromium.cc) = 37961107b08698a2a82dd7dec2aa3b1ea986f2ca
SHA1 (patch-src_3rdparty_chromium_third__party_libaom_source_libaom_aom__ports_aarch64__cpudetect.c) = 7f65641425dcb7a104a65b3ae0d8d0bc9f813493
-SHA1 (patch-src_3rdparty_chromium_third__party_libc++_src_src_chrono.cpp) = 38ea9926b1fcec60d2fca7d79e597625a4838449
-SHA1 (patch-src_3rdparty_chromium_third__party_libc++_src_src_filesystem_filesystem__clock.cpp) = 4a1cf3d71015ad140508bec6d7f271ceb30af5ec
-SHA1 (patch-src_3rdparty_chromium_third__party_libc++abi_src_src_cxa__guard__impl.h) = 92e6ec7fd34bf4b658950f5202f0388d22ee5819
+SHA1 (patch-src_3rdparty_chromium_third__party_libc++_src_src_chrono.cpp) = 7a9ea7d759ba459349407150937aa750c527d875
+SHA1 (patch-src_3rdparty_chromium_third__party_libc++_src_src_filesystem_filesystem__clock.cpp) = ac41653c3ddf1630a5107eaf968fb0a8ef752554
+SHA1 (patch-src_3rdparty_chromium_third__party_libc++abi_src_src_cxa__guard__impl.h) = f28e250cb6b21c89a2bf7b548f68ba46c39089de
SHA1 (patch-src_3rdparty_chromium_third__party_libdrm_src_xf86drmMode.c) = fa74b75d282ee925fe464f424cfeeb2f8def9522
SHA1 (patch-src_3rdparty_chromium_third__party_libsync_src_include_sync_sync.h) = 3731956e885427cd4534437589f72cd27bd68ea4
SHA1 (patch-src_3rdparty_chromium_third__party_libsync_src_sync.c) = d92e42f32a46b265600ec6a799bc12808682317d
@@ -787,12 +793,12 @@ SHA1 (patch-src_3rdparty_chromium_third__party_lzma__sdk_C_CpuArch.c) = 12a5b9fc
SHA1 (patch-src_3rdparty_chromium_third__party_material__color__utilities_src_cpp_palettes_tones.cc) = 1aefa7e80df8390175f74c70f27f77d65ed93bca
SHA1 (patch-src_3rdparty_chromium_third__party_nasm_BUILD.gn) = 0b50568657bcc262e1c5ea4aae21a553d94b5b24
SHA1 (patch-src_3rdparty_chromium_third__party_nasm_config_config-linux.h) = 5525eec5323dc2d61a7752edaa60d21a6bab26c8
-SHA1 (patch-src_3rdparty_chromium_third__party_node_node.gni) = dfd975d2432243af57f959e65ed08c2fab508943
-SHA1 (patch-src_3rdparty_chromium_third__party_node_node.py) = 6ad9a2e4936aab8eca60c11236447ac8ce604d2a
+SHA1 (patch-src_3rdparty_chromium_third__party_node_node.gni) = 674ed5886b07b4886baf0b964216dec452f691e4
+SHA1 (patch-src_3rdparty_chromium_third__party_node_node.py) = ef364690eb2445a329e944d4625c04593936b505
SHA1 (patch-src_3rdparty_chromium_third__party_pdfium_core_fpdfapi_page_cpdf__psengine.cpp) = b9c4a4c0fe2863d19e2b6fdcc065aa377f825684
SHA1 (patch-src_3rdparty_chromium_third__party_pdfium_core_fxge_cfx__fontmapper.cpp) = 34b3da62c4f3bcd5ec38f5ab0b7a055f1027d766
-SHA1 (patch-src_3rdparty_chromium_third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp) = ce24162529896464f3d6f0ee7f78705cacc07db6
-SHA1 (patch-src_3rdparty_chromium_third__party_pdfium_fxjs_cjs__publicmethods.cpp) = f6c6d4a78b9d537d7e462f481154e5e21dd5f56b
+SHA1 (patch-src_3rdparty_chromium_third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp) = 74c8421912763c0a66a3ec433c07a0aee51d2f72
+SHA1 (patch-src_3rdparty_chromium_third__party_pdfium_fxjs_cjs__publicmethods.cpp) = 74fe28df9b443d508b9ec18236dfa1629a23f597
SHA1 (patch-src_3rdparty_chromium_third__party_pdfium_fxjs_fx__date__helpers.cpp) = 696dde7bcffe347f72ff6b069c7fa08ce49b0668
SHA1 (patch-src_3rdparty_chromium_third__party_pdfium_fxjs_xfa_cfxjse__formcalc__context.cpp) = 2d1c414e9b56c331cd0c42c3ca7036682d5fb032
SHA1 (patch-src_3rdparty_chromium_third__party_pdfium_pdfium.gni) = 757c04aa30d76758153e282b6ca251a3b337ca1e
@@ -811,14 +817,13 @@ SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_base_string__utils.c
SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_base_subprocess__posix.cc) = 27b5691eb45f95cfc837f312957276b255e62f1e
SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_base_thread__task__runner.cc) = 841157940ada6e9564365780a6e5b259612493f0
SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_base_unix__socket.cc) = 88298c19a31130f3d2673650db891469eddf6f5a
-SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_base_utils.cc) = c6baed2fb4675e9b12d9400168c5a6a1a134bc48
-SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_trace__processor_db_column_utils.cc) = f0ca551bfe0c3be43acd65f339a7b5b0060980fe
+SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_base_utils.cc) = e2411d497b5a9060fc7feb7380fa83a0acab6fd0
+SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_trace__processor_db_column_utils.cc) = 2569cdeaa9e6f799a6ff4981033967455015ab3d
SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc) = bcd40d5a6f8c0c3ff38b970ed1688307da19009f
-SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_core_tracing__service__impl.cc) = 7bd5bb8a6b5384f26a463fc9db0147e9b1e1d527
+SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_core_clock__snapshots.cc) = 3c6a405972e13916dd8843bd2c514ed604b11348
SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_ipc_memfd.cc) = f6f2c733e3f8f4e9cb4f8c5c97b730bcf129e54f
SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_platform__posix.cc) = 6ff0b8d739a348a121341a3a7b40cdc8e8d3e183
SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_track.cc) = 823035d49f1e03cc2a3318fc30341357ee6b5a20
-SHA1 (patch-src_3rdparty_chromium_third__party_skia_src_base_SkContainers.cpp) = 8c6a45c130f2910452fd4624045986a5759d9a60
SHA1 (patch-src_3rdparty_chromium_third__party_skia_src_gpu_ganesh_GrAutoLocaleSetter.h) = 68f39b077cfd899ee0a1490e8b43b6bb6836555b
SHA1 (patch-src_3rdparty_chromium_third__party_skia_src_ports_SkOSFile__posix.cpp) = 74dfdd87fa7db18dc392924f1c73b1abb779d851
SHA1 (patch-src_3rdparty_chromium_third__party_speech-dispatcher_libspeechd__version.h) = fc37204dbc47f25d4ef1dff098e11735d7b22a45
@@ -834,34 +839,34 @@ SHA1 (patch-src_3rdparty_chromium_third__party_swiftshader_src_WSI_libXCB.cpp) =
SHA1 (patch-src_3rdparty_chromium_third__party_test__fonts_fontconfig_BUILD.gn) = ce51b5d4a1e141999b6b8fc2eba7382c1416e018
SHA1 (patch-src_3rdparty_chromium_third__party_test__fonts_fontconfig_fontconfig__util__linux.cc) = 8f48901f46d9bb6ab59bd6f04516ee70031aad0e
SHA1 (patch-src_3rdparty_chromium_third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc) = 5f41bd37e10c8d3df3c0bc69b47ee898cdf47615
-SHA1 (patch-src_3rdparty_chromium_third__party_tflite_features.gni) = 18342d6e3e0de9ff0c4eb98b91277496bf902a5b
+SHA1 (patch-src_3rdparty_chromium_third__party_tflite_features.gni) = 8f6b6f940cc3be3377c8b4b02b2c831f6007f51d
SHA1 (patch-src_3rdparty_chromium_third__party_vulkan__memory__allocator_include_vk__mem__alloc.h) = 2634e989d6ba486c83d993958ff8e8d887479f07
-SHA1 (patch-src_3rdparty_chromium_third__party_wayland_BUILD.gn) = 7dab5e94758883e727b08e218a393424bada9f12
+SHA1 (patch-src_3rdparty_chromium_third__party_wayland_BUILD.gn) = 013cce985da43faccfc33d7ca542866b52a973a2
SHA1 (patch-src_3rdparty_chromium_third__party_webrtc_BUILD.gn) = 3fa27897054e21f75ac31b7e2637953b2dcd696a
SHA1 (patch-src_3rdparty_chromium_third__party_webrtc_modules_audio__device_BUILD.gn) = 3036097971f762745969808e3bf89c8778bb0257
SHA1 (patch-src_3rdparty_chromium_third__party_webrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc) = 51d1cadd64c06cd1c4e94f4b27fdc8aa9e2428b7
SHA1 (patch-src_3rdparty_chromium_third__party_webrtc_modules_desktop__capture_linux_x11_x__server__pixel__buffer.cc) = 894e88dfdad080cbded546cd4defa31ad99eec9a
SHA1 (patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_byte__order.h) = fede3ffdd92c47c7c2e61a67b6396662b82f398e
-SHA1 (patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_ip__address.cc) = ae88a2f430f8cd6b3a81450f22071cbecc9e5d67
+SHA1 (patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_ip__address.cc) = 2dee8c95b65d443bba8462c441ff784150f59e5a
SHA1 (patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_net__test__helpers.cc) = 1c3baafcd76d083bf53c348794b79249f7d0795b
SHA1 (patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_network.cc) = 1da624f0e1eb594d56b3f2be34d386dcbe8280c8
-SHA1 (patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_physical__socket__server.cc) = 319fe416b45fd5e8eeee94db705df888a1ba670b
+SHA1 (patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_physical__socket__server.cc) = cf83d7ef29cc77a7dfcf514da17508d294fb205f
SHA1 (patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_physical__socket__server.h) = 92687366a43b7a10d5015c15b6f53ea02e576838
SHA1 (patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_platform__thread__types.cc) = 0adb63f6e91bb4473c023064e88b743278007a02
SHA1 (patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_third__party_sigslot_sigslot.h) = c9fd798d2df4b4d4de9ef6f55e0f3aa333e44c81
SHA1 (patch-src_3rdparty_chromium_third__party_webrtc_system__wrappers_BUILD.gn) = 96cfc37e2fedbe1a5f8a1f69ab8f3212d9cdb013
SHA1 (patch-src_3rdparty_chromium_third__party_widevine_cdm_widevine.gni) = c436d85e02e3b83899d21bc6f4ee2e4c078bf80a
SHA1 (patch-src_3rdparty_chromium_third__party_zlib_BUILD.gn) = fb018cc4c880fe2fd8a6772a97ce97d07edfe10d
-SHA1 (patch-src_3rdparty_chromium_third__party_zlib_cpu__features.c) = 7beebe75d37bae8eaae57737a59a5cc39f176042
+SHA1 (patch-src_3rdparty_chromium_third__party_zlib_cpu__features.c) = 5e89223784c3e02b1a1fc1c76d8f282d7f9ad4f3
SHA1 (patch-src_3rdparty_chromium_tools_generate__stubs_rules.gni) = 6f46457dc136e1aec0ac211221f9762d58791557
SHA1 (patch-src_3rdparty_chromium_tools_grit_grit_node_base.py) = d617dbdd658da4d54668235a9c30a0f6f753f3c9
SHA1 (patch-src_3rdparty_chromium_tools_json__schema__compiler_cpp__bundle__generator.py) = c52a89f391eb78e8e2475f6abc07da99baf5c7ad
SHA1 (patch-src_3rdparty_chromium_tools_json__schema__compiler_feature__compiler.py) = 2da895f81d1a14dad22bed0cdf66d796fb9e3b39
SHA1 (patch-src_3rdparty_chromium_tools_licenses_licenses.py) = c0dc66fbbe864940c737b1e2041defbc471b6746
SHA1 (patch-src_3rdparty_chromium_tools_memory_partition__allocator_inspect__utils.h) = c50e6f6d3eebb970d8ecc54c61c4f2b57cbf4268
-SHA1 (patch-src_3rdparty_chromium_tools_perf_chrome__telemetry__build_BUILD.gn) = 13bd4d2e9dd8b2c005eaba83011895ca03936517
+SHA1 (patch-src_3rdparty_chromium_tools_perf_chrome__telemetry__build_BUILD.gn) = 2e5f6cefa5fe498bf6dfde5ce79180013470cbeb
SHA1 (patch-src_3rdparty_chromium_tools_protoc__wrapper_protoc__wrapper.py) = 24b853f2e4ba3be607dc901dbc8edfe1955e1ff3
-SHA1 (patch-src_3rdparty_chromium_tools_v8__context__snapshot_BUILD.gn) = 55a050ee389d109c34d887a8de7b18449617af6e
+SHA1 (patch-src_3rdparty_chromium_tools_v8__context__snapshot_BUILD.gn) = bf26133e6f5486900a199081115a8662fe78aafd
SHA1 (patch-src_3rdparty_chromium_tools_variations_fieldtrial__to__struct.py) = 7d6bb6973d43143c160385a3f251b489fd3cbcb0
SHA1 (patch-src_3rdparty_chromium_ui_aura_client_drag__drop__client.h) = dc1e80fcc112c70b2c960c40de169f9b4426576b
SHA1 (patch-src_3rdparty_chromium_ui_aura_screen__ozone.cc) = 19217aad8c6b61ea2630db2001081fd113ef2e3d
@@ -872,25 +877,25 @@ SHA1 (patch-src_3rdparty_chromium_ui_base_clipboard_clipboard__non__backed.cc) =
SHA1 (patch-src_3rdparty_chromium_ui_base_cursor_cursor__factory.cc) = fc5275eb127330b060f5937b724458c7a67c168c
SHA1 (patch-src_3rdparty_chromium_ui_base_cursor_cursor__factory.h) = 44c8642c18d5f2c7879cc6a80e7e2ed5d4e9d597
SHA1 (patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__factory.cc) = 58cf0ca03e00430ae03e3e2aa48917b2990488e6
-SHA1 (patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__non__backed.cc) = f702bf5b2b55683e6bf7f101f0c880541f6b9bc8
+SHA1 (patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__non__backed.cc) = f1982b8390aba22dfd9a900f5022517870a5c031
SHA1 (patch-src_3rdparty_chromium_ui_base_ime_dummy__text__input__client.cc) = 8663e038cbfebef27fea2539a315ff797afacfc8
SHA1 (patch-src_3rdparty_chromium_ui_base_ime_dummy__text__input__client.h) = b195f49f2c19bdac71dec75f22284e494017ee15
-SHA1 (patch-src_3rdparty_chromium_ui_base_ime_fake__text__input__client.cc) = adafa88c8c07ede908e17e12802c22cbfe0ed47c
+SHA1 (patch-src_3rdparty_chromium_ui_base_ime_fake__text__input__client.cc) = a9673f3a5218ad8cb0ccb17bae95046de52fd6af
SHA1 (patch-src_3rdparty_chromium_ui_base_ime_fake__text__input__client.h) = 6ca1c6d31c3d71e74cee5e79178f5a8a371e4468
SHA1 (patch-src_3rdparty_chromium_ui_base_ime_init_input__method__initializer.cc) = 68c727203577b8c1d53216783552a37efe4b7fe9
SHA1 (patch-src_3rdparty_chromium_ui_base_ime_linux_linux__input__method__context__factory.cc) = 3dc0a2ae872de9b42d086b4fd44db7f2c88349fd
SHA1 (patch-src_3rdparty_chromium_ui_base_ime_text__input__client.h) = a6e6148eeccb4650be74eb7a0bb1b477ccc2ffbe
SHA1 (patch-src_3rdparty_chromium_ui_base_resource_resource__bundle.cc) = 2788d493cc9a465c7a8baa3b2c7e6922d3c42479
SHA1 (patch-src_3rdparty_chromium_ui_base_ui__base__features.cc) = d667aea51c949f2597131302a59ec4793b3543cf
-SHA1 (patch-src_3rdparty_chromium_ui_base_ui__base__switches.cc) = de3e3ee87a5f55ed1c002a1307c0710b8c2e0352
-SHA1 (patch-src_3rdparty_chromium_ui_base_ui__base__switches.h) = f3614c1a12ed8b7e61dfb81c981cf4cbf1d25e88
-SHA1 (patch-src_3rdparty_chromium_ui_base_webui_web__ui__util.cc) = 954006f61d11c484ed8febe899dc086778844c48
+SHA1 (patch-src_3rdparty_chromium_ui_base_ui__base__switches.cc) = 4128027e417fbafee68bf553a927742249a26bff
+SHA1 (patch-src_3rdparty_chromium_ui_base_ui__base__switches.h) = 782dee8d41847fe7fd45fe364530291b993f7ddb
+SHA1 (patch-src_3rdparty_chromium_ui_base_webui_web__ui__util.cc) = b79a2ee8a4786aa98b70846e0516a11e65357d16
SHA1 (patch-src_3rdparty_chromium_ui_base_x_x11__cursor__factory.cc) = c54e4e3d1faaa60c51856abf55f94f04cd9de1c9
SHA1 (patch-src_3rdparty_chromium_ui_base_x_x11__cursor__factory.h) = 1ab6a2ca574b828bf9cb5253423a8043a34c766a
SHA1 (patch-src_3rdparty_chromium_ui_base_x_x11__cursor__loader.cc) = 5d73e8f9cc72b042ca2a3c5ffd92fbc9dabcfda8
SHA1 (patch-src_3rdparty_chromium_ui_base_x_x11__display__manager.cc) = 94e0b3918605943da1476f7b636b938658d0e545
SHA1 (patch-src_3rdparty_chromium_ui_base_x_x11__shm__image__pool.cc) = 346a95f95c9744f6d1595cf315b31b071e997c09
-SHA1 (patch-src_3rdparty_chromium_ui_color_color__id.h) = cd43bbbefacdd2aa59d29129f7b8f305fdefb348
+SHA1 (patch-src_3rdparty_chromium_ui_color_color__id.h) = eb739d5b47610e503aea11e723c22b0cbbbb9ab3
SHA1 (patch-src_3rdparty_chromium_ui_color_color__provider__utils.cc) = ca1acb20a80a1e4f271e3586cb481d86b984121f
SHA1 (patch-src_3rdparty_chromium_ui_color_system__theme.h) = e01922042b1b8665970a52a1d071843a84b688b2
SHA1 (patch-src_3rdparty_chromium_ui_compositor_compositor.cc) = 5fa5d3d22afeb1b3597bbeb3ba40de9727e7d085
@@ -908,64 +913,64 @@ SHA1 (patch-src_3rdparty_chromium_ui_gfx_BUILD.gn) = b2e342f95147c5d3249d0ea889e
SHA1 (patch-src_3rdparty_chromium_ui_gfx_canvas__skia.cc) = da75d7ac270bd3d74a1d304f9c54c2982e863428
SHA1 (patch-src_3rdparty_chromium_ui_gfx_font__fallback__linux.cc) = c2aa6e6d11eb94e77117ab453962e2c307fecdac
SHA1 (patch-src_3rdparty_chromium_ui_gfx_font__render__params.h) = 08eaceec7482835830ac2aad4aa60eb3020df802
-SHA1 (patch-src_3rdparty_chromium_ui_gfx_font__render__params__linux.cc) = 1f6769dc8da5d69ea8c6be20a579279e146ec910
-SHA1 (patch-src_3rdparty_chromium_ui_gfx_font__util.cc) = 69a0752918d604e218c402a34d541cce8dd3027b
+SHA1 (patch-src_3rdparty_chromium_ui_gfx_font__render__params__linux.cc) = 2856f77d3232c767de7dfb9c251f20258d8aaa28
+SHA1 (patch-src_3rdparty_chromium_ui_gfx_font__util.cc) = 5ea076858a0fa37ec4d0fa45fa7ed8b2fa9c2d8f
SHA1 (patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.cc) = 364e0d5f86090f262a164becee85b0792a544191
SHA1 (patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.h) = 5252ba816307dca3c5311cf9aa20044dfad7c872
SHA1 (patch-src_3rdparty_chromium_ui_gfx_linux_dmabuf__uapi.h) = 6bd6f10d86be19fcbe41c20f138a638f5115f445
-SHA1 (patch-src_3rdparty_chromium_ui_gfx_linux_gbm__wrapper.cc) = 3d05f2f2dbf13ec0421dcfe93a20c49c3cfc25cf
+SHA1 (patch-src_3rdparty_chromium_ui_gfx_linux_gbm__wrapper.cc) = 5f4f94fe30685274485cf853b9fd0bb76e12dc9f
SHA1 (patch-src_3rdparty_chromium_ui_gfx_mojom_buffer__types__mojom__traits.cc) = 677262c0432458bc46fc819444407ff7407e9a85
SHA1 (patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.cc) = ada5d52bb8dfbaed5389ffa69adedec0841a3776
-SHA1 (patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.h) = a5342b913e233f86acddc209e64c69e06b1ad4a5
+SHA1 (patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.h) = b84c1f9be14a3793da165963a0dca359702e315d
SHA1 (patch-src_3rdparty_chromium_ui_gfx_native__pixmap__handle.cc) = 994bf93553dc2830cfb6ff468a236b761eb93a7b
SHA1 (patch-src_3rdparty_chromium_ui_gfx_native__pixmap__handle.h) = 4f5274f16354095186791eb7814d94b55b573059
-SHA1 (patch-src_3rdparty_chromium_ui_gfx_native__widget__types.h) = a36dda4d10b05b8b8d24e41da0d0779629fde26a
-SHA1 (patch-src_3rdparty_chromium_ui_gfx_platform__font__skia.cc) = 36c17a123c21947f500be6d24f380726b8b842ce
+SHA1 (patch-src_3rdparty_chromium_ui_gfx_native__widget__types.h) = 7c98370cf3a3eeefc038c65340bcbd7c77d3f4b5
+SHA1 (patch-src_3rdparty_chromium_ui_gfx_platform__font__skia.cc) = a68d471ebf52c404ecc82e172392a9e1799d0774
SHA1 (patch-src_3rdparty_chromium_ui_gfx_render__text__api__fuzzer.cc) = 9050e3c6009cc52f592b2e4f1c9135422eabe803
-SHA1 (patch-src_3rdparty_chromium_ui_gfx_render__text__fuzzer.cc) = 422423f93f63353679bafa7653c905ef5e502b0a
+SHA1 (patch-src_3rdparty_chromium_ui_gfx_render__text__fuzzer.cc) = 6174dca73a907ee01e84461e24b6c975749ccc17
SHA1 (patch-src_3rdparty_chromium_ui_gfx_switches.cc) = 803c35f62d3bda5e25bfeac0a57bca93ce55c244
-SHA1 (patch-src_3rdparty_chromium_ui_gfx_switches.h) = 8c411adb75affc3721c70ea70d1329c954e75ea8
+SHA1 (patch-src_3rdparty_chromium_ui_gfx_switches.h) = afd4f56d9f736949d04df069e5d00de48f604c41
SHA1 (patch-src_3rdparty_chromium_ui_gfx_x_BUILD.gn) = a6904b29b1b4b4baf21b9d4cc313e7d0d1dbc1d5
SHA1 (patch-src_3rdparty_chromium_ui_gfx_x_generated__protos_dri3.cc) = 2a79364ca9212cc349d6a295ee431ff6400d457b
SHA1 (patch-src_3rdparty_chromium_ui_gfx_x_generated__protos_shm.cc) = d91560b904f00f42a5fe43b04cd34a0262dba32d
SHA1 (patch-src_3rdparty_chromium_ui_gfx_x_xlib__support.cc) = 8d60e48aaac3ae0181903694839e6af46c5f1d68
-SHA1 (patch-src_3rdparty_chromium_ui_gl_BUILD.gn) = b01b94124dadb35fe6b93ff1cf4ac0d0123917c5
+SHA1 (patch-src_3rdparty_chromium_ui_gl_BUILD.gn) = 83acc4c0b13a72599f1e28664093707803375577
SHA1 (patch-src_3rdparty_chromium_ui_gl_gl__context.cc) = 79fbd156b810f93df8e790568470fc05cef4b420
-SHA1 (patch-src_3rdparty_chromium_ui_gl_gl__fence.cc) = 8e3fe08ec3e9c20f7a7841ea719cd7b1210f2e2c
-SHA1 (patch-src_3rdparty_chromium_ui_gl_gl__implementation.cc) = 74d9d586f05b746a37889e2482dfec57a7468f18
+SHA1 (patch-src_3rdparty_chromium_ui_gl_gl__fence.cc) = 2082cc1f7f4400158c6dfeff08071edc236a09a3
+SHA1 (patch-src_3rdparty_chromium_ui_gl_gl__implementation.cc) = 94e7e9cd28ea1e108387fcc2b285d4c068f2b43b
SHA1 (patch-src_3rdparty_chromium_ui_gl_gl__switches.cc) = b7dbd0661ec5b4f6834de1b7c04ac5422e7b8dba
-SHA1 (patch-src_3rdparty_chromium_ui_gl_sync__control__vsync__provider.cc) = 85e0439246112dae32294520dcd447c0a8c95ed4
+SHA1 (patch-src_3rdparty_chromium_ui_gl_sync__control__vsync__provider.cc) = 66658b530e999fd2a1b73acc518b0e31442abd95
SHA1 (patch-src_3rdparty_chromium_ui_gl_sync__control__vsync__provider.h) = 173367fdd60289d0eff73c49e5fca855220d1f9c
SHA1 (patch-src_3rdparty_chromium_ui_gtk_gtk__compat.cc) = 226be04c5ae1eecaf11de1555a139a1f97aa43a9
-SHA1 (patch-src_3rdparty_chromium_ui_gtk_printing_print__dialog__gtk.cc) = b62d843f227d2e613c3b289abb406b328edd6822
-SHA1 (patch-src_3rdparty_chromium_ui_message__center_views_message__popup__view.cc) = bc9b993837d0f7245a2d8c22dd74a1e682721ab3
-SHA1 (patch-src_3rdparty_chromium_ui_native__theme_native__theme.h) = 76783e1583ebed16f4cbad33fd1c704ebd6b4b03
-SHA1 (patch-src_3rdparty_chromium_ui_native__theme_native__theme__base.cc) = 687f531733f7a321c5a31ea009337a0432236a06
+SHA1 (patch-src_3rdparty_chromium_ui_gtk_printing_print__dialog__gtk.cc) = a6ce03b9ab889a6ef57ebdfbcc5fd3007f44f938
+SHA1 (patch-src_3rdparty_chromium_ui_message__center_views_message__popup__view.cc) = ffabfeca1f9ef889e65ac762f75bea54db833e14
+SHA1 (patch-src_3rdparty_chromium_ui_native__theme_native__theme.h) = 104ec19ad9488326ada6102e382f69d848db0b92
+SHA1 (patch-src_3rdparty_chromium_ui_native__theme_native__theme__base.cc) = 5aeed4329dce083043062d166f3a5d72f2373e22
SHA1 (patch-src_3rdparty_chromium_ui_native__theme_native__theme__features.cc) = 440eb65c9f9570583503b19a92eb3967f92a3dad
SHA1 (patch-src_3rdparty_chromium_ui_ozone_common_egl__util.cc) = ec3c7173b7a097cc04bf9ee0d4d14ab575cef340
SHA1 (patch-src_3rdparty_chromium_ui_ozone_common_features.cc) = 4d3c9f518e8453772199ed95ea3c6658c6435b95
SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_headless_headless__surface__factory.cc) = 5434d492cc95566e2e2eb3174e8fd4f69eb1eea3
SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_headless_ozone__platform__headless.cc) = eb566a47edecd5d31261807513ebb8e9d170fbfb
SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_headless_vulkan__implementation__headless.cc) = 8a3423f4d516535d22a4845fe344d29c8c76edf7
-SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_common_wayland__util.cc) = fbf597f1e3dae1f0b98777084c9c7e13c784567c
-SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.cc) = 2885cfd1f02a0f7d4391150bb4e2a82fb29688dd
-SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.h) = 2d3510a296387fae414690f8f8ef328413d630d4
+SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_common_wayland__util.cc) = 376e29f9af4c561322a801a34dccc00db204e7e8
+SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.cc) = ebbb1c652006ce3f5c1c138b2dfaaa2f1a07e66d
+SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.h) = f1d418d901e25e8a38d58b489db49bbe7b037343
SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_gpu_vulkan__implementation__wayland.cc) = 13f1b5a4661179500e4058696dc99425533daaa6
SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__toplevel__window.cc) = ab2affb4ac88b21ddc883e55c0d5c8ded3d0a251
SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__toplevel__window.h) = 9a494376a485b6904e9462b89113e89546db301a
-SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.cc) = 56a2a93bbd815bce469f16e596a8aa23f07fed3d
-SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.h) = 46653e82e068d8e8fac64fbb7a8427796ca5b0fa
+SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.cc) = 0d6a3f4919d2259f716ced2eafa99c1b96ffee0b
+SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.h) = 152ebe54943a2a552e80ff227206138ca807b98d
SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_xdg__toplevel__wrapper__impl.cc) = 585e8e372912cd5ee4b11d79345665aa857850b3
SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_zwp__text__input__wrapper__v1.cc) = 4fc070e4f7b7185047d2f8d065ac01620e39c1b4
SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_ozone__platform__wayland.cc) = 0168b046877047ccbce2386466d649d35ade65a3
SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_x11_vulkan__implementation__x11.cc) = ae1d46c31049a61062daf83c6725e39f02f8167a
SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__screen__ozone.cc) = 0c811a79bbba1397371841f5284be508094e2470
SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__screen__ozone.h) = ca1371177b4cbef8bb0ffe045dc82fa83b2bb6f3
-SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__window.cc) = 61ff55061c25cbb4438c2e237d5cd3d4ec49ca6c
+SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__window.cc) = e74ebe995ba37b09467c538ac7e028b16e2af9f6
SHA1 (patch-src_3rdparty_chromium_ui_ozone_test_mock__platform__window__delegate.h) = 4ad39335f80a5fea7a8a6ea590b0cd7bc0afd883
-SHA1 (patch-src_3rdparty_chromium_ui_platform__window_platform__window__delegate.cc) = 8b82ccab2f1711c33fb94afa62190209c5ace458
+SHA1 (patch-src_3rdparty_chromium_ui_platform__window_platform__window__delegate.cc) = 3e0bae4604b6a4e5e1e937551f287a0316cdebb3
SHA1 (patch-src_3rdparty_chromium_ui_platform__window_platform__window__delegate.h) = 5d254ad133f35cdb7aafbf0a95c82593824f4c94
-SHA1 (patch-src_3rdparty_chromium_ui_platform__window_platform__window__init__properties.h) = 93cd7274fae34a5ec5995de4255c2f4d6e34a8e2
+SHA1 (patch-src_3rdparty_chromium_ui_platform__window_platform__window__init__properties.h) = 4d9cc63586e829a0139fc1df0ba9236d2e99d09a
SHA1 (patch-src_3rdparty_chromium_ui_qt_BUILD.gn) = e14d6224bee0fc93845f69f4a130df90a325c624
SHA1 (patch-src_3rdparty_chromium_ui_qt_qt.gni) = ae2ec970e499ab05c5a60511a593e2d9bb9da968
SHA1 (patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__bn.xtb) = e784f6bacbc70c3af6864767fd11be487269f3af
@@ -977,33 +982,33 @@ SHA1 (patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings_
SHA1 (patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__zh-TW.xtb) = 4dcc921c9527eb5823442096c564a62d5062961e
SHA1 (patch-src_3rdparty_chromium_ui_views_controls_prefix__selector.cc) = 1e74eaa18a662a33a2ee543858605358bbbfede1
SHA1 (patch-src_3rdparty_chromium_ui_views_controls_prefix__selector.h) = 2c17a49dbd3774acfdd0374ca37c8d0dd7268840
-SHA1 (patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.cc) = 42947e370a1bcbb8aad7f51193370c0dfb0f778b
-SHA1 (patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.h) = b248646d5f32742c220cb71b06f99f8daee393b8
-SHA1 (patch-src_3rdparty_chromium_ui_views_corewm_tooltip__aura.cc) = 7cdf95188c079c45d05e7d1fdb633752607b8e62
+SHA1 (patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.cc) = 4eaec2b7cc39a3abf76c15e4efbf38435ae36146
+SHA1 (patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.h) = a492b18c2b91df0b18fcb7f756fdc6a820619ecc
+SHA1 (patch-src_3rdparty_chromium_ui_views_corewm_tooltip__aura.cc) = c9b60ab042acbe006c6aaac56d7d87410e2677bf
SHA1 (patch-src_3rdparty_chromium_ui_views_examples_widget__example.cc) = a8015cd1a291aa2890ef13ab2f093050352da521
-SHA1 (patch-src_3rdparty_chromium_ui_views_focus_focus__manager.cc) = 0a020e8156838586314fdcf6177ea16561e225dc
-SHA1 (patch-src_3rdparty_chromium_ui_views_style_platform__style.cc) = ea157a8f0ef1bc8b5bfeb298fa53172e82f8300d
+SHA1 (patch-src_3rdparty_chromium_ui_views_focus_focus__manager.cc) = 40f26f919f83351b9c016d9a1907e98f9293a503
+SHA1 (patch-src_3rdparty_chromium_ui_views_style_platform__style.cc) = 95805328a34997b7ae446c796ba109f32a630fa9
SHA1 (patch-src_3rdparty_chromium_ui_views_test_ui__controls__factory__desktop__aura__ozone.cc) = 390b285419e53d1ac89c0f14a4863de293eb9754
SHA1 (patch-src_3rdparty_chromium_ui_views_views__delegate.cc) = e984ce8a4875f6484b3df788082d52d0ddfaa407
SHA1 (patch-src_3rdparty_chromium_ui_views_views__delegate.h) = 61bff9693b167ed790cf4265719cd789d5a189b6
-SHA1 (patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__drag__drop__client__ozone.cc) = 7e9e3297340e128db897ee216ee0d5165ad0aaeb
+SHA1 (patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__drag__drop__client__ozone.cc) = be2c379c78880fd59e6a7eed98166622ff93f340
SHA1 (patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__drag__drop__client__ozone.h) = bfd67e044ed7582de5da280a3064e3d3cb767242
SHA1 (patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc) = 8b172a5eaff44b09a7f03e0e2e385468fef481df
SHA1 (patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__window__tree__host__platform__impl__interactive__uitest.cc) = d7c68bafa61ac489e0f2993e5a03567c525a6601
-SHA1 (patch-src_3rdparty_chromium_ui_views_widget_root__view.cc) = eb0ad2854e5187747a6f3bed655b67030672aafa
+SHA1 (patch-src_3rdparty_chromium_ui_views_widget_root__view.cc) = 38f5e3713fa8e0d69bf43fd738ecdf13bcf11a4c
SHA1 (patch-src_3rdparty_chromium_ui_views_widget_widget.cc) = 35dc2e313d32ac138170efb5fa92a39e74bdc964
-SHA1 (patch-src_3rdparty_chromium_ui_views_window_custom__frame__view.cc) = 1ecf900cc7f6726de602614c6aab48a4068d78e9
+SHA1 (patch-src_3rdparty_chromium_ui_views_window_custom__frame__view.cc) = 985924d75bb201a27f26d1b61fa0b8d5a8dc3baf
SHA1 (patch-src_3rdparty_chromium_ui_views_window_dialog__delegate.cc) = c8d4bf164ef4fad4ed746dbfb20b298cb8588947
SHA1 (patch-src_3rdparty_chromium_ui_views_window_frame__background.cc) = 39ff13df30968db8b89c361ba240d185b33a0d9e
-SHA1 (patch-src_3rdparty_chromium_v8_BUILD.gn) = edb1ec28679729f04516cc775f288ac08321ca2d
+SHA1 (patch-src_3rdparty_chromium_v8_BUILD.gn) = 89ce56050599d80053bcee4ac61772c8ae0435bc
SHA1 (patch-src_3rdparty_chromium_v8_include_v8-internal.h) = b4916e57f3c10b98c04a8e70ee9029e4ab9456df
SHA1 (patch-src_3rdparty_chromium_v8_include_v8config.h) = fc8474273a61a608f92386cdb31d04531753e072
SHA1 (patch-src_3rdparty_chromium_v8_src_api_api.cc) = c72c79f6ef5e6dbce9288959e8dea91136bc40f2
SHA1 (patch-src_3rdparty_chromium_v8_src_base_atomicops.h) = 551c88bbeb5468cdbca7415aaafd11460b4012e1
-SHA1 (patch-src_3rdparty_chromium_v8_src_base_platform_memory.h) = 9dcee6ac83b5be5dffb4f7e03efa6d5fe7937b48
+SHA1 (patch-src_3rdparty_chromium_v8_src_base_platform_memory.h) = 3fa64034ba9ebcdfd44edc630393199560b007d5
SHA1 (patch-src_3rdparty_chromium_v8_src_base_platform_platform-freebsd.cc) = 46aa0770ab4653e9e7ffd73602e2fdc9e872efef
-SHA1 (patch-src_3rdparty_chromium_v8_src_base_platform_platform-openbsd.cc) = 3bd45ce64d3a4437b710c00a4cb1dbe94fbafd14
-SHA1 (patch-src_3rdparty_chromium_v8_src_base_platform_platform-posix.cc) = 04d122db02a0b5ab2a1e877af7c4386bb54d94de
+SHA1 (patch-src_3rdparty_chromium_v8_src_base_platform_platform-openbsd.cc) = f980697edf4fd651aa6572ee3b20477fd7fe4aca
+SHA1 (patch-src_3rdparty_chromium_v8_src_base_platform_platform-posix.cc) = e6f95a14bd080dcbcaa81dcc2a7abdf865a17da4
SHA1 (patch-src_3rdparty_chromium_v8_src_base_small-vector.h) = 41d3deaa3ea7db610cca34405f228f87500a6d05
SHA1 (patch-src_3rdparty_chromium_v8_src_base_strings.h) = 9ef15de696a54c09a1ed811715edb3741059b170
SHA1 (patch-src_3rdparty_chromium_v8_src_base_sys-info.cc) = d1b78af2510c0351207282ce15fd68bb8a5b172b
@@ -1011,10 +1016,10 @@ SHA1 (patch-src_3rdparty_chromium_v8_src_base_utils_random-number-generator.cc)
SHA1 (patch-src_3rdparty_chromium_v8_src_diagnostics_perf-jit.cc) = b95859ed1ca6564031ff27b8cf303baa2da7651c
SHA1 (patch-src_3rdparty_chromium_v8_src_diagnostics_perf-jit.h) = d1fd0a2773b949d9f517b3b47a43e6e4963e5268
SHA1 (patch-src_3rdparty_chromium_v8_src_execution_isolate.cc) = 679dac38e83c4d9e4a50aee9c16c8bddb4c14801
-SHA1 (patch-src_3rdparty_chromium_v8_src_flags_flags.cc) = 5b8170a384ef248a10a5d510bf4ac73e1e67ec60
+SHA1 (patch-src_3rdparty_chromium_v8_src_flags_flags.cc) = 754e380e0c2e7279aaaf7cfa0658f8b5f3e1f0c8
SHA1 (patch-src_3rdparty_chromium_v8_src_sandbox_sandbox.cc) = e49f0032cfa1cc93999f765b63c05f42f476a59c
-SHA1 (patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.cc) = 79458dcfe06ccc83de202db32bbcb9ee91a795c3
-SHA1 (patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.h) = 22e34dff559feb7517709b6dac4a42d7930642b5
+SHA1 (patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.cc) = 52c1eef283cef67e2fca1b3ad32131ec4c12ee9a
+SHA1 (patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.h) = e417a91786140324774a3a2889ed97725711fc29
SHA1 (patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-generic.cc) = 544b64c38280a5d0eca016a68b165a3ab258dff3
SHA1 (patch-src_3rdparty_chromium_v8_src_trap-handler_handler-inside-posix.cc) = 9eb9fe7e0213dbd91726ddaaaebf1e1e0f1d326a
SHA1 (patch-src_3rdparty_chromium_v8_src_trap-handler_handler-inside-posix.h) = 160954b206c5699884e15b439151b896e631a5ad
@@ -1024,8 +1029,8 @@ SHA1 (patch-src_3rdparty_chromium_v8_tools_run-paxctl.py) = 0a2aa78fd50836fb66f6
SHA1 (patch-src_3rdparty_gn_src_gn_c__tool.cc) = 6167583fe68fd1238fcca76dc66a3e89fd494c25
SHA1 (patch-src_3rdparty_gn_src_gn_ninja__binary__target__writer.cc) = 2cc5e43ab3c87ee7d965f1c88c6aac158c993e1d
SHA1 (patch-src_3rdparty_gn_src_gn_tool.h) = c136d13d8be6e21d6d3441b3f8cae35245ef1081
-SHA1 (patch-src_core_CMakeLists.txt) = f53728fd3e623d22d643a70d724ae6e6b6e7d76b
-SHA1 (patch-src_core_api_configure.cmake) = 8db0b923dbe173c9d5882fb4c6f2ed2dd85fe9ed
+SHA1 (patch-src_core_CMakeLists.txt) = 448f901835d51b432223bfcd8909e9388f5ab190
+SHA1 (patch-src_core_api_configure.cmake) = 11f33584d2a5137614c438552863b15866cb6378
SHA1 (patch-src_core_api_qt__cmdline.cmake) = fe994c072bec116651b186b0c40b16d23284046d
-SHA1 (patch-src_pdf_CMakeLists.txt) = 725684a016055db1e68a6aceb2d97da976682c0a
+SHA1 (patch-src_pdf_CMakeLists.txt) = a2f2143a7c3579b7b4bdbf839beb7525e123cc5e
SHA1 (patch-src_pdf_configure_BUILD.root.gn.in) = c5839871ef47b9b284736d47d773187401eba1ee
diff --git a/qt6-qtwebengine/patches/patch-cmake_Functions.cmake b/qt6-qtwebengine/patches/patch-cmake_Functions.cmake
index 2093d010c4..990749c7a7 100644
--- a/qt6-qtwebengine/patches/patch-cmake_Functions.cmake
+++ b/qt6-qtwebengine/patches/patch-cmake_Functions.cmake
@@ -3,9 +3,9 @@ $NetBSD$
* Based on OpenBSD's qt6-qtwebengine patches, and
pkgsrc's qt5-qtwebengine patches
---- cmake/Functions.cmake.orig 2024-11-21 04:36:37.000000000 +0000
+--- cmake/Functions.cmake.orig 2025-05-29 01:27:28.000000000 +0000
+++ cmake/Functions.cmake
-@@ -416,7 +416,7 @@ function(add_linker_options target build
+@@ -103,7 +103,7 @@ function(add_linker_options target build
set(libs_rsp "${buildDir}/${ninjaTarget}_libs.rsp")
set(ldir_rsp "${buildDir}/${ninjaTarget}_ldir.rsp")
set_target_properties(${cmakeTarget} PROPERTIES STATIC_LIBRARY_OPTIONS "@${objects_rsp}")
@@ -14,41 +14,3 @@ $NetBSD$
get_gn_arch(cpu ${TEST_architecture_arch})
if(CMAKE_CROSSCOMPILING AND cpu STREQUAL "arm" AND ${config} STREQUAL "Debug")
target_link_options(${cmakeTarget} PRIVATE "LINKER:--long-plt")
-@@ -672,6 +672,10 @@ function(get_gn_os result)
- set(${result} "win" PARENT_SCOPE)
- elseif(LINUX)
- set(${result} "linux" PARENT_SCOPE)
-+ elseif(OPENBSD)
-+ set(${result} "linux" PARENT_SCOPE)
-+ elseif(NETBSD)
-+ set(${result} "linux" PARENT_SCOPE)
- elseif(MACOS)
- set(${result} "mac" PARENT_SCOPE)
- elseif(IOS)
-@@ -895,7 +899,7 @@ macro(append_compiler_linker_sdk_setup)
- extend_gn_list(gnArgArg ARGS is_clang CONDITION CLANG)
- extend_gn_list(gnArgArg ARGS is_mingw CONDITION MINGW)
- extend_gn_list(gnArgArg ARGS is_msvc CONDITION MSVC)
-- extend_gn_list(gnArgArg ARGS is_gcc CONDITION LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
-+ extend_gn_list(gnArgArg ARGS is_gcc CONDITION UNIX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
-
- if(CLANG)
- if(MACOS)
-@@ -1331,7 +1335,7 @@ endfunction()
-
- function(check_for_ulimit)
- message("-- Checking 'ulimit -n'")
-- execute_process(COMMAND bash -c "ulimit -n"
-+ execute_process(COMMAND sh -c "ulimit -n"
- OUTPUT_VARIABLE ulimitOutput
- )
- string(REGEX MATCHALL "[0-9]+" limit "${ulimitOutput}")
-@@ -1340,7 +1344,7 @@ function(check_for_ulimit)
- if(NOT ${CMAKE_VERSION} VERSION_LESS "3.21.0")
- message(" -- Creating linker launcher")
- file(GENERATE OUTPUT ${PROJECT_BINARY_DIR}/linker_ulimit.sh
-- CONTENT "#!/bin/bash\nulimit -n 4096\nexec \"$@\""
-+ CONTENT "#!/bin/sh\nulimit -n 4096\nexec \"$@\""
- FILE_PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
- )
- set(COIN_BUG_699 ON PARENT_SCOPE)
diff --git a/qt6-qtwebengine/patches/patch-cmake_QtConfigureHelpers.cmake b/qt6-qtwebengine/patches/patch-cmake_QtConfigureHelpers.cmake
new file mode 100644
index 0000000000..8e50ecac8f
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-cmake_QtConfigureHelpers.cmake
@@ -0,0 +1,24 @@
+$NetBSD$
+
+use sh not bash
+
+--- cmake/QtConfigureHelpers.cmake.orig 2025-05-29 01:27:28.000000000 +0000
++++ cmake/QtConfigureHelpers.cmake
+@@ -191,7 +191,7 @@ endfunction()
+
+ function(qt_webengine_configure_check_for_ulimit)
+ message(STATUS "Checking 'ulimit -n'")
+- execute_process(COMMAND bash -c "ulimit -n"
++ execute_process(COMMAND sh -c "ulimit -n"
+ OUTPUT_VARIABLE ulimit_output
+ )
+ string(REGEX MATCHALL "[0-9]+" limit "${ulimit_output}")
+@@ -200,7 +200,7 @@ function(qt_webengine_configure_check_fo
+ if(NOT ${CMAKE_VERSION} VERSION_LESS "3.21.0")
+ message(STATUS "Creating linker launcher")
+ file(GENERATE OUTPUT ${PROJECT_BINARY_DIR}/linker_ulimit.sh
+- CONTENT "#!/bin/bash\nulimit -n 4096\nexec \"$@\""
++ CONTENT "#!/bin/sh\nulimit -n 4096\nexec \"$@\""
+ FILE_PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
+ )
+ set(COIN_BUG_699 ON PARENT_SCOPE)
diff --git a/qt6-qtwebengine/patches/patch-cmake_QtToolchainHelpers.cmake b/qt6-qtwebengine/patches/patch-cmake_QtToolchainHelpers.cmake
new file mode 100644
index 0000000000..cf5c01a7a5
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-cmake_QtToolchainHelpers.cmake
@@ -0,0 +1,36 @@
+$NetBSD$
+
+add OPENBSD, NETBSD
+is_gcc valid for all UNIX types
+
+--- cmake/QtToolchainHelpers.cmake.orig 2025-05-29 01:27:28.000000000 +0000
++++ cmake/QtToolchainHelpers.cmake
+@@ -91,6 +91,10 @@ function(get_gn_os result)
+ set(${result} "win" PARENT_SCOPE)
+ elseif(LINUX)
+ set(${result} "linux" PARENT_SCOPE)
++ elseif(OPENBSD)
++ set(${result} "openbsd" PARENT_SCOPE)
++ elseif(NETBSD)
++ set(${result} "netbsd" PARENT_SCOPE)
+ elseif(MACOS)
+ set(${result} "mac" PARENT_SCOPE)
+ elseif(IOS)
+@@ -354,7 +358,7 @@ macro(append_compiler_linker_sdk_setup)
+ extend_gn_list(gnArgArg ARGS is_clang CONDITION CLANG)
+ extend_gn_list(gnArgArg ARGS is_mingw CONDITION MINGW)
+ extend_gn_list(gnArgArg ARGS is_msvc CONDITION MSVC)
+- extend_gn_list(gnArgArg ARGS is_gcc CONDITION LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
++ extend_gn_list(gnArgArg ARGS is_gcc CONDITION UNIX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
+
+ if(CLANG)
+ if(MACOS)
+@@ -548,7 +552,7 @@ macro(append_toolchain_setup)
+ endif()
+ unset(host_cpu)
+ unset(target_cpu)
+- elseif(LINUX)
++ elseif(UNIX)
+ get_gn_arch(cpu ${TEST_architecture_arch})
+ list(APPEND gnArgArg
+ custom_toolchain="${buildDir}/target_toolchain:target"
diff --git a/qt6-qtwebengine/patches/patch-configure.cmake b/qt6-qtwebengine/patches/patch-configure.cmake
index 8c9228f451..224f74bd44 100644
--- a/qt6-qtwebengine/patches/patch-configure.cmake
+++ b/qt6-qtwebengine/patches/patch-configure.cmake
@@ -3,104 +3,134 @@ $NetBSD$
* Based on OpenBSD's qt6-qtwebengine patches, and
pkgsrc's qt5-qtwebengine patches
---- configure.cmake.orig 2024-11-21 04:36:37.000000000 +0000
+--- configure.cmake.orig 2025-08-18 00:53:11.000000000 +0000
+++ configure.cmake
-@@ -73,7 +73,7 @@ if(Python3_EXECUTABLE)
- endif()
+@@ -105,7 +105,7 @@ endif()
#### Tests
+
-if(LINUX)
+if(UNIX)
- check_for_ulimit()
+ qt_webengine_configure_check_for_ulimit()
endif()
-@@ -434,7 +434,7 @@ qt_feature("webengine-system-libpci" PRI
+@@ -291,16 +291,16 @@ unset(targets_to_check)
- qt_feature("webengine-ozone-x11" PRIVATE
- LABEL "Support X11 on qpa-xcb"
-- CONDITION LINUX
-+ CONDITION UNIX
- AND TARGET Qt::Gui
- AND QT_FEATURE_xcb
- AND X11_FOUND
-@@ -474,12 +474,12 @@ assertTargets(
- )
- add_check_for_support(
- MODULES QtWebEngine
-- CONDITION LINUX OR (WIN32 AND NOT WIN_ARM_64) OR MACOS
-+ CONDITION UNIX OR (WIN32 AND NOT WIN_ARM_64) OR MACOS
- MESSAGE "Build can be done only on Linux, Windows or macOS."
- )
- add_check_for_support(
- MODULES QtPdf
-- CONDITION LINUX OR (WIN32 AND NOT WIN_ARM_64) OR MACOS OR IOS OR ANDROID
-+ CONDITION UNIX OR (WIN32 AND NOT WIN_ARM_64) OR MACOS OR IOS OR ANDROID
- MESSAGE "Build can be done only on Linux, Windows, macO, iOS and Android."
- )
- if(LINUX AND CMAKE_CROSSCOMPILING)
-@@ -503,7 +503,7 @@ add_check_for_support(
- )
- add_check_for_support(
+ qt_webengine_configure_check("supported-platform"
MODULES QtWebEngine
-- CONDITION NOT (Nodejs_ARCH STREQUAL "ia32") AND
-+ CONDITION NOT (Nodejs_ARCH STREQUAL "i386") AND
- NOT (Nodejs_ARCH STREQUAL "x86") AND
- NOT (Nodejs_ARCH STREQUAL "arm")
- MESSAGE "32bit version of Nodejs is not supported."
-@@ -535,7 +535,7 @@ add_check_for_support(
+- CONDITION LINUX OR WIN32 OR MACOS
++ CONDITION UNIX OR WIN32 OR MACOS
+ MESSAGE "Build can be done only on Linux, Windows or macOS."
)
- add_check_for_support(
- MODULES QtWebEngine QtPdf
-- CONDITION NOT LINUX OR PkgConfig_FOUND
-+ CONDITION NOT UNIX OR PkgConfig_FOUND
- MESSAGE "A pkg-config support is required."
+ qt_webengine_configure_check("supported-platform"
+ MODULES QtPdf
+- CONDITION LINUX OR WIN32 OR MACOS OR IOS OR ANDROID
++ CONDITION UNIX OR WIN32 OR MACOS OR IOS OR ANDROID
+ MESSAGE "Build can be done only on Linux, Windows, macO, iOS and Android."
)
- add_check_for_support(
-@@ -550,30 +550,30 @@ add_check_for_support(
+
+-if(LINUX AND CMAKE_CROSSCOMPILING)
++if(UNIX AND CMAKE_CROSSCOMPILING)
+ set(supported_targets "arm" "arm64" "armv7-a" "x86_64")
+ qt_webengine_configure_check("supported-arch"
+ MODULES QtWebEngine QtPdf
+@@ -364,7 +364,7 @@ qt_webengine_configure_check("flex"
)
- add_check_for_support(
- MODULES QtWebEngine
-- CONDITION NOT LINUX OR FONTCONFIG_FOUND
-+ CONDITION NOT UNIX OR FONTCONFIG_FOUND
- MESSAGE "Build requires fontconfig."
+ qt_webengine_configure_check("pkg-config"
+ MODULES QtWebEngine QtPdf
+- CONDITION NOT LINUX OR PkgConfig_FOUND
++ CONDITION NOT UNIX OR PkgConfig_FOUND
+ MESSAGE "A pkg-config support is required."
+ DOCUMENTATION "A pkg-config binary on Linux."
+ TAGS LINUX_PLATFORM
+@@ -394,28 +394,28 @@ qt_webengine_configure_check("harfbuzz"
)
- add_check_for_support(
- MODULES QtWebEngine
-- CONDITION NOT LINUX OR NSS_FOUND
-+ CONDITION NOT UNIX OR NSS_FOUND
- MESSAGE "Build requires nss >= 3.26."
+ qt_webengine_configure_check("mesa-headers"
+ MODULES QtWebEngine
+- CONDITION NOT LINUX OR TEST_khr
++ CONDITION NOT UNIX OR TEST_khr
+ MESSAGE "Build requires Khronos development headers for build - see mesa/libegl1-mesa-dev"
+ DOCUMENTATION "Mesa development headers."
+ TAGS LINUX_PLATFORM
)
- add_check_for_support(
- MODULES QtWebEngine
-- CONDITION NOT LINUX OR DBUS_FOUND
-+ CONDITION NOT UNIX OR DBUS_FOUND
- MESSAGE "Build requires dbus."
+ qt_webengine_configure_check("fontconfig"
+ MODULES QtWebEngine
+- CONDITION NOT LINUX OR FONTCONFIG_FOUND
++ CONDITION NOT UNIX OR FONTCONFIG_FOUND
+ MESSAGE "Build requires fontconfig."
+ DOCUMENTATION "Fontconfig"
+ TAGS LINUX_PKG_CONFIG
)
- add_check_for_support(
+ qt_webengine_configure_check("nss"
MODULES QtWebEngine
-- CONDITION NOT LINUX OR NOT QT_FEATURE_webengine_system_ffmpeg OR TEST_libavformat
-+ CONDITION NOT UNIX OR NOT QT_FEATURE_webengine_system_ffmpeg OR TEST_libavformat
- MESSAGE "Unmodified ffmpeg >= 5.0 is not supported."
+- CONDITION NOT LINUX OR NSS_FOUND
++ CONDITION NOT UNIX OR NSS_FOUND
+ MESSAGE "Build requires nss >= ${QT_CONFIGURE_CHECK_nss_version}."
+ DOCUMENTATION "Nss library are least ${QT_CONFIGURE_CHECK_nss_version} version."
+ TAGS LINUX_PLATFORM
)
+ qt_webengine_configure_check("dbus"
+ MODULES QtWebEngine
+- CONDITION NOT LINUX OR DBUS_FOUND
++ CONDITION NOT UNIX OR DBUS_FOUND
+ MESSAGE "Build requires dbus."
+ DOCUMENTATION "Dbus"
+ TAGS LINUX_PKG_CONFIG
+@@ -437,7 +437,7 @@ foreach(x_lib ${x_libs})
+ string(TOLOWER ${x_lib} x)
+ qt_webengine_configure_check("${x}"
+ MODULES QtWebEngine
+- CONDITION NOT TARGET Qt6::Gui OR NOT LINUX OR NOT QT_FEATURE_xcb OR ${x_lib}_FOUND
++ CONDITION NOT TARGET Qt6::Gui OR NOT UNIX OR NOT QT_FEATURE_xcb OR ${x_lib}_FOUND
+ MESSAGE "Could not find ${x} library for qpa-xcb support."
+ DOCUMENTATION "${x}"
+ TAGS LINUX_XCB
+@@ -453,8 +453,8 @@ unset(x_libs)
+ qt_webengine_configure_check("compiler"
+ MODULES QtWebEngine
+ CONDITION MSVC OR
+- (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
+- (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR
++ (UNIX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
++ (UNIX AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR
+ (MACOS AND CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
+ MESSAGE
+ "${CMAKE_CXX_COMPILER_ID} compiler is not supported."
+@@ -462,8 +462,8 @@ qt_webengine_configure_check("compiler"
+ qt_webengine_configure_check("compiler"
+ MODULES QtPdf
+ CONDITION MSVC OR
+- (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
+- (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR
++ (UNIX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
++ (UNIX AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR
+ (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") OR
+ (ANDROID AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR
+ (MINGW AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
+@@ -495,7 +495,7 @@ qt_webengine_configure_check("msvc-2022"
+
+ qt_webengine_configure_check("gcc"
+ MODULES QtWebEngine
+- CONDITION NOT (LINUX OR MINGW) OR NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR
++ CONDITION NOT (UNIX OR MINGW) OR NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR
+ NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS ${QT_CONFIGURE_CHECK_gcc_version}
+ MESSAGE "GCC version must be at least ${QT_CONFIGURE_CHECK_gcc_version}"
+ DOCUMENTATION "GCC version must be at least ${QT_CONFIGURE_CHECK_gcc_version}"
+@@ -504,7 +504,7 @@ qt_webengine_configure_check("gcc"
+
+ qt_webengine_configure_check("gcc-pdf"
+ MODULES QtPdf
+- CONDITION NOT (LINUX OR MINGW) OR NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR
++ CONDITION NOT (UNIX OR MINGW) OR NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR
+ NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS ${QT_CONFIGURE_CHECK_gcc-pdf_version}
+ MESSAGE "GCC version must be at least ${QT_CONFIGURE_CHECK_gcc-pdf_version}"
+ DOCUMENTATION "GCC version must be at least ${QT_CONFIGURE_CHECK_gcc-pdf_version}"
+@@ -725,7 +725,7 @@ qt_feature("webengine-system-libudev" PR
- add_check_for_support(
- MODULES QtWebEngine
- CONDITION MSVC OR
-- (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
-- (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR
-+ (UNIX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
-+ (UNIX AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR
- (MACOS AND CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
- MESSAGE
- "${CMAKE_CXX_COMPILER_ID} compiler is not supported."
-@@ -582,8 +582,8 @@ add_check_for_support(
- add_check_for_support(
- MODULES QtPdf
- CONDITION MSVC OR
-- (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
-- (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR
-+ (UNIX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
-+ (UNIX AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR
- (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") OR
- (ANDROID AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR
- (MINGW AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
+ qt_feature("webengine-ozone-x11" PRIVATE
+ LABEL "Support X11 on qpa-xcb"
+- CONDITION LINUX
++ CONDITION UNIX
+ AND TARGET Qt::Gui
+ AND QT_FEATURE_xcb
+ AND qpa_xcb_support_check
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_BUILD.gn
index 16bde65dbf..f5971a6a50 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_BUILD.gn
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/BUILD.gn
-@@ -64,7 +64,7 @@ declare_args() {
+@@ -67,7 +67,7 @@ declare_args() {
qtwebengine_target = "//tools/gn"
}
@@ -15,7 +15,7 @@ $NetBSD$
# An official (maximally optimized!) component (optimized for build times)
# build doesn't make sense and usually doesn't work.
assert(!is_component_build)
-@@ -96,7 +96,6 @@ group("gn_all") {
+@@ -99,7 +99,6 @@ group("gn_all") {
"//codelabs",
"//components:components_unittests",
"//components/gwp_asan:gwp_asan_unittests",
@@ -23,7 +23,7 @@ $NetBSD$
"//net:net_unittests",
"//sandbox:sandbox_unittests",
"//services:services_unittests",
-@@ -426,7 +425,7 @@ group("gn_all") {
+@@ -438,7 +437,7 @@ group("gn_all") {
}
}
@@ -32,8 +32,8 @@ $NetBSD$
deps += [
"//third_party/breakpad:breakpad_unittests",
"//third_party/breakpad:core-2-minidump",
-@@ -626,6 +625,15 @@ group("gn_all") {
- }
+@@ -613,6 +612,15 @@ group("gn_all") {
+ ]
}
+ if (is_bsd) {
@@ -45,10 +45,10 @@ $NetBSD$
+ ]
+ }
+
- if (is_mac) {
+ if (is_linux || is_chromeos_lacros) {
deps += [
- "//third_party/breakpad:dump_syms",
-@@ -1093,7 +1101,7 @@ if (use_blink && !is_cronet_build) {
+ "//skia:filter_fuzz_stub",
+@@ -1159,7 +1167,7 @@ if (use_blink && !is_cronet_build) {
]
}
@@ -56,4 +56,4 @@ $NetBSD$
+ if (!is_chromeos_ash && !is_ios && !is_fuchsia && !is_android && !is_castos && !is_bsd) {
script_test("chrome_wpt_tests") {
script = "//third_party/blink/tools/run_wpt_tests.py"
- args = [
+ args = _common_web_test_options + [ "--product=chrome" ]
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_BUILD.gn
index e4fc70b12d..911865ee8b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_BUILD.gn
@@ -4,18 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/BUILD.gn
-@@ -188,7 +188,7 @@ buildflag_header("ios_cronet_buildflags"
- flags = [ "CRONET_BUILD=$is_cronet_build" ]
- }
-
--enable_message_pump_epoll = is_linux || is_chromeos || is_android
-+enable_message_pump_epoll = (is_linux || is_chromeos || is_android) && !is_bsd
- buildflag_header("message_pump_buildflags") {
- header = "message_pump_buildflags.h"
- header_dir = "base/message_loop"
-@@ -967,7 +967,7 @@ jumbo_component("base") {
+@@ -941,7 +943,7 @@ jumbo_component("base") {
#"system/sys_info_openbsd.cc",
]
@@ -24,7 +15,7 @@ $NetBSD$
sources += [
"posix/sysctl.cc",
"posix/sysctl.h",
-@@ -1125,11 +1125,26 @@ jumbo_component("base") {
+@@ -1107,11 +1109,26 @@ jumbo_component("base") {
# Needed for <atomic> if using newer C++ library than sysroot, except if
# building inside the cros_sdk environment - use host_toolchain as a
# more robust check for this.
@@ -52,7 +43,7 @@ $NetBSD$
if (use_allocator_shim) {
if (is_apple) {
sources += [ "allocator/early_zone_registration_apple.h" ]
-@@ -1149,7 +1164,7 @@ jumbo_component("base") {
+@@ -1131,7 +1148,7 @@ jumbo_component("base") {
# Allow more direct string conversions on platforms with native utf8
# strings
@@ -61,7 +52,7 @@ $NetBSD$
defines += [ "SYSTEM_NATIVE_UTF8" ]
}
-@@ -2100,6 +2115,29 @@ jumbo_component("base") {
+@@ -2116,6 +2133,29 @@ jumbo_component("base") {
]
}
@@ -91,16 +82,7 @@ $NetBSD$
# iOS
if (is_ios) {
sources += [
-@@ -2206,7 +2244,7 @@ jumbo_component("base") {
-
- configs += linux_configs
- all_dependent_configs += linux_configs
-- sources += [ "system/sys_info_linux.cc" ]
-+ #sources += [ "system/sys_info_linux.cc" ]
- if (!is_cronet_build) {
- # These dependencies are not required on Android.
- sources += [
-@@ -2230,6 +2268,28 @@ jumbo_component("base") {
+@@ -2260,6 +2300,33 @@ jumbo_component("base") {
}
}
@@ -108,6 +90,9 @@ $NetBSD$
+ sources -= [
+ "files/file_path_watcher_inotify.cc",
+ "files/scoped_file_linux.cc",
++ "process/set_process_title_linux.cc",
++ "process/set_process_title_linux.h",
++ "system/sys_info_linux.cc",
+ "process/process_iterator_linux.cc",
+ "process/process_linux.cc",
+ "process/process_metrics_linux.cc",
@@ -117,6 +102,8 @@ $NetBSD$
+ "profiler/thread_delegate_posix.cc",
+ "profiler/thread_delegate_posix.h",
+ "threading/platform_thread_linux.cc",
++ "stack_canary_linux.cc",
++ "stack_canary_linux.h",
+ ]
+ sources += [
+ "files/file_path_watcher_kqueue.cc",
@@ -129,7 +116,7 @@ $NetBSD$
if (use_blink) {
sources += [
"files/file_path_watcher.cc",
-@@ -3005,7 +3065,7 @@ if (is_apple) {
+@@ -3069,7 +3136,7 @@ if (is_apple) {
}
}
@@ -138,7 +125,7 @@ $NetBSD$
# This test must compile with -fstack-protector-all
source_set("stack_canary_linux_unittests") {
testonly = true
-@@ -3642,7 +3702,7 @@ test("base_unittests") {
+@@ -3731,7 +3798,7 @@ test("base_unittests") {
]
}
@@ -147,7 +134,7 @@ $NetBSD$
sources += [
"debug/proc_maps_linux_unittest.cc",
"files/scoped_file_linux_unittest.cc",
-@@ -3664,7 +3724,7 @@ test("base_unittests") {
+@@ -3758,7 +3825,7 @@ test("base_unittests") {
"posix/file_descriptor_shuffle_unittest.cc",
"posix/unix_domain_socket_unittest.cc",
]
@@ -156,7 +143,7 @@ $NetBSD$
sources += [
"profiler/stack_base_address_posix_unittest.cc",
"profiler/stack_copier_signal_unittest.cc",
-@@ -3675,7 +3735,7 @@ test("base_unittests") {
+@@ -3769,7 +3836,7 @@ test("base_unittests") {
# Allow more direct string conversions on platforms with native utf8
# strings
@@ -165,8 +152,8 @@ $NetBSD$
defines += [ "SYSTEM_NATIVE_UTF8" ]
}
-@@ -3938,7 +3998,7 @@ test("base_unittests") {
- }
+@@ -3956,7 +4023,7 @@ test("base_unittests") {
+ deps += [ ":base_profiler_test_support_library" ]
}
- if (is_fuchsia || is_linux || is_chromeos) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_dispatcher_tls.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_dispatcher_tls.h
index deb0ba252c..062647292c 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_dispatcher_tls.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_dispatcher_tls.h
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/allocator/dispatcher/tls.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/dispatcher/tls.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/dispatcher/tls.h
-@@ -74,7 +74,7 @@ struct BASE_EXPORT MMapAllocator {
- partition_alloc::PartitionPageSize();
- #elif BUILDFLAG(IS_APPLE)
+@@ -77,7 +77,7 @@ struct BASE_EXPORT MMapAllocator {
+ constexpr static size_t AllocationChunkSize = 16384;
+ #elif BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_64_BITS)
constexpr static size_t AllocationChunkSize = 16384;
-#elif BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64)
+#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_partition__alloc.gni b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_partition__alloc.gni
index 9c40fd231a..e41185e017 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_partition__alloc.gni
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_partition__alloc.gni
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/allocator/partition_allocator/partition_alloc.gni.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/partition_alloc.gni.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/partition_alloc.gni
-@@ -30,7 +30,7 @@ if (is_nacl) {
- }
+@@ -31,7 +31,7 @@ if (is_nacl) {
+ use_large_empty_slot_span_ring = is_mac
has_memory_tagging =
- current_cpu == "arm64" && is_clang && !is_asan && (is_linux || is_android)
@@ -15,12 +15,12 @@ $NetBSD$
declare_args() {
# Causes all the allocations to be routed via allocator_shim.cc. Usually,
-@@ -335,7 +335,7 @@ declare_args() {
- # dependencies that use partition_allocator are compiled in AOSP against a
- # version of glibc that does not include pkeys syscall numbers.
- enable_pkeys =
-- (is_linux || is_chromeos) && target_cpu == "x64" && !is_cronet_build
-+ ((is_linux && !is_bsd) || is_chromeos) && target_cpu == "x64" && !is_cronet_build
+@@ -391,7 +391,7 @@ assert(!use_asan_backup_ref_ptr || use_r
+ # dependencies that use partition_allocator are compiled in AOSP against a
+ # version of glibc that does not include pkeys syscall numbers.
+ is_pkeys_available =
+- (is_linux || is_chromeos) && current_cpu == "x64" && !is_cronet_build
++ !is_bsd && (is_linux || is_chromeos) && current_cpu == "x64" && !is_cronet_build
+ declare_args() {
+ enable_pkeys = is_pkeys_available
}
- assert(!enable_pkeys || ((is_linux || is_chromeos) && target_cpu == "x64"),
- "Pkeys are only supported on x64 linux and ChromeOS")
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_BUILD.gn
index c024606b29..3857ebb58a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_BUILD.gn
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/BUILD.gn
-@@ -856,7 +856,7 @@ if (is_clang_or_gcc || is_msvc || is_min
- configs -= [ "//build/config/compiler:enable_arc" ]
+@@ -860,7 +860,7 @@ if (is_clang_or_gcc || is_msvc || is_min
+ configs -= [ partition_alloc_enable_arc_config ]
}
}
- if (is_chromeos || is_linux) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h
index b56b7da7f0..c46c7f16ab 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h
@@ -4,23 +4,23 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h
@@ -38,7 +38,7 @@ AslrMask(uintptr_t bits) {
- #if defined(ARCH_CPU_64_BITS)
+ #if PA_BUILDFLAG(PA_ARCH_CPU_64_BITS)
- #if defined(MEMORY_TOOL_REPLACES_ALLOCATOR)
-+ #if defined(MEMORY_TOOL_REPLACES_ALLOCATOR) && !BUILDFLAG(IS_BSD)
++ #if defined(MEMORY_TOOL_REPLACES_ALLOCATOR) && !PA_BUILDFLAG(IS_BSD)
// We shouldn't allocate system pages at all for sanitizer builds. However,
// we do, and if random hint addresses interfere with address ranges
-@@ -126,7 +126,7 @@ AslrMask(uintptr_t bits) {
+@@ -125,7 +125,7 @@ AslrMask(uintptr_t bits) {
return AslrAddress(0x20000000ULL);
}
-
-- #elif BUILDFLAG(IS_LINUX)
-+ #elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
+ #elif PA_BUILDFLAG(PA_ARCH_CPU_ARM64)
+- #if PA_BUILDFLAG(IS_LINUX)
++ #if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_BSD)
// Linux on arm64 can use 39, 42, 48, or 52-bit user space, depending on
// page size and number of levels of translation pages used. We use
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator.h
index 5f2b5112f8..ec1948341c 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator.h
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator.h
-@@ -256,7 +256,7 @@ bool DecommitAndZeroSystemPages(void* ad
+@@ -269,7 +269,7 @@ bool DecommitAndZeroSystemPages(void* ad
// recommitted. Do not assume that this will not change over time.
constexpr PA_COMPONENT_EXPORT(
PARTITION_ALLOC) bool DecommittedMemoryIsAlwaysZeroed() {
--#if BUILDFLAG(IS_APPLE)
-+#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD)
+-#if PA_BUILDFLAG(IS_APPLE)
++#if PA_BUILDFLAG(IS_APPLE) || PA_BUILDFLAG(IS_BSD)
return false;
#else
return true;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h
index 7d5cfdd829..27dacdc394 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h
@@ -4,41 +4,16 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h.orig 2025-01-24 10:49:20.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h
-@@ -25,7 +25,7 @@
- // elimination.
+@@ -26,8 +26,8 @@
#define PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR __attribute__((const))
--#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)) && defined(ARCH_CPU_ARM64)
-+#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64)
+ #elif (PA_BUILDFLAG(IS_ANDROID) && PA_BUILDFLAG(PA_ARCH_CPU_64_BITS)) || \
+- (PA_BUILDFLAG(IS_LINUX) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64)) || \
+- (PA_BUILDFLAG(IS_LINUX) && PA_BUILDFLAG(PA_ARCH_CPU_PPC64))
++ ((PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_BSD)) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64)) || \
++ ((PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_BSD)) && PA_BUILDFLAG(PA_ARCH_CPU_PPC64))
// This should work for all POSIX (if needed), but currently all other
// supported OS/architecture combinations use either hard-coded values
// (such as x86) or have means to determine these values without needing
-@@ -92,7 +92,7 @@ PageAllocationGranularityShift() {
- return 14; // 16kB
- #elif BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)
- return static_cast<size_t>(vm_page_shift);
--#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)) && defined(ARCH_CPU_ARM64)
-+#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64)
- // arm64 supports 4kb (shift = 12), 16kb (shift = 14), and 64kb (shift = 16)
- // page sizes. Retrieve from or initialize cache.
- size_t shift = page_characteristics.shift.load(std::memory_order_relaxed);
-@@ -113,7 +113,7 @@ PageAllocationGranularity() {
- // This is literally equivalent to |1 << PageAllocationGranularityShift()|
- // below, but was separated out for IS_APPLE to avoid << on a non-constexpr.
- return vm_page_size;
--#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)) && defined(ARCH_CPU_ARM64)
-+#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64)
- // arm64 supports 4kb, 16kb, and 64kb page sizes. Retrieve from or
- // initialize cache.
- size_t size = page_characteristics.size.load(std::memory_order_relaxed);
-@@ -153,7 +153,7 @@ PA_ALWAYS_INLINE PAGE_ALLOCATOR_CONSTANT
- SystemPageSize() {
- #if (BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)) || \
- (BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_ARM64)) || \
-- (BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64))
-+ ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64))
- // This is literally equivalent to |1 << SystemPageShift()| below, but was
- // separated out for 64-bit IS_APPLE and arm64 on Android/Linux to avoid <<
- // on a non-constexpr.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h
index 1aadbeb76e..64188495a6 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h
@@ -4,15 +4,15 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h
-@@ -411,8 +411,12 @@ bool TryRecommitSystemPagesInternal(
+@@ -412,8 +412,12 @@ bool TryRecommitSystemPagesInternal(
void DiscardSystemPagesInternal(uintptr_t address, size_t length) {
void* ptr = reinterpret_cast<void*>(address);
--#if BUILDFLAG(IS_APPLE)
-+#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD)
-+#if BUILDFLAG(IS_BSD)
+-#if PA_BUILDFLAG(IS_APPLE)
++#if PA_BUILDFLAG(IS_APPLE) || PA_BUILDFLAG(IS_BSD)
++#if PA_BUILDFLAG(IS_BSD)
+ int ret = madvise(ptr, length, MADV_FREE);
+#else
int ret = madvise(ptr, length, MADV_FREE_REUSABLE);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__address__space.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__address__space.cc
deleted file mode 100644
index 1907ce9e3b..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__address__space.cc
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-* Based on OpenBSD's qt6-qtwebengine patches, and
- pkgsrc's qt5-qtwebengine patches
-
---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_address_space.cc.orig 2025-01-24 10:49:20.000000000 +0000
-+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_address_space.cc
-@@ -421,7 +421,7 @@ void PartitionAddressSpace::UninitThread
- }
- #endif
-
--#if (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)) && defined(ARCH_CPU_ARM64)
-+#if (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64)
-
- PageCharacteristics page_characteristics;
-
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_proc__maps__linux.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_proc__maps__linux.cc
new file mode 100644
index 0000000000..066b0964ee
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_proc__maps__linux.cc
@@ -0,0 +1,17 @@
+$NetBSD$
+
+* Part of patchset to build chromium on NetBSD
+* Based on OpenBSD's chromium patches, and
+ pkgsrc's qt5-qtwebengine patches
+
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/proc_maps_linux.cc.orig 2025-05-29 01:27:28.000000000 +0000
++++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/proc_maps_linux.cc
+@@ -19,7 +19,7 @@
+ #include "partition_alloc/partition_alloc_check.h"
+
+ #if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) || \
+- PA_BUILDFLAG(IS_ANDROID)
++ PA_BUILDFLAG(IS_ANDROID) || PA_BUILDFLAG(IS_BSD)
+ #include <inttypes.h>
+ #endif
+
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc
index 1211aa48e8..9c699b11c2 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc
@@ -4,19 +4,19 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc
@@ -13,11 +13,11 @@
#include "partition_alloc/partition_alloc_base/posix/eintr_wrapper.h"
#include "partition_alloc/partition_alloc_base/strings/safe_sprintf.h"
--#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_APPLE)
-+#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD)
+-#if !PA_BUILDFLAG(IS_ANDROID) && !PA_BUILDFLAG(IS_APPLE)
++#if !PA_BUILDFLAG(IS_ANDROID) && !PA_BUILDFLAG(IS_APPLE) && !PA_BUILDFLAG(IS_BSD)
#include <link.h> // For ElfW() macro.
#endif
--#if BUILDFLAG(IS_APPLE)
-+#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD)
+-#if PA_BUILDFLAG(IS_APPLE)
++#if PA_BUILDFLAG(IS_APPLE) || PA_BUILDFLAG(IS_BSD)
#include <dlfcn.h>
#endif
@@ -24,17 +24,17 @@ $NetBSD$
namespace {
--#if !BUILDFLAG(IS_APPLE)
-+#if !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD)
+-#if !PA_BUILDFLAG(IS_APPLE)
++#if !PA_BUILDFLAG(IS_APPLE) && !PA_BUILDFLAG(IS_BSD)
// On Android the 'open' function has two versions:
// int open(const char *pathname, int flags);
@@ -369,7 +369,7 @@ void PrintStackTraceInternal(const void*
}
- #endif // !BUILDFLAG(IS_APPLE)
+ #endif // !PA_BUILDFLAG(IS_APPLE)
--#if BUILDFLAG(IS_APPLE)
-+#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD)
+-#if PA_BUILDFLAG(IS_APPLE)
++#if PA_BUILDFLAG(IS_APPLE) || PA_BUILDFLAG(IS_BSD)
// Since /proc/self/maps is not available, use dladdr() to obtain module
// names and offsets inside the modules from the given addresses.
void PrintStackTraceInternal(const void* const* trace, size_t size) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc
index b6cfbe1a2b..f5818858e7 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc
@@ -10,7 +10,7 @@ $NetBSD$
if (getentropy(output, output_length) == 0) {
return;
}
-+#elif BUILDFLAG(IS_BSD)
++#elif PA_BUILDFLAG(IS_BSD)
+ if (getentropy(output, output_length) == 0) {
+ return;
+ }
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h
index 70657359a4..338ee0a6f1 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.h
-@@ -23,6 +23,8 @@
- #include <zircon/types.h>
- #elif BUILDFLAG(IS_APPLE)
- #include <mach/mach_types.h>
-+#elif BUILDFLAG(IS_BSD)
+@@ -37,6 +37,8 @@ typedef DWORD PlatformThreadId;
+ typedef zx_handle_t PlatformThreadId;
+ #elif PA_BUILDFLAG(IS_APPLE)
+ typedef mach_port_t PlatformThreadId;
++#elif PA_BUILDFLAG(IS_BSD)
+typedef uint64_t PlatformThreadId;
- #elif BUILDFLAG(IS_POSIX)
- #include <pthread.h>
- #include <unistd.h>
+ #elif PA_BUILDFLAG(IS_POSIX)
+ typedef pid_t PlatformThreadId;
+ #endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h
index fa4c23e660..f3bebd06c1 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h
@@ -10,7 +10,7 @@
namespace partition_alloc::internal::base::internal {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS)
++#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD)
// Current thread id is cached in thread local storage for performance reasons.
// In some rare cases it's important to invalidate that cache explicitly (e.g.
// after going through clone() syscall which does not call pthread_atfork()
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc
index 8b50947087..6660c88b0a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc
@@ -18,7 +18,7 @@
#include "partition_alloc/partition_alloc_base/logging.h"
#include "partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h"
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS)
++#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD)
#include <sys/syscall.h>
#include <atomic>
#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h
index 2b061cf32c..1ef7e444ca 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h
@@ -4,23 +4,34 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h
-@@ -251,7 +251,7 @@ constexpr bool kUseLazyCommit = false;
- // On these platforms, lock all the partitions before fork(), and unlock after.
+@@ -51,8 +51,8 @@ static_assert(sizeof(void*) != 8, "");
+ // POSIX is not only UNIX, e.g. macOS and other OSes. We do use Linux-specific
+ // features such as futex(2).
+ #define PA_CONFIG_HAS_LINUX_KERNEL() \
+- (PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) || \
+- PA_BUILDFLAG(IS_ANDROID))
++ ((PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) || \
++ PA_BUILDFLAG(IS_ANDROID)) && !PA_BUILDFLAG(IS_NETBSD))
+
+ // If defined, enables zeroing memory on Free() with roughly 1% probability.
+ // This applies only to normal buckets, as direct-map allocations are always
+@@ -168,7 +168,7 @@ constexpr bool kUseLazyCommit = false;
// This may be required on more platforms in the future.
- #define PA_CONFIG_HAS_ATFORK_HANDLER() \
-- (BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
-+ (BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD))
+ #define PA_CONFIG_HAS_ATFORK_HANDLER() \
+ (PA_BUILDFLAG(IS_APPLE) || PA_BUILDFLAG(IS_LINUX) || \
+- PA_BUILDFLAG(IS_CHROMEOS))
++ PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD))
- // PartitionAlloc uses PartitionRootEnumerator to acquire all
- // PartitionRoots at BeforeFork and to release at AfterFork.
-@@ -299,7 +299,7 @@ constexpr bool kUseLazyCommit = false;
+ // Enable shadow metadata.
+ //
+@@ -230,7 +230,7 @@ constexpr bool kUseLazyCommit = false;
//
- // Also enabled on ARM64 macOS, as the 16kiB pages on this platform lead to
- // larger slot spans.
--#if BUILDFLAG(IS_LINUX) || (BUILDFLAG(IS_MAC) && defined(ARCH_CPU_ARM64))
-+#if BUILDFLAG(IS_LINUX) || (BUILDFLAG(IS_MAC) && defined(ARCH_CPU_ARM64)) || BUILDFLAG(IS_BSD)
+ // Also enabled on ARM64 macOS and iOS, as the 16kiB pages on this platform lead
+ // to larger slot spans.
+-#if PA_BUILDFLAG(IS_LINUX) || \
++#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_BSD) || \
+ (PA_BUILDFLAG(IS_APPLE) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64))
#define PA_CONFIG_PREFER_SMALLER_SLOT_SPANS() 1
#else
- #define PA_CONFIG_PREFER_SMALLER_SLOT_SPANS() 0
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h
index 224948ff0e..ce4b75e65f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h
@@ -4,23 +4,23 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2025-01-24 10:49:20.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h
-@@ -112,7 +112,7 @@ PartitionPageShift() {
- }
- #elif (BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)) || \
- (BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_ARM64)) || \
-- (BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64))
-+ ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64))
- PA_ALWAYS_INLINE PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR size_t
- PartitionPageShift() {
- return PageAllocationGranularityShift() + 2;
-@@ -316,7 +316,7 @@ constexpr size_t kNumPools = kMaxPoolHan
- #if BUILDFLAG(IS_IOS)
- constexpr size_t kPoolMaxSize = 1 * kGiB;
- #elif BUILDFLAG(IS_ANDROID) || \
-- BUILDFLAG(ENABLE_POINTER_COMPRESSION)
-+ BUILDFLAG(ENABLE_POINTER_COMPRESSION) || BUILDFLAG(IS_BSD)
+@@ -329,7 +329,7 @@ PA_DEFINE_OPERATORS_FOR_FLAGS(PoolHandle
+ // 8GB for each of the glued pools).
+ #if PA_BUILDFLAG(HAS_64_BIT_POINTERS)
+ #if PA_BUILDFLAG(IS_ANDROID) || PA_BUILDFLAG(IS_IOS) || \
+- PA_BUILDFLAG(ENABLE_POINTER_COMPRESSION)
++ PA_BUILDFLAG(ENABLE_POINTER_COMPRESSION) || PA_BUILDFLAG(IS_BSD)
constexpr size_t kPoolMaxSize = 8 * kGiB;
#else
constexpr size_t kPoolMaxSize = 16 * kGiB;
+@@ -446,7 +446,7 @@ PA_ALWAYS_INLINE constexpr size_t MaxDir
+ // TODO(casey.smalley%arm.com@localhost): under 64k pages we can end up in a situation
+ // where a normal slot span will be large enough to contain multiple items,
+ // but the address will go over the final partition page after being aligned.
+-#if PA_BUILDFLAG(IS_LINUX) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64)
++#if (PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_BSD)) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64)
+ constexpr size_t kMaxSupportedAlignment = kSuperPageSize / 4;
+ #else
+ constexpr size_t kMaxSupportedAlignment = kSuperPageSize / 2;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__page__constants.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__page__constants.h
index 55e6ef9989..bfc390b1d6 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__page__constants.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__page__constants.h
@@ -3,14 +3,14 @@ $NetBSD$
* Based on OpenBSD's qt6-qtwebengine patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_page_constants.h.orig 2025-01-24 10:49:20.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_page_constants.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_page_constants.h
-@@ -16,7 +16,7 @@ namespace partition_alloc::internal {
- // (1 << 12 or 1 << 14), as checked in PartitionRoot::Init(). And
+@@ -17,7 +17,7 @@ namespace partition_alloc::internal {
// PartitionPageSize() is 4 times the OS page size.
static constexpr size_t kMaxSlotsPerSlotSpan = 4 * (1 << 14) / kSmallestBucket;
--#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)) && defined(ARCH_CPU_ARM64)
-+#elif (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64)
- // System page size can be 4, 16, or 64 kiB on Linux on arm64. 64 kiB is
- // currently (kMaxSlotsPerSlotSpanBits == 13) not supported by the code,
- // so we use the 16 kiB maximum (64 kiB will crash).
+ #elif defined(PARTITION_ALLOCATOR_CONSTANTS_POSIX_NONCONST_PAGE_SIZE) && \
+- PA_BUILDFLAG(IS_LINUX) && \
++ (PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_BSD)) && \
+ (PA_BUILDFLAG(PA_ARCH_CPU_ARM64) || PA_BUILDFLAG(PA_ARCH_CPU_PPC64))
+ // System page size can be 4, 16, or 64 kiB on Linux on AArch64.
+ // System page size can be 4 or 64 kiB on Linux on ppc64.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__root.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__root.cc
index dd313993df..fa20feffff 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__root.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__root.cc
@@ -4,41 +4,32 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2025-01-24 10:49:20.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_root.cc
-@@ -47,7 +47,7 @@
+@@ -44,7 +44,7 @@
#include "wow64apiset.h"
#endif
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS)
++#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD)
#include <pthread.h>
#endif
-@@ -278,7 +278,7 @@ void PartitionAllocMallocInitOnce() {
+@@ -290,7 +290,7 @@ void PartitionAllocMallocInitOnce() {
return;
}
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS)
++#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD)
// When fork() is called, only the current thread continues to execute in the
// child process. If the lock is held, but *not* by this thread when fork() is
// called, we have a deadlock.
-@@ -377,7 +377,7 @@ static size_t PartitionPurgeSlotSpan(Par
- (PartitionPageSize() * kMaxPartitionPagesPerRegularSlotSpan) /
- MinPurgeableSlotSize();
- #elif BUILDFLAG(IS_APPLE) || \
-- ((BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)) && \
-+ ((BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && \
- defined(ARCH_CPU_ARM64))
- // It's better for slot_usage to be stack-allocated and fixed-size, which
- // demands that its size be constexpr. On IS_APPLE and Linux on arm64,
-@@ -942,7 +942,7 @@ void PartitionRoot::Init(PartitionOption
+@@ -1110,7 +1110,7 @@ void PartitionRoot::Init(PartitionOption
// apple OSes.
PA_CHECK((internal::SystemPageSize() == (size_t{1} << 12)) ||
(internal::SystemPageSize() == (size_t{1} << 14)));
--#elif BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64)
-+#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64)
+-#elif PA_BUILDFLAG(IS_LINUX) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64)
++#elif (PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_BSD)) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64)
// Check runtime pagesize. Though the code is currently the same, it is
- // not merged with the IS_APPLE case above as a 1 << 16 case needs to be
- // added here in the future, to allow 64 kiB pagesize. That is only
+ // not merged with the IS_APPLE case above as a 1 << 16 case is only
+ // supported on Linux on AArch64.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc
new file mode 100644
index 0000000000..2d20427b3e
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc
@@ -0,0 +1,55 @@
+$NetBSD$
+
+* Based on OpenBSD's qt6-qtwebengine patches, and
+ pkgsrc's qt5-qtwebengine patches
+
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc.orig 2025-05-29 01:27:28.000000000 +0000
++++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc
+@@ -18,6 +18,10 @@
+ #include <pthread.h>
+ #endif
+
++#if PA_BUILDFLAG(IS_BSD) && !PA_BUILDFLAG(IS_NETBSD)
++#include <pthread_np.h>
++#endif
++
+ #if PA_BUILDFLAG(PA_LIBC_GLIBC)
+ extern "C" void* __libc_stack_end;
+ #endif
+@@ -50,6 +54,36 @@ void* GetStackTop() {
+ return pthread_get_stackaddr_np(pthread_self());
+ }
+
++#elif PA_BUILDFLAG(IS_OPENBSD)
++
++void* GetStackTop() {
++ stack_t ss;
++ if (pthread_stackseg_np(pthread_self(), &ss) != 0)
++ return nullptr;
++ return reinterpret_cast<uint8_t*>(ss.ss_sp);
++}
++
++#elif PA_BUILDFLAG(IS_FREEBSD) || PA_BUILDFLAG(IS_NETBSD)
++
++void* GetStackTop() {
++ pthread_attr_t attr;
++ int error = pthread_attr_init(&attr);
++ if (error) {
++ return nullptr;
++ }
++ error = pthread_attr_get_np(pthread_self(), &attr);
++ if (!error) {
++ void* base;
++ size_t size;
++ error = pthread_attr_getstack(&attr, &base, &size);
++ PA_CHECK(!error);
++ pthread_attr_destroy(&attr);
++ return reinterpret_cast<uint8_t*>(base) + size;
++ }
++ pthread_attr_destroy(&attr);
++ return nullptr;
++}
++
+ #elif PA_BUILDFLAG(IS_POSIX) || PA_BUILDFLAG(IS_FUCHSIA)
+
+ void* GetStackTop() {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_starscan_stack_stack.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_starscan_stack_stack.cc
deleted file mode 100644
index 7fdf30bed9..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_starscan_stack_stack.cc
+++ /dev/null
@@ -1,55 +0,0 @@
-$NetBSD$
-
-* Based on OpenBSD's qt6-qtwebengine patches, and
- pkgsrc's qt5-qtwebengine patches
-
---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/starscan/stack/stack.cc.orig 2025-01-24 10:49:20.000000000 +0000
-+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/starscan/stack/stack.cc
-@@ -18,6 +18,10 @@
- #include <pthread.h>
- #endif
-
-+#if BUILDFLAG(IS_BSD) && !BUILDFLAG(IS_NETBSD)
-+#include <pthread_np.h>
-+#endif
-+
- #if defined(LIBC_GLIBC)
- extern "C" void* __libc_stack_end;
- #endif
-@@ -50,6 +54,36 @@ void* GetStackTop() {
- return pthread_get_stackaddr_np(pthread_self());
- }
-
-+#elif BUILDFLAG(IS_OPENBSD)
-+
-+void* GetStackTop() {
-+ stack_t ss;
-+ if (pthread_stackseg_np(pthread_self(), &ss) != 0)
-+ return nullptr;
-+ return reinterpret_cast<uint8_t*>(ss.ss_sp);
-+}
-+
-+#elif BUILDFLAG(IS_FREEBSD) || BUILDFLAG(IS_NETBSD)
-+
-+void* GetStackTop() {
-+ pthread_attr_t attr;
-+ int error = pthread_attr_init(&attr);
-+ if (error) {
-+ return nullptr;
-+ }
-+ error = pthread_attr_get_np(pthread_self(), &attr);
-+ if (!error) {
-+ void* base;
-+ size_t size;
-+ error = pthread_attr_getstack(&attr, &base, &size);
-+ PA_CHECK(!error);
-+ pthread_attr_destroy(&attr);
-+ return reinterpret_cast<uint8_t*>(base) + size;
-+ }
-+ pthread_attr_destroy(&attr);
-+ return nullptr;
-+}
-+
- #elif BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA)
-
- void* GetStackTop() {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc
index eaaaf3aaed..bde30c650d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/thread_isolation/pkey.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/thread_isolation/pkey.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/thread_isolation/pkey.cc
@@ -16,7 +16,7 @@
#include "partition_alloc/partition_alloc_check.h"
#include "partition_alloc/thread_isolation/thread_isolation.h"
--#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
-+#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_BSD)
+-#if !PA_BUILDFLAG(IS_LINUX) && !PA_BUILDFLAG(IS_CHROMEOS)
++#if !PA_BUILDFLAG(IS_LINUX) && !PA_BUILDFLAG(IS_CHROMEOS) && !PA_BUILDFLAG(IS_BSD)
#error "This pkey code is currently only supported on Linux and ChromeOS"
#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_base__paths__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_base__paths__posix.cc
index ba64a40941..a93d285cf5 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_base__paths__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_base__paths__posix.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/base_paths_posix.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/base_paths_posix.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/base_paths_posix.cc
@@ -15,6 +15,7 @@
#include <ostream>
@@ -29,32 +29,30 @@ $NetBSD$
#elif BUILDFLAG(IS_SOLARIS) || BUILDFLAG(IS_AIX)
#include <stdlib.h>
#endif
-@@ -48,14 +53,22 @@ bool PathProviderPosix(int key, FilePath
+@@ -47,12 +52,20 @@ bool PathProviderPosix(int key, FilePath
*result = bin_dir;
return true;
#elif BUILDFLAG(IS_FREEBSD)
- int name[] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 };
-- absl::optional<std::string> bin_dir = StringSysctl(name, std::size(name));
-+ absl::optional<std::string> bin_dir = StringSysctl({ CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 });
- if (!bin_dir.has_value() || bin_dir.value().length() <= 1) {
- NOTREACHED() << "Unable to resolve path.";
- return false;
- }
- *result = FilePath(bin_dir.value());
- return true;
-+#elif BUILDFLAG(IS_NETBSD)
-+ absl::optional<std::string> bin_dir = StringSysctl({ CTL_KERN, KERN_PROC_ARGS, getpid(), KERN_PROC_PATHNAME });
+- std::optional<std::string> bin_dir = StringSysctl(name, std::size(name));
++ std::optional<std::string> bin_dir = StringSysctl({ CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 });
+ if (!bin_dir.has_value() || bin_dir.value().length() <= 1) {
+ NOTREACHED() << "Unable to resolve path.";
-+ return false;
+ }
+ *result = FilePath(bin_dir.value());
-+ VLOG(1) << "PathProviderPosix result: " << bin_dir.value();
+ return true;
++#elif BUILDFLAG(IS_NETBSD)
++ std::optional<std::string> bin_dir = StringSysctl({ CTL_KERN, KERN_PROC_ARGS, getpid(), KERN_PROC_PATHNAME });
+ if (!bin_dir.has_value() || bin_dir.value().length() <= 1) {
+ NOTREACHED() << "Unable to resolve path.";
++ return false;
+ }
+ *result = FilePath(bin_dir.value());
++ VLOG(1) << "PathProviderPosix result: " << bin_dir.value();
+ return true;
#elif BUILDFLAG(IS_SOLARIS)
char bin_dir[PATH_MAX + 1];
- if (realpath(getexecname(), bin_dir) == NULL) {
-@@ -65,13 +78,65 @@ bool PathProviderPosix(int key, FilePath
+@@ -62,13 +75,65 @@ bool PathProviderPosix(int key, FilePath
*result = FilePath(bin_dir);
return true;
#elif BUILDFLAG(IS_OPENBSD) || BUILDFLAG(IS_AIX)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_base__switches.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_base__switches.cc
new file mode 100644
index 0000000000..41dafb5bde
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_base__switches.cc
@@ -0,0 +1,17 @@
+$NetBSD$
+
+* Part of patchset to build chromium on NetBSD
+* Based on OpenBSD's chromium patches, and
+ pkgsrc's qt5-qtwebengine patches
+
+--- src/3rdparty/chromium/base/base_switches.cc.orig 2025-09-25 11:10:42.000000000 +0000
++++ src/3rdparty/chromium/base/base_switches.cc
+@@ -132,7 +132,7 @@ const char kDisableHighResTimer[] = "dis
+ const char kDisableUsbKeyboardDetect[] = "disable-usb-keyboard-detect";
+ #endif
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // The /dev/shm partition is too small in certain VM environments, causing
+ // Chrome to fail or crash (see http://crbug.com/715363). Use this flag to
+ // work-around this issue (a temporary directory will always be used to create
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_base__switches.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_base__switches.h
new file mode 100644
index 0000000000..4a2ba8c020
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_base__switches.h
@@ -0,0 +1,17 @@
+$NetBSD$
+
+* Part of patchset to build chromium on NetBSD
+* Based on OpenBSD's chromium patches, and
+ pkgsrc's qt5-qtwebengine patches
+
+--- src/3rdparty/chromium/base/base_switches.h.orig 2025-09-25 11:10:42.000000000 +0000
++++ src/3rdparty/chromium/base/base_switches.h
+@@ -41,7 +41,7 @@ extern const char kDisableHighResTimer[]
+ extern const char kDisableUsbKeyboardDetect[];
+ #endif
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ extern const char kDisableDevShmUsage[];
+ #endif
+
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_compiler__specific.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_compiler__specific.h
index 6395e286f1..85e3b4ad47 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_compiler__specific.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_compiler__specific.h
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/compiler_specific.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/compiler_specific.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/compiler_specific.h
-@@ -446,7 +446,7 @@ inline constexpr bool AnalyzerAssumeTrue
+@@ -388,7 +388,7 @@ inline constexpr bool AnalyzerAssumeTrue
// See https://clang.llvm.org/docs/AttributeReference.html#preserve-most for
// more details.
- #if defined(ARCH_CPU_64_BITS) && \
-- !(BUILDFLAG(IS_WIN) && defined(ARCH_CPU_ARM64)) && \
-+ !((BUILDFLAG(IS_WIN) || BUILDFLAG(IS_OPENBSD)) && defined(ARCH_CPU_ARM64)) && \
- !defined(COMPONENT_BUILD) && defined(__clang__) && \
+ #if (defined(ARCH_CPU_ARM64) || defined(ARCH_CPU_X86_64)) && \
+- !(BUILDFLAG(IS_WIN) && defined(ARCH_CPU_ARM64)) && \
++ !((BUILDFLAG(IS_WIN) || BUILDFLAG(IS_OPENBSD)) && defined(ARCH_CPU_ARM64)) && \
+ !defined(COMPONENT_BUILD) && defined(__clang__) && \
__clang_major__ >= 17 && HAS_ATTRIBUTE(preserve_most)
#define PRESERVE_MOST __attribute__((preserve_most))
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_debug_stack__trace.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_debug_stack__trace.cc
index 474fe5f9fe..69516e794f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_debug_stack__trace.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_debug_stack__trace.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/debug/stack_trace.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/debug/stack_trace.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/debug/stack_trace.cc
-@@ -234,7 +234,7 @@ bool StackTrace::WillSymbolizeToStreamFo
+@@ -258,7 +258,7 @@ bool StackTrace::WillSymbolizeToStreamFo
// Symbols are not expected to be reliable when gn args specifies
// symbol_level=0.
return false;
@@ -15,15 +15,26 @@ $NetBSD$
// StackTrace::OutputToStream() is not implemented under uclibc, nor AIX.
// See https://crbug.com/706728
return false;
-@@ -274,14 +274,14 @@ std::string StackTrace::ToString() const
+@@ -311,7 +311,9 @@ void StackTrace::OutputToStreamWithPrefi
+ }
+ return;
+ }
++#if !BUILDFLAG(IS_BSD)
+ OutputToStreamWithPrefixImpl(os, prefix_string);
++#endif
}
- std::string StackTrace::ToStringWithPrefix(const char* prefix_string) const {
+
+ std::string StackTrace::ToString() const {
+@@ -320,7 +322,7 @@ std::string StackTrace::ToString() const
+
+ std::string StackTrace::ToStringWithPrefix(cstring_view prefix_string) const {
std::stringstream stream;
-#if !defined(__UCLIBC__) && !defined(_AIX)
+#if !defined(__UCLIBC__) && !defined(_AIX) && !BUILDFLAG(IS_BSD)
OutputToStreamWithPrefix(&stream, prefix_string);
#endif
return stream.str();
+@@ -344,7 +346,7 @@ bool StackTrace::ShouldSuppressOutput()
}
std::ostream& operator<<(std::ostream& os, const StackTrace& s) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_file__path__watcher__unittest.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_file__path__watcher__unittest.cc
index 8125e67f31..ac5cf11f2f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_file__path__watcher__unittest.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_file__path__watcher__unittest.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/files/file_path_watcher_unittest.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/files/file_path_watcher_unittest.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/files/file_path_watcher_unittest.cc
-@@ -847,7 +847,7 @@ TEST_F(FilePathWatcherTest, WatchDirecto
+@@ -902,7 +902,7 @@ TEST_F(FilePathWatcherTest, WatchDirecto
}
delegate.RunUntilEventsMatch(event_expecter);
@@ -14,8 +14,8 @@ $NetBSD$
+#if !BUILDFLAG(IS_APPLE) && BUILDFLAG(IS_BSD)
ASSERT_TRUE(WriteFile(file1, "content v2"));
// Mac implementation does not detect files modified in a directory.
- // TODO(https://crbug.com/1432064): Expect that no events are fired on Mac.
-@@ -1783,7 +1783,7 @@ namespace {
+ // TODO(crbug.com/40263777): Expect that no events are fired on Mac.
+@@ -1848,7 +1848,7 @@ namespace {
enum Permission { Read, Write, Execute };
@@ -24,7 +24,7 @@ $NetBSD$
bool ChangeFilePermissions(const FilePath& path, Permission perm, bool allow) {
struct stat stat_buf;
-@@ -1817,7 +1817,7 @@ bool ChangeFilePermissions(const FilePat
+@@ -1882,7 +1882,7 @@ bool ChangeFilePermissions(const FilePat
} // namespace
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_file__util__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_file__util__posix.cc
index 86c2ead7ce..167fbe1d5b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_file__util__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_file__util__posix.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/files/file_util_posix.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/files/file_util_posix.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/files/file_util_posix.cc
-@@ -779,33 +779,33 @@ bool CreateDirectoryAndGetError(const Fi
- File::Error* error) {
+@@ -897,36 +897,33 @@ bool CreateNewTempDirectory(const FilePa
+ bool CreateDirectoryAndGetError(const FilePath& full_path, File::Error* error) {
ScopedBlockingCall scoped_blocking_call(
FROM_HERE, BlockingType::MAY_BLOCK); // For call to mkdir().
+ const FilePath kFileSystemRoot("/");
@@ -16,8 +16,8 @@ $NetBSD$
// Collect a list of all parent directories.
FilePath last_path = full_path;
- subpaths.push_back(full_path);
-- for (FilePath path = full_path.DirName();
-- path.value() != last_path.value(); path = path.DirName()) {
+- for (FilePath path = full_path.DirName(); path.value() != last_path.value();
+- path = path.DirName()) {
+ if (full_path != kFileSystemRoot)
+ subpaths.push_back(full_path);
+ for (FilePath path = full_path.DirName(); (path.value() != last_path.value() &&
@@ -28,20 +28,20 @@ $NetBSD$
// Iterate through the parents and create the missing ones.
for (const FilePath& subpath : base::Reversed(subpaths)) {
-- if (DirectoryExists(subpath))
+- if (DirectoryExists(subpath)) {
- continue;
-- if (mkdir(subpath.value().c_str(), 0700) == 0)
+- }
+- if (mkdir(subpath.value().c_str(), 0700) == 0) {
- continue;
+- }
- // Mkdir failed, but it might have failed with EEXIST, or some other error
- // due to the directory appearing out of thin air. This can occur if
- // two processes are trying to create the same file system tree at the same
- // time. Check to see if it exists and make sure it is a directory.
- int saved_errno = errno;
- if (!DirectoryExists(subpath)) {
-- if (error)
+- if (error) {
- *error = File::OSErrorToFileError(saved_errno);
-- errno = saved_errno;
-- return false;
+ if (!PathExists(subpath)) {
+ if ((mkdir(subpath.value().c_str(), 0700) == -1) &&
+ ((full_path != subpath) ? (errno != ENOENT) : (-1))) {
@@ -49,7 +49,9 @@ $NetBSD$
+ if (error)
+ *error = File::OSErrorToFileError(saved_errno);
+ return false;
-+ }
+ }
+- errno = saved_errno;
+- return false;
+ } else if (!DirectoryExists(subpath)) {
+ if (error)
+ *error = File::OSErrorToFileError(ENOTDIR);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_memory_platform__shared__memory__region.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_memory_platform__shared__memory__region.h
index 40118ba386..454082c960 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_memory_platform__shared__memory__region.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_memory_platform__shared__memory__region.h
@@ -4,18 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/memory/platform_shared_memory_region.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/memory/platform_shared_memory_region.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/memory/platform_shared_memory_region.h
-@@ -16,7 +16,7 @@
-
- #include <stdint.h>
+@@ -17,7 +17,7 @@
+ #include "base/unguessable_token.h"
+ #include "build/build_config.h"
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
namespace content {
class SandboxIPCHandler;
}
-@@ -83,7 +83,7 @@ class BASE_EXPORT PlatformSharedMemoryRe
+@@ -84,7 +84,7 @@ class BASE_EXPORT PlatformSharedMemoryRe
kMaxValue = GET_SHMEM_TEMP_DIR_FAILURE
};
@@ -24,7 +24,7 @@ $NetBSD$
// Structure to limit access to executable region creation.
struct ExecutableRegion {
private:
-@@ -215,7 +215,7 @@ class BASE_EXPORT PlatformSharedMemoryRe
+@@ -216,7 +216,7 @@ class BASE_EXPORT PlatformSharedMemoryRe
CheckPlatformHandlePermissionsCorrespondToMode);
static PlatformSharedMemoryRegion Create(Mode mode,
size_t size
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.cc
new file mode 100644
index 0000000000..d9b098177c
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.cc
@@ -0,0 +1,17 @@
+$NetBSD$
+
+* Part of patchset to build chromium on NetBSD
+* Based on OpenBSD's chromium patches, and
+ pkgsrc's qt5-qtwebengine patches
+
+--- src/3rdparty/chromium/base/message_loop/message_pump_epoll.cc.orig 2025-05-29 01:27:28.000000000 +0000
++++ src/3rdparty/chromium/base/message_loop/message_pump_epoll.cc
+@@ -42,7 +42,7 @@ std::atomic_bool g_use_batched_version =
+ std::atomic_bool g_use_poll = false;
+
+ constexpr std::pair<uint32_t, short int> kEpollToPollEvents[] = {
+- {EPOLLIN, POLLIN}, {EPOLLOUT, POLLOUT}, {EPOLLRDHUP, POLLRDHUP},
++ {EPOLLIN, POLLIN}, {EPOLLOUT, POLLOUT},
+ {EPOLLPRI, POLLPRI}, {EPOLLERR, POLLERR}, {EPOLLHUP, POLLHUP}};
+
+ void SetEventsForPoll(const uint32_t epoll_events, struct pollfd* poll_entry) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.h
new file mode 100644
index 0000000000..58f4065778
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.h
@@ -0,0 +1,20 @@
+$NetBSD$
+
+* Part of patchset to build chromium on NetBSD
+* Based on OpenBSD's chromium patches, and
+ pkgsrc's qt5-qtwebengine patches
+
+--- src/3rdparty/chromium/base/message_loop/message_pump_epoll.h.orig 2025-05-29 01:27:28.000000000 +0000
++++ src/3rdparty/chromium/base/message_loop/message_pump_epoll.h
+@@ -51,7 +51,11 @@ namespace base {
+ // every call, don't do it when we have too many FDs.
+ BASE_FEATURE(kUsePollForMessagePumpEpoll,
+ "UsePollForMessagePumpEpoll",
++#if BUILDFLAG(IS_BSD)
++ base::FEATURE_ENABLED_BY_DEFAULT);
++#else
+ base::FEATURE_DISABLED_BY_DEFAULT);
++#endif
+
+ // A MessagePump implementation suitable for I/O message loops on Linux-based
+ // systems with epoll API support.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_posix_sysctl.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_posix_sysctl.cc
index 2c3f5f01a0..dcc410bd84 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_posix_sysctl.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_posix_sysctl.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/posix/sysctl.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/posix/sysctl.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/posix/sysctl.cc
@@ -4,6 +4,7 @@
@@ -14,25 +14,24 @@ $NetBSD$
#include <sys/sysctl.h>
#include <initializer_list>
-@@ -16,17 +17,17 @@
- #include "third_party/abseil-cpp/absl/types/optional.h"
+@@ -17,16 +18,17 @@
namespace {
--
+
+// NetBSD has sysctl_func macro in sys/sysctl.h, workaround: sysctl_func -> sysctl_func2
- absl::optional<std::string> StringSysctlImpl(
+ std::optional<std::string> StringSysctlImpl(
- base::FunctionRef<int(char* /*out*/, size_t* /*out_len*/)> sysctl_func) {
+ base::FunctionRef<int(char* /*out*/, size_t* /*out_len*/)> sysctl_func2) {
size_t buf_len;
- int result = sysctl_func(nullptr, &buf_len);
+ int result = sysctl_func2(nullptr, &buf_len);
if (result < 0 || buf_len < 1) {
- return absl::nullopt;
+ return std::nullopt;
}
std::string value(buf_len - 1, '\0');
- result = sysctl_func(&value[0], &buf_len);
+ result = sysctl_func2(&value[0], &buf_len);
if (result < 0) {
- return absl::nullopt;
+ return std::nullopt;
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_launch.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_launch.h
index 46d4f84863..12930af1d3 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_launch.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_launch.h
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/process/launch.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/process/launch.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/process/launch.h
@@ -7,6 +7,13 @@
#ifndef BASE_PROCESS_LAUNCH_H_
@@ -17,10 +17,10 @@ $NetBSD$
+#endif
+#endif
+
+ #include <limits.h>
#include <stddef.h>
- #include <string>
-@@ -200,7 +207,7 @@ struct BASE_EXPORT LaunchOptions {
+@@ -237,7 +244,7 @@ struct BASE_EXPORT LaunchOptions {
bool clear_environment = false;
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_memory__linux.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_memory__linux.cc
index 992b472eaa..62b3c0810b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_memory__linux.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_memory__linux.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/process/memory_linux.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/process/memory_linux.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/process/memory_linux.cc
@@ -28,6 +28,7 @@ void __libc_free(void*);
@@ -30,7 +30,7 @@ $NetBSD$
std::set_new_handler(&ReleaseReservationOrTerminate);
// If we're using glibc's allocator, the above functions will override
@@ -51,8 +54,10 @@ void EnableTerminationOnOutOfMemory() {
- #if BUILDFLAG(USE_ALLOCATOR_SHIM)
+ #if PA_BUILDFLAG(USE_ALLOCATOR_SHIM)
allocator_shim::SetCallNewHandlerOnMallocFailure(true);
#endif
+#endif
@@ -40,11 +40,11 @@ $NetBSD$
// ScopedAllowBlocking() has private constructor and it can only be used in
// friend classes/functions. Declaring a class is easier in this situation to
// avoid adding more dependency to thread_restrictions.h because of the
-@@ -112,6 +117,7 @@ bool AdjustOOMScoreHelper::AdjustOOMScor
+@@ -110,6 +115,7 @@ bool AdjustOOMScoreHelper::AdjustOOMScor
bool AdjustOOMScore(ProcessId process, int score) {
return AdjustOOMScoreHelper::AdjustOOMScore(process, score);
}
+#endif
bool UncheckedMalloc(size_t size, void** result) {
- #if BUILDFLAG(USE_ALLOCATOR_SHIM)
+ #if PA_BUILDFLAG(USE_ALLOCATOR_SHIM)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics.cc
index 98765e62bb..fc78e327ae 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/process/process_metrics.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/process/process_metrics.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/process/process_metrics.cc
@@ -17,7 +17,7 @@ namespace base {
namespace {
@@ -41,17 +41,12 @@ $NetBSD$
double ProcessMetrics::GetPlatformIndependentCPUUsage(
TimeDelta cumulative_cpu) {
TimeTicks time = TimeTicks::Now();
-@@ -126,7 +125,6 @@ double ProcessMetrics::GetPlatformIndepe
- double ProcessMetrics::GetPlatformIndependentCPUUsage() {
- return GetPlatformIndependentCPUUsage(GetCumulativeCPUUsage());
+@@ -129,10 +128,9 @@ ProcessMetrics::GetPlatformIndependentCP
+ return GetPlatformIndependentCPUUsage(cpu_usage);
+ });
}
-#endif
- #if BUILDFLAG(IS_WIN)
- double ProcessMetrics::GetPreciseCPUUsage(TimeDelta cumulative_cpu) {
-@@ -157,7 +155,7 @@ double ProcessMetrics::GetPreciseCPUUsag
- #endif // BUILDFLAG(IS_WIN)
-
#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
- BUILDFLAG(IS_AIX)
+ BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics.h
index a7940d3356..715025bd35 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics.h
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/process/process_metrics.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/process/process_metrics.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/process/process_metrics.h
-@@ -37,7 +37,7 @@
+@@ -38,7 +38,7 @@
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
@@ -15,16 +15,16 @@ $NetBSD$
#include <string>
#include <utility>
#include <vector>
-@@ -50,7 +50,7 @@ namespace base {
- // Full declaration is in process_metrics_iocounters.h.
- struct IoCounters;
+@@ -48,7 +48,7 @@
+
+ namespace base {
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
// Minor and major page fault counts since the process creation.
// Both counts are process-wide, and exclude child processes.
//
-@@ -105,7 +105,7 @@ class BASE_EXPORT ProcessMetrics {
+@@ -113,7 +113,7 @@ class BASE_EXPORT ProcessMetrics {
// convenience wrapper for CreateProcessMetrics().
static std::unique_ptr<ProcessMetrics> CreateCurrentProcessMetrics();
@@ -33,8 +33,8 @@ $NetBSD$
// Resident Set Size is a Linux/Android specific memory concept. Do not
// attempt to extend this to other platforms.
BASE_EXPORT size_t GetResidentSetSize() const;
-@@ -163,7 +163,7 @@ class BASE_EXPORT ProcessMetrics {
- #endif // BUILDFLAG(IS_WIN)
+@@ -147,7 +147,7 @@ class BASE_EXPORT ProcessMetrics {
+ base::expected<TimeDelta, ProcessCPUUsageError> GetCumulativeCPUUsage();
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
- BUILDFLAG(IS_AIX)
@@ -42,7 +42,7 @@ $NetBSD$
// Emits the cumulative CPU usage for all currently active threads since they
// were started into the output parameter (replacing its current contents).
// Threads that have already terminated will not be reported. Thus, the sum of
-@@ -219,7 +219,7 @@ class BASE_EXPORT ProcessMetrics {
+@@ -192,7 +192,7 @@ class BASE_EXPORT ProcessMetrics {
int GetOpenFdSoftLimit() const;
#endif // BUILDFLAG(IS_POSIX)
@@ -51,7 +51,7 @@ $NetBSD$
// Bytes of swap as reported by /proc/[pid]/status.
uint64_t GetVmSwapBytes() const;
-@@ -240,7 +240,7 @@ class BASE_EXPORT ProcessMetrics {
+@@ -213,7 +213,7 @@ class BASE_EXPORT ProcessMetrics {
#endif // !BUILDFLAG(IS_MAC)
#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -60,7 +60,7 @@ $NetBSD$
int CalculateIdleWakeupsPerSecond(uint64_t absolute_idle_wakeups);
#endif
#if BUILDFLAG(IS_APPLE)
-@@ -262,9 +262,7 @@ class BASE_EXPORT ProcessMetrics {
+@@ -235,12 +235,10 @@ class BASE_EXPORT ProcessMetrics {
// Used to store the previous times and CPU usage counts so we can
// compute the CPU usage between calls.
TimeTicks last_cpu_time_;
@@ -68,18 +68,13 @@ $NetBSD$
TimeDelta last_cumulative_cpu_;
-#endif
- #if BUILDFLAG(IS_WIN)
- TimeTicks last_cpu_time_for_precise_cpu_usage_;
-@@ -272,7 +270,7 @@ class BASE_EXPORT ProcessMetrics {
- #endif
-
#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
- BUILDFLAG(IS_AIX)
+ BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD)
// Same thing for idle wakeups.
TimeTicks last_idle_wakeups_time_;
uint64_t last_absolute_idle_wakeups_;
-@@ -313,7 +311,7 @@ BASE_EXPORT void IncreaseFdLimitTo(unsig
+@@ -281,7 +279,7 @@ BASE_EXPORT void IncreaseFdLimitTo(unsig
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_AIX) || \
@@ -88,7 +83,7 @@ $NetBSD$
// Data about system-wide memory consumption. Values are in KB. Available on
// Windows, Mac, Linux, Android and Chrome OS.
//
-@@ -348,7 +346,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
+@@ -316,7 +314,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
@@ -97,7 +92,7 @@ $NetBSD$
// This provides an estimate of available memory as described here:
// https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773
// NOTE: this is ONLY valid in kernels 3.14 and up. Its value will always
-@@ -363,7 +361,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
+@@ -331,7 +329,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
#endif
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -106,7 +101,7 @@ $NetBSD$
int buffers = 0;
int cached = 0;
int active_anon = 0;
-@@ -400,7 +398,7 @@ BASE_EXPORT bool GetSystemMemoryInfo(Sys
+@@ -368,7 +366,7 @@ BASE_EXPORT bool GetSystemMemoryInfo(Sys
// BUILDFLAG(IS_FUCHSIA)
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
@@ -115,7 +110,7 @@ $NetBSD$
// Parse the data found in /proc/<pid>/stat and return the sum of the
// CPU-related ticks. Returns -1 on parse error.
// Exposed for testing.
-@@ -588,7 +586,7 @@ class BASE_EXPORT SystemMetrics {
+@@ -563,7 +561,7 @@ class BASE_EXPORT SystemMetrics {
FRIEND_TEST_ALL_PREFIXES(SystemMetricsTest, SystemMetrics);
size_t committed_memory_;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics__freebsd.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics__freebsd.cc
index b8aa6277cf..b36a9acf88 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics__freebsd.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics__freebsd.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/process/process_metrics_freebsd.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/process/process_metrics_freebsd.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/process/process_metrics_freebsd.cc
-@@ -3,20 +3,38 @@
+@@ -3,19 +3,37 @@
// found in the LICENSE file.
#include "base/process/process_metrics.h"
@@ -23,7 +23,6 @@ $NetBSD$
+#include <libutil.h>
+
#include "base/memory/ptr_util.h"
- #include "base/process/process_metrics_iocounters.h"
+#include "base/values.h"
namespace base {
@@ -48,35 +47,70 @@ $NetBSD$
// static
std::unique_ptr<ProcessMetrics> ProcessMetrics::CreateProcessMetrics(
-@@ -24,20 +42,17 @@ std::unique_ptr<ProcessMetrics> ProcessM
+@@ -23,21 +41,53 @@ std::unique_ptr<ProcessMetrics> ProcessM
return WrapUnique(new ProcessMetrics(process));
}
--double ProcessMetrics::GetPlatformIndependentCPUUsage() {
-+TimeDelta ProcessMetrics::GetCumulativeCPUUsage() {
- struct kinfo_proc info;
+-base::expected<double, ProcessCPUUsageError>
+-ProcessMetrics::GetPlatformIndependentCPUUsage() {
+- struct kinfo_proc info;
- int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, process_};
- size_t length = sizeof(info);
-+ size_t length = sizeof(struct kinfo_proc);
-+ struct timeval tv;
++base::expected<ProcessMemoryInfo, ProcessUsageError>
++ProcessMetrics::GetMemoryInfo() const {
++ ProcessMemoryInfo memory_info;
++ kvm_t *kd = kvm_open(nullptr, "/dev/null", nullptr, O_RDONLY, "kvm_open");
++ struct kinfo_proc *pp;
++ int nproc;
- if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0)
-- return 0;
-+ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process_ };
+- return base::unexpected(ProcessCPUUsageError::kSystemError);
++ if (kd == nullptr) {
++ return base::unexpected(ProcessUsageError::kSystemError);
++ }
++
++ if ((pp = kvm_getprocs(kd, KERN_PROC_PID, process_, &nproc)) == nullptr) {
++ kvm_close(kd);
++ return base::unexpected(ProcessUsageError::kProcessNotFound);
++ }
++
++ if (nproc > 0) {
++ memory_info.resident_set_bytes = pp->ki_rssize << GetPageShift();
++ } else {
++ kvm_close(kd);
++ return base::unexpected(ProcessUsageError::kProcessNotFound);
-- return (info.ki_pctcpu / FSCALE) * 100.0;
--}
-+ if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0)
-+ return TimeDelta();
+- return base::ok(double{info.ki_pctcpu} / FSCALE * 100.0);
++ kvm_close(kd);
++ return memory_info;
+ }
--TimeDelta ProcessMetrics::GetCumulativeCPUUsage() {
+ base::expected<TimeDelta, ProcessCPUUsageError>
+ ProcessMetrics::GetCumulativeCPUUsage() {
- NOTREACHED();
-- return TimeDelta();
-+ return Microseconds(info.ki_runtime)
++ struct kinfo_proc info;
++ size_t length = sizeof(struct kinfo_proc);
++ struct timeval tv;
++
++ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process_ };
++
++ if (process_ == 0) {
++ return base::unexpected(ProcessCPUUsageError::kSystemError);
++ }
++
++ if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) {
++ return base::unexpected(ProcessCPUUsageError::kSystemError);
++ }
++
++ if (length == 0) {
++ return base::unexpected(ProcessCPUUsageError::kProcessNotFound);
++ }
++
++ return base::ok(Microseconds(info.ki_runtime));
}
- bool ProcessMetrics::GetIOCounters(IoCounters* io_counters) const {
-@@ -67,4 +82,228 @@ size_t GetSystemCommitCharge() {
+ size_t GetSystemCommitCharge() {
+@@ -63,4 +113,228 @@ size_t GetSystemCommitCharge() {
return mem_total - (mem_free*pagesize) - (mem_inactive*pagesize);
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics__netbsd.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics__netbsd.cc
index 7b865ae887..9f9c1a3507 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics__netbsd.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics__netbsd.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/process/process_metrics_netbsd.cc.orig 2024-12-21 10:25:09.621647360 +0000
+--- src/3rdparty/chromium/base/process/process_metrics_netbsd.cc.orig 2025-05-08 12:01:57.637816950 +0000
+++ src/3rdparty/chromium/base/process/process_metrics_netbsd.cc
-@@ -0,0 +1,174 @@
+@@ -0,0 +1,175 @@
+// Copyright 2013 The Chromium Authors
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
@@ -29,7 +29,8 @@ $NetBSD$
+
+ProcessMetrics::ProcessMetrics(ProcessHandle process) : process_(process) {}
+
-+TimeDelta ProcessMetrics::GetCumulativeCPUUsage() {
++base::expected<TimeDelta, ProcessCPUUsageError>
++ProcessMetrics::GetCumulativeCPUUsage() {
+ struct kinfo_proc2 info;
+ size_t length = sizeof(struct kinfo_proc2);
+ struct timeval tv;
@@ -38,13 +39,13 @@ $NetBSD$
+ sizeof(struct kinfo_proc2), 1 };
+
+ if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) {
-+ return TimeDelta();
++ return base::unexpected(ProcessCPUUsageError::kSystemError);
+ }
+
+ tv.tv_sec = info.p_rtime_sec;
+ tv.tv_usec = info.p_rtime_usec;
+
-+ return Microseconds(TimeValToMicroseconds(tv));
++ return base::ok(Microseconds(TimeValToMicroseconds(tv)));
+}
+
+// static
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics__openbsd.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics__openbsd.cc
index ea02ed8d59..4683ec7b75 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics__openbsd.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__metrics__openbsd.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/process/process_metrics_openbsd.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/process/process_metrics_openbsd.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/process/process_metrics_openbsd.cc
-@@ -6,11 +6,17 @@
+@@ -6,74 +6,85 @@
#include <stddef.h>
#include <stdint.h>
@@ -18,69 +18,110 @@ $NetBSD$
+#include <kvm.h>
#include "base/memory/ptr_util.h"
- #include "base/process/process_metrics_iocounters.h"
+ #include "base/types/expected.h"
+#include "base/values.h"
+#include "base/notreached.h"
namespace base {
-@@ -24,52 +30,28 @@ bool ProcessMetrics::GetIOCounters(IoCou
- return false;
- }
+-namespace {
++ProcessMetrics::ProcessMetrics(ProcessHandle process) : process_(process) {}
--static int GetProcessCPU(pid_t pid) {
-- struct kinfo_proc info;
+-base::expected<int, ProcessCPUUsageError> GetProcessCPU(pid_t pid) {
++base::expected<ProcessMemoryInfo, ProcessUsageError>
++ProcessMetrics::GetMemoryInfo() const {
++ ProcessMemoryInfo memory_info;
+ struct kinfo_proc info;
- size_t length;
- int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, pid,
- sizeof(struct kinfo_proc), 0 };
-+ProcessMetrics::ProcessMetrics(ProcessHandle process) : process_(process) {}
-
-- if (sysctl(mib, std::size(mib), NULL, &length, NULL, 0) < 0)
-- return -1;
-+TimeDelta ProcessMetrics::GetCumulativeCPUUsage() {
-+ struct kinfo_proc info;
+ size_t length = sizeof(struct kinfo_proc);
-+ struct timeval tv;
-- mib[5] = (length / sizeof(struct kinfo_proc));
+- if (sysctl(mib, std::size(mib), NULL, &length, NULL, 0) < 0) {
+- return base::unexpected(ProcessCPUUsageError::kSystemError);
+- }
+ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process_,
+ sizeof(struct kinfo_proc), 1 };
- if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0)
- return 0;
+- mib[5] = (length / sizeof(struct kinfo_proc));
++ if (process_ == 0) {
++ return base::unexpected(ProcessUsageError::kSystemError);
++ }
+
+ if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) {
+- return base::unexpected(ProcessCPUUsageError::kSystemError);
++ return base::unexpected(ProcessUsageError::kSystemError);
+ }
-- return info.p_pctcpu;
+- return base::ok(info.p_pctcpu);
-}
--
--double ProcessMetrics::GetPlatformIndependentCPUUsage() {
++ if (length == 0) {
++ return base::unexpected(ProcessUsageError::kProcessNotFound);
++ }
+
+-} // namespace
++ memory_info.resident_set_bytes =
++ checked_cast<uint64_t>(info.p_vm_rssize * getpagesize());
+
+-// static
+-std::unique_ptr<ProcessMetrics> ProcessMetrics::CreateProcessMetrics(
+- ProcessHandle process) {
+- return WrapUnique(new ProcessMetrics(process));
++ return memory_info;
+ }
+
+-base::expected<double, ProcessCPUUsageError>
+-ProcessMetrics::GetPlatformIndependentCPUUsage() {
- TimeTicks time = TimeTicks::Now();
--
++base::expected<TimeDelta, ProcessCPUUsageError>
++ProcessMetrics::GetCumulativeCPUUsage() {
++ struct kinfo_proc info;
++ size_t length = sizeof(struct kinfo_proc);
++ struct timeval tv;
++
++ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process_,
++ sizeof(struct kinfo_proc), 1 };
+
- if (last_cpu_time_.is_zero()) {
- // First call, just set the last values.
- last_cpu_time_ = time;
-- return 0;
-- }
--
-- int cpu = GetProcessCPU(process_);
-+ tv.tv_sec = info.p_rtime_sec;
-+ tv.tv_usec = info.p_rtime_usec;
+- return base::ok(0.0);
++ if (process_ == 0) {
++ return base::unexpected(ProcessCPUUsageError::kSystemError);
+ }
+
+- const base::expected<int, ProcessCPUUsageError> cpu = GetProcessCPU(process_);
+- if (!cpu.has_value()) {
+- return base::unexpected(cpu.error());
++ if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) {
++ return base::unexpected(ProcessCPUUsageError::kSystemError);
+ }
- last_cpu_time_ = time;
-- double percentage = static_cast<double>((cpu * 100.0) / FSCALE);
--
-- return percentage;
-+ return Microseconds(TimeValToMicroseconds(tv));
- }
+- return base::ok(double{cpu.value()} / FSCALE * 100.0);
+-}
++ if (length == 0) {
++ return base::unexpected(ProcessCPUUsageError::kProcessNotFound);
++ }
--TimeDelta ProcessMetrics::GetCumulativeCPUUsage() {
+-base::expected<TimeDelta, ProcessCPUUsageError>
+-ProcessMetrics::GetCumulativeCPUUsage() {
- NOTREACHED();
-- return TimeDelta();
--}
--
++ tv.tv_sec = info.p_rtime_sec;
++ tv.tv_usec = info.p_rtime_usec;
++
++ return base::ok(Microseconds(TimeValToMicroseconds(tv)));
+ }
+
-ProcessMetrics::ProcessMetrics(ProcessHandle process)
- : process_(process),
- last_cpu_(0) {}
--
++// static
++std::unique_ptr<ProcessMetrics> ProcessMetrics::CreateProcessMetrics(
++ ProcessHandle process) {
++ return WrapUnique(new ProcessMetrics(process));
++}
+
size_t GetSystemCommitCharge() {
int mib[] = { CTL_VM, VM_METER };
- int pagesize;
@@ -88,7 +129,7 @@ $NetBSD$
struct vmtotal vmtotal;
unsigned long mem_total, mem_free, mem_inactive;
size_t len = sizeof(vmtotal);
-@@ -81,9 +63,136 @@ size_t GetSystemCommitCharge() {
+@@ -85,9 +96,115 @@ size_t GetSystemCommitCharge() {
mem_free = vmtotal.t_free;
mem_inactive = vmtotal.t_vm - vmtotal.t_avm;
@@ -99,37 +140,16 @@ $NetBSD$
}
+int ProcessMetrics::GetOpenFdCount() const {
-+#if 0
-+ struct kinfo_file *files;
-+ kvm_t *kd = NULL;
-+ int total_count = 0;
-+ char errbuf[_POSIX2_LINE_MAX];
-+
-+ if ((kd = kvm_openfiles(NULL, NULL, NULL, KVM_NO_FILES, errbuf)) == NULL)
-+ goto out;
-+
-+ if ((files = kvm_getfiles(kd, KERN_FILE_BYPID, process_,
-+ sizeof(struct kinfo_file), &total_count)) == NULL) {
-+ total_count = 0;
-+ goto out;
-+ }
-+
-+ kvm_close(kd);
-+
-+out:
-+ return total_count;
-+#endif
-+ return getdtablecount();
++ return (process_ == getpid()) ? getdtablecount() : -1;
+}
+
+int ProcessMetrics::GetOpenFdSoftLimit() const {
+ return getdtablesize();
-+// return GetMaxFds();
+}
+
-+uint64_t ProcessMetrics::GetVmSwapBytes() const {
++bool ProcessMetrics::GetPageFaultCounts(PageFaultCounts* counts) const {
+ NOTIMPLEMENTED();
-+ return 0;
++ return false;
+}
+
+bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo) {
@@ -159,14 +179,14 @@ $NetBSD$
+ res.Set("available", available);
+ res.Set("buffers", buffers);
+ res.Set("cached", cached);
-+ res.Set("active_anon", active_anon);
++ res.Set("active_anon", active_anon);
+ res.Set("inactive_anon", inactive_anon);
+ res.Set("active_file", active_file);
+ res.Set("inactive_file", inactive_file);
+ res.Set("swap_total", swap_total);
+ res.Set("swap_free", swap_free);
+ res.Set("swap_used", swap_total - swap_free);
-+ res.Set("dirty", dirty);
++ res.Set("dirty", dirty);
+ res.Set("reclaimable", reclaimable);
+
+ NOTIMPLEMENTED();
@@ -183,7 +203,7 @@ $NetBSD$
+ NOTIMPLEMENTED();
+
+ return res;
-+}
++}
+
+SystemDiskInfo::SystemDiskInfo() {
+ reads = 0;
@@ -205,7 +225,7 @@ $NetBSD$
+
+Value::Dict SystemDiskInfo::ToDict() const {
+ Value::Dict res;
-+
++
+ // Write out uint64_t variables as doubles.
+ // Note: this may discard some precision, but for JS there's no other option.
+ res.Set("reads", static_cast<double>(reads));
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__posix.cc
index 95eb82d2a6..77b5654be6 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__posix.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/process/process_posix.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/process/process_posix.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/process/process_posix.cc
@@ -23,10 +23,15 @@
#include "base/trace_event/base_tracing.h"
@@ -23,16 +23,16 @@ $NetBSD$
#if BUILDFLAG(CLANG_PROFILING)
#include "base/test/clang_profiling.h"
#endif
-@@ -93,7 +98,7 @@ bool WaitpidWithTimeout(base::ProcessHan
- return ret_pid > 0;
+@@ -99,7 +104,7 @@ bool WaitpidWithTimeout(base::ProcessHan
}
+ #endif
-#if BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
// Using kqueue on Mac so that we can wait on non-child processes.
// We can't use kqueues on child processes because we need to reap
// our own children using wait.
-@@ -198,7 +203,7 @@ bool WaitForExitWithTimeoutImpl(base::Pr
+@@ -376,7 +381,7 @@ bool Process::WaitForExitWithTimeoutImpl
const bool exited = (parent_pid < 0);
if (!exited && parent_pid != our_pid) {
@@ -41,7 +41,7 @@ $NetBSD$
// On Mac we can wait on non child processes.
return WaitForSingleNonChildProcess(handle, timeout);
#else
-@@ -387,7 +392,56 @@ void Process::Exited(int exit_code) cons
+@@ -413,7 +418,56 @@ void Process::Exited(int exit_code) cons
int Process::GetOSPriority() const {
DCHECK(IsValid());
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.cc
index e6bee75af9..475daa10e9 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/profiler/sampling_profiler_thread_token.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/profiler/sampling_profiler_thread_token.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/profiler/sampling_profiler_thread_token.cc
@@ -6,7 +6,7 @@
@@ -21,6 +21,6 @@ $NetBSD$
return {id, pthread_self()};
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- absl::optional<uintptr_t> maybe_stack_base =
+ std::optional<uintptr_t> maybe_stack_base =
GetThreadStackBaseAddress(id, pthread_self());
return {id, maybe_stack_base};
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_stack__base__address__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_stack__base__address__posix.cc
index 9714e4451c..cf2c19d683 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_stack__base__address__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_stack__base__address__posix.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/profiler/stack_base_address_posix.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/profiler/stack_base_address_posix.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/profiler/stack_base_address_posix.cc
@@ -17,6 +17,14 @@
#include "base/files/scoped_file.h"
@@ -21,7 +21,7 @@ $NetBSD$
#if BUILDFLAG(IS_CHROMEOS)
extern "C" void* __libc_stack_end;
#endif
-@@ -45,7 +53,21 @@ absl::optional<uintptr_t> GetAndroidMain
+@@ -45,7 +53,21 @@ std::optional<uintptr_t> GetAndroidMainT
#if !BUILDFLAG(IS_LINUX)
uintptr_t GetThreadStackBaseAddressImpl(pthread_t pthread_id) {
@@ -58,9 +58,9 @@ $NetBSD$
const uintptr_t base_address = reinterpret_cast<uintptr_t>(address) + size;
return base_address;
}
-@@ -80,7 +104,7 @@ absl::optional<uintptr_t> GetThreadStack
+@@ -80,7 +104,7 @@ std::optional<uintptr_t> GetThreadStackB
// trying to work around the problem.
- return absl::nullopt;
+ return std::nullopt;
#else
- const bool is_main_thread = id == GetCurrentProcId();
+ const bool is_main_thread = id == checked_cast<PlatformThreadId>(GetCurrentProcId());
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_stack__sampling__profiler__unittest.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_stack__sampling__profiler__unittest.cc
index 041f1d54a3..f7b190bf55 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_stack__sampling__profiler__unittest.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_stack__sampling__profiler__unittest.cc
@@ -4,12 +4,12 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/profiler/stack_sampling_profiler_unittest.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/profiler/stack_sampling_profiler_unittest.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/profiler/stack_sampling_profiler_unittest.cc
-@@ -41,7 +41,7 @@
+@@ -45,7 +45,7 @@
+
#include <intrin.h>
#include <malloc.h>
- #include <windows.h>
-#else
+#elif !BUILDFLAG(IS_BSD)
#include <alloca.h>
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_thread__delegate__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_thread__delegate__posix.cc
index 973bcdf845..eb36b7fea1 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_thread__delegate__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_profiler_thread__delegate__posix.cc
@@ -4,21 +4,21 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/profiler/thread_delegate_posix.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/profiler/thread_delegate_posix.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/profiler/thread_delegate_posix.cc
-@@ -13,7 +13,7 @@
+@@ -19,7 +19,7 @@
+ #include "base/process/process_handle.h"
#include "build/build_config.h"
- #include "third_party/abseil-cpp/absl/types/optional.h"
-#if !(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
+#if !(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD))
#include "base/profiler/stack_base_address_posix.h"
#endif
-@@ -22,7 +22,7 @@ namespace base {
+@@ -28,7 +28,7 @@ namespace base {
std::unique_ptr<ThreadDelegatePosix> ThreadDelegatePosix::Create(
SamplingProfilerThreadToken thread_token) {
- absl::optional<uintptr_t> base_address;
+ std::optional<uintptr_t> base_address;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
base_address = thread_token.stack_base_address;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_rand__util__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_rand__util__posix.cc
index 678b59fce3..c2b33750b2 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_rand__util__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_rand__util__posix.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/rand_util_posix.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/rand_util_posix.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/rand_util_posix.cc
-@@ -23,7 +23,7 @@
+@@ -28,7 +28,7 @@
#include "base/time/time.h"
#include "build/build_config.h"
@@ -14,8 +14,8 @@ $NetBSD$
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_NACL) && !BUILDFLAG(IS_BSD)
#include "third_party/lss/linux_syscall_support.h"
#elif BUILDFLAG(IS_MAC)
- // TODO(crbug.com/995996): Waiting for this header to appear in the iOS SDK.
-@@ -40,6 +40,7 @@ namespace base {
+ // TODO(crbug.com/40641285): Waiting for this header to appear in the iOS SDK.
+@@ -44,6 +44,7 @@ namespace base {
namespace {
@@ -23,7 +23,7 @@ $NetBSD$
#if BUILDFLAG(IS_AIX)
// AIX has no 64-bit support for O_CLOEXEC.
static constexpr int kOpenFlags = O_RDONLY;
-@@ -64,10 +65,11 @@ class URandomFd {
+@@ -68,10 +69,11 @@ class URandomFd {
private:
const int fd_;
};
@@ -39,12 +39,12 @@ $NetBSD$
@@ -177,6 +179,7 @@ bool UseBoringSSLForRandBytes() {
namespace {
- void RandBytes(span<uint8_t> output, bool avoid_allocation) {
+ void RandBytesInternal(span<uint8_t> output, bool avoid_allocation) {
+#if !BUILDFLAG(IS_BSD)
#if !BUILDFLAG(IS_NACL)
// The BoringSSL experiment takes priority over everything else.
if (!avoid_allocation && internal::UseBoringSSLForRandBytes()) {
-@@ -215,6 +218,9 @@ void RandBytes(span<uint8_t> output, boo
+@@ -213,6 +216,9 @@ void RandBytesInternal(span<uint8_t> out
const int urandom_fd = GetUrandomFD();
const bool success = ReadFromFD(urandom_fd, as_writable_chars(output));
CHECK(success);
@@ -54,8 +54,8 @@ $NetBSD$
}
} // namespace
-@@ -239,9 +245,11 @@ void RandBytes(void* output, size_t outp
- RandBytes(make_span(reinterpret_cast<uint8_t*>(output), output_length));
+@@ -232,9 +238,11 @@ void RandBytes(span<uint8_t> output) {
+ RandBytesInternal(output, /*avoid_allocation=*/false);
}
+#if !BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_system_sys__info__freebsd.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_system_sys__info__freebsd.cc
index f098969735..2c6c5bf1d0 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_system_sys__info__freebsd.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_system_sys__info__freebsd.cc
@@ -1,12 +1,12 @@
-$NetBSD$
+$NetBSD: patch-base_system_sys__info__freebsd.cc,v 1.2 2025/05/16 16:08:15 wiz Exp $
* Part of patchset to build chromium on NetBSD
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/system/sys_info_freebsd.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/system/sys_info_freebsd.cc.orig 2025-05-05 19:21:24.000000000 +0000
+++ src/3rdparty/chromium/base/system/sys_info_freebsd.cc
-@@ -9,25 +9,87 @@
+@@ -9,28 +9,103 @@
#include <sys/sysctl.h>
#include "base/notreached.h"
@@ -64,7 +64,7 @@ $NetBSD$
+
+ if (r == -1) {
NOTREACHED();
- return 0;
++ return 0;
}
- return static_cast<int64_t>(pages) * page_size;
+
@@ -99,8 +99,7 @@ $NetBSD$
+
if (sysctlbyname("kern.ipc.shmmax", &limit, &size, NULL, 0) < 0) {
NOTREACHED();
- return 0;
-@@ -35,4 +97,16 @@ uint64_t SysInfo::MaxSharedMemorySize()
+ }
return static_cast<uint64_t>(limit);
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_system_sys__info__openbsd.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_system_sys__info__openbsd.cc
index bbd2ffae9f..2461e951ad 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_system_sys__info__openbsd.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_system_sys__info__openbsd.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/system/sys_info_openbsd.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/system/sys_info_openbsd.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/system/sys_info_openbsd.cc
@@ -12,6 +12,7 @@
@@ -30,7 +30,7 @@ $NetBSD$
int ncpu;
size_t size = sizeof(ncpu);
if (sysctl(mib, std::size(mib), &ncpu, &size, NULL, 0) < 0) {
-@@ -41,7 +47,23 @@ int SysInfo::NumberOfProcessors() {
+@@ -40,7 +46,23 @@ int SysInfo::NumberOfProcessors() {
// static
uint64_t SysInfo::AmountOfPhysicalMemoryImpl() {
@@ -55,7 +55,7 @@ $NetBSD$
}
// static
-@@ -56,16 +78,28 @@ uint64_t SysInfo::MaxSharedMemorySize()
+@@ -55,15 +77,27 @@ uint64_t SysInfo::MaxSharedMemorySize()
int mib[] = {CTL_KERN, KERN_SHMINFO, KERN_SHMINFO_SHMMAX};
size_t limit;
size_t size = sizeof(limit);
@@ -64,7 +64,6 @@ $NetBSD$
+ goto out;
if (sysctl(mib, std::size(mib), &limit, &size, NULL, 0) < 0) {
NOTREACHED();
- return 0;
}
- return static_cast<uint64_t>(limit);
+ shmmax = static_cast<uint64_t>(limit);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_threading_platform__thread__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_threading_platform__thread__posix.cc
index 068a08ae7a..8f245c67ef 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_threading_platform__thread__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_threading_platform__thread__posix.cc
@@ -4,16 +4,15 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/threading/platform_thread_posix.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/threading/platform_thread_posix.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/threading/platform_thread_posix.cc
-@@ -78,12 +78,12 @@ void* ThreadFunc(void* params) {
+@@ -77,11 +77,11 @@ void* ThreadFunc(void* params) {
if (!thread_params->joinable)
base::DisallowSingleton();
--#if BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) && BUILDFLAG(USE_STARSCAN)
-+#if BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) && BUILDFLAG(USE_STARSCAN) && !BUILDFLAG(IS_BSD)
- partition_alloc::internal::PCScan::NotifyThreadCreated(
- partition_alloc::internal::GetStackPointer());
+-#if PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC)
++#if PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) && !BUILDFLAG(IS_BSD)
+ partition_alloc::internal::StackTopRegistry::Get().NotifyThreadCreated();
#endif
-#if !BUILDFLAG(IS_NACL)
@@ -21,7 +20,7 @@ $NetBSD$
#if BUILDFLAG(IS_APPLE)
PlatformThread::SetCurrentThreadRealtimePeriodValue(
delegate->GetRealtimePeriod());
-@@ -267,6 +267,8 @@ PlatformThreadId PlatformThreadBase::Cur
+@@ -265,6 +265,8 @@ PlatformThreadId PlatformThreadBase::Cur
return reinterpret_cast<int32_t>(pthread_self());
#elif BUILDFLAG(IS_POSIX) && BUILDFLAG(IS_AIX)
return pthread_self();
@@ -30,7 +29,7 @@ $NetBSD$
#elif BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_AIX)
return reinterpret_cast<int64_t>(pthread_self());
#endif
-@@ -357,7 +359,7 @@ void PlatformThreadBase::Detach(Platform
+@@ -355,7 +357,7 @@ void PlatformThreadBase::Detach(Platform
// static
bool PlatformThreadBase::CanChangeThreadType(ThreadType from, ThreadType to) {
@@ -39,7 +38,7 @@ $NetBSD$
return false;
#else
if (from >= to) {
-@@ -378,6 +380,9 @@ void SetCurrentThreadTypeImpl(ThreadType
+@@ -376,6 +378,9 @@ void SetCurrentThreadTypeImpl(ThreadType
MessagePumpType pump_type_hint) {
#if BUILDFLAG(IS_NACL)
NOTIMPLEMENTED();
@@ -49,7 +48,7 @@ $NetBSD$
#else
if (internal::SetCurrentThreadTypeForPlatform(thread_type, pump_type_hint))
return;
-@@ -400,7 +405,7 @@ void SetCurrentThreadTypeImpl(ThreadType
+@@ -398,7 +403,7 @@ void SetCurrentThreadTypeImpl(ThreadType
// static
ThreadPriorityForTest PlatformThreadBase::GetCurrentThreadPriorityForTest() {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_trace__event_malloc__dump__provider.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_trace__event_malloc__dump__provider.cc
index 2cb3259d64..31ac587f34 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_trace__event_malloc__dump__provider.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_trace__event_malloc__dump__provider.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/trace_event/malloc_dump_provider.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/trace_event/malloc_dump_provider.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/trace_event/malloc_dump_provider.cc
-@@ -25,6 +25,8 @@
+@@ -28,6 +28,8 @@
#if BUILDFLAG(IS_APPLE)
#include <malloc/malloc.h>
@@ -15,16 +15,16 @@ $NetBSD$
#else
#include <malloc.h>
#endif
-@@ -182,7 +184,7 @@ void ReportAppleAllocStats(size_t* total
+@@ -178,7 +180,7 @@ void ReportAppleAllocStats(size_t* total
- #if (BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) && BUILDFLAG(IS_ANDROID)) || \
- (!BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) && !BUILDFLAG(IS_WIN) && \
+ #if (PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) && BUILDFLAG(IS_ANDROID)) || \
+ (!PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) && !BUILDFLAG(IS_WIN) && \
- !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_FUCHSIA))
+ !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_FUCHSIA) && !BUILDFLAG(IS_BSD))
void ReportMallinfoStats(ProcessMemoryDump* pmd,
size_t* total_virtual_size,
size_t* resident_size,
-@@ -353,6 +355,9 @@ bool MallocDumpProvider::OnMemoryDump(co
+@@ -368,6 +370,9 @@ bool MallocDumpProvider::OnMemoryDump(co
&allocated_objects_count);
#elif BUILDFLAG(IS_FUCHSIA)
// TODO(fuchsia): Port, see https://crbug.com/706592.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_trace__event_process__memory__dump.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_trace__event_process__memory__dump.cc
index 373da6807b..acd5f3bdc7 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_trace__event_process__memory__dump.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_trace__event_process__memory__dump.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/trace_event/process_memory_dump.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/base/trace_event/process_memory_dump.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/base/trace_event/process_memory_dump.cc
-@@ -134,7 +134,7 @@ absl::optional<size_t> ProcessMemoryDump
+@@ -143,7 +143,7 @@ std::optional<size_t> ProcessMemoryDump:
for (size_t i = 0; i < page_count; i++)
resident_page_count += vec[i].VirtualAttributes.Valid;
-#elif BUILDFLAG(IS_FUCHSIA)
+#elif BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- // TODO(crbug.com/851760): Implement counting resident bytes.
+ // TODO(crbug.com/42050620): Implement counting resident bytes.
// For now, log and avoid unused variable warnings.
NOTIMPLEMENTED_LOG_ONCE();
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_clang_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_clang_BUILD.gn
index c1017bf6e0..64d10d6ce8 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_clang_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_clang_BUILD.gn
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/build/config/clang/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/build/config/clang/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/build/config/clang/BUILD.gn
-@@ -173,6 +173,11 @@ clang_lib("compiler_builtins") {
- # the Rust stdlib's intrinsics here.
+@@ -257,6 +257,11 @@ clang_lib("compiler_profile") {
+ # This is only used when `toolchain_has_rust` to support Rust linking.
#
# Don't define libname which makes this target do nothing.
+ } else if (is_bsd) {
@@ -16,5 +16,5 @@ $NetBSD$
+ #
+ # Don't define libname which makes this target do nothing.
} else if (is_mac) {
- libname = "osx"
+ libname = "profile_osx"
} else if (is_ios) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_compiler_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_compiler_BUILD.gn
index 0db1533865..ce6f2786be 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_compiler_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_compiler_BUILD.gn
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/build/config/compiler/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/build/config/compiler/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/build/config/compiler/BUILD.gn
-@@ -210,7 +210,7 @@ declare_args() {
+@@ -205,7 +205,7 @@ declare_args() {
# This greatly reduces the size of debug builds, at the cost of
# debugging information which is required by some specialized
# debugging tools.
@@ -15,7 +15,7 @@ $NetBSD$
}
declare_args() {
-@@ -274,13 +274,16 @@ config("default_include_dirs") {
+@@ -262,13 +262,16 @@ config("default_include_dirs") {
# Compiler instrumentation can introduce dependencies in DSOs to symbols in
# the executable they are loaded into, so they are unresolved at link-time.
config("no_unresolved_symbols") {
@@ -33,7 +33,7 @@ $NetBSD$
}
# compiler ---------------------------------------------------------------------
-@@ -568,6 +571,10 @@ config("compiler") {
+@@ -556,6 +559,10 @@ config("compiler") {
}
}
@@ -44,16 +44,16 @@ $NetBSD$
# Linux-specific compiler flags setup.
# ------------------------------------
if (use_gold) {
-@@ -643,7 +650,7 @@ config("compiler") {
+@@ -617,7 +624,7 @@ config("compiler") {
ldflags += [ "-Wl,-z,keep-text-section-prefix" ]
}
-- if (is_clang && !is_nacl && current_os != "zos" && !is_qtwebengine) {
-+ if (is_clang && !is_nacl && !is_bsd && current_os != "zos" && !is_qtwebengine) {
+- if (is_clang && !is_nacl && !is_qtwebengine) {
++ if (is_clang && !is_nacl && !is_bsd && !is_qtwebengine) {
cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ]
if (save_reproducers_on_lld_crash && use_lld) {
ldflags += [
-@@ -1232,7 +1239,7 @@ config("compiler_cpu_abi") {
+@@ -1287,7 +1294,7 @@ config("compiler_cpu_abi") {
]
}
} else if (current_cpu == "arm") {
@@ -62,7 +62,7 @@ $NetBSD$
!(is_chromeos_lacros && is_chromeos_device)) {
cflags += [ "--target=arm-linux-gnueabihf" ]
ldflags += [ "--target=arm-linux-gnueabihf" ]
-@@ -1250,7 +1257,7 @@ config("compiler_cpu_abi") {
+@@ -1305,7 +1312,7 @@ config("compiler_cpu_abi") {
cflags += [ "-mtune=$arm_tune" ]
}
} else if (current_cpu == "arm64") {
@@ -71,7 +71,7 @@ $NetBSD$
!(is_chromeos_lacros && is_chromeos_device)) {
cflags += [ "--target=aarch64-linux-gnu" ]
ldflags += [ "--target=aarch64-linux-gnu" ]
-@@ -1585,7 +1592,7 @@ config("compiler_deterministic") {
+@@ -1640,7 +1647,7 @@ config("compiler_deterministic") {
# different build directory like "out/feature_a" and "out/feature_b" if
# we build same files with same compile flag.
# Other paths are already given in relative, no need to normalize them.
@@ -80,25 +80,25 @@ $NetBSD$
# TODO(https://crbug.com/1231236): Use -ffile-compilation-dir= here.
cflags += [
"-Xclang",
-@@ -1637,7 +1644,7 @@ config("compiler_deterministic") {
+@@ -1698,7 +1705,7 @@ config("compiler_deterministic") {
}
config("clang_revision") {
-- if (is_clang && clang_base_path == default_clang_base_path) {
-+ if (is_clang && !is_bsd && clang_base_path == default_clang_base_path) {
+- if (is_clang && clang_base_path == default_clang_base_path &&
++ if (is_clang && !is_bsd && clang_base_path == default_clang_base_path &&
+ current_os != "zos") {
update_args = [
"--print-revision",
- "--verify-version=$clang_version",
-@@ -2107,7 +2114,7 @@ config("default_warnings") {
- "-Wno-thread-safety-reference-return",
+@@ -2208,7 +2215,7 @@ config("default_warnings") {
+ "-Wenum-compare-conditional",
]
- if (!is_nacl) {
+ if (!is_nacl && !is_openbsd) {
cflags_cc += [
- # TODO(https://crbug.com/1513724): Fix and re-enable.
+ # TODO(crbug.com/41486292): Fix and re-enable.
"-Wno-c++11-narrowing-const-reference",
-@@ -2832,7 +2839,7 @@ config("afdo_optimize_size") {
+@@ -2961,7 +2968,7 @@ config("afdo_optimize_size") {
# There are some targeted places that AFDO regresses, so we provide a separate
# config to allow AFDO to be disabled per-target.
config("afdo") {
@@ -107,7 +107,7 @@ $NetBSD$
cflags = []
if (clang_emit_debug_info_for_profiling) {
# Add the following flags to generate debug info for profiling.
-@@ -2859,7 +2866,7 @@ config("afdo") {
+@@ -2988,7 +2995,7 @@ config("afdo") {
cflags += [ "-Wno-backend-plugin" ]
inputs = [ _clang_sample_profile ]
}
@@ -116,12 +116,12 @@ $NetBSD$
cflags = [ "-fauto-profile=${auto_profile_path}" ]
inputs = [ auto_profile_path ]
}
-@@ -3023,7 +3030,7 @@ config("symbols") {
- configs += [ "//build/config:compress_debug_sections" ]
+@@ -3165,7 +3172,7 @@ config("symbols") {
+ cflags += [ "-gomit-unreferenced-methods" ]
}
-- if (is_clang && (!is_nacl || is_nacl_saigo) && current_os != "zos" && !is_qtwebengine) {
-+ if (is_clang && (!is_nacl || is_nacl_saigo) && !is_bsd && current_os != "zos" && !is_qtwebengine) {
+- if (is_clang && (!is_nacl || is_nacl_saigo) && !is_qtwebengine) {
++ if (is_clang && (!is_nacl || is_nacl_saigo) && !is_bsd && !is_qtwebengine) {
if (is_apple) {
- # TODO(https://crbug.com/1050118): Investigate missing debug info on mac.
+ # TODO(crbug.com/40117949): Investigate missing debug info on mac.
# Make sure we don't use constructor homing on mac.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_toolchain_gcc__toolchain.gni b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_toolchain_gcc__toolchain.gni
index 5cc2be9eac..a5b01ddde8 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_toolchain_gcc__toolchain.gni
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_toolchain_gcc__toolchain.gni
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/build/toolchain/gcc_toolchain.gni.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/build/toolchain/gcc_toolchain.gni.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/build/toolchain/gcc_toolchain.gni
-@@ -53,6 +53,13 @@ if (enable_resource_allowlist_generation
+@@ -56,6 +56,13 @@ if (enable_resource_allowlist_generation
"enable_resource_allowlist_generation=true does not work for target_os=$target_os")
}
@@ -20,8 +20,8 @@ $NetBSD$
# This template defines a toolchain for something that works like gcc
# (including clang).
#
-@@ -900,22 +907,12 @@ template("gcc_toolchain") {
- # use_gold too.
+@@ -918,22 +925,12 @@ template("gcc_toolchain") {
+ # actually just be doing a native compile.
template("clang_toolchain") {
gcc_toolchain(target_name) {
- _path = "$clang_base_path/bin"
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_toolchain_toolchain.gni b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_toolchain_toolchain.gni
index 36e225f0e0..f0b31c81ff 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_toolchain_toolchain.gni
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_toolchain_toolchain.gni
@@ -3,14 +3,14 @@ $NetBSD$
* Based on OpenBSD's qt6-qtwebengine patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/build/toolchain/toolchain.gni.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/build/toolchain/toolchain.gni.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/build/toolchain/toolchain.gni
@@ -72,7 +72,7 @@ if (host_os == "mac") {
host_shlib_extension = ".dylib"
} else if (host_os == "win") {
host_shlib_extension = ".dll"
--} else if (host_os == "linux" || host_os == "aix") {
-+} else if (host_os == "linux" || host_os == "aix" || host_os == "openbsd" || host_os == "netbsd") {
+-} else if (host_os == "linux" || host_os == "aix" || host_os == "zos") {
++} else if (host_os == "linux" || host_os == "aix" || host_os == "zos" || host_os == "openbsd" || host_os == "netbsd") {
host_shlib_extension = ".so"
} else {
assert(false, "Host platform not supported")
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_BUILD.gn
index a7dc0f882e..1e2728701d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_BUILD.gn
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/extensions/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/extensions/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/extensions/BUILD.gn
-@@ -1387,6 +1387,10 @@ static_library("extensions") {
- ]
+@@ -1496,6 +1496,10 @@ source_set("extensions") {
+ deps += [ "//chrome/services/printing/public/mojom" ]
}
+ if (is_bsd) {
@@ -15,5 +15,5 @@ $NetBSD$
+ }
+
if (enable_pdf) {
- sources += [
- "api/pdf_viewer_private/pdf_viewer_private_event_router.cc",
+ deps += [
+ "//chrome/browser/pdf",
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_api__browser__context__keyed__service__factories.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_api__browser__context__keyed__service__factories.cc
index 062d0a09df..4eb509e43d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_api__browser__context__keyed__service__factories.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_api__browser__context__keyed__service__factories.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/extensions/api/api_browser_context_keyed_service_factories.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/extensions/api/api_browser_context_keyed_service_factories.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/extensions/api/api_browser_context_keyed_service_factories.cc
-@@ -44,7 +44,7 @@
- #include "extensions/browser/api/networking_private/networking_private_delegate_factory.h"
+@@ -41,7 +41,7 @@
+ #include "pdf/buildflags.h"
#include "printing/buildflags/buildflags.h"
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
@@ -15,7 +15,7 @@ $NetBSD$
#include "chrome/browser/extensions/api/system_indicator/system_indicator_manager_factory.h"
#endif
-@@ -127,7 +127,7 @@ void EnsureApiBrowserContextKeyedService
+@@ -117,7 +117,7 @@ void EnsureApiBrowserContextKeyedService
extensions::SettingsPrivateEventRouterFactory::GetInstance();
extensions::SettingsOverridesAPI::GetFactoryInstance();
extensions::SidePanelService::GetFactoryInstance();
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_management_chrome__management__api__delegate.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_management_chrome__management__api__delegate.cc
index 13219eb32d..098f23e5ea 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_management_chrome__management__api__delegate.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_management_chrome__management__api__delegate.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/extensions/api/management/chrome_management_api_delegate.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/extensions/api/management/chrome_management_api_delegate.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/extensions/api/management/chrome_management_api_delegate.cc
-@@ -405,7 +405,7 @@ bool ChromeManagementAPIDelegate::Launch
+@@ -417,7 +417,7 @@ bool ChromeManagementAPIDelegate::Launch
apps::LaunchContainer launch_container =
GetLaunchContainer(extensions::ExtensionPrefs::Get(context), extension);
Profile* profile = Profile::FromBrowserContext(context);
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || \
- BUILDFLAG(IS_FUCHSIA)
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
if (extensions::IsExtensionUnsupportedDeprecatedApp(profile,
extension->id())) {
+ return false;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc
index 14b28f5747..e4a8019722 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
-@@ -279,7 +279,11 @@ bool ChromeRuntimeAPIDelegate::GetPlatfo
+@@ -288,7 +288,11 @@ bool ChromeRuntimeAPIDelegate::GetPlatfo
} else if (strcmp(os, "linux") == 0) {
info->os = extensions::api::runtime::PlatformOs::kLinux;
} else if (strcmp(os, "openbsd") == 0) {
@@ -16,6 +16,6 @@ $NetBSD$
+ info->os = extensions::api::runtime::PlatformOs::kLinux;
+ } else if (strcmp(os, "netbsd") == 0) {
+ info->os = extensions::api::runtime::PlatformOs::kLinux;
- } else if (strcmp(os, "fuchsia") == 0) {
- info->os = extensions::api::runtime::PlatformOs::kFuchsia;
} else {
+ NOTREACHED_IN_MIGRATION() << "Platform not supported: " << os;
+ return false;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_settings__private_prefs__util.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_settings__private_prefs__util.cc
index a23e915f6c..6b7066bdc9 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_settings__private_prefs__util.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_settings__private_prefs__util.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/extensions/api/settings_private/prefs_util.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/extensions/api/settings_private/prefs_util.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/extensions/api/settings_private/prefs_util.cc
-@@ -196,7 +196,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
- (*s_allowlist)[::prefs::kSidePanelHorizontalAlignment] =
+@@ -211,7 +211,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
+ (*s_allowlist)[tab_groups::prefs::kAutoPinNewTabGroups] =
settings_api::PrefType::kBoolean;
-#if BUILDFLAG(IS_LINUX)
@@ -15,9 +15,9 @@ $NetBSD$
(*s_allowlist)[::prefs::kUseCustomChromeFrame] =
settings_api::PrefType::kBoolean;
#endif
-@@ -205,7 +205,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
- // Appearance settings.
+@@ -223,7 +223,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
(*s_allowlist)[::prefs::kCurrentThemeID] = settings_api::PrefType::kString;
+ (*s_allowlist)[::prefs::kPinnedActions] = settings_api::PrefType::kList;
(*s_allowlist)[::prefs::kPolicyThemeColor] = settings_api::PrefType::kNumber;
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_tabs_tabs__api.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_tabs_tabs__api.cc
index b150de5e0a..0bd05612f5 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_tabs_tabs__api.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_tabs_tabs__api.cc
@@ -4,12 +4,12 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/extensions/api/tabs/tabs_api.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/extensions/api/tabs/tabs_api.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/extensions/api/tabs/tabs_api.cc
-@@ -836,7 +836,7 @@ ExtensionFunction::ResponseAction Window
+@@ -886,7 +886,7 @@ ExtensionFunction::ResponseAction Window
// minimized.
- // TODO(crbug.com/1410400): Remove this workaround when linux is fixed.
- // TODO(crbug.com/1410400): Find a fix for wayland as well.
+ // TODO(crbug.com/40254339): Remove this workaround when linux is fixed.
+ // TODO(crbug.com/40254339): Find a fix for wayland as well.
-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11)
if (new_window->initial_show_state() == ui::SHOW_STATE_MINIMIZED) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_webstore__private_webstore__private__api.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_webstore__private_webstore__private__api.cc
index 0287d6a434..d850992845 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_webstore__private_webstore__private__api.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_webstore__private_webstore__private__api.cc
@@ -4,12 +4,12 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
-@@ -904,7 +904,7 @@ void WebstorePrivateBeginInstallWithMani
- RequestExtensionApproval(contents);
- return;
- }
+@@ -915,7 +915,7 @@ void WebstorePrivateBeginInstallWithMani
+ #if BUILDFLAG(IS_CHROMEOS)
+ RequestExtensionApproval(contents);
+ return;
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
// Shows a parental permission dialog directly bypassing the extension
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_desktop__media__picker__controller.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_desktop__media__picker__controller.cc
index e2c5f97691..46de337670 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_desktop__media__picker__controller.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_desktop__media__picker__controller.cc
@@ -4,12 +4,12 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/media/webrtc/desktop_media_picker_controller.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/media/webrtc/desktop_media_picker_controller.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/media/webrtc/desktop_media_picker_controller.cc
-@@ -92,7 +92,7 @@ bool DesktopMediaPickerController::IsSys
- } else {
- return base::FeatureList::IsEnabled(media::kMacLoopbackAudioForScreenShare);
- }
+@@ -89,7 +89,7 @@ bool DesktopMediaPickerController::IsSys
+ #if BUILDFLAG(IS_MAC)
+ return request_source == Params::RequestSource::kCast ||
+ base::FeatureList::IsEnabled(media::kMacLoopbackAudioForScreenShare);
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
if (request_source == Params::RequestSource::kCast) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__log__uploader.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__log__uploader.cc
index 4a45acb4eb..739560782d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__log__uploader.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__log__uploader.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/media/webrtc/webrtc_log_uploader.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/media/webrtc/webrtc_log_uploader.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/media/webrtc/webrtc_log_uploader.cc
-@@ -102,7 +102,7 @@ std::string GetLogUploadProduct() {
+@@ -110,7 +110,7 @@ std::string GetLogUploadProduct() {
const char product[] = "Chrome_Mac";
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__logging__controller.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__logging__controller.cc
index 2bc2b7c16f..61d131f156 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__logging__controller.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__logging__controller.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/media/webrtc/webrtc_logging_controller.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/media/webrtc/webrtc_logging_controller.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/media/webrtc/webrtc_logging_controller.cc
@@ -25,10 +25,10 @@
#include "components/webrtc_logging/browser/text_log_list.h"
@@ -36,4 +36,4 @@ $NetBSD$
+#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
void WebRtcLoggingController::OnRtpPacket(
- std::unique_ptr<uint8_t[]> packet_header,
+ base::HeapArray<uint8_t> packet_header,
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.cc
index 08bf5262ff..6df263fe3c 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.cc
@@ -4,18 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/net/system_network_context_manager.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/net/system_network_context_manager.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/net/system_network_context_manager.cc
-@@ -92,7 +92,7 @@
+@@ -102,7 +102,7 @@
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
#include "chrome/common/chrome_paths_internal.h"
#include "chrome/grit/branded_strings.h"
#include "ui/base/l10n/l10n_util.h"
-@@ -137,7 +137,7 @@ SystemNetworkContextManager* g_system_ne
+@@ -146,7 +146,7 @@ SystemNetworkContextManager* g_system_ne
// received a failed launch for a sandboxed network service.
bool g_previously_failed_to_launch_sandboxed_service = false;
@@ -24,7 +24,7 @@ $NetBSD$
// Whether kerberos library loading will work in the network service due to the
// sandbox.
bool g_network_service_will_allow_gssapi_library_load = false;
-@@ -145,7 +145,7 @@ bool g_network_service_will_allow_gssapi
+@@ -154,7 +154,7 @@ bool g_network_service_will_allow_gssapi
const char* kGssapiDesiredPref =
#if BUILDFLAG(IS_CHROMEOS)
prefs::kKerberosEnabled;
@@ -33,7 +33,7 @@ $NetBSD$
prefs::kReceivedHttpAuthNegotiateHeader;
#endif
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-@@ -191,7 +191,7 @@ network::mojom::HttpAuthDynamicParamsPtr
+@@ -200,7 +200,7 @@ network::mojom::HttpAuthDynamicParamsPtr
auth_dynamic_params->basic_over_http_enabled =
local_state->GetBoolean(prefs::kBasicAuthOverHttpEnabled);
@@ -42,7 +42,7 @@ $NetBSD$
auth_dynamic_params->delegate_by_kdc_policy =
local_state->GetBoolean(prefs::kAuthNegotiateDelegateByKdcPolicy);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS)
-@@ -206,7 +206,7 @@ network::mojom::HttpAuthDynamicParamsPtr
+@@ -215,7 +215,7 @@ network::mojom::HttpAuthDynamicParamsPtr
local_state->GetString(prefs::kAuthAndroidNegotiateAccountType);
#endif // BUILDFLAG(IS_ANDROID)
@@ -51,7 +51,7 @@ $NetBSD$
auth_dynamic_params->allow_gssapi_library_load =
local_state->GetBoolean(kGssapiDesiredPref);
#endif // BUILDFLAG(IS_CHROMEOS)
-@@ -216,7 +216,7 @@ network::mojom::HttpAuthDynamicParamsPtr
+@@ -225,7 +225,7 @@ network::mojom::HttpAuthDynamicParamsPtr
void OnNewHttpAuthDynamicParams(
network::mojom::HttpAuthDynamicParamsPtr& params) {
@@ -60,7 +60,7 @@ $NetBSD$
// The kerberos library is incompatible with the network service sandbox, so
// if library loading is now enabled, the network service needs to be
// restarted. It will be restarted unsandboxed because is
-@@ -258,11 +258,11 @@ NetworkSandboxState IsNetworkSandboxEnab
+@@ -267,11 +267,11 @@ NetworkSandboxState IsNetworkSandboxEnab
if (g_previously_failed_to_launch_sandboxed_service) {
return NetworkSandboxState::kDisabledBecauseOfFailedLaunch;
}
@@ -74,7 +74,7 @@ $NetBSD$
// The network service sandbox and the kerberos library are incompatible.
// If kerberos is enabled by policy, disable the network service sandbox.
if (g_network_service_will_allow_gssapi_library_load ||
-@@ -278,7 +278,7 @@ NetworkSandboxState IsNetworkSandboxEnab
+@@ -287,7 +287,7 @@ NetworkSandboxState IsNetworkSandboxEnab
}
#endif // BUILDFLAG(IS_WIN)
@@ -83,7 +83,7 @@ $NetBSD$
if (local_state &&
local_state->HasPrefPath(prefs::kNetworkServiceSandboxEnabled)) {
return local_state->GetBoolean(prefs::kNetworkServiceSandboxEnabled)
-@@ -508,7 +508,7 @@ void SystemNetworkContextManager::Delete
+@@ -517,7 +517,7 @@ void SystemNetworkContextManager::Delete
g_system_network_context_manager = nullptr;
}
@@ -92,7 +92,7 @@ $NetBSD$
SystemNetworkContextManager::GssapiLibraryLoadObserver::
GssapiLibraryLoadObserver(SystemNetworkContextManager* owner)
: owner_(owner) {}
-@@ -566,7 +566,7 @@ SystemNetworkContextManager::SystemNetwo
+@@ -575,7 +575,7 @@ SystemNetworkContextManager::SystemNetwo
pref_change_registrar_.Add(prefs::kAllHttpAuthSchemesAllowedForOrigins,
auth_pref_callback);
@@ -101,7 +101,7 @@ $NetBSD$
pref_change_registrar_.Add(prefs::kAuthNegotiateDelegateByKdcPolicy,
auth_pref_callback);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS)
-@@ -580,7 +580,7 @@ SystemNetworkContextManager::SystemNetwo
+@@ -589,7 +589,7 @@ SystemNetworkContextManager::SystemNetwo
auth_pref_callback);
#endif // BUILDFLAG(IS_ANDROID)
@@ -110,16 +110,7 @@ $NetBSD$
pref_change_registrar_.Add(kGssapiDesiredPref, auth_pref_callback);
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-@@ -606,7 +606,7 @@ SystemNetworkContextManager::SystemNetwo
- #endif
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- pref_change_registrar_.Add(
- prefs::kEnforceLocalAnchorConstraintsEnabled,
- base::BindRepeating(&SystemNetworkContextManager::
-@@ -661,7 +661,7 @@ void SystemNetworkContextManager::Regist
+@@ -660,7 +660,7 @@ void SystemNetworkContextManager::Regist
registry->RegisterBooleanPref(prefs::kKerberosEnabled, false);
#endif // BUILDFLAG(IS_CHROMEOS_LACROS)
@@ -128,16 +119,7 @@ $NetBSD$
registry->RegisterBooleanPref(prefs::kAuthNegotiateDelegateByKdcPolicy,
false);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS)
-@@ -685,7 +685,7 @@ void SystemNetworkContextManager::Regist
- registry->RegisterIntegerPref(prefs::kMaxConnectionsPerProxy, -1);
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- // Note that the default value is not relevant because the pref is only
- // evaluated when it is managed.
- registry->RegisterBooleanPref(prefs::kEnforceLocalAnchorConstraintsEnabled,
-@@ -694,11 +694,11 @@ void SystemNetworkContextManager::Regist
+@@ -685,11 +685,11 @@ void SystemNetworkContextManager::Regist
registry->RegisterListPref(prefs::kExplicitlyAllowedNetworkPorts);
@@ -151,7 +133,7 @@ $NetBSD$
registry->RegisterBooleanPref(prefs::kReceivedHttpAuthNegotiateHeader, false);
#endif // BUILDFLAG(IS_LINUX)
-@@ -751,7 +751,7 @@ void SystemNetworkContextManager::OnNetw
+@@ -742,7 +742,7 @@ void SystemNetworkContextManager::OnNetw
OnNewHttpAuthDynamicParams(http_auth_dynamic_params);
network_service->ConfigureHttpAuthPrefs(std::move(http_auth_dynamic_params));
@@ -160,7 +142,7 @@ $NetBSD$
gssapi_library_loader_observer_.Install(network_service);
#endif // BUILDFLAG(IS_LINUX)
-@@ -954,7 +954,7 @@ bool SystemNetworkContextManager::IsNetw
+@@ -969,7 +969,7 @@ bool SystemNetworkContextManager::IsNetw
break;
}
@@ -169,12 +151,3 @@ $NetBSD$
if (!enabled) {
g_network_service_will_allow_gssapi_library_load = true;
}
-@@ -1040,7 +1040,7 @@ void SystemNetworkContextManager::Update
- }
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- void SystemNetworkContextManager::UpdateEnforceLocalAnchorConstraintsEnabled() {
- const PrefService::Preference* enforce_local_anchor_constraints_enabled_pref =
- local_state_->FindPreference(
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.h
index e414b62858..9e546ff330 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.h
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/net/system_network_context_manager.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/net/system_network_context_manager.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/net/system_network_context_manager.h
-@@ -200,7 +200,7 @@ class SystemNetworkContextManager {
+@@ -198,7 +198,7 @@ class SystemNetworkContextManager {
class URLLoaderFactoryForSystem;
class NetworkProcessLaunchWatcher;
@@ -15,18 +15,9 @@ $NetBSD$
class GssapiLibraryLoadObserver
: public network::mojom::GssapiLibraryLoadObserver {
public:
-@@ -236,7 +236,7 @@ class SystemNetworkContextManager {
- void UpdateExplicitlyAllowedNetworkPorts();
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- // Applies the current value of the kEnforceLocalAnchorConstraintsEnabled
- // pref to the enforcement state.
- void UpdateEnforceLocalAnchorConstraintsEnabled();
-@@ -284,7 +284,7 @@ class SystemNetworkContextManager {
-
- static std::optional<bool> certificate_transparency_enabled_for_testing_;
+@@ -279,7 +279,7 @@ class SystemNetworkContextManager {
+ std::unique_ptr<NetworkAnnotationMonitor> network_annotation_monitor_;
+ #endif // BUILDFLAG(IS_CHROMEOS)
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_prefs_browser__prefs.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_prefs_browser__prefs.cc
index c6439e74e5..b16c8f4240 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_prefs_browser__prefs.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_prefs_browser__prefs.cc
@@ -4,9 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/prefs/browser_prefs.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/prefs/browser_prefs.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/prefs/browser_prefs.cc
-@@ -486,18 +486,18 @@
+@@ -313,7 +313,7 @@
+ #include "components/user_notes/user_notes_prefs.h"
+ #endif // BUILDFLAG(IS_ANDROID)
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/ui/webui/whats_new/whats_new_ui.h"
+ #endif
+
+@@ -491,18 +491,18 @@
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -15,7 +24,7 @@ $NetBSD$
#include "components/device_signals/core/browser/pref_names.h" // nogncheck due to crbug.com/1125897
#endif
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) || \
@@ -28,7 +37,7 @@ $NetBSD$
#include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h"
#endif
-@@ -529,7 +529,7 @@
+@@ -537,7 +537,7 @@
#include "chrome/browser/sessions/session_service_log.h"
#endif
@@ -37,7 +46,25 @@ $NetBSD$
#include "ui/color/system_theme.h"
#endif
-@@ -1986,12 +1986,12 @@ void RegisterProfilePrefs(user_prefs::Pr
+@@ -1678,7 +1678,7 @@ void RegisterLocalState(PrefRegistrySimp
+ on_device_translation::RegisterLocalStatePrefs(registry);
+ #endif // BUILDFLAG(IS_ANDROID)
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ WhatsNewUI::RegisterLocalStatePrefs(registry);
+ #endif
+
+@@ -1854,7 +1854,7 @@ void RegisterLocalState(PrefRegistrySimp
+ #endif // BUILDFLAG(ENABLE_PDF)
+
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ registry->RegisterBooleanPref(prefs::kChromeForTestingAllowed, true);
+ #endif
+
+@@ -2213,12 +2213,12 @@ void RegisterProfilePrefs(user_prefs::Pr
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc
index 79a9184115..b8f1d9275c 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
-@@ -212,7 +212,7 @@
+@@ -180,7 +180,7 @@
#include "chrome/browser/ui/webui/chromeos/chrome_url_disabled/chrome_url_disabled_ui.h"
#endif
@@ -15,12 +15,12 @@ $NetBSD$
#include "chrome/browser/ui/webui/webui_js_error/webui_js_error_ui.h"
#endif
-@@ -238,7 +238,7 @@
+@@ -205,7 +205,7 @@
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/ui/webui/commerce/product_specifications_ui.h"
#include "chrome/browser/ui/webui/discards/discards_ui.h"
#endif
-
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc
index 8a1ed0c912..4bcc99ec2d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc
@@ -4,18 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/ui/webui/connectors_internals/device_trust_utils.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/ui/webui/connectors_internals/device_trust_utils.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/ui/webui/connectors_internals/device_trust_utils.cc
-@@ -6,7 +6,7 @@
-
+@@ -7,7 +7,7 @@
#include "build/build_config.h"
+ #include "components/enterprise/buildflags/buildflags.h"
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
#include "base/base64url.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/policy/chrome_browser_policy_connector.h"
-@@ -29,7 +29,7 @@ namespace utils {
+@@ -38,7 +38,7 @@ namespace enterprise_connectors::utils {
namespace {
@@ -24,7 +24,7 @@ $NetBSD$
connectors_internals::mojom::KeyTrustLevel ParseTrustLevel(
BPKUR::KeyTrustLevel trust_level) {
-@@ -97,7 +97,7 @@ connectors_internals::mojom::Int32ValueP
+@@ -173,7 +173,7 @@ connectors_internals::mojom::Certificate
} // namespace
connectors_internals::mojom::KeyInfoPtr GetKeyInfo() {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui.cc
index 6a1f5cf36a..ef82ba8a3b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui.cc
-@@ -98,11 +98,11 @@ content::WebUIDataSource* CreateAndAddMa
- {kManagementOnFileTransferVisibleData,
+@@ -108,11 +108,11 @@ content::WebUIDataSource* CreateAndAddMa
IDS_MANAGEMENT_FILE_TRANSFER_VISIBLE_DATA},
+ {kManagementReportFileEvents, IDS_MANAGEMENT_REPORT_FILE_EVENTS},
#endif // BUILDFLAG(IS_CHROMEOS)
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.cc
index 0694800639..773a4156af 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.cc
@@ -4,51 +4,27 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_handler.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_handler.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_handler.cc
-@@ -95,7 +95,7 @@
- #include "components/policy/core/common/cloud/user_cloud_policy_manager.h"
- #endif // BUILDFLAG(IS_CHROMEOS_ASH)
+@@ -58,7 +58,7 @@
+ #include "ui/base/l10n/l10n_util.h"
+ #include "ui/base/webui/web_ui_util.h"
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "chrome/browser/enterprise/signals/user_permission_service_factory.h"
#include "components/device_signals/core/browser/user_permission_service.h" // nogncheck
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-@@ -191,12 +191,12 @@ enum class ReportingType {
- kLegacyTech,
- };
-
--#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- const char kManagementScreenCaptureEvent[] = "managementScreenCaptureEvent";
- const char kManagementScreenCaptureData[] = "managementScreenCaptureData";
- #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- const char kManagementDeviceSignalsDisclosure[] =
- "managementDeviceSignalsDisclosure";
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-@@ -830,7 +830,7 @@ void ManagementUIHandler::AddReportingIn
- GetReportingTypeValue(report_definition.reporting_type));
- report_sources->Append(std::move(data));
+@@ -365,7 +365,7 @@ void ManagementUIHandler::AddReportingIn
+ report_sources->Append(std::move(data));
+ }
}
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Insert the device signals consent disclosure at the end of browser
// reporting section.
auto* user_permission_service = GetUserPermissionService();
-@@ -1118,7 +1118,7 @@ base::Value::Dict ManagementUIHandler::G
- kManagementOnPageVisitedVisibleData, &info);
- }
-
--#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (capture_policy::IsGetAllScreensMediaAllowedForAnySite(profile)) {
- AddThreatProtectionPermission(kManagementScreenCaptureEvent,
- kManagementScreenCaptureData, &info);
-@@ -1202,7 +1202,7 @@ policy::PolicyService* ManagementUIHandl
+@@ -557,7 +557,7 @@ policy::PolicyService* ManagementUIHandl
->policy_service();
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.h
index c1b4982925..c017f8c34b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.h
@@ -4,27 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_handler.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_handler.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_handler.h
-@@ -24,14 +24,14 @@
- #include "extensions/common/extension_id.h"
- #include "url/gurl.h"
-
--#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Constants defining the IDs for the localized strings sent to the page as
- // load time data.
- extern const char kManagementScreenCaptureEvent[];
- extern const char kManagementScreenCaptureData[];
- #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- extern const char kManagementDeviceSignalsDisclosure[];
- #endif // #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-
-@@ -119,7 +119,7 @@ class StatusCollector;
- class SystemLogUploader;
+@@ -31,7 +31,7 @@ namespace policy {
+ class PolicyService;
} // namespace policy
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
@@ -32,7 +15,7 @@ $NetBSD$
namespace device_signals {
class UserPermissionService;
} // namespace device_signals
-@@ -179,7 +179,7 @@ class ManagementUIHandler : public conte
+@@ -72,7 +72,7 @@ class ManagementUIHandler : public conte
base::Value::List GetManagedWebsitesInfo(Profile* profile) const;
base::Value::List GetApplicationsInfo(Profile* profile) const;
virtual policy::PolicyService* GetPolicyService();
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc
index 6e9d8fb9bc..b592e5d44b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
-@@ -138,7 +138,7 @@
- #include "ash/webui/settings/public/constants/routes.mojom.h"
+@@ -144,7 +144,7 @@
+ #include "chrome/browser/ui/chrome_pages.h"
#endif
-#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS)
@@ -15,7 +15,7 @@ $NetBSD$
#include "ui/display/screen.h"
#endif
-@@ -157,7 +157,7 @@
+@@ -163,7 +163,7 @@
#include "chrome/browser/ui/webui/certificate_manager_localized_strings_provider.h"
#endif
@@ -24,7 +24,7 @@ $NetBSD$
#include "ui/linux/linux_ui_factory.h"
#include "ui/ozone/public/ozone_platform.h"
#endif
-@@ -295,7 +295,7 @@ void AddA11yStrings(content::WebUIDataSo
+@@ -287,7 +287,7 @@ void AddA11yStrings(content::WebUIDataSo
{"focusHighlightLabel",
IDS_SETTINGS_ACCESSIBILITY_FOCUS_HIGHLIGHT_DESCRIPTION},
#endif
@@ -33,27 +33,27 @@ $NetBSD$
{"overscrollHistoryNavigationTitle",
IDS_SETTINGS_OVERSCROLL_HISTORY_NAVIGATION_TITLE},
{"overscrollHistoryNavigationSubtitle",
-@@ -440,7 +440,7 @@ void AddAppearanceStrings(content::WebUI
- {"huge", IDS_SETTINGS_HUGE_FONT_SIZE},
- {"sidePanelAlignLeft", IDS_SETTINGS_SIDE_PANEL_ALIGN_LEFT},
- {"sidePanelAlignRight", IDS_SETTINGS_SIDE_PANEL_ALIGN_RIGHT},
+@@ -412,7 +412,7 @@ void AddAppearanceStrings(content::WebUI
+ {"uiFeatureAlignLeft", IDS_SETTINGS_UI_FEATURE_ALIGN_LEFT},
+ {"uiFeatureAlignRight", IDS_SETTINGS_UI_FEATURE_ALIGN_RIGHT},
+ {"resetToDefault", IDS_SETTINGS_RESET_TO_DEFAULT},
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
{"gtkTheme", IDS_SETTINGS_GTK_THEME},
{"useGtkTheme", IDS_SETTINGS_USE_GTK_THEME},
{"qtTheme", IDS_SETTINGS_QT_THEME},
-@@ -450,7 +450,7 @@ void AddAppearanceStrings(content::WebUI
- #else
- {"resetToDefaultTheme", IDS_SETTINGS_RESET_TO_DEFAULT_THEME},
+@@ -420,7 +420,7 @@ void AddAppearanceStrings(content::WebUI
+ {"classicTheme", IDS_SETTINGS_CLASSIC_THEME},
+ {"useClassicTheme", IDS_SETTINGS_USE_CLASSIC_THEME},
#endif
-#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !BUILDFLAG(IS_CHROMEOS_LACROS)
{"showWindowDecorations", IDS_SHOW_WINDOW_DECORATIONS},
#endif
#if BUILDFLAG(IS_MAC)
-@@ -475,7 +475,7 @@ void AddAppearanceStrings(content::WebUI
+@@ -448,7 +448,7 @@ void AddAppearanceStrings(content::WebUI
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !BUILDFLAG(IS_CHROMEOS_LACROS)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_channel__info.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_channel__info.h
index 87cbed5244..c65c436290 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_channel__info.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_channel__info.h
@@ -4,21 +4,23 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/common/channel_info.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/common/channel_info.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/channel_info.h
-@@ -104,13 +104,13 @@ void ClearChannelForTesting();
+@@ -12,7 +12,7 @@
+ #include "build/build_config.h"
+ #include "build/chromeos_buildflags.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ namespace base {
+ class Environment;
+ }
+@@ -100,7 +100,7 @@ void ClearChannelIdForTesting();
std::string GetChannelSuffixForDataDir();
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
std::string GetChannelSuffixForExtraFlagsEnvVarName();
- #endif
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
- // of lacros-chrome is complete.
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
// Returns the channel-specific filename of the desktop shortcut used to launch
- // the browser.
- std::string GetDesktopName(base::Environment* env);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_channel__info__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_channel__info__posix.cc
index 7acf16c13c..b1ac9369eb 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_channel__info__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_channel__info__posix.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/common/channel_info_posix.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/common/channel_info_posix.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/channel_info_posix.cc
-@@ -92,7 +92,7 @@ std::string GetChannelSuffixForDataDir()
+@@ -95,7 +95,7 @@ std::string GetChannelSuffixForDataDir()
}
}
@@ -15,9 +15,9 @@ $NetBSD$
std::string GetChannelSuffixForExtraFlagsEnvVarName() {
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
const auto channel_state = GetChannelImpl();
-@@ -118,7 +118,7 @@ std::string GetChannelSuffixForExtraFlag
+@@ -123,7 +123,7 @@ std::string GetChannelSuffixForExtraFlag
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__features.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__features.cc
index 2d75f41be2..7ff66c007d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__features.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__features.cc
@@ -4,26 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/common/chrome_features.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/common/chrome_features.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/chrome_features.cc
-@@ -76,14 +76,14 @@ BASE_FEATURE(kAppShimNotificationAttribu
-
- // Enables the built-in DNS resolver.
- #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_ANDROID) || \
-- BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
-+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kAsyncDns, "AsyncDns", base::FEATURE_ENABLED_BY_DEFAULT);
- #else
- BASE_FEATURE(kAsyncDns, "AsyncDns", base::FEATURE_DISABLED_BY_DEFAULT);
- #endif
+@@ -82,7 +82,7 @@ BASE_FEATURE(kUseAdHocSigningForWebAppSh
+ #endif // BUILDFLAG(IS_MAC)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Enables or disables the Autofill survey triggered by opening a prompt to
// save address info.
BASE_FEATURE(kAutofillAddressSurvey,
-@@ -101,7 +101,7 @@ BASE_FEATURE(kAutofillPasswordSurvey,
+@@ -100,7 +100,7 @@ BASE_FEATURE(kAutofillPasswordSurvey,
base::FEATURE_DISABLED_BY_DEFAULT);
#endif
@@ -32,7 +24,7 @@ $NetBSD$
// Enables the Restart background mode optimization. When all Chrome UI is
// closed and it goes in the background, allows to restart the browser to
// discard memory.
-@@ -311,7 +311,7 @@ BASE_FEATURE(kDesktopPWAsEnforceWebAppSe
+@@ -266,7 +266,7 @@ BASE_FEATURE(kDesktopPWAsElidedExtension
// Enables or disables Desktop PWAs to be auto-started on OS login.
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -41,43 +33,25 @@ $NetBSD$
BASE_FEATURE(kDesktopPWAsRunOnOsLogin,
"DesktopPWAsRunOnOsLogin",
base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -354,7 +354,7 @@ BASE_FEATURE(kDesktopPWAsTabStripSetting
+@@ -302,7 +302,7 @@ BASE_FEATURE(kDesktopPWAsTabStripSetting
+ "DesktopPWAsTabStripSettings",
base::FEATURE_DISABLED_BY_DEFAULT);
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Controls whether Chrome Apps are supported. See https://crbug.com/1221251.
// If the feature is disabled, Chrome Apps continue to work. If enabled, Chrome
// Apps will not launch and will be marked in the UI as deprecated.
-@@ -372,7 +372,7 @@ BASE_FEATURE(kDisruptiveNotificationPerm
-
- // Enable DNS over HTTPS (DoH).
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
-- BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
-+ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kDnsOverHttps, "DnsOverHttps", base::FEATURE_ENABLED_BY_DEFAULT);
- #else
- BASE_FEATURE(kDnsOverHttps, "DnsOverHttps", base::FEATURE_DISABLED_BY_DEFAULT);
-@@ -387,7 +387,7 @@ const base::FeatureParam<bool> kDnsOverH
- const base::FeatureParam<bool> kDnsOverHttpsShowUiParam {
- &kDnsOverHttps, "ShowUi",
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
-- BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
-+ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- true
- #else
- false
-@@ -954,7 +954,7 @@ BASE_FEATURE(kLacrosSharedComponentsDir,
+@@ -874,7 +874,7 @@ BASE_FEATURE(kKAnonymityServiceStorage,
+ "KAnonymityServiceStorage",
base::FEATURE_ENABLED_BY_DEFAULT);
- #endif // BUILDFLAG(IS_CHROMEOS_ASH)
-#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
+#if (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)) || BUILDFLAG(IS_BSD)
BASE_FEATURE(kLinuxLowMemoryMonitor,
"LinuxLowMemoryMonitor",
base::FEATURE_DISABLED_BY_DEFAULT);
-@@ -967,7 +967,7 @@ constexpr base::FeatureParam<int> kLinux
+@@ -887,7 +887,7 @@ constexpr base::FeatureParam<int> kLinux
&kLinuxLowMemoryMonitor, "critical_level", 255};
#endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__features.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__features.h
index 6d2f3976b7..09ebebca65 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__features.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__features.h
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/common/chrome_features.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/common/chrome_features.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/chrome_features.h
-@@ -60,13 +60,13 @@ BASE_DECLARE_FEATURE(kAppShimNotificatio
- COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kAsyncDns);
+@@ -60,13 +60,13 @@ BASE_DECLARE_FEATURE(kUseAdHocSigningFor
+ #endif // BUILDFLAG(IS_MAC)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kAutofillAddressSurvey);
COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kAutofillCardSurvey);
COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kAutofillPasswordSurvey);
@@ -22,25 +22,25 @@ $NetBSD$
COMPONENT_EXPORT(CHROME_FEATURES)
BASE_DECLARE_FEATURE(kBackgroundModeAllowRestart);
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -226,7 +226,7 @@ COMPONENT_EXPORT(CHROME_FEATURES)
+@@ -179,7 +179,7 @@ BASE_DECLARE_FEATURE(kDesktopPWAsPrevent
+ COMPONENT_EXPORT(CHROME_FEATURES)
BASE_DECLARE_FEATURE(kDesktopPWAsTabStripSettings);
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kChromeAppsDeprecation);
- #endif
-
-@@ -567,7 +567,7 @@ COMPONENT_EXPORT(CHROME_FEATURES)
- BASE_DECLARE_FEATURE(kLacrosSharedComponentsDir);
- #endif // BUILDFLAG(IS_CHROMEOS_ASH)
+ COMPONENT_EXPORT(CHROME_FEATURES)
+ BASE_DECLARE_FEATURE(kShortcutsNotApps);
+@@ -512,7 +512,7 @@ BASE_DECLARE_FEATURE(kKAnonymityServiceO
+ COMPONENT_EXPORT(CHROME_FEATURES)
+ BASE_DECLARE_FEATURE(kKAnonymityServiceStorage);
-#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
+#if (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)) || BUILDFLAG(IS_BSD)
COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kLinuxLowMemoryMonitor);
COMPONENT_EXPORT(CHROME_FEATURES)
extern const base::FeatureParam<int> kLinuxLowMemoryMonitorModerateLevel;
-@@ -575,7 +575,7 @@ COMPONENT_EXPORT(CHROME_FEATURES)
+@@ -520,7 +520,7 @@ COMPONENT_EXPORT(CHROME_FEATURES)
extern const base::FeatureParam<int> kLinuxLowMemoryMonitorCriticalLevel;
#endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__switches.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__switches.cc
index be5eb52df2..b82b84a6dd 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__switches.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__switches.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/common/chrome_switches.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/common/chrome_switches.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/chrome_switches.cc
-@@ -865,14 +865,14 @@ const char kAllowNaClSocketAPI[] = "allo
+@@ -886,14 +886,14 @@ const char kAllowNaClSocketAPI[] = "allo
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
-- BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
const char kEnableNewAppMenuIcon[] = "enable-new-app-menu-icon";
// Causes the browser to launch directly in guest mode.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__switches.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__switches.h
index cccd437c57..c16a453b70 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__switches.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__switches.h
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/common/chrome_switches.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/common/chrome_switches.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/chrome_switches.h
-@@ -274,12 +274,12 @@ extern const char kAllowNaClSocketAPI[];
+@@ -275,12 +275,12 @@ extern const char kAllowNaClSocketAPI[];
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
-- BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
extern const char kEnableNewAppMenuIcon[];
extern const char kGuest[];
#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.cc
index 5338f9f810..64c67a1e68 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.cc
@@ -4,24 +4,19 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/common/media/cdm_registration.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/common/media/cdm_registration.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/media/cdm_registration.cc
-@@ -26,11 +26,11 @@
-
+@@ -33,7 +33,7 @@
#if BUILDFLAG(ENABLE_WIDEVINE)
+ #include "components/cdm/common/cdm_manifest.h"
#include "third_party/widevine/cdm/widevine_cdm_common.h" // nogncheck
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- #include "base/native_library.h"
- #include "chrome/common/chrome_paths.h"
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "base/no_destructor.h"
+ #include "base/native_library.h"
+ #include "chrome/common/chrome_paths.h"
#include "chrome/common/media/component_widevine_cdm_hint_file_linux.h"
- #include "media/cdm/supported_audio_codecs.h"
-@@ -56,7 +56,7 @@ using Robustness = content::CdmInfo::Rob
- #if BUILDFLAG(ENABLE_WIDEVINE)
+@@ -86,7 +86,7 @@ void ReportLacrosUMA(LacrosBundledWidevi
+
#if (BUILDFLAG(BUNDLE_WIDEVINE_CDM) || \
BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)) && \
- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
@@ -29,25 +24,16 @@ $NetBSD$
// Create a CdmInfo for a Widevine CDM, using |version|, |cdm_library_path|, and
// |capability|.
std::unique_ptr<content::CdmInfo> CreateWidevineCdmInfo(
-@@ -101,7 +101,7 @@ std::unique_ptr<content::CdmInfo> Create
- // BUILDFLAG(IS_CHROMEOS))
+@@ -185,7 +185,7 @@ std::unique_ptr<content::CdmInfo> GetAsh
+ #endif // BUILDFLAG(IS_CHROMEOS_LACROS)
- #if BUILDFLAG(BUNDLE_WIDEVINE_CDM) && \
-- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
-+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD))
- // On Linux/ChromeOS we have to preload the CDM since it uses the zygote
- // sandbox. On Windows and Mac, the bundled CDM is handled by the component
- // updater.
-@@ -125,7 +125,7 @@ content::CdmInfo* GetBundledWidevine() {
- // (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
-
- #if BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) && \
-- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
-+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD))
- // This code checks to see if a component updated Widevine CDM can be found. If
- // there is one and it looks valid, return the CdmInfo for that CDM. Otherwise
- // return nullptr.
-@@ -160,7 +160,7 @@ void AddSoftwareSecureWidevine(std::vect
+ #if (BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) && \
+- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH))) || \
++ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD))) || \
+ BUILDFLAG(IS_CHROMEOS_LACROS)
+ // This code checks to see if Component Updater picked a version of the Widevine
+ // CDM to be used last time it ran. (Component Updater may choose the bundled
+@@ -232,7 +232,7 @@ void AddSoftwareSecureWidevine(std::vect
/*supports_sub_key_systems=*/false, kWidevineCdmDisplayName,
kWidevineCdmType, base::Version(), base::FilePath());
@@ -56,3 +42,12 @@ $NetBSD$
#if defined(WIDEVINE_CDM_MIN_GLIBC_VERSION)
base::Version glibc_version(gnu_get_libc_version());
DCHECK(glibc_version.IsValid());
+@@ -493,7 +493,7 @@ void RegisterCdmInfo(std::vector<content
+ }
+
+ #if BUILDFLAG(ENABLE_WIDEVINE) && \
+- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH))
++ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD))
+ std::vector<content::CdmInfo> GetSoftwareSecureWidevine() {
+ std::vector<content::CdmInfo> cdms;
+ AddSoftwareSecureWidevine(&cdms);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_media_component__widevine__cdm__hint__file__linux.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_media_component__widevine__cdm__hint__file__linux.h
index 4b8909f60b..f3d4237f2a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_media_component__widevine__cdm__hint__file__linux.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_media_component__widevine__cdm__hint__file__linux.h
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/common/media/component_widevine_cdm_hint_file_linux.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/common/media/component_widevine_cdm_hint_file_linux.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/media/component_widevine_cdm_hint_file_linux.h
-@@ -15,7 +15,7 @@
+@@ -17,7 +17,7 @@
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if !(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
+#if !(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD))
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_pref__names.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_pref__names.h
index 92fb690c7e..f2d0124ee4 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_pref__names.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_pref__names.h
@@ -4,18 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/common/pref_names.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/common/pref_names.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/pref_names.h
-@@ -1323,7 +1323,7 @@ inline constexpr char kUseAshProxy[] = "
+@@ -1379,7 +1379,7 @@ inline constexpr char kUseAshProxy[] = "
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
// Linux specific preference on whether we should match the system theme.
inline constexpr char kSystemTheme[] = "extensions.theme.system_theme";
#endif
-@@ -1449,7 +1449,7 @@ inline constexpr char kShowUpdatePromoti
+@@ -1552,7 +1552,7 @@ inline constexpr char kShowUpdatePromoti
"browser.show_update_promotion_info_bar";
#endif
@@ -24,7 +24,7 @@ $NetBSD$
// Boolean that is false if we should show window manager decorations. If
// true, we draw a custom chrome frame (thicker title bar and blue border).
inline constexpr char kUseCustomChromeFrame[] = "browser.custom_chrome_frame";
-@@ -2001,7 +2001,7 @@ inline constexpr char kDownloadDefaultDi
+@@ -2159,7 +2159,7 @@ inline constexpr char kDownloadDefaultDi
inline constexpr char kDownloadDirUpgraded[] = "download.directory_upgrade";
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -33,7 +33,7 @@ $NetBSD$
inline constexpr char kOpenPdfDownloadInSystemReader[] =
"download.open_pdf_in_system_reader";
#endif
-@@ -2439,14 +2439,14 @@ inline constexpr char kMediaStorageIdSal
+@@ -2602,14 +2602,14 @@ inline constexpr char kMediaStorageIdSal
inline constexpr char kMediaCdmOriginData[] = "media.cdm.origin_data";
#endif // BUILDFLAG(IS_WIN)
@@ -50,7 +50,7 @@ $NetBSD$
// Records whether the user has seen an HTTP auth "negotiate" header.
inline constexpr char kReceivedHttpAuthNegotiateHeader[] =
"net.received_http_auth_negotiate_headers";
-@@ -2524,7 +2524,7 @@ inline constexpr char kAmbientAuthentica
+@@ -2687,7 +2687,7 @@ inline constexpr char kAmbientAuthentica
inline constexpr char kBasicAuthOverHttpEnabled[] =
"auth.basic_over_http_enabled";
@@ -59,7 +59,16 @@ $NetBSD$
// Boolean that specifies whether OK-AS-DELEGATE flag from KDC is respected
// along with kAuthNegotiateDelegateAllowlist.
inline constexpr char kAuthNegotiateDelegateByKdcPolicy[] =
-@@ -3575,7 +3575,7 @@ inline constexpr char kFileOrDirectoryPi
+@@ -3228,7 +3228,7 @@ inline constexpr char kDeviceWeeklySched
+ #endif // BUILDFLAG(IS_CHROMEOS)
+
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ // Defines administrator-set availability of Chrome for Testing.
+ inline constexpr char kChromeForTestingAllowed[] = "chrome_for_testing.allowed";
+ #endif
+@@ -3824,7 +3824,7 @@ inline constexpr char kFileOrDirectoryPi
inline constexpr char kSandboxExternalProtocolBlocked[] =
"profile.sandbox_external_protocol_blocked";
@@ -68,18 +77,18 @@ $NetBSD$
// Boolean that indicates if system notifications are allowed to be used in
// place of Chrome notifications.
inline constexpr char kAllowSystemNotifications[] =
-@@ -3624,7 +3624,7 @@ inline constexpr char kCACertificateMana
+@@ -4094,7 +4094,7 @@ inline constexpr char kLensDesktopNTPSea
+ "policy.lens_desktop_ntp_search_enabled";
#endif
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- inline constexpr char kEnforceLocalAnchorConstraintsEnabled[] =
- "enforce_local_anchor_constraints_enabled";
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ // A dict mapping the edition name with the major version it was shown.
+ inline constexpr char kWhatsNewEditionUsed[] = "browser.whats_new.edition_used";
+ // A list containing the features of each module in order of when they
+@@ -4188,7 +4188,7 @@ inline constexpr char kPrintingOAuth2Aut
+ "printing.oauth2_authorization_servers";
#endif
-@@ -3938,7 +3938,7 @@ inline constexpr char kThrottleNonVisibl
- inline constexpr char kNewBaseUrlInheritanceBehaviorAllowed[] =
- "new_base_url_inheritance_behavior_allowed";
-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_url__constants.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_url__constants.h
index ac8dba56d9..ef66807cad 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_url__constants.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_url__constants.h
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/common/url_constants.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/common/url_constants.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/url_constants.h
-@@ -822,7 +822,7 @@ inline constexpr char kPhoneHubPermissio
+@@ -929,7 +929,7 @@ inline constexpr char kOutdatedPluginLea
+ inline constexpr char kPhoneHubPermissionLearnMoreURL[] =
"https://support.google.com/chromebook?p=multidevice";
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// "Learn more" URL for the chrome apps deprecation dialog.
inline constexpr char kChromeAppsDeprecationLearnMoreURL[] =
"https://support.google.com/chrome?p=chrome_app_deprecation";
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.cc
index dac493d8e5..7875b7193d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.cc
@@ -4,97 +4,40 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/common/webui_url_constants.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/common/webui_url_constants.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/webui_url_constants.cc
-@@ -511,18 +511,18 @@ const char kOsUISystemURL[] = "os://syst
- const char kOsUIVersionURL[] = "os://version";
- #endif
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- const char kChromeUIWebUIJsErrorHost[] = "webuijserror";
- const char kChromeUIWebUIJsErrorURL[] = "chrome://webuijserror/";
- #endif
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS_ASH)
-+ BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
- const char kChromeUIConnectorsInternalsHost[] = "connectors-internals";
- #endif
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- const char kChromeUIDiscardsHost[] = "discards";
- const char kChromeUIDiscardsURL[] = "chrome://discards/";
- #endif
-@@ -537,14 +537,14 @@ const char kChromeUILinuxProxyConfigHost
- #endif
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
-- BUILDFLAG(IS_ANDROID)
-+ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- const char kChromeUISandboxHost[] = "sandbox";
- #endif
-
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
- // of lacros-chrome is complete.
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_FUCHSIA) || \
-- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
-+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || BUILDFLAG(IS_BSD)
- const char kChromeUIBrowserSwitchHost[] = "browser-switch";
- const char kChromeUIBrowserSwitchURL[] = "chrome://browser-switch/";
- const char kChromeUIIntroHost[] = "intro";
-@@ -563,7 +563,7 @@ const char kChromeUIProfilePickerUrl[] =
- const char kChromeUIProfilePickerStartupQuery[] = "startup";
- #endif
-
--#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \
-+#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && \
- defined(TOOLKIT_VIEWS)) || \
- defined(USE_AURA)
- const char kChromeUITabModalConfirmDialogHost[] = "tab-modal-confirm-dialog";
-@@ -647,7 +647,7 @@ const char kCookiesSubPagePath[] = "/coo
- #endif
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- const char kChromeUIWebAppSettingsURL[] = "chrome://app-settings/";
- const char kChromeUIWebAppSettingsHost[] = "app-settings";
- #endif
-@@ -807,21 +807,21 @@ const char* const kChromeHostURLs[] = {
- kChromeUIAssistantOptInHost,
+@@ -212,21 +212,21 @@ base::span<const base::cstring_view> Chr
+ kChromeUIAssistantOptInHost,
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS_ASH)
+ BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
- kChromeUIConnectorsInternalsHost,
+ kChromeUIConnectorsInternalsHost,
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- kChromeUIDiscardsHost,
+ kChromeUIDiscardsHost,
#endif
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- kChromeUIWebAppSettingsHost,
+ kChromeUIWebAppSettingsHost,
#endif
#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_ANDROID)
- kChromeUILinuxProxyConfigHost,
+ kChromeUILinuxProxyConfigHost,
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
- BUILDFLAG(IS_ANDROID)
+ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- kChromeUISandboxHost,
+ kChromeUISandboxHost,
#endif
#if BUILDFLAG(IS_WIN)
-@@ -895,7 +895,7 @@ const char* const kChromeDebugURLs[] = {
- blink::kChromeUIGpuJavaCrashURL,
- kChromeUIJavaCrashURL,
+@@ -305,7 +305,7 @@ base::span<const base::cstring_view> Chr
+ blink::kChromeUIGpuJavaCrashURL,
+ kChromeUIJavaCrashURL,
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- kChromeUIWebUIJsErrorURL,
+ kChromeUIWebUIJsErrorURL,
#endif
- kChromeUIQuitURL,
+ kChromeUIQuitURL,
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.h
index 786670390b..1a97e87b45 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.h
@@ -4,60 +4,60 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/common/webui_url_constants.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/common/webui_url_constants.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/webui_url_constants.h
-@@ -430,24 +430,24 @@ extern const char kOsUISystemURL[];
- extern const char kOsUIVersionURL[];
+@@ -584,24 +584,24 @@ inline constexpr char16_t kOsUISystemURL
+ inline constexpr char kOsUIVersionURL[] = "os://version";
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- extern const char kChromeUIWebUIJsErrorHost[];
- extern const char kChromeUIWebUIJsErrorURL[];
+ inline constexpr char kChromeUIWebUIJsErrorHost[] = "webuijserror";
+ inline constexpr char kChromeUIWebUIJsErrorURL[] = "chrome://webuijserror/";
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS_ASH)
+ BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
- extern const char kChromeUIConnectorsInternalsHost[];
+ inline constexpr char kChromeUIConnectorsInternalsHost[] =
+ "connectors-internals";
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- extern const char kChromeUIDiscardsHost[];
- extern const char kChromeUIDiscardsURL[];
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ inline constexpr char kChromeUIDiscardsHost[] = "discards";
+ inline constexpr char kChromeUIDiscardsURL[] = "chrome://discards/";
#endif
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- extern const char kChromeUIWebAppSettingsURL[];
- extern const char kChromeUIWebAppSettingsHost[];
- #endif
-@@ -462,14 +462,14 @@ extern const char kChromeUILinuxProxyCon
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ inline constexpr char kChromeUIWebAppSettingsHost[] = "app-settings";
+ inline constexpr char kChromeUIWebAppSettingsURL[] = "chrome://app-settings/";
+ inline constexpr char kChromeUIWhatsNewHost[] = "whats-new";
+@@ -613,14 +613,14 @@ inline constexpr char kChromeUILinuxProx
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
- BUILDFLAG(IS_ANDROID)
+ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- extern const char kChromeUISandboxHost[];
+ inline constexpr char kChromeUISandboxHost[] = "sandbox";
#endif
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_FUCHSIA) || \
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
-+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || BUILDFLAG(IS_BSD)
- extern const char kChromeUIBrowserSwitchHost[];
- extern const char kChromeUIBrowserSwitchURL[];
- extern const char kChromeUIIntroHost[];
-@@ -485,7 +485,7 @@ extern const char kChromeUIProfilePicker
- extern const char kChromeUIProfilePickerStartupQuery[];
++ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD))
+ inline constexpr char kChromeUIBrowserSwitchHost[] = "browser-switch";
+ inline constexpr char kChromeUIBrowserSwitchURL[] = "chrome://browser-switch/";
+ inline constexpr char kChromeUIIntroDefaultBrowserSubPage[] = "default-browser";
+@@ -641,7 +641,7 @@ inline constexpr char kChromeUIProfilePi
+ inline constexpr char kChromeUIProfilePickerUrl[] = "chrome://profile-picker/";
#endif
-#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \
+#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && \
defined(TOOLKIT_VIEWS)) || \
defined(USE_AURA)
- extern const char kChromeUITabModalConfirmDialogHost[];
+ inline constexpr char kChromeUITabModalConfirmDialogHost[] =
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_test_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_test_BUILD.gn
deleted file mode 100644
index f8ce863d0f..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_test_BUILD.gn
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-* Based on OpenBSD's qt6-qtwebengine patches, and
- pkgsrc's qt5-qtwebengine patches
-
---- src/3rdparty/chromium/chrome/test/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
-+++ src/3rdparty/chromium/chrome/test/BUILD.gn
-@@ -11652,7 +11652,7 @@ test("chrome_app_unittests") {
- "//components/heap_profiling/in_process",
- "//components/safe_browsing:buildflags",
- ]
-- if (!is_fuchsia && !is_mac) {
-+ if (!is_fuchsia && !is_mac && !is_bsd) {
- deps += [ "//third_party/breakpad:client" ]
- }
- if (is_android) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_test_chromedriver_keycode__text__conversion__unittest.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_test_chromedriver_keycode__text__conversion__unittest.cc
index dc913f13bc..afcd90b94b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_test_chromedriver_keycode__text__conversion__unittest.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_test_chromedriver_keycode__text__conversion__unittest.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/test/chromedriver/keycode_text_conversion_unittest.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/test/chromedriver/keycode_text_conversion_unittest.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/chrome/test/chromedriver/keycode_text_conversion_unittest.cc
@@ -67,7 +67,7 @@ std::string ConvertKeyCodeToTextNoError(
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
@@ -17,7 +17,7 @@ $NetBSD$
#else
@@ -104,7 +104,7 @@ TEST(KeycodeTextConversionTest, MAYBE_Ke
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.cc
index ade0fbb39a..2c4aa717a5 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.cc
@@ -4,11 +4,20 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/autofill/core/common/autofill_payments_features.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/autofill/core/common/autofill_payments_features.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/autofill/core/common/autofill_payments_features.cc
-@@ -289,7 +289,7 @@ BASE_FEATURE(kAutofillEnableVirtualCards
+@@ -8,7 +8,7 @@
+
+ namespace autofill::features {
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) || \
+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
+ // When enabled, Chrome will extract the checkout amount from the checkout page
+ // of the allowlisted merchant websites.
+@@ -330,7 +330,7 @@ BASE_FEATURE(kAutofillSyncEwalletAccount
bool ShouldShowImprovedUserConsentForCreditCardSave() {
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || \
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD) || \
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_commerce_core_commerce__feature__list.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_commerce_core_commerce__feature__list.cc
index 13f0666072..4b92ff8869 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_commerce_core_commerce__feature__list.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_commerce_core_commerce__feature__list.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/commerce/core/commerce_feature_list.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/commerce/core/commerce_feature_list.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/commerce/core/commerce_feature_list.cc
-@@ -167,7 +167,7 @@ BASE_FEATURE(kPriceInsights,
+@@ -168,7 +168,7 @@ BASE_FEATURE(kPriceInsights,
"PriceInsights",
base::FEATURE_DISABLED_BY_DEFAULT);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -15,16 +15,16 @@ $NetBSD$
BASE_FEATURE(kPriceInsightsRegionLaunched,
"PriceInsightsRegionLaunched",
base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -205,7 +205,7 @@ BASE_FEATURE(kEnableDiscountInfoApi,
- "EnableDiscountInfoApi",
- base::FEATURE_DISABLED_BY_DEFAULT);
- #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
-- BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+@@ -246,7 +246,7 @@ const base::FeatureParam<bool> kDiscount
+ &kEnableDiscountInfoApi, kDiscountOnShoppyPageParam, false};
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
BASE_FEATURE(kEnableDiscountInfoApiRegionLaunched,
"EnableDiscountInfoApiRegionLaunched",
base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -240,7 +240,7 @@ BASE_FEATURE(kShoppingCollection,
+@@ -281,7 +281,7 @@ const base::FeatureParam<bool> kDeleteAl
BASE_FEATURE(kShoppingList, "ShoppingList", base::FEATURE_DISABLED_BY_DEFAULT);
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_crash_core_app_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_crash_core_app_BUILD.gn
index d8831c999c..33c0806c53 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_crash_core_app_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_crash_core_app_BUILD.gn
@@ -4,18 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/crash/core/app/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/crash/core/app/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/crash/core/app/BUILD.gn
-@@ -76,7 +76,7 @@ static_library("app") {
- "crashpad.h",
- ]
-
-- if (is_linux || is_chromeos) {
-+ if ((is_linux || is_chromeos) && !is_bsd) {
- sources += [ "crashpad_linux.cc" ]
- }
-
-@@ -89,6 +89,10 @@ static_library("app") {
+@@ -70,6 +70,10 @@ static_library("app") {
]
}
@@ -26,7 +17,16 @@ $NetBSD$
defines = [ "CRASH_IMPLEMENTATION" ]
public_deps = [ ":lib" ]
-@@ -117,7 +121,7 @@ static_library("app") {
+@@ -83,7 +87,7 @@ static_library("app") {
+ "//third_party/crashpad/crashpad/util",
+ ]
+
+- if (is_linux || is_chromeos) {
++ if ((is_linux || is_chromeos) && !is_bsd) {
+ sources += [ "crashpad_linux.cc" ]
+ data_deps = [ ":chrome_crashpad_handler" ]
+ }
+@@ -103,7 +107,7 @@ static_library("app") {
libs = [ "log" ]
}
@@ -35,7 +35,7 @@ $NetBSD$
deps += [
"//base:base_static",
"//components/crash/core/common",
-@@ -246,11 +250,6 @@ if (is_mac || is_android || is_linux ||
+@@ -234,11 +238,6 @@ if (is_mac || is_android || is_linux ||
executable("chrome_crashpad_handler") {
sources = [ "chrome_crashpad_handler.cc" ]
@@ -44,6 +44,6 @@ $NetBSD$
- "//third_party/crashpad/crashpad/handler",
- ]
-
- if (is_mac && (is_component_build || is_asan)) {
+ if (is_mac && (is_component_build || is_asan || is_ubsan_any)) {
ldflags = [
# The handler is in
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_embedder__support_user__agent__utils__unittest.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_embedder__support_user__agent__utils__unittest.cc
index 934477d84e..38ab51e6c2 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_embedder__support_user__agent__utils__unittest.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_embedder__support_user__agent__utils__unittest.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/embedder_support/user_agent_utils_unittest.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/embedder_support/user_agent_utils_unittest.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/embedder_support/user_agent_utils_unittest.cc
@@ -71,7 +71,7 @@ const char kDesktop[] =
"X11; CrOS x86_64 14541.0.0"
@@ -15,25 +15,16 @@ $NetBSD$
"X11; Linux x86_64"
#elif BUILDFLAG(IS_MAC)
"Macintosh; Intel Mac OS X 10_15_7"
-@@ -84,7 +84,7 @@ const char kDesktop[] =
- "Safari/537.36";
- #endif // BUILDFLAG(IS_ANDROID)
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- std::string GetMachine() {
- struct utsname unixinfo;
- uname(&unixinfo);
-@@ -192,7 +192,7 @@ void CheckUserAgentStringOrdering(bool m
- int value;
- ASSERT_TRUE(base::StringToInt(pieces[i], &value));
- }
+@@ -171,7 +171,7 @@ void CheckUserAgentStringOrdering(bool m
+ ASSERT_EQ("CrOS", pieces[0]);
+ ASSERT_EQ("x86_64", pieces[1]);
+ ASSERT_EQ("14541.0.0", pieces[2]);
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Post-UA Reduction there is a single <unifiedPlatform> value for Linux:
// X11; Linux x86_64
ASSERT_EQ(2u, pieces.size());
- ASSERT_EQ("X11", pieces[0]);
-@@ -750,7 +750,7 @@ TEST_F(UserAgentUtilsTest, UserAgentMeta
+@@ -727,7 +727,7 @@ TEST_F(UserAgentUtilsTest, UserAgentMeta
#endif
#elif BUILDFLAG(IS_ANDROID)
EXPECT_EQ(metadata.platform, "Android");
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_eye__dropper_eye__dropper__view.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_eye__dropper_eye__dropper__view.cc
index 890acc6ecd..cb46877403 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_eye__dropper_eye__dropper__view.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_eye__dropper_eye__dropper__view.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/eye_dropper/eye_dropper_view.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/eye_dropper/eye_dropper_view.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/eye_dropper/eye_dropper_view.cc
-@@ -200,7 +200,7 @@ EyeDropperView::EyeDropperView(gfx::Nati
+@@ -203,7 +203,7 @@ EyeDropperView::EyeDropperView(gfx::Nati
// EyeDropper/WidgetDelegate.
set_owned_by_client();
SetPreferredSize(GetSize());
@@ -14,4 +14,4 @@ $NetBSD$
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Use TYPE_MENU for Linux to ensure that the eye dropper view is displayed
// above the color picker.
- views::Widget::InitParams params(views::Widget::InitParams::TYPE_MENU);
+ views::Widget::InitParams params(
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__configurations.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__configurations.cc
index 3f5f771b18..6bcbd6f772 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__configurations.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__configurations.cc
@@ -4,33 +4,32 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/feature_engagement/public/feature_configurations.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/feature_engagement/public/feature_configurations.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/feature_engagement/public/feature_configurations.cc
-@@ -48,7 +48,7 @@ FeatureConfig CreateAlwaysTriggerConfig(
+@@ -95,7 +95,7 @@ std::optional<FeatureConfig> CreateNewUs
- absl::optional<FeatureConfig> GetClientSideFeatureConfig(
+ std::optional<FeatureConfig> GetClientSideFeatureConfig(
const base::Feature* feature) {
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
// The IPH bubble for link capturing has a trigger set to ANY so that it
// always shows up. The per app specific guardrails are independently stored
-@@ -67,7 +67,7 @@ absl::optional<FeatureConfig> GetClientS
+@@ -114,7 +114,7 @@ std::optional<FeatureConfig> GetClientSi
#endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- if (kIPHPasswordsAccountStorageFeature.name == feature->name) {
- absl::optional<FeatureConfig> config = FeatureConfig();
+ if (kIPHPasswordsManagementBubbleAfterSaveFeature.name == feature->name) {
+ std::optional<FeatureConfig> config = FeatureConfig();
config->valid = true;
-@@ -1530,7 +1530,8 @@ absl::optional<FeatureConfig> GetClientS
+@@ -1641,7 +1641,7 @@ std::optional<FeatureConfig> GetClientSi
#endif // BUILDFLAG(IS_ANDROID)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || \
-+ BUILDFLAG(IS_BSD)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- if (kIPHAutofillExternalAccountProfileSuggestionFeature.name ==
- feature->name) {
+ if (kIPHAutofillCreditCardBenefitFeature.name == feature->name) {
+ // Credit card benefit IPH is shown:
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.cc
index 1017953ef6..996f525b00 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.cc
@@ -4,33 +4,32 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/feature_engagement/public/feature_constants.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/feature_engagement/public/feature_constants.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/feature_engagement/public/feature_constants.cc
-@@ -21,7 +21,7 @@ BASE_FEATURE(kUseClientConfigIPH,
+@@ -18,7 +18,7 @@ BASE_FEATURE(kIPHDemoMode, "IPH_DemoMode
BASE_FEATURE(kIPHDummyFeature, "IPH_Dummy", base::FEATURE_DISABLED_BY_DEFAULT);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kIPHBatterySaverModeFeature,
- "IPH_BatterySaverMode",
- base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -611,7 +611,8 @@ constexpr base::FeatureParam<int> kDefau
+ #if BUILDFLAG(GOOGLE_CHROME_BRANDING)
+ BASE_FEATURE(kEsbDownloadRowPromoFeature,
+ "EsbDownloadRowPromo",
+@@ -639,7 +639,7 @@ BASE_FEATURE(kDefaultBrowserTriggerCrite
#endif // BUILDFLAG(IS_IOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || \
-+ BUILDFLAG(IS_BSD)
- BASE_FEATURE(kIPHAutofillExternalAccountProfileSuggestionFeature,
- "IPH_AutofillExternalAccountProfileSuggestion",
- base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -736,7 +737,7 @@ BASE_FEATURE(kIPHScalableIphGamingFeatur
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+ BASE_FEATURE(kIPHAutofillCreditCardBenefitFeature,
+ "IPH_AutofillCreditCardBenefit",
+ base::FEATURE_DISABLED_BY_DEFAULT);
+@@ -776,7 +776,7 @@ BASE_FEATURE(kIPHScalableIphGamingFeatur
base::FEATURE_DISABLED_BY_DEFAULT);
#endif
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)|| BUILDFLAG(IS_BSD)
- // This can be enabled by default, as the DesktopPWAsLinkCapturing flag is
- // needed for the IPH linked to this feature to work, and use-cases to show
- // the IPH are guarded by that flag.
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // This can be enabled by default, as the DesktopPWAsLinkCapturing
+ // flag is needed for the IPH linked to this feature to work, and
+ // use-cases to show the IPH are guarded by that flag.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.h
index ca8b6f97f3..0986410c3d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.h
@@ -4,18 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/feature_engagement/public/feature_constants.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/feature_engagement/public/feature_constants.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/feature_engagement/public/feature_constants.h
-@@ -25,7 +25,7 @@ BASE_DECLARE_FEATURE(kUseClientConfigIPH
+@@ -20,7 +20,7 @@ BASE_DECLARE_FEATURE(kIPHDemoMode);
BASE_DECLARE_FEATURE(kIPHDummyFeature);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- BASE_DECLARE_FEATURE(kIPHBatterySaverModeFeature);
- BASE_DECLARE_FEATURE(kIPHCompanionSidePanelFeature);
- BASE_DECLARE_FEATURE(kIPHCompanionSidePanelRegionSearchFeature);
-@@ -81,7 +81,7 @@ BASE_DECLARE_FEATURE(kIPHWebUiHelpBubble
+ #if BUILDFLAG(GOOGLE_CHROME_BRANDING)
+ BASE_DECLARE_FEATURE(kEsbDownloadRowPromoFeature);
+ #endif
+@@ -83,7 +83,7 @@ BASE_DECLARE_FEATURE(kIPHWebUiHelpBubble
BASE_DECLARE_FEATURE(kIPHPriceTrackingInSidePanelFeature);
BASE_DECLARE_FEATURE(kIPHBackNavigationMenuFeature);
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) ||
@@ -24,22 +24,21 @@ $NetBSD$
// All the features declared for Android below that are also used in Java,
// should also be declared in:
-@@ -253,7 +253,8 @@ extern const base::FeatureParam<int>
+@@ -258,7 +258,7 @@ BASE_DECLARE_FEATURE(kDefaultBrowserTrig
#endif // BUILDFLAG(IS_IOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || \
-+ BUILDFLAG(IS_BSD)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+ BASE_DECLARE_FEATURE(kIPHAutofillCreditCardBenefitFeature);
+ BASE_DECLARE_FEATURE(kIPHAutofillDisabledVirtualCardSuggestionFeature);
BASE_DECLARE_FEATURE(kIPHAutofillExternalAccountProfileSuggestionFeature);
- BASE_DECLARE_FEATURE(kIPHAutofillVirtualCardCVCSuggestionFeature);
- BASE_DECLARE_FEATURE(kIPHAutofillVirtualCardSuggestionFeature);
-@@ -300,7 +301,7 @@ BASE_DECLARE_FEATURE(kIPHScalableIphHelp
+@@ -309,7 +309,7 @@ BASE_DECLARE_FEATURE(kIPHScalableIphHelp
BASE_DECLARE_FEATURE(kIPHScalableIphGamingFeature);
#endif
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
BASE_DECLARE_FEATURE(kIPHDesktopPWAsLinkCapturingLaunch);
+ BASE_DECLARE_FEATURE(kIPHToolbarManagementButtonFeature);
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.cc
index 28cb65490d..72c2f166a8 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.cc
@@ -4,33 +4,32 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/feature_engagement/public/feature_list.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/feature_engagement/public/feature_list.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/feature_engagement/public/feature_list.cc
-@@ -157,7 +157,7 @@ const base::Feature* const kAllFeatures[
- &kIPHiOSPromoStaySafeFeature,
+@@ -165,7 +165,7 @@ const base::Feature* const kAllFeatures[
+ &kIPHiOSLensOverlayEntrypointTipFeature,
#endif // BUILDFLAG(IS_IOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- &kIPHBatterySaverModeFeature,
- &kIPHCompanionSidePanelFeature,
- &kIPHCompanionSidePanelRegionSearchFeature,
-@@ -215,7 +215,8 @@ const base::Feature* const kAllFeatures[
+ #if BUILDFLAG(GOOGLE_CHROME_BRANDING)
+ &kEsbDownloadRowPromoFeature,
+ #endif
+@@ -230,7 +230,7 @@ const base::Feature* const kAllFeatures[
// BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || \
-+ BUILDFLAG(IS_BSD)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+ &kIPHAutofillCreditCardBenefitFeature,
+ &kIPHAutofillDisabledVirtualCardSuggestionFeature,
&kIPHAutofillExternalAccountProfileSuggestionFeature,
- &kIPHAutofillVirtualCardCVCSuggestionFeature,
- &kIPHAutofillVirtualCardSuggestionFeature,
-@@ -262,7 +263,7 @@ const base::Feature* const kAllFeatures[
+@@ -281,7 +281,7 @@ const base::Feature* const kAllFeatures[
&kIPHScalableIphGamingFeature,
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
&kIPHDesktopPWAsLinkCapturingLaunch,
+ &kIPHToolbarManagementButtonFeature,
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.h
index 09e8b821d8..8e9270d641 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.h
@@ -4,28 +4,27 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/feature_engagement/public/feature_list.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/feature_engagement/public/feature_list.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/feature_engagement/public/feature_list.h
-@@ -288,7 +288,7 @@ DEFINE_VARIATION_PARAM(kIPHiOSPromoStayS
+@@ -288,7 +288,7 @@ DEFINE_VARIATION_PARAM(kIPHHomeCustomiza
#endif // BUILDFLAG(IS_IOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- DEFINE_VARIATION_PARAM(kIPHBatterySaverModeFeature, "IPH_BatterySaverMode");
- DEFINE_VARIATION_PARAM(kIPHCompanionSidePanelFeature, "IPH_CompanionSidePanel");
- DEFINE_VARIATION_PARAM(kIPHCompanionSidePanelRegionSearchFeature,
-@@ -387,7 +387,8 @@ DEFINE_VARIATION_PARAM(kIPHBackNavigatio
+ #if BUILDFLAG(GOOGLE_CHROME_BRANDING)
+ DEFINE_VARIATION_PARAM(kEsbDownloadRowPromoFeature, "EsbDownloadRowPromo");
+ #endif
+@@ -389,7 +389,7 @@ DEFINE_VARIATION_PARAM(kIPHTabGroupsSave
// BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || \
-+ BUILDFLAG(IS_BSD)
- DEFINE_VARIATION_PARAM(kIPHAutofillExternalAccountProfileSuggestionFeature,
- "IPH_AutofillExternalAccountProfileSuggestion");
- DEFINE_VARIATION_PARAM(kIPHAutofillVirtualCardCVCSuggestionFeature,
-@@ -470,7 +471,7 @@ DEFINE_VARIATION_PARAM(kIPHScalableIphHe
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+ DEFINE_VARIATION_PARAM(kIPHAutofillCreditCardBenefitFeature,
+ "IPH_AutofillCreditCardBenefit");
+
+@@ -481,7 +481,7 @@ DEFINE_VARIATION_PARAM(kIPHScalableIphHe
DEFINE_VARIATION_PARAM(kIPHScalableIphGamingFeature, "IPH_ScalableIphGaming");
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
@@ -33,32 +32,31 @@ $NetBSD$
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
DEFINE_VARIATION_PARAM(kIPHDesktopPWAsLinkCapturingLaunch,
"IPH_DesktopPWAsLinkCapturingLaunch");
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-@@ -615,7 +616,7 @@ constexpr flags_ui::FeatureEntry::Featur
- VARIATION_ENTRY(kIPHiOSPromoMadeForIOSFeature),
- VARIATION_ENTRY(kIPHiOSPromoStaySafeFeature),
+ DEFINE_VARIATION_PARAM(kIPHToolbarManagementButtonFeature,
+@@ -646,7 +646,7 @@ constexpr flags_ui::FeatureEntry::Featur
+ VARIATION_ENTRY(kIPHHomeCustomizationMenuFeature),
+ VARIATION_ENTRY(kIPHiOSLensOverlayEntrypointTipFeature),
#elif BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
VARIATION_ENTRY(kIPHBatterySaverModeFeature),
VARIATION_ENTRY(kIPHCompanionSidePanelFeature),
VARIATION_ENTRY(kIPHCompanionSidePanelRegionSearchFeature),
-@@ -673,7 +674,8 @@ constexpr flags_ui::FeatureEntry::Featur
+@@ -701,7 +701,7 @@ constexpr flags_ui::FeatureEntry::Featur
// BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || \
-+ BUILDFLAG(IS_BSD)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+ VARIATION_ENTRY(kIPHAutofillCreditCardBenefitFeature),
+ VARIATION_ENTRY(kIPHAutofillDisabledVirtualCardSuggestionFeature),
VARIATION_ENTRY(kIPHAutofillExternalAccountProfileSuggestionFeature),
- VARIATION_ENTRY(kIPHAutofillVirtualCardCVCSuggestionFeature),
- VARIATION_ENTRY(kIPHAutofillVirtualCardSuggestionFeature),
-@@ -720,7 +722,7 @@ constexpr flags_ui::FeatureEntry::Featur
+@@ -753,7 +753,7 @@ constexpr flags_ui::FeatureEntry::Featur
VARIATION_ENTRY(kIPHScalableIphGamingFeature),
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
VARIATION_ENTRY(kIPHDesktopPWAsLinkCapturingLaunch),
+ VARIATION_ENTRY(kIPHToolbarManagementButtonFeature),
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feed_core_v2_proto__util__unittest.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feed_core_v2_proto__util__unittest.cc
index e303b58378..bc25e9d872 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feed_core_v2_proto__util__unittest.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feed_core_v2_proto__util__unittest.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/feed/core/v2/proto_util_unittest.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/feed/core/v2/proto_util_unittest.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/feed/core/v2/proto_util_unittest.cc
-@@ -44,8 +44,8 @@ TEST(ProtoUtilTest, CreateClientInfo) {
+@@ -43,8 +43,8 @@ TEST(ProtoUtilTest, CreateClientInfo) {
feedwire::ClientInfo result = CreateClientInfo(request_metadata);
EXPECT_EQ(feedwire::ClientInfo::CHROME_ANDROID, result.app_type());
EXPECT_EQ(feedwire::Version::RELEASE, result.app_version().build_type());
@@ -16,4 +16,4 @@ $NetBSD$
+ EXPECT_EQ(2, result.app_version().gminor());
EXPECT_EQ(3, result.app_version().build());
EXPECT_EQ(4, result.app_version().revision());
- EXPECT_FALSE(result.chrome_client_info().start_surface());
+
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_media__router_common_media__source.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_media__router_common_media__source.cc
index 110db7a071..60a57e820b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_media__router_common_media__source.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_media__router_common_media__source.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/media_router/common/media_source.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/media_router/common/media_source.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/media_router/common/media_source.cc
-@@ -59,7 +59,7 @@ bool IsSystemAudioCaptureSupported() {
+@@ -57,7 +57,7 @@ bool IsSystemAudioCaptureSupported() {
+ if (!media::IsSystemLoopbackCaptureSupported()) {
+ return false;
}
- #if BUILDFLAG(IS_MAC)
- return base::FeatureList::IsEnabled(media::kMacLoopbackAudioForCast);
--#elif BUILDFLAG(IS_LINUX)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return base::FeatureList::IsEnabled(media::kPulseaudioLoopbackForCast);
#else
return true;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_named__mojo__ipc__server_connection__info.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_named__mojo__ipc__server_connection__info.h
index c3bcf5df00..6c3648c7fe 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_named__mojo__ipc__server_connection__info.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_named__mojo__ipc__server_connection__info.h
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/named_mojo_ipc_server/connection_info.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/named_mojo_ipc_server/connection_info.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/named_mojo_ipc_server/connection_info.h
-@@ -13,8 +13,14 @@
+@@ -12,8 +12,14 @@
#include "base/win/scoped_handle.h"
#elif BUILDFLAG(IS_MAC)
#include <bsm/libbsm.h>
@@ -22,9 +22,9 @@ $NetBSD$
#endif
namespace named_mojo_ipc_server {
-@@ -32,7 +38,7 @@ struct ConnectionInfo {
- absl::optional<base::win::ScopedHandle> impersonation_token{};
- #elif BUILDFLAG(IS_MAC)
+@@ -29,7 +35,7 @@ struct ConnectionInfo {
+ base::ProcessId pid{};
+ #if BUILDFLAG(IS_MAC)
audit_token_t audit_token{};
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_os__crypt_sync_libsecret__util__linux.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_os__crypt_sync_libsecret__util__linux.cc
index fe152cac6b..0714da719a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_os__crypt_sync_libsecret__util__linux.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_os__crypt_sync_libsecret__util__linux.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/os_crypt/sync/libsecret_util_linux.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/os_crypt/sync/libsecret_util_linux.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/os_crypt/sync/libsecret_util_linux.cc
-@@ -99,16 +99,22 @@ bool LibsecretLoader::EnsureLibsecretLoa
+@@ -185,16 +185,22 @@ bool LibsecretLoader::EnsureLibsecretLoa
// static
bool LibsecretLoader::LoadLibsecret() {
@@ -25,7 +25,7 @@ $NetBSD$
// We wanted to use libsecret, but we couldn't load it. Warn, because
// either the user asked for this, or we autodetected it incorrectly. (Or
// the system has broken libraries, which is also good to warn about.)
- // TODO(crbug.com/607435): Channel this message to the user-facing log
+ // TODO(crbug.com/40467093): Channel this message to the user-facing log
- VLOG(1) << "Could not load libsecret-1.so.0: " << dlerror();
+ VLOG(1) << "Could not load " << kSecretLib << ": " << dlerror();
return false;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_os__crypt_sync_os__crypt.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_os__crypt_sync_os__crypt.h
index a916f95133..1bac5a552b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_os__crypt_sync_os__crypt.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_os__crypt_sync_os__crypt.h
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/os_crypt/sync/os_crypt.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/os_crypt/sync/os_crypt.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/os_crypt/sync/os_crypt.h
@@ -14,7 +14,7 @@
#include "build/build_config.h"
@@ -17,7 +17,7 @@ $NetBSD$
@@ -23,7 +23,7 @@ class PrefRegistrySimple;
class PrefService;
- #endif
+ #endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_APPLE)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD)
@@ -73,6 +73,6 @@ $NetBSD$
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Create the KeyStorage. Will be null if no service is found. A Config must
- // be set before every call to this method.
- std::unique_ptr<KeyStorageLinux> CreateKeyStorage();
+ // Returns a cached string of "peanuts". Is thread-safe.
+ crypto::SymmetricKey* GetPasswordV10();
+
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.cc
index 24761b7f0b..27552946b3 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.cc
@@ -4,23 +4,23 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/password_manager/core/browser/features/password_features.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/password_manager/core/browser/features/password_features.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/password_manager/core/browser/features/password_features.cc
-@@ -24,7 +24,7 @@ BASE_FEATURE(kButterOnDesktopFollowup,
-
+@@ -41,7 +41,7 @@ BASE_FEATURE(kClearUndecryptablePassword
BASE_FEATURE(kClearUndecryptablePasswordsOnSync,
"ClearUndecryptablePasswordsInSync",
--#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS)
-+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS) || \
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -104,7 +104,7 @@ BASE_FEATURE(kPasswordManagerLogToTermin
- "PasswordManagerLogToTerminal",
+@@ -92,7 +92,7 @@ BASE_FEATURE(kPasswordManualFallbackAvai
+ "PasswordManualFallbackAvailable",
base::FEATURE_DISABLED_BY_DEFAULT);
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
BASE_FEATURE(kRestartToGainAccessToKeychain,
"RestartToGainAccessToKeychain",
- base::FEATURE_DISABLED_BY_DEFAULT);
+ #if BUILDFLAG(IS_MAC)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.h
index 96e47a9ed8..492540d817 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.h
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/password_manager/core/browser/features/password_features.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/password_manager/core/browser/features/password_features.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/password_manager/core/browser/features/password_features.h
-@@ -94,7 +94,7 @@ BASE_DECLARE_FEATURE(kPasswordManagerEna
- // terminal.
- BASE_DECLARE_FEATURE(kPasswordManagerLogToTerminal);
+@@ -93,7 +93,7 @@ BASE_DECLARE_FEATURE(kPasswordManagerLog
+ // Enables triggering password suggestions through the context menu.
+ BASE_DECLARE_FEATURE(kPasswordManualFallbackAvailable);
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Enables "Needs access to keychain, restart chrome" bubble and banner.
BASE_DECLARE_FEATURE(kRestartToGainAccessToKeychain);
- #endif // BUILDFLAG(IS_MAC)
+ #endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__form__manager.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__form__manager.cc
index 0857055497..ce3e886ecd 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__form__manager.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__form__manager.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/password_manager/core/browser/password_form_manager.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/password_manager/core/browser/password_form_manager.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/password_manager/core/browser/password_form_manager.cc
-@@ -58,7 +58,7 @@
+@@ -61,7 +61,7 @@
#include "components/webauthn/android/webauthn_cred_man_delegate.h"
#endif // BUILDFLAG(IS_ANDROID)
@@ -15,16 +15,16 @@ $NetBSD$
#include "components/os_crypt/sync/os_crypt.h"
#endif
-@@ -229,7 +229,7 @@ bool ShouldUploadCrowdsourcingVotes(cons
+@@ -231,7 +231,7 @@ bool ShouldUploadCrowdsourcingVotes(cons
return false;
}
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
bool ShouldShowKeychainErrorBubble(
- absl::optional<PasswordStoreBackendError> backend_error) {
+ std::optional<PasswordStoreBackendError> backend_error) {
if (!backend_error.has_value()) {
-@@ -794,7 +794,7 @@ void PasswordFormManager::OnFetchComplet
+@@ -888,7 +888,7 @@ void PasswordFormManager::OnFetchComplet
error.value().type);
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager.cc
index d555d94701..fba849827f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/password_manager/core/browser/password_manager.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/password_manager/core/browser/password_manager.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/password_manager/core/browser/password_manager.cc
-@@ -363,7 +363,7 @@ void PasswordManager::RegisterProfilePre
- registry->RegisterListPref(prefs::kPasswordManagerPromoCardsList);
+@@ -414,7 +414,7 @@ void PasswordManager::RegisterProfilePre
+ prefs::kAutofillableCredentialsAccountStoreLoginDatabase, false);
#endif // BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS)
registry->RegisterBooleanPref(prefs::kPasswordSharingEnabled, true);
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
@@ -15,3 +15,12 @@ $NetBSD$
registry->RegisterIntegerPref(prefs::kRelaunchChromeBubbleDismissedCounter,
0);
#endif
+@@ -427,7 +427,7 @@ void PasswordManager::RegisterProfilePre
+ #endif
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_IOS)
++ BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD)
+ registry->RegisterBooleanPref(prefs::kDeletingUndecryptablePasswordsEnabled,
+ true);
+ #endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store_login__database__unittest.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store_login__database__unittest.cc
index 771b8f421d..a7d1ac61a1 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store_login__database__unittest.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store_login__database__unittest.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/password_manager/core/browser/password_store/login_database_unittest.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/password_manager/core/browser/password_store/login_database_unittest.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/password_manager/core/browser/password_store/login_database_unittest.cc
-@@ -2106,7 +2106,7 @@ INSTANTIATE_TEST_SUITE_P(MigrationToVCur
- LoginDatabaseMigrationTestBroken,
- testing::Values(1, 2, 3, 24));
+@@ -2253,7 +2253,7 @@ INSTANTIATE_TEST_SUITE_P(MigrationToVCur
+ testing::Bool()));
--#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS)
-+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS) || \
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
class LoginDatabaseUndecryptableLoginsTest : public testing::Test {
protected:
LoginDatabaseUndecryptableLoginsTest() = default;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_common_policy__utils.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_common_policy__utils.cc
index 5663780dea..8e5a0515dd 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_common_policy__utils.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_common_policy__utils.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/policy/core/common/policy_utils.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/policy/core/common/policy_utils.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/policy/core/common/policy_utils.cc
-@@ -28,7 +28,7 @@ bool IsPolicyTestingEnabled(PrefService*
+@@ -22,7 +22,7 @@ bool IsPolicyTestingEnabled(PrefService*
return true;
}
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD)
if (channel == version_info::Channel::DEV) {
return true;
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_content_common_file__type__policies__unittest.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_content_common_file__type__policies__unittest.cc
index 9af9d2564b..6e49b3e44f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_content_common_file__type__policies__unittest.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_content_common_file__type__policies__unittest.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/safe_browsing/content/common/file_type_policies_unittest.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/safe_browsing/content/common/file_type_policies_unittest.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/safe_browsing/content/common/file_type_policies_unittest.cc
-@@ -139,7 +139,7 @@ TEST_F(FileTypePoliciesTest, UnpackResou
+@@ -148,7 +148,7 @@ TEST_F(FileTypePoliciesTest, UnpackResou
EXPECT_EQ(DownloadFileType::FULL_PING, file_type.ping_setting());
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_content_resources_gen__file__type__proto.py b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_content_resources_gen__file__type__proto.py
index f2407709df..00913b8605 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_content_resources_gen__file__type__proto.py
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_content_resources_gen__file__type__proto.py
@@ -4,19 +4,19 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/safe_browsing/content/resources/gen_file_type_proto.py.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/safe_browsing/content/resources/gen_file_type_proto.py.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/safe_browsing/content/resources/gen_file_type_proto.py
-@@ -38,6 +38,9 @@ def PlatformTypes():
- "fuchsia":
- download_file_types_pb2.DownloadFileType.PLATFORM_TYPE_FUCHSIA,
+@@ -37,6 +37,9 @@ def PlatformTypes():
+ "chromeos":
+ download_file_types_pb2.DownloadFileType.PLATFORM_TYPE_CHROME_OS,
"linux": download_file_types_pb2.DownloadFileType.PLATFORM_TYPE_LINUX,
+ "openbsd": download_file_types_pb2.DownloadFileType.PLATFORM_TYPE_LINUX,
+ "freebsd": download_file_types_pb2.DownloadFileType.PLATFORM_TYPE_LINUX,
+ "netbsd": download_file_types_pb2.DownloadFileType.PLATFORM_TYPE_LINUX,
"mac": download_file_types_pb2.DownloadFileType.PLATFORM_TYPE_MAC,
"win": download_file_types_pb2.DownloadFileType.PLATFORM_TYPE_WINDOWS,
- }
-@@ -181,7 +184,7 @@ class DownloadFileTypeProtoGenerator(Bin
+ # LINT.ThenChange(BUILD.gn:PlatformTypes)
+@@ -179,7 +182,7 @@ class DownloadFileTypeProtoGenerator(Bin
'-t',
'--type',
help='The platform type. One of android, chromeos, ' +
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc
index a910026c04..51ff06b97b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc
-@@ -109,7 +109,7 @@ RTLookupRequest::OSType GetRTLookupReque
- return RTLookupRequest::OS_TYPE_FUCHSIA;
+@@ -110,7 +110,7 @@ RTLookupRequest::OSType GetRTLookupReque
+ return RTLookupRequest::OS_TYPE_CHROME_OS;
#elif BUILDFLAG(IS_IOS)
return RTLookupRequest::OS_TYPE_IOS;
-#elif BUILDFLAG(IS_LINUX)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_core_common_features.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_core_common_features.cc
index 7f5d236d49..273e1afa48 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_core_common_features.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_core_common_features.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/safe_browsing/core/common/features.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/safe_browsing/core/common/features.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/safe_browsing/core/common/features.cc
-@@ -201,7 +201,7 @@ BASE_FEATURE(kSafeBrowsingSkipSubresourc
- BASE_FEATURE(kSafeBrowsingSkipSubresources2,
- "SafeBrowsingSkipSubResources2",
+@@ -237,7 +237,7 @@ BASE_FEATURE(kRippleForEnhancedProtectio
+ BASE_FEATURE(kSafeBrowsingAsyncRealTimeCheck,
+ "SafeBrowsingAsyncRealTimeCheck",
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS_LACROS)
-+ BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_search__engines_template__url__service.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_search__engines_template__url__service.cc
index dffdc13a9a..791c8bc26c 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_search__engines_template__url__service.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_search__engines_template__url__service.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/search_engines/template_url_service.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/search_engines/template_url_service.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/search_engines/template_url_service.cc
-@@ -2915,7 +2915,7 @@ bool TemplateURLService::MatchesDefaultS
+@@ -3060,7 +3060,7 @@ bool TemplateURLService::MatchesDefaultS
std::unique_ptr<EnterpriseSiteSearchManager>
TemplateURLService::GetEnterpriseSiteSearchManager(PrefService* prefs) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS_ASH)
-+ BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
return base::FeatureList::IsEnabled(omnibox::kSiteSearchSettingsPolicy)
? std::make_unique<EnterpriseSiteSearchManager>(
prefs, base::BindRepeating(
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__service.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__service.cc
index 839d496977..c06aca5fc6 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__service.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__service.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/supervised_user/core/browser/supervised_user_service.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/supervised_user/core/browser/supervised_user_service.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/supervised_user/core/browser/supervised_user_service.cc
-@@ -164,7 +164,7 @@ FirstTimeInterstitialBannerState Supervi
+@@ -152,7 +152,7 @@ FirstTimeInterstitialBannerState Supervi
const FirstTimeInterstitialBannerState original_state) {
FirstTimeInterstitialBannerState target_state = original_state;
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_IOS)
+ BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD)
- if (supervised_user::CanDisplayFirstTimeInterstitialBanner()) {
- if (original_state != FirstTimeInterstitialBannerState::kSetupComplete &&
- can_show_first_time_interstitial_banner_) {
+ if (original_state != FirstTimeInterstitialBannerState::kSetupComplete &&
+ can_show_first_time_interstitial_banner_) {
+ target_state = FirstTimeInterstitialBannerState::kNeedToShow;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.cc
index ed5b0e3e8d..d87097d597 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.cc
@@ -4,59 +4,48 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/supervised_user/core/common/features.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/supervised_user/core/common/features.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/supervised_user/core/common/features.cc
-@@ -64,7 +64,7 @@ bool IsLocalWebApprovalsEnabled() {
- // particular aspects. If one or more of these sub-feature flags are enabled,
- // then child account detection logic is implicitly enabled.
- #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
-- BUILDFLAG(IS_IOS)
-+ BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kFilterWebsitesForSupervisedUsersOnDesktopAndIOS,
- "FilterWebsitesForSupervisedUsersOnDesktopAndIOS",
- base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -74,7 +74,7 @@ BASE_FEATURE(kFilterWebsitesForSupervise
+@@ -67,7 +67,7 @@ BASE_FEATURE(kUpdatedSupervisedUserExten
+ "UpdatedSupervisedUserExtensionApprovalStrings",
base::FEATURE_DISABLED_BY_DEFAULT);
- #endif
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kSupervisedPrefsControlledBySupervisedStore,
- "SupervisedPrefsControlledBySupervisedStore",
- base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -86,7 +86,7 @@ BASE_FEATURE(kSupervisedPrefsControlledB
+-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ BASE_FEATURE(kEnableExtensionsPermissionsForSupervisedUsersOnDesktop,
+ "EnableExtensionsPermissionsForSupervisedUsersOnDesktop",
+ base::FEATURE_DISABLED_BY_DEFAULT);
+@@ -82,7 +82,7 @@ bool IsSupervisedUserSkipParentApprovalT
+ #if BUILDFLAG(IS_CHROMEOS)
+ return base::FeatureList::IsEnabled(
+ kEnableSupervisedUserSkipParentApprovalToInstallExtensions);
+-#elif BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#elif BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ bool skipParentApprovalEnabled = base::FeatureList::IsEnabled(
+ kEnableSupervisedUserSkipParentApprovalToInstallExtensions);
+ bool permissionExtensionsForSupervisedUsersEnabled =
+@@ -107,13 +107,13 @@ BASE_FEATURE(kSupervisedUserProfileSigni
+ "SupervisedUserProfileSigninIPH",
+ base::FEATURE_DISABLED_BY_DEFAULT);
- // Whether to display a "Managed by your parent" or similar text for supervised
- // users in various UI surfaces.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kEnableManagedByParentUi,
- "EnableManagedByParentUi",
- base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -96,7 +96,7 @@ BASE_FEATURE(kEnableManagedByParentUi,
+ BASE_FEATURE(kShowKiteForSupervisedUsers,
+ "ShowKiteForSupervisedUsers",
base::FEATURE_DISABLED_BY_DEFAULT);
#endif
--#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kEnableExtensionsPermissionsForSupervisedUsersOnDesktop,
- "EnableExtensionsPermissionsForSupervisedUsersOnDesktop",
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ BASE_FEATURE(kHideGuestModeForSupervisedUsers,
+ "HideGuestModeForSupervisedUsers",
+ base::FEATURE_DISABLED_BY_DEFAULT);
+@@ -123,7 +123,7 @@ BASE_FEATURE(kForceSafeSearchForUnauthen
+ "ForceSafeSearchForUnauthenticatedSupervisedUsers",
base::FEATURE_DISABLED_BY_DEFAULT);
-@@ -115,7 +115,7 @@ bool CanDisplayFirstTimeInterstitialBann
- // When enabled non-syncing signed in supervised users will not be signed out of
- // their google account when cookies are cleared
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kClearingCookiesKeepsSupervisedUsersSignedIn,
- "ClearingCookiesKeepsSupervisedUsersSignedIn",
- base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -162,7 +162,7 @@ bool IsChildAccountSupervisionEnabled()
- return base::FeatureList::IsEnabled(
- supervised_user::
- kFilterWebsitesForSupervisedUsersOnDesktopAndIOS) ||
--#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- base::FeatureList::IsEnabled(
- supervised_user::
- kEnableExtensionsPermissionsForSupervisedUsersOnDesktop) ||
+ BASE_FEATURE(kForceSupervisedUserReauthenticationForYouTube,
+ "ForceSupervisedUserReauthenticationForYouTube",
+ base::FEATURE_DISABLED_BY_DEFAULT);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.h
index 3a6b54ebe0..1392f653ea 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.h
@@ -4,14 +4,37 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/supervised_user/core/common/features.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/supervised_user/core/common/features.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/supervised_user/core/common/features.h
-@@ -24,7 +24,7 @@ BASE_DECLARE_FEATURE(kEnableManagedByPar
- extern const base::FeatureParam<std::string> kManagedByParentUiMoreInfoUrl;
- BASE_DECLARE_FEATURE(kClearingCookiesKeepsSupervisedUsersSignedIn);
+@@ -25,7 +25,7 @@ BASE_DECLARE_FEATURE(
+ // Applies new informative strings during the parental extension approval flow.
+ BASE_DECLARE_FEATURE(kUpdatedSupervisedUserExtensionApprovalStrings);
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
BASE_DECLARE_FEATURE(kEnableExtensionsPermissionsForSupervisedUsersOnDesktop);
#endif
+@@ -59,11 +59,11 @@ BASE_DECLARE_FEATURE(kSupervisedUserProf
+
+ // Displays a Family Link kite badge on the supervised user avatar in various
+ // surfaces.
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ BASE_DECLARE_FEATURE(kShowKiteForSupervisedUsers);
+ #endif
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ // This hides the following guest mode entry points for supervised users:
+ //
+ // * In the Profile menu for supervised profiles
+@@ -75,7 +75,7 @@ BASE_DECLARE_FEATURE(kHideGuestModeForSu
+ // unauthenticated (e.g. signed out of the content area) account.
+ BASE_DECLARE_FEATURE(kForceSafeSearchForUnauthenticatedSupervisedUsers);
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ // Force re-authentication when an unauthenticated supervised user tries to
+ // access YouTube, so that content restrictions can be applied.
+ BASE_DECLARE_FEATURE(kForceSupervisedUserReauthenticationForYouTube);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_trusted__vault_trusted__vault__connection__impl.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_trusted__vault_trusted__vault__connection__impl.cc
new file mode 100644
index 0000000000..bd66e34bcc
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_trusted__vault_trusted__vault__connection__impl.cc
@@ -0,0 +1,17 @@
+$NetBSD$
+
+* Part of patchset to build chromium on NetBSD
+* Based on OpenBSD's chromium patches, and
+ pkgsrc's qt5-qtwebengine patches
+
+--- src/3rdparty/chromium/components/trusted_vault/trusted_vault_connection_impl.cc.orig 2025-09-25 11:10:42.000000000 +0000
++++ src/3rdparty/chromium/components/trusted_vault/trusted_vault_connection_impl.cc
+@@ -102,7 +102,7 @@ GetLocalPhysicalDeviceType() {
+ // currently used or even built on all platforms.
+ #if BUILDFLAG(IS_CHROMEOS)
+ return trusted_vault_pb::PhysicalDeviceMetadata::DEVICE_TYPE_CHROMEOS;
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ return trusted_vault_pb::PhysicalDeviceMetadata::DEVICE_TYPE_LINUX;
+ #elif BUILDFLAG(IS_ANDROID)
+ return trusted_vault_pb::PhysicalDeviceMetadata::DEVICE_TYPE_ANDROID;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_user__education_views_help__bubble__view.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_user__education_views_help__bubble__view.cc
index adc139ebd2..50e0a4b34a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_user__education_views_help__bubble__view.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_user__education_views_help__bubble__view.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/user_education/views/help_bubble_view.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/user_education/views/help_bubble_view.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/user_education/views/help_bubble_view.cc
-@@ -1009,7 +1009,7 @@ gfx::Rect HelpBubbleView::GetAnchorRect(
+@@ -852,7 +852,7 @@ gfx::Rect HelpBubbleView::GetAnchorRect(
void HelpBubbleView::OnBeforeBubbleWidgetInit(views::Widget::InitParams* params,
views::Widget* widget) const {
BubbleDialogDelegateView::OnBeforeBubbleWidgetInit(params, widget);
@@ -14,4 +14,4 @@ $NetBSD$
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Help bubbles anchored to menus may be clipped to their anchors' bounds,
// resulting in visual errors, unless they use accelerated rendering. See
- // crbug.com/1445770 for details.
+ // crbug.com/1445770 for details. This also applies to bubbles anchored to
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_display__embedder_skia__output__surface__impl.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_display__embedder_skia__output__surface__impl.cc
index a157e7290c..015e0bda32 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_display__embedder_skia__output__surface__impl.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_display__embedder_skia__output__surface__impl.cc
@@ -4,12 +4,12 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/viz/service/display_embedder/skia_output_surface_impl.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/viz/service/display_embedder/skia_output_surface_impl.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/viz/service/display_embedder/skia_output_surface_impl.cc
-@@ -1549,7 +1549,7 @@ GrBackendFormat SkiaOutputSurfaceImpl::G
- ->GetDeviceQueue()
- ->GetVulkanPhysicalDevice(),
- VK_IMAGE_TILING_OPTIMAL, vk_format, yuv_color_space, ycbcr_info);
+@@ -1498,7 +1498,7 @@ GrBackendFormat SkiaOutputSurfaceImpl::G
+ ->GetVulkanPhysicalDevice(),
+ VK_IMAGE_TILING_OPTIMAL, vk_format,
+ si_format, yuv_color_space, ycbcr_info);
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Textures that were allocated _on linux_ with ycbcr info came from
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.cc
index b7aedf8fd1..c8e32d1106 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.cc
@@ -4,20 +4,20 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/viz/service/display_embedder/software_output_surface.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/viz/service/display_embedder/software_output_surface.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/viz/service/display_embedder/software_output_surface.cc
-@@ -124,7 +124,7 @@ void SoftwareOutputSurface::SwapBuffersC
+@@ -115,7 +115,7 @@ void SoftwareOutputSurface::SwapBuffersC
now.SnappedToNextTick(refresh_timebase_, refresh_interval_) - now;
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
if (needs_swap_size_notifications_)
client_->DidSwapWithSize(pixel_size);
#endif
-@@ -153,7 +153,7 @@ gfx::OverlayTransform SoftwareOutputSurf
+@@ -144,7 +144,7 @@ gfx::OverlayTransform SoftwareOutputSurf
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.h
index e15eab5d8a..cf9726fac8 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.h
@@ -4,20 +4,20 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/viz/service/display_embedder/software_output_surface.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/viz/service/display_embedder/software_output_surface.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/viz/service/display_embedder/software_output_surface.h
-@@ -47,7 +47,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputS
+@@ -44,7 +44,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputS
gfx::OverlayTransform GetDisplayTransform() override;
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
void SetNeedsSwapSizeNotifications(
bool needs_swap_size_notifications) override;
#endif
-@@ -70,7 +70,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputS
+@@ -64,7 +64,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputS
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc
index 7bf6ec1144..51c4349c80 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc
-@@ -109,7 +109,7 @@ RootCompositorFrameSinkImpl::Create(
+@@ -113,7 +113,7 @@ RootCompositorFrameSinkImpl::Create(
output_surface->SetNeedsSwapSizeNotifications(
params->send_swap_size_notifications);
@@ -15,10 +15,10 @@ $NetBSD$
// For X11, we need notify client about swap completion after resizing, so the
// client can use it for synchronize with X11 WM.
output_surface->SetNeedsSwapSizeNotifications(true);
-@@ -713,7 +713,7 @@ void RootCompositorFrameSinkImpl::Displa
- #if BUILDFLAG(IS_ANDROID)
- if (display_client_ && enable_swap_competion_callback_)
+@@ -793,7 +793,7 @@ void RootCompositorFrameSinkImpl::Displa
+ if (display_client_ && enable_swap_completion_callback_) {
display_client_->DidCompleteSwapWithSize(pixel_size);
+ }
-#elif BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
+#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11)
if (display_client_ && pixel_size != last_swap_pixel_size_) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h
index 7e616f0c70..91013e4c42 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/viz/service/frame_sinks/root_compositor_frame_sink_impl.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/viz/service/frame_sinks/root_compositor_frame_sink_impl.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/components/viz/service/frame_sinks/root_compositor_frame_sink_impl.h
-@@ -210,7 +210,7 @@ class VIZ_SERVICE_EXPORT RootCompositorF
- // to actually unref.
- LocalSurfaceId to_evict_on_next_draw_and_swap_ = LocalSurfaceId();
+@@ -231,7 +231,7 @@ class VIZ_SERVICE_EXPORT RootCompositorF
+ // See comments on `EvictionHandler`.
+ EvictionHandler eviction_handler_;
-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_app_content__main.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_app_content__main.cc
index 436af08b55..88f6f93f4d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_app_content__main.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_app_content__main.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/app/content_main.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/app/content_main.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/app/content_main.cc
-@@ -64,7 +64,7 @@
+@@ -66,7 +66,7 @@
#include "content/common/shared_file_util.h"
#endif
@@ -15,12 +15,21 @@ $NetBSD$
#include "base/files/scoped_file.h"
#endif
-@@ -209,7 +209,7 @@ RunContentProcess(ContentMainParams para
- base::EnableTerminationOnOutOfMemory();
+@@ -229,7 +229,7 @@ NO_STACK_PROTECTOR int RunContentProcess
#endif
+ logging::RegisterAbslAbortHook();
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// The various desktop environments set this environment variable that
// allows the dbus client library to connect directly to the bus. When this
// variable is not set (test environments like xvfb-run), the dbus client
+@@ -316,7 +316,7 @@ NO_STACK_PROTECTOR int RunContentProcess
+ command_line->AppendSwitch(switches::kUseMobileUserAgent);
+ #endif
+
+-#if (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)) && !defined(COMPONENT_BUILD)
++#if (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !defined(COMPONENT_BUILD) && defined(notyet)
+ base::subtle::EnableFDOwnershipEnforcement(true);
+ #endif
+
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_app_content__main__runner__impl.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_app_content__main__runner__impl.cc
index b66c88694c..e66fe87c10 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_app_content__main__runner__impl.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_app_content__main__runner__impl.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/app/content_main_runner_impl.cc.orig 2025-01-24 10:49:20.000000000 +0000
+--- src/3rdparty/chromium/content/app/content_main_runner_impl.cc.orig 2025-09-25 11:10:42.000000000 +0000
+++ src/3rdparty/chromium/content/app/content_main_runner_impl.cc
-@@ -143,13 +143,13 @@
+@@ -147,18 +147,20 @@
#include "content/browser/posix_file_descriptor_info_impl.h"
#include "content/public/common/content_descriptors.h"
@@ -22,18 +22,31 @@ $NetBSD$
#include "base/files/file_path_watcher_inotify.h"
#include "base/native_library.h"
#include "base/rand_util.h"
-@@ -190,6 +190,10 @@
- #endif
- #endif // BUILDFLAG(USE_ZYGOTE_HANDLE)
+ #include "content/public/common/zygote/sandbox_support_linux.h"
++#if !BUILDFLAG(IS_BSD)
+ #include "sandbox/policy/linux/sandbox_linux.h"
++#endif
+ #include "third_party/boringssl/src/include/openssl/crypto.h"
+
+ #if BUILDFLAG(IS_CHROMEOS_LACROS)
+@@ -189,11 +191,15 @@
+ #include "content/public/common/zygote/zygote_handle.h"
+ #include "content/zygote/zygote_main.h"
+ #include "media/base/media_switches.h"
++#endif // BUILDFLAG(USE_ZYGOTE_HANDLE)
+ #if BUILDFLAG(ENABLE_WEBRTC)
+ #include "third_party/webrtc_overrides/init_webrtc.h" // nogncheck
+ #endif
+-#endif // BUILDFLAG(USE_ZYGOTE_HANDLE)
++
+#if BUILDFLAG(IS_BSD)
+#include "base/system/sys_info.h"
+#endif
-+
+
#if BUILDFLAG(IS_ANDROID)
#include "base/system/sys_info.h"
- #include "content/browser/android/battery_metrics.h"
-@@ -379,7 +383,7 @@ void InitializeZygoteSandboxForBrowserPr
+@@ -406,7 +412,7 @@ void InitializeZygoteSandboxForBrowserPr
}
#endif // BUILDFLAG(USE_ZYGOTE)
@@ -42,7 +55,7 @@ $NetBSD$
#if BUILDFLAG(ENABLE_PPAPI)
// Loads the (native) libraries but does not initialize them (i.e., does not
-@@ -417,7 +421,10 @@ void PreloadLibraryCdms() {
+@@ -444,7 +450,10 @@ void PreloadLibraryCdms() {
void PreSandboxInit() {
// Ensure the /dev/urandom is opened.
@@ -53,7 +66,7 @@ $NetBSD$
// May use sysinfo(), sched_getaffinity(), and open various /sys/ and /proc/
// files.
-@@ -429,9 +436,16 @@ void PreSandboxInit() {
+@@ -456,9 +465,16 @@ void PreSandboxInit() {
// https://boringssl.googlesource.com/boringssl/+/HEAD/SANDBOXING.md
CRYPTO_pre_sandbox_init();
@@ -70,16 +83,7 @@ $NetBSD$
#if BUILDFLAG(ENABLE_PPAPI)
// Ensure access to the Pepper plugins before the sandbox is turned on.
-@@ -441,7 +455,7 @@ void PreSandboxInit() {
- // Ensure access to the library CDMs before the sandbox is turned on.
- PreloadLibraryCdms();
- #endif
--#if BUILDFLAG(ENABLE_WEBRTC)
-+#if BUILDFLAG(ENABLE_WEBRTC) && !BUILDFLAG(IS_BSD)
- InitializeWebRtcModule();
- #endif
-
-@@ -748,7 +762,7 @@ RunOtherNamedProcessTypeMain(const std::
+@@ -772,7 +788,7 @@ NO_STACK_PROTECTOR int RunOtherNamedProc
unregister_thread_closure = base::HangWatcher::RegisterThread(
base::HangWatcher::ThreadType::kMainThread);
bool start_hang_watcher_now;
@@ -88,21 +92,16 @@ $NetBSD$
// On Linux/ChromeOS, the HangWatcher can't start until after the sandbox is
// initialized, because the sandbox can't be started with multiple threads.
// TODO(mpdenton): start the HangWatcher after the sandbox is initialized.
-@@ -842,11 +856,10 @@ int ContentMainRunnerImpl::Initialize(Co
- kFieldTrialDescriptor + base::GlobalDescriptors::kBaseDescriptor);
+@@ -882,7 +898,7 @@ int ContentMainRunnerImpl::Initialize(Co
+ base::GlobalDescriptors::kBaseDescriptor);
#endif // !BUILDFLAG(IS_ANDROID)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OPENBSD)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
g_fds->Set(kCrashDumpSignal,
kCrashDumpSignal + base::GlobalDescriptors::kBaseDescriptor);
--#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ||
-- // BUILDFLAG(IS_OPENBSD)
-+#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-
- #endif // !BUILDFLAG(IS_WIN)
-
-@@ -1041,6 +1054,18 @@ int ContentMainRunnerImpl::Initialize(Co
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ||
+@@ -1069,6 +1085,18 @@ int ContentMainRunnerImpl::Initialize(Co
process_type == switches::kZygoteProcess) {
PreSandboxInit();
}
@@ -121,16 +120,7 @@ $NetBSD$
#endif
delegate_->SandboxInitialized(process_type);
-@@ -1110,7 +1135,7 @@ int NO_STACK_PROTECTOR ContentMainRunner
- ->ReconfigureAfterFeatureListInit(process_type);
- }
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // If dynamic Mojo Core is being used, ensure that it's loaded very early in
- // the child/zygote process, before any sandbox is initialized. The library
- // is not fully initialized with IPC support until a ChildProcess is later
-@@ -1146,6 +1171,11 @@ int NO_STACK_PROTECTOR ContentMainRunner
+@@ -1170,6 +1198,11 @@ NO_STACK_PROTECTOR int ContentMainRunner
RegisterMainThreadFactories();
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_BUILD.gn
index 16c2461053..328603db72 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_BUILD.gn
@@ -4,14 +4,31 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/BUILD.gn.orig 2025-09-25 11:10:42.000000000 +0000
+++ src/3rdparty/chromium/content/browser/BUILD.gn
-@@ -2463,6 +2463,13 @@ jumbo_source_set("browser") {
+@@ -2438,6 +2438,14 @@ jumbo_source_set("browser") {
+ ]
+ }
+
++ if (is_bsd) {
++ sources += [
++ "file_system_access/file_path_watcher/file_path_watcher_bsd.cc",
++ "file_system_access/file_path_watcher/file_path_watcher_kqueue.cc",
++ "file_system_access/file_path_watcher/file_path_watcher_kqueue.h",
++ ]
++ }
++
+ if (is_linux || is_chromeos) {
+ sources += [
+ "child_process_launcher_helper_linux.cc",
+@@ -2483,6 +2491,15 @@ jumbo_source_set("browser") {
deps += [ "//media/mojo/mojom/stable:stable_video_decoder" ]
}
+ if (is_bsd) {
+ sources -= [
++ "file_system_access/file_path_watcher/file_path_watcher_inotify.cc",
++ "file_system_access/file_path_watcher/file_path_watcher_inotify.h",
+ "sandbox_ipc_linux.cc",
+ "sandbox_ipc_linux.h",
+ ]
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl.cc
index 1d8ee82399..17060e3540 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl.cc
@@ -4,17 +4,17 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/browser_child_process_host_impl.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/browser_child_process_host_impl.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/browser/browser_child_process_host_impl.cc
-@@ -335,6 +335,7 @@ void BrowserChildProcessHostImpl::Launch
+@@ -328,6 +328,7 @@ void BrowserChildProcessHostImpl::Launch
+ switches::kLogBestEffortTasks,
+ switches::kPerfettoDisableInterning,
switches::kTraceToConsole,
- switches::kV,
- switches::kVModule,
+ switches::kDisableUnveil,
};
cmd_line->CopySwitchesFrom(browser_command_line, kForwardSwitches);
-@@ -635,7 +636,7 @@ void BrowserChildProcessHostImpl::OnProc
+@@ -659,7 +660,7 @@ void BrowserChildProcessHostImpl::OnProc
->child_process());
#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper.h
index 68a091251e..bb7da534ac 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper.h
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/child_process_launcher_helper.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/child_process_launcher_helper.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/browser/child_process_launcher_helper.h
-@@ -269,7 +269,7 @@ class ChildProcessLauncherHelper
- std::unique_ptr<SandboxedProcessLauncherDelegate> delegate_;
- base::WeakPtr<ChildProcessLauncher> child_process_launcher_;
+@@ -293,7 +293,7 @@ class ChildProcessLauncherHelper
+ std::optional<base::ProcessId> process_id_ = std::nullopt;
+ #endif // BUILDFLAG(IS_CHROMEOS)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper__linux.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper__linux.cc
index 6ad3c46412..6f05a786d5 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper__linux.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper__linux.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/child_process_launcher_helper_linux.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/child_process_launcher_helper_linux.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/browser/child_process_launcher_helper_linux.cc
-@@ -21,7 +21,9 @@
+@@ -22,7 +22,9 @@
#include "content/public/common/result_codes.h"
#include "content/public/common/sandboxed_process_launcher_delegate.h"
#include "content/public/common/zygote/sandbox_support_linux.h"
@@ -16,7 +16,7 @@ $NetBSD$
#include "sandbox/policy/linux/sandbox_linux.h"
namespace content {
-@@ -46,14 +48,20 @@ ChildProcessLauncherHelper::GetFilesToMa
+@@ -47,14 +49,20 @@ ChildProcessLauncherHelper::GetFilesToMa
}
bool ChildProcessLauncherHelper::IsUsingLaunchOptions() {
@@ -37,7 +37,7 @@ $NetBSD$
// Convert FD mapping to FileHandleMappingVector
options->fds_to_remap = files_to_register.GetMappingWithIDAdjustment(
base::GlobalDescriptors::kBaseDescriptor);
-@@ -65,7 +73,9 @@ bool ChildProcessLauncherHelper::BeforeL
+@@ -66,7 +74,9 @@ bool ChildProcessLauncherHelper::BeforeL
options->environment = delegate_->GetEnvironment();
} else {
@@ -47,15 +47,15 @@ $NetBSD$
// Environment variables could be supported in the future, but are not
// currently supported when launching with the zygote.
DCHECK(delegate_->GetEnvironment().empty());
-@@ -82,6 +92,7 @@ ChildProcessLauncherHelper::LaunchProces
+@@ -83,6 +93,7 @@ ChildProcessLauncherHelper::LaunchProces
int* launch_result) {
*is_synchronous_launch = true;
Process process;
+#if !BUILDFLAG(IS_BSD)
ZygoteCommunication* zygote_handle = GetZygoteForLaunch();
if (zygote_handle) {
- // TODO(crbug.com/569191): If chrome supported multiple zygotes they could
-@@ -92,7 +103,6 @@ ChildProcessLauncherHelper::LaunchProces
+ // TODO(crbug.com/40448989): If chrome supported multiple zygotes they could
+@@ -93,7 +104,6 @@ ChildProcessLauncherHelper::LaunchProces
GetProcessType());
*launch_result = LAUNCH_RESULT_SUCCESS;
@@ -63,7 +63,7 @@ $NetBSD$
if (handle) {
// It could be a renderer process or an utility process.
int oom_score = content::kMiscOomScore;
-@@ -101,15 +111,17 @@ ChildProcessLauncherHelper::LaunchProces
+@@ -102,15 +112,17 @@ ChildProcessLauncherHelper::LaunchProces
oom_score = content::kLowestRendererOomScore;
ZygoteHostImpl::GetInstance()->AdjustRendererOOMScore(handle, oom_score);
}
@@ -81,8 +81,8 @@ $NetBSD$
+#endif
#if BUILDFLAG(IS_CHROMEOS)
- if (GetProcessType() == switches::kRendererProcess) {
-@@ -131,10 +143,14 @@ ChildProcessTerminationInfo ChildProcess
+ process_id_ = process.process.Pid();
+@@ -134,10 +146,14 @@ ChildProcessTerminationInfo ChildProcess
const ChildProcessLauncherHelper::Process& process,
bool known_dead) {
ChildProcessTerminationInfo info;
@@ -97,7 +97,7 @@ $NetBSD$
info.status = base::GetKnownDeadTerminationStatus(process.process.Handle(),
&info.exit_code);
} else {
-@@ -160,13 +176,17 @@ void ChildProcessLauncherHelper::ForceNo
+@@ -163,13 +179,17 @@ void ChildProcessLauncherHelper::ForceNo
DCHECK(CurrentlyOnProcessLauncherTaskRunner());
process.process.Terminate(RESULT_CODE_NORMAL_EXIT, false);
// On POSIX, we must additionally reap the child.
@@ -115,7 +115,7 @@ $NetBSD$
}
void ChildProcessLauncherHelper::SetProcessPriorityOnLauncherThread(
-@@ -179,11 +199,13 @@ void ChildProcessLauncherHelper::SetProc
+@@ -182,11 +202,13 @@ void ChildProcessLauncherHelper::SetProc
}
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher.h
new file mode 100644
index 0000000000..ba708bb4d9
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher.h
@@ -0,0 +1,17 @@
+$NetBSD$
+
+* Part of patchset to build chromium on NetBSD
+* Based on OpenBSD's chromium patches, and
+ pkgsrc's qt5-qtwebengine patches
+
+--- src/3rdparty/chromium/content/browser/file_system_access/file_path_watcher/file_path_watcher.h.orig 2025-09-25 11:10:42.000000000 +0000
++++ src/3rdparty/chromium/content/browser/file_system_access/file_path_watcher/file_path_watcher.h
+@@ -125,7 +125,7 @@ class CONTENT_EXPORT FilePathWatcher {
+ Type type = Type::kNonRecursive;
+
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
+- BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
++ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ // The callback will return the full path to a changed file instead of
+ // the watched path supplied as |path| when Watch is called.
+ // So the full path can be different from the watched path when a folder is
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__bsd.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__bsd.cc
new file mode 100644
index 0000000000..13a6ef6dbf
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__bsd.cc
@@ -0,0 +1,64 @@
+$NetBSD$
+
+* Part of patchset to build chromium on NetBSD
+* Based on OpenBSD's chromium patches, and
+ pkgsrc's qt5-qtwebengine patches
+
+--- src/3rdparty/chromium/content/browser/file_system_access/file_path_watcher/file_path_watcher_bsd.cc.orig 2024-12-21 10:25:10.270974112 +0000
++++ src/3rdparty/chromium/content/browser/file_system_access/file_path_watcher/file_path_watcher_bsd.cc
+@@ -0,0 +1,55 @@
++// Copyright 2024 The Chromium Authors
++// Use of this source code is governed by a BSD-style license that can be
++// found in the LICENSE file.
++
++#include "content/browser/file_system_access/file_path_watcher/file_path_watcher.h"
++
++#include <memory>
++
++#include "base/memory/ptr_util.h"
++#include "build/build_config.h"
++#include "content/browser/file_system_access/file_path_watcher/file_path_watcher_kqueue.h"
++
++namespace content {
++
++namespace {
++
++class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
++ public:
++ FilePathWatcherImpl() = default;
++ FilePathWatcherImpl(const FilePathWatcherImpl&) = delete;
++ FilePathWatcherImpl& operator=(const FilePathWatcherImpl&) = delete;
++ ~FilePathWatcherImpl() override = default;
++
++ bool Watch(const base::FilePath& path,
++ Type type,
++ const FilePathWatcher::Callback& callback) override {
++ DCHECK(!impl_.get());
++ if (type == Type::kRecursive) {
++ if (!FilePathWatcher::RecursiveWatchAvailable()) {
++ return false;
++ }
++ } else {
++ impl_ = std::make_unique<FilePathWatcherKQueue>();
++ }
++ DCHECK(impl_.get());
++ return impl_->Watch(path, type, callback);
++ }
++
++ void Cancel() override {
++ if (impl_.get()) {
++ impl_->Cancel();
++ }
++ set_cancelled();
++ }
++
++ private:
++ std::unique_ptr<PlatformDelegate> impl_;
++};
++
++} // namespace
++
++FilePathWatcher::FilePathWatcher()
++ : FilePathWatcher(std::make_unique<FilePathWatcherImpl>()) {}
++
++} // namespace content
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__kqueue.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__kqueue.h
new file mode 100644
index 0000000000..5a0e4e64f2
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__kqueue.h
@@ -0,0 +1,16 @@
+$NetBSD$
+
+* Part of patchset to build chromium on NetBSD
+* Based on OpenBSD's chromium patches, and
+ pkgsrc's qt5-qtwebengine patches
+
+--- src/3rdparty/chromium/content/browser/file_system_access/file_path_watcher/file_path_watcher_kqueue.h.orig 2025-09-25 11:10:42.000000000 +0000
++++ src/3rdparty/chromium/content/browser/file_system_access/file_path_watcher/file_path_watcher_kqueue.h
+@@ -5,6 +5,7 @@
+ #ifndef CONTENT_BROWSER_FILE_SYSTEM_ACCESS_FILE_PATH_WATCHER_FILE_PATH_WATCHER_KQUEUE_H_
+ #define CONTENT_BROWSER_FILE_SYSTEM_ACCESS_FILE_PATH_WATCHER_FILE_PATH_WATCHER_KQUEUE_H_
+
++#include <sys/time.h>
+ #include <sys/event.h>
+
+ #include <memory>
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_file__system__access_file__system__access__local__path__watcher.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_file__system__access_file__system__access__local__path__watcher.cc
index 5173aceb5e..6e9897edb0 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_file__system__access_file__system__access__local__path__watcher.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_file__system__access_file__system__access__local__path__watcher.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/file_system_access/file_system_access_local_path_watcher.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/file_system_access/file_system_access_local_path_watcher.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/browser/file_system_access/file_system_access_local_path_watcher.cc
@@ -63,7 +63,7 @@ void FileSystemAccessLocalPathWatcher::I
- base::FilePathWatcher::WatchOptions watch_options {
- .type = scope().IsRecursive() ? base::FilePathWatcher::Type::kRecursive
- : base::FilePathWatcher::Type::kNonRecursive,
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // Note: `report_modified_path` is also present on Android
- // and Fuchsia. Update this switch if support for watching
- // the local file system is added on those platforms.
+ .type = scope().IsRecursive() ? FilePathWatcher::Type::kRecursive
+ : FilePathWatcher::Type::kNonRecursive,
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_MAC)
++ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ // Note: `report_modified_path` is also present on Android
+ // and Fuchsia. Update this switch if support for watching
+ // the local file system is added on those platforms.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_gpu_compositor__util.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_gpu_compositor__util.cc
index 02597a5855..71de7ea288 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_gpu_compositor__util.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_gpu_compositor__util.cc
@@ -4,23 +4,23 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/gpu/compositor_util.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/gpu/compositor_util.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/browser/gpu/compositor_util.cc
-@@ -149,7 +149,7 @@ const GpuFeatureData GetGpuFeatureData(
- {"video_decode",
- SafeGetFeatureStatus(gpu_feature_info,
- gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE),
+@@ -153,7 +153,7 @@ std::vector<GpuFeatureData> GetGpuFeatur
+ "video_decode",
+ SafeGetFeatureStatus(
+ gpu_feature_info, gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE,
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- !base::FeatureList::IsEnabled(media::kVaapiVideoDecodeLinux) ||
+ !base::FeatureList::IsEnabled(media::kVaapiVideoDecodeLinux) ||
#endif // BUILDFLAG(IS_LINUX)
- command_line.HasSwitch(switches::kDisableAcceleratedVideoDecode),
-@@ -160,7 +160,7 @@ const GpuFeatureData GetGpuFeatureData(
- {"video_encode",
- SafeGetFeatureStatus(gpu_feature_info,
- gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE),
+ command_line.HasSwitch(switches::kDisableAcceleratedVideoDecode)),
+@@ -165,7 +165,7 @@ std::vector<GpuFeatureData> GetGpuFeatur
+ "video_encode",
+ SafeGetFeatureStatus(
+ gpu_feature_info, gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE,
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- !base::FeatureList::IsEnabled(media::kVaapiVideoEncodeLinux),
+ !base::FeatureList::IsEnabled(media::kVaapiVideoEncodeLinux)),
#else
- command_line.HasSwitch(switches::kDisableAcceleratedVideoEncode),
+ command_line.HasSwitch(switches::kDisableAcceleratedVideoEncode)),
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_gpu_gpu__memory__buffer__manager__singleton.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_gpu_gpu__memory__buffer__manager__singleton.cc
index 4fe63e1238..e30c3f650b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_gpu_gpu__memory__buffer__manager__singleton.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_gpu_gpu__memory__buffer__manager__singleton.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/gpu/gpu_memory_buffer_manager_singleton.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/gpu/gpu_memory_buffer_manager_singleton.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/browser/gpu/gpu_memory_buffer_manager_singleton.cc
-@@ -54,7 +54,7 @@ scoped_refptr<base::SingleThreadTaskRunn
+@@ -46,7 +46,7 @@ scoped_refptr<base::SingleThreadTaskRunn
#endif
}
@@ -15,10 +15,10 @@ $NetBSD$
bool IsGpuMemoryBufferNV12Supported() {
static bool is_computed = false;
static bool supported = false;
-@@ -117,7 +117,7 @@ void GpuMemoryBufferManagerSingleton::On
- SetNativeConfigurations(std::move(configs));
- }
- #endif // BUILDFLAG(IS_OZONE_X11)
+@@ -98,7 +98,7 @@ GpuMemoryBufferManagerSingleton::GetInst
+ }
+
+ void GpuMemoryBufferManagerSingleton::OnGpuExtraInfoUpdate() {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Dynamic check whether the NV12 format is supported as it may be
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_gpu_gpu__process__host.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_gpu_gpu__process__host.cc
index c94d588ed7..bbc68c1554 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_gpu_gpu__process__host.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_gpu_gpu__process__host.cc
@@ -4,9 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/gpu/gpu_process_host.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/gpu/gpu_process_host.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/browser/gpu/gpu_process_host.cc
-@@ -264,6 +264,7 @@ static const char* const kSwitchNames[]
+@@ -248,7 +248,7 @@ static const char* const kSwitchNames[]
+ #if BUILDFLAG(IS_WIN)
+ sandbox::policy::switches::kAllowThirdPartyModules,
+ #endif
+-#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !BUILDFLAG(IS_CHROMEOS)
+ switches::kDisableDevShmUsage,
+ #endif
+ #if BUILDFLAG(IS_WIN)
+@@ -275,6 +275,7 @@ static const char* const kSwitchNames[]
switches::kEnableLowEndDeviceMode,
switches::kDisableSkiaGraphite,
switches::kDisableLowEndDeviceMode,
@@ -14,9 +23,9 @@ $NetBSD$
switches::kProfilingAtStart,
switches::kProfilingFile,
switches::kProfilingFlush,
-@@ -292,7 +293,7 @@ static const char* const kSwitchNames[]
- switches::kDisableExplicitDmaFences,
+@@ -302,7 +303,7 @@ static const char* const kSwitchNames[]
switches::kOzoneDumpFile,
+ switches::kEnableNativeGpuMemoryBuffers,
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_media_media__keys__listener__manager__impl.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_media_media__keys__listener__manager__impl.cc
index 1b111a2510..518ae54bd9 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_media_media__keys__listener__manager__impl.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_media_media__keys__listener__manager__impl.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/media/media_keys_listener_manager_impl.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/media/media_keys_listener_manager_impl.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/browser/media/media_keys_listener_manager_impl.cc
-@@ -299,7 +299,7 @@ void MediaKeysListenerManagerImpl::Start
+@@ -333,7 +333,7 @@ void MediaKeysListenerManagerImpl::Start
return;
}
--#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || \
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)) || \
- BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
+-#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || BUILDFLAG(IS_WIN)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)) || BUILDFLAG(IS_WIN)
// Create SystemMediaControls with the SingletonHwnd.
browser_system_media_controls_ =
+ system_media_controls::SystemMediaControls::Create(
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__aura.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__aura.cc
index fba952539a..dd41252be9 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__aura.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__aura.cc
@@ -4,28 +4,28 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_aura.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_aura.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_aura.cc
-@@ -120,7 +120,7 @@
+@@ -121,7 +121,7 @@
#include "ui/gfx/gdi_util.h"
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- #include "content/browser/accessibility/browser_accessibility_auralinux.h"
+ #include "ui/accessibility/platform/browser_accessibility_auralinux.h"
#include "ui/base/ime/linux/text_edit_command_auralinux.h"
#include "ui/base/ime/text_input_flags.h"
-@@ -458,7 +458,7 @@ gfx::NativeViewAccessible RenderWidgetHo
+@@ -484,7 +484,7 @@ gfx::NativeViewAccessible RenderWidgetHo
return ToBrowserAccessibilityWin(manager->GetBrowserAccessibilityRoot())
->GetCOM();
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- BrowserAccessibilityManager* manager =
+ ui::BrowserAccessibilityManager* manager =
host()->GetOrCreateRootBrowserAccessibilityManager();
if (manager && manager->GetBrowserAccessibilityRoot())
-@@ -1696,7 +1696,7 @@ bool RenderWidgetHostViewAura::ShouldDoL
- return GetTextInputManager() && GetTextInputManager()->should_do_learning();
+@@ -1745,7 +1745,7 @@ bool RenderWidgetHostViewAura::ShouldDoL
+ return host() && host()->delegate() && host()->delegate()->ShouldDoLearning();
}
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -33,7 +33,7 @@ $NetBSD$
bool RenderWidgetHostViewAura::SetCompositionFromExistingText(
const gfx::Range& range,
const std::vector<ui::ImeTextSpan>& ui_ime_text_spans) {
-@@ -2540,7 +2540,7 @@ bool RenderWidgetHostViewAura::NeedsInpu
+@@ -2654,7 +2654,7 @@ bool RenderWidgetHostViewAura::NeedsInpu
}
bool RenderWidgetHostViewAura::NeedsMouseCapture() {
@@ -42,7 +42,7 @@ $NetBSD$
return NeedsInputGrab();
#else
return false;
-@@ -2723,7 +2723,7 @@ void RenderWidgetHostViewAura::ForwardKe
+@@ -2838,7 +2838,7 @@ void RenderWidgetHostViewAura::ForwardKe
if (!target_host)
return;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__event__handler.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__event__handler.cc
index 438f491bf2..60e3b3953a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__event__handler.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__event__handler.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_event_handler.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_event_handler.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_event_handler.cc
-@@ -599,7 +599,7 @@ bool RenderWidgetHostViewEventHandler::C
- if (event->type() == ui::ET_MOUSE_EXITED) {
+@@ -602,7 +602,7 @@ bool RenderWidgetHostViewEventHandler::C
+ if (event->type() == ui::EventType::kMouseExited) {
if (mouse_locked || selection_popup)
return false;
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__process__host.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__process__host.cc
index bad885ee22..b62c320acf 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__process__host.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__process__host.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/utility_process_host.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/utility_process_host.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/browser/utility_process_host.cc
-@@ -61,7 +61,7 @@
+@@ -62,7 +62,7 @@
#include "content/browser/v8_snapshot_files.h"
#endif
@@ -33,26 +33,44 @@ $NetBSD$
base::ScopedFD PassNetworkContextParentDirs(
std::vector<base::FilePath> network_context_parent_dirs) {
base::Pickle pickle;
-@@ -150,7 +150,7 @@ UtilityProcessHost::UtilityProcessHost(s
+@@ -151,7 +151,7 @@ UtilityProcessHost::UtilityProcessHost(s
started_(false),
name_(u"utility process"),
file_data_(std::make_unique<ChildProcessLauncherFileData>()),
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
+ allowed_gpu_(false),
gpu_client_(nullptr, base::OnTaskRunnerDeleter(nullptr)),
#endif
- client_(std::move(client)) {
-@@ -373,7 +373,7 @@ bool UtilityProcessHost::StartProcess()
- switches::kMuteAudio,
- switches::kUseFileForFakeAudioCapture,
+@@ -210,7 +210,7 @@ void UtilityProcessHost::SetPreloadLibra
+ #endif // BUILDFLAG(IS_WIN)
+
+ void UtilityProcessHost::SetAllowGpuClient() {
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
+ allowed_gpu_ = true;
+ #endif
+ }
+@@ -315,7 +315,7 @@ bool UtilityProcessHost::StartProcess()
+ network::switches::kIgnoreCertificateErrorsSPKIList,
+ network::switches::kTestThirdPartyCookiePhaseout,
+ sandbox::policy::switches::kNoSandbox,
+-#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !BUILDFLAG(IS_CHROMEOS)
+ switches::kDisableDevShmUsage,
+ #endif
+ #if BUILDFLAG(IS_MAC)
+@@ -347,7 +347,7 @@ bool UtilityProcessHost::StartProcess()
+ switches::kMuteAudio,
+ switches::kUseFileForFakeAudioCapture,
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FREEBSD) || \
- BUILDFLAG(IS_SOLARIS)
+ BUILDFLAG(IS_SOLARIS) || BUILDFLAG(IS_NETBSD)
- switches::kAlsaInputDevice,
- switches::kAlsaOutputDevice,
+ switches::kAlsaInputDevice,
+ switches::kAlsaOutputDevice,
#endif
-@@ -435,7 +435,7 @@ bool UtilityProcessHost::StartProcess()
- file_data_->files_to_preload.merge(GetV8SnapshotFilesToPreload());
+@@ -409,7 +409,7 @@ bool UtilityProcessHost::StartProcess()
+ file_data_->files_to_preload.merge(GetV8SnapshotFilesToPreload(*cmd_line));
#endif // BUILDFLAG(IS_POSIX)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -60,7 +78,7 @@ $NetBSD$
// The network service should have access to the parent directories
// necessary for its usage.
if (sandbox_type_ == sandbox::mojom::Sandbox::kNetwork) {
-@@ -446,13 +446,13 @@ bool UtilityProcessHost::StartProcess()
+@@ -420,13 +420,13 @@ bool UtilityProcessHost::StartProcess()
}
#endif // BUILDFLAG(IS_LINUX)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__process__host.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__process__host.h
index e8f2fb8aab..e2e05a87f9 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__process__host.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__process__host.h
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/utility_process_host.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/utility_process_host.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/browser/utility_process_host.h
-@@ -39,7 +39,7 @@ namespace base {
+@@ -33,7 +33,7 @@ namespace base {
class Thread;
} // namespace base
@@ -15,12 +15,12 @@ $NetBSD$
namespace viz {
class GpuClient;
} // namespace viz
-@@ -225,7 +225,7 @@ class CONTENT_EXPORT UtilityProcessHost
- std::vector<RunServiceDeprecatedCallback> pending_run_service_callbacks_;
- #endif
+@@ -200,7 +200,7 @@ class CONTENT_EXPORT UtilityProcessHost
+ };
+ LaunchState launch_state_ = LaunchState::kLaunchInProgress;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
+ bool allowed_gpu_;
std::unique_ptr<viz::GpuClient, base::OnTaskRunnerDeleter> gpu_client_;
#endif
-
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__process__host__receiver__bindings.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__process__host__receiver__bindings.cc
index f6cf059ff7..46f23c8dcb 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__process__host__receiver__bindings.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__process__host__receiver__bindings.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/utility_process_host_receiver_bindings.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/utility_process_host_receiver_bindings.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/browser/utility_process_host_receiver_bindings.cc
@@ -10,12 +10,12 @@
#include "content/public/browser/content_browser_client.h"
@@ -34,6 +34,6 @@ $NetBSD$
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
- if (auto gpu_receiver = receiver.As<viz::mojom::Gpu>()) {
- gpu_client_ =
- content::CreateGpuClient(std::move(gpu_receiver), base::DoNothing());
+ if (allowed_gpu_) {
+ // TODO(crbug.com/328099369) Remove once all clients get this directly.
+ if (auto gpu_receiver = receiver.As<viz::mojom::Gpu>()) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_v8__snapshot__files.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_v8__snapshot__files.cc
index e7d15ba7c6..bc748c7fbf 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_v8__snapshot__files.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_v8__snapshot__files.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/v8_snapshot_files.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/v8_snapshot_files.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/browser/v8_snapshot_files.cc
-@@ -13,7 +13,7 @@ namespace content {
+@@ -17,7 +17,7 @@ namespace content {
std::map<std::string, absl::variant<base::FilePath, base::ScopedFD>>
- GetV8SnapshotFilesToPreload() {
+ GetV8SnapshotFilesToPreload(base::CommandLine& process_command_line) {
std::map<std::string, absl::variant<base::FilePath, base::ScopedFD>> files;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.cc
index 791ff27b8d..adf1b245df 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/webui/web_ui_main_frame_observer.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/webui/web_ui_main_frame_observer.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/browser/webui/web_ui_main_frame_observer.cc
@@ -13,7 +13,7 @@
#include "content/public/browser/navigation_handle.h"
@@ -35,7 +35,7 @@ $NetBSD$
blink::mojom::ConsoleMessageLevel log_level,
@@ -167,7 +167,7 @@ void WebUIMainFrameObserver::ReadyToComm
- // TODO(crbug.com/1129544) This is currently disabled due to Windows DLL
+ // TODO(crbug.com/40149439) This is currently disabled due to Windows DLL
// thunking issues. Fix & re-enable.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.h
index 223110ba72..eae99bc5eb 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.h
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/webui/web_ui_main_frame_observer.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/webui/web_ui_main_frame_observer.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/browser/webui/web_ui_main_frame_observer.h
@@ -44,7 +44,7 @@ class CONTENT_EXPORT WebUIMainFrameObser
- // TODO(crbug.com/1129544) This is currently disabled due to Windows DLL
+ // TODO(crbug.com/40149439) This is currently disabled due to Windows DLL
// thunking issues. Fix & re-enable.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_child_child__process.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_child_child__process.cc
index e628e54efc..141d0110a5 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_child_child__process.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_child_child__process.cc
@@ -4,14 +4,23 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/child/child_process.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/child/child_process.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/child/child_process.cc
-@@ -66,7 +66,7 @@ ChildProcess::ChildProcess(base::ThreadT
- thread_pool_init_params)
- : resetter_(&child_process, this, nullptr),
- io_thread_(std::make_unique<ChildIOThread>()) {
+@@ -32,7 +32,7 @@
+ #include "content/common/android/cpu_time_metrics.h"
+ #endif
+
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- const base::CommandLine& command_line =
- *base::CommandLine::ForCurrentProcess();
- const bool is_embedded_in_browser_process =
+ #include "content/child/sandboxed_process_thread_type_handler.h"
+ #endif
+
+@@ -179,7 +179,7 @@ void ChildProcess::set_main_thread(Child
+ main_thread_.reset(thread);
+ }
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ void ChildProcess::SetIOThreadType(base::ThreadType thread_type) {
+ if (!io_thread_) {
+ return;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_child_child__process.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_child_child__process.h
new file mode 100644
index 0000000000..70f050e9dc
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_child_child__process.h
@@ -0,0 +1,17 @@
+$NetBSD$
+
+* Part of patchset to build chromium on NetBSD
+* Based on OpenBSD's chromium patches, and
+ pkgsrc's qt5-qtwebengine patches
+
+--- src/3rdparty/chromium/content/child/child_process.h.orig 2025-09-25 11:10:42.000000000 +0000
++++ src/3rdparty/chromium/content/child/child_process.h
+@@ -79,7 +79,7 @@ class CONTENT_EXPORT ChildProcess {
+ return io_thread_runner_.get();
+ }
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ // Changes the thread type of the child process IO thread.
+ void SetIOThreadType(base::ThreadType thread_type);
+ #endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_common_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_common_BUILD.gn
index 58e046d18a..2252395059 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_common_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_common_BUILD.gn
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/common/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/common/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/common/BUILD.gn
-@@ -452,19 +452,30 @@ jumbo_source_set("common") {
+@@ -402,18 +402,27 @@ jumbo_source_set("common") {
}
-
+
if (is_linux || is_chromeos) {
- sources += [
- "gpu_pre_sandbox_hook_linux.cc",
@@ -28,27 +28,14 @@ $NetBSD$
public_deps += [ "//sandbox/policy" ]
deps += [
":sandbox_support_linux",
-- ":set_process_title_linux",
"//media/gpu:buildflags",
"//sandbox/linux:sandbox_services",
- "//sandbox/linux:seccomp_bpf",
"//sandbox/policy:chromecast_sandbox_allowlist_buildflags",
]
-+ if (!is_bsd) {
-+ deps += [ ":set_process_title_linux" ]
-+ }
+ if (use_seccomp_bpf) {
+ deps += [ "//sandbox/linux:seccomp_bpf" ]
+ }
if (use_v4l2_codec) {
deps += [ "//media/gpu/v4l2" ]
}
-@@ -538,7 +549,7 @@ component("main_frame_counter") {
- deps = [ "//base:base" ]
- }
-
--if (is_linux || is_chromeos) {
-+if ((is_linux && !is_bsd) || is_chromeos) {
- source_set("set_process_title_linux") {
- public = [ "set_process_title_linux.h" ]
- sources = [ "set_process_title_linux.cc" ]
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_common_features.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_common_features.cc
index 68dc8cdeb2..05e0e35461 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_common_features.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_common_features.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/common/features.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/common/features.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/common/features.cc
-@@ -170,7 +170,7 @@ BASE_FEATURE(kEnableBackForwardCacheForO
- base::FEATURE_DISABLED_BY_DEFAULT);
+@@ -145,7 +145,7 @@ BASE_FEATURE(kEnableBackForwardCacheForO
+ base::FEATURE_ENABLED_BY_DEFAULT);
// Enables error reporting for JS errors inside DevTools frontend host
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -15,7 +15,7 @@ $NetBSD$
BASE_FEATURE(kEnableDevToolsJsErrorReporting,
"EnableDevToolsJsErrorReporting",
base::FEATURE_DISABLED_BY_DEFAULT);
-@@ -258,7 +258,7 @@ BASE_FEATURE(kGroupNIKByJoiningOrigin,
+@@ -301,7 +301,7 @@ BASE_FEATURE(kGroupNIKByJoiningOrigin,
// process and having browser process handle adjusting thread properties (nice
// value, c-group, latency sensitivity...) for children which have sandbox
// restrictions.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_common_features.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_common_features.h
index d21f986dcf..ae77e8adc0 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_common_features.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_common_features.h
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/common/features.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/common/features.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/common/features.h
-@@ -37,7 +37,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE(kDoc
+@@ -34,7 +34,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE(kDoc
CONTENT_EXPORT BASE_DECLARE_FEATURE(kEnableBackForwardCacheForScreenReader);
CONTENT_EXPORT BASE_DECLARE_FEATURE(
kEnableBackForwardCacheForOngoingSubframeNavigation);
@@ -14,8 +14,8 @@ $NetBSD$
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
CONTENT_EXPORT BASE_DECLARE_FEATURE(kEnableDevToolsJsErrorReporting);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
- CONTENT_EXPORT BASE_DECLARE_FEATURE(kEnsureAllowBindingsIsAlwaysForWebUI);
-@@ -58,7 +58,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE(kFor
+ CONTENT_EXPORT BASE_DECLARE_FEATURE(kEmbeddingRequiresOptIn);
+@@ -76,7 +76,7 @@ CONTENT_EXPORT extern const base::Featur
CONTENT_EXPORT BASE_DECLARE_FEATURE(kGpuInfoCollectionSeparatePrefetch);
#endif
CONTENT_EXPORT BASE_DECLARE_FEATURE(kGroupNIKByJoiningOrigin);
@@ -23,4 +23,4 @@ $NetBSD$
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
CONTENT_EXPORT BASE_DECLARE_FEATURE(kHandleChildThreadTypeChangesInBrowser);
#endif
- CONTENT_EXPORT BASE_DECLARE_FEATURE(kHighPriorityBeforeUnload);
+ #if BUILDFLAG(IS_ANDROID)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_gpu_gpu__main.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_gpu_gpu__main.cc
index 655955c047..7955d4961d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_gpu_gpu__main.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_gpu_gpu__main.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/gpu/gpu_main.cc.orig 2025-01-24 10:49:20.000000000 +0000
+--- src/3rdparty/chromium/content/gpu/gpu_main.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/gpu/gpu_main.cc
-@@ -91,10 +91,14 @@
+@@ -95,10 +95,14 @@
#include "sandbox/win/src/sandbox.h"
#endif
@@ -22,7 +22,7 @@ $NetBSD$
#include "sandbox/policy/sandbox_type.h"
#endif
-@@ -114,7 +118,7 @@ namespace content {
+@@ -117,7 +121,7 @@ namespace content {
namespace {
@@ -31,7 +31,7 @@ $NetBSD$
bool StartSandboxLinux(gpu::GpuWatchdogThread*,
const gpu::GPUInfo*,
const gpu::GpuPreferences&);
-@@ -179,7 +183,7 @@ class ContentSandboxHelper : public gpu:
+@@ -175,7 +179,7 @@ class ContentSandboxHelper : public gpu:
bool EnsureSandboxInitialized(gpu::GpuWatchdogThread* watchdog_thread,
const gpu::GPUInfo* gpu_info,
const gpu::GpuPreferences& gpu_prefs) override {
@@ -40,7 +40,7 @@ $NetBSD$
return StartSandboxLinux(watchdog_thread, gpu_info, gpu_prefs);
#elif BUILDFLAG(IS_WIN)
return StartSandboxWindows(sandbox_info_);
-@@ -291,7 +295,7 @@ int GpuMain(MainFunctionParams parameter
+@@ -285,7 +289,7 @@ int GpuMain(MainFunctionParams parameter
std::make_unique<base::SingleThreadTaskExecutor>(
gpu_preferences.message_pump_type);
}
@@ -49,17 +49,17 @@ $NetBSD$
#error "Unsupported Linux platform."
#elif BUILDFLAG(IS_MAC)
// Cross-process CoreAnimation requires a CFRunLoop to function at all, and
-@@ -330,7 +334,8 @@ int GpuMain(MainFunctionParams parameter
- // before it.
- InitializeSkia();
+@@ -308,7 +312,8 @@ int GpuMain(MainFunctionParams parameter
+ base::PlatformThread::SetName("CrGpuMain");
+ mojo::InterfaceEndpointClient::SetThreadNameSuffixForMetrics("GpuMain");
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+// XXX BSD
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_BSD)
// Thread type delegate of the process should be registered before
- // first thread type change in ChildProcess constructor.
- // It also needs to be registered before the process has multiple threads,
-@@ -438,7 +443,7 @@ int GpuMain(MainFunctionParams parameter
+ // thread type change below for the main thread and for thread pool in
+ // ChildProcess constructor.
+@@ -439,7 +443,7 @@ int GpuMain(MainFunctionParams parameter
namespace {
@@ -68,7 +68,7 @@ $NetBSD$
bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdog_thread,
const gpu::GPUInfo* gpu_info,
const gpu::GpuPreferences& gpu_prefs) {
-@@ -478,7 +483,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogT
+@@ -479,7 +483,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogT
sandbox_options.accelerated_video_encode_enabled =
!gpu_prefs.disable_accelerated_video_encode;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_common_content__features.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_common_content__features.cc
index 007b8e8cd8..42fae53924 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_common_content__features.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_common_content__features.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/public/common/content_features.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/public/common/content_features.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/public/common/content_features.cc
-@@ -37,7 +37,7 @@ BASE_FEATURE(kAudioServiceLaunchOnStartu
+@@ -61,7 +61,7 @@ BASE_FEATURE(kAudioServiceLaunchOnStartu
// Runs the audio service in a separate process.
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
@@ -15,25 +15,19 @@ $NetBSD$
BASE_FEATURE(kAudioServiceOutOfProcess,
"AudioServiceOutOfProcess",
// TODO(crbug.com/1052397): Remove !IS_CHROMEOS_LACROS once lacros
-@@ -670,7 +670,7 @@ BASE_FEATURE(kOverscrollHistoryNavigatio
- base::FEATURE_ENABLED_BY_DEFAULT);
-
- // Setting to control overscroll history navigation.
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kOverscrollHistoryNavigationSetting,
- "OverscrollHistoryNavigationSetting",
- base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -1220,7 +1220,7 @@ BASE_FEATURE(kWebAssemblyTiering,
+@@ -1226,9 +1226,9 @@ BASE_FEATURE(kWebAssemblyTiering,
// Enable WebAssembly trap handler.
- #if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \
-- BUILDFLAG(IS_MAC)) && \
-+ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)) && \
- defined(ARCH_CPU_X86_64)) || \
- (BUILDFLAG(IS_MAC) && defined(ARCH_CPU_ARM64))
+ #if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_MAC)) && \
++ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)) && \
+ defined(ARCH_CPU_X86_64)) || \
+- ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)) && \
++ ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)) && \
+ defined(ARCH_CPU_ARM64))
BASE_FEATURE(kWebAssemblyTrapHandler,
-@@ -1265,7 +1265,11 @@ BASE_FEATURE(kWebUICodeCache,
+ "WebAssemblyTrapHandler",
+@@ -1268,7 +1268,11 @@ BASE_FEATURE(kWebUICodeCache,
// Controls whether the WebUSB API is enabled:
// https://wicg.github.io/webusb
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_common_content__switches.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_common_content__switches.cc
index 9b5b1e3969..2bfe760026 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_common_content__switches.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_common_content__switches.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/public/common/content_switches.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/public/common/content_switches.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/public/common/content_switches.cc
-@@ -366,6 +366,8 @@ const char kEnableIsolatedWebAppsInRende
+@@ -350,6 +350,8 @@ const char kEnableIsolatedWebAppsInRende
// builds.
const char kEnableLogging[] = "enable-logging";
@@ -15,9 +15,9 @@ $NetBSD$
// Enables the type, downlinkMax attributes of the NetInfo API. Also, enables
// triggering of change attribute of the NetInfo API when there is a change in
// the connection type.
-@@ -1011,7 +1013,7 @@ const char kPreventResizingContentsForTe
+@@ -978,7 +980,7 @@ const char kPreventResizingContentsForTe
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_common_content__switches.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_common_content__switches.h
index bc317afae7..034176c292 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_common_content__switches.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_common_content__switches.h
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/public/common/content_switches.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/public/common/content_switches.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/public/common/content_switches.h
-@@ -115,6 +115,7 @@ CONTENT_EXPORT extern const char kEnable
+@@ -110,6 +110,7 @@ CONTENT_EXPORT extern const char kEnable
CONTENT_EXPORT extern const char kEnableIsolatedWebAppsInRenderer[];
CONTENT_EXPORT extern const char kEnableLCDText[];
CONTENT_EXPORT extern const char kEnableLogging[];
@@ -14,9 +14,9 @@ $NetBSD$
CONTENT_EXPORT extern const char kEnableNetworkInformationDownlinkMax[];
CONTENT_EXPORT extern const char kEnableCanvas2DLayers[];
CONTENT_EXPORT extern const char kEnablePluginPlaceholderTesting[];
-@@ -271,7 +272,7 @@ CONTENT_EXPORT extern const char kPreven
+@@ -268,7 +269,7 @@ CONTENT_EXPORT extern const char kPreven
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_test_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_test_BUILD.gn
index a7f8321e70..6ccf74b9d9 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_test_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_test_BUILD.gn
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/test/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/test/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/test/BUILD.gn
-@@ -1612,7 +1612,7 @@ test("content_browsertests") {
+@@ -1731,7 +1731,7 @@ test("content_browsertests") {
"../test/url_loader_interceptor_browsertest.cc",
]
@@ -15,21 +15,3 @@ $NetBSD$
sources += [ "../browser/network/address_map_linux_browsertest.cc" ]
}
-@@ -2271,7 +2271,7 @@ static_library("run_all_unittests") {
- ":test_support",
- "//base/test:test_support",
- ]
-- if (is_linux || is_chromeos) {
-+ if ((is_linux && !is_bsd) || is_chromeos) {
- deps += [ "//content/common:set_process_title_linux" ]
- }
- }
-@@ -3375,7 +3375,7 @@ test("content_unittests") {
- deps += [ "//third_party/boringssl" ]
- }
-
-- if (is_linux || is_chromeos) {
-+ if ((is_linux && !is_bsd) || is_chromeos) {
- sources += [ "../common/set_process_title_linux_unittest.cc" ]
- deps += [ "//content/common:set_process_title_linux" ]
- }
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_services.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_services.cc
index b3f00678d4..379058a3d1 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_services.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_services.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/utility/services.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/utility/services.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/utility/services.cc
-@@ -69,7 +69,7 @@
+@@ -76,7 +76,7 @@
extern sandbox::TargetServices* g_utility_target_services;
#endif // BUILDFLAG(IS_WIN)
@@ -15,7 +15,7 @@ $NetBSD$
#include "media/mojo/services/mojo_video_encode_accelerator_provider_factory.h"
#include "sandbox/linux/services/libc_interceptor.h"
#include "sandbox/policy/mojom/sandbox.mojom.h"
-@@ -92,7 +92,7 @@ extern sandbox::TargetServices* g_utilit
+@@ -104,7 +104,7 @@ extern sandbox::TargetServices* g_utilit
#endif // BUILDFLAG(IS_CHROMEOS_ASH) && (BUILDFLAG(USE_VAAPI) ||
// BUILDFLAG(USE_V4L2_CODEC))
@@ -24,16 +24,23 @@ $NetBSD$
(BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
#include "content/common/features.h"
#include "media/mojo/services/stable_video_decoder_factory_process_service.h" // nogncheck
-@@ -109,7 +109,7 @@ extern sandbox::TargetServices* g_utilit
- #include "ui/accessibility/accessibility_features.h"
+@@ -122,13 +122,13 @@ extern sandbox::TargetServices* g_utilit
#endif // BUILDFLAG(ENABLE_ACCESSIBILITY_SERVICE)
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || \
+- BUILDFLAG(ENABLE_VIDEO_EFFECTS)
++ BUILDFLAG(ENABLE_VIDEO_EFFECTS) || BUILDFLAG(IS_BSD)
+ #include "services/viz/public/cpp/gpu/gpu.h"
+ #include "services/viz/public/mojom/gpu.mojom.h"
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ||
+ // BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(ENABLE_VIDEO_EFFECTS)
+
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
#include "media/capture/capture_switches.h"
- #include "services/viz/public/cpp/gpu/gpu.h"
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ||
-@@ -228,7 +228,7 @@ auto RunAudio(mojo::PendingReceiver<audi
+ // BUILDFLAG(IS_CHROMEOS_ASH)
+@@ -246,7 +246,7 @@ auto RunAudio(mojo::PendingReceiver<audi
<< "task_policy_set TASK_QOS_POLICY";
#endif
@@ -42,8 +49,8 @@ $NetBSD$
auto* command_line = base::CommandLine::ForCurrentProcess();
if (sandbox::policy::SandboxTypeFromCommandLine(*command_line) ==
sandbox::mojom::Sandbox::kNoSandbox) {
-@@ -310,7 +310,7 @@ auto RunVideoCapture(
- mojo::PendingReceiver<video_capture::mojom::VideoCaptureService> receiver) {
+@@ -342,7 +342,7 @@ auto RunVideoCapture(
+ #endif // BUILDFLAG(IS_CHROMEOS_ASH)
auto service = std::make_unique<UtilityThreadVideoCaptureServiceImpl>(
std::move(receiver), base::SingleThreadTaskRunner::GetCurrentDefault());
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH)
@@ -51,7 +58,7 @@ $NetBSD$
#if BUILDFLAG(IS_CHROMEOS_ASH)
{
#else
-@@ -356,7 +356,7 @@ auto RunOOPArcVideoAcceleratorFactorySer
+@@ -399,7 +399,7 @@ auto RunOOPArcVideoAcceleratorFactorySer
#endif // BUILDFLAG(IS_CHROMEOS_ASH) && (BUILDFLAG(USE_VAAPI) ||
// BUILDFLAG(USE_V4L2_CODEC))
@@ -60,7 +67,7 @@ $NetBSD$
(BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
auto RunStableVideoDecoderFactoryProcessService(
mojo::PendingReceiver<
-@@ -367,7 +367,7 @@ auto RunStableVideoDecoderFactoryProcess
+@@ -410,7 +410,7 @@ auto RunStableVideoDecoderFactoryProcess
#endif // (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)) &&
// (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
@@ -69,7 +76,7 @@ $NetBSD$
auto RunVideoEncodeAcceleratorProviderFactory(
mojo::PendingReceiver<media::mojom::VideoEncodeAcceleratorProviderFactory>
receiver) {
-@@ -390,7 +390,7 @@ void RegisterIOThreadServices(mojo::Serv
+@@ -433,7 +433,7 @@ void RegisterIOThreadServices(mojo::Serv
// loop of type IO that can get notified when pipes have data.
services.Add(RunNetworkService);
@@ -78,7 +85,7 @@ $NetBSD$
(BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
if (base::FeatureList::IsEnabled(
features::kRunStableVideoDecoderFactoryProcessServiceOnIOThread)) {
-@@ -440,7 +440,7 @@ void RegisterMainThreadServices(mojo::Se
+@@ -491,7 +491,7 @@ void RegisterMainThreadServices(mojo::Se
#endif // BUILDFLAG(IS_CHROMEOS_ASH) && (BUILDFLAG(USE_VAAPI) ||
// BUILDFLAG(USE_V4L2_CODEC))
@@ -87,7 +94,7 @@ $NetBSD$
(BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
if (!base::FeatureList::IsEnabled(
features::kRunStableVideoDecoderFactoryProcessServiceOnIOThread)) {
-@@ -449,7 +449,7 @@ void RegisterMainThreadServices(mojo::Se
+@@ -500,7 +500,7 @@ void RegisterMainThreadServices(mojo::Se
#endif // (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)) &&
// (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_speech_speech__recognition__sandbox__hook__linux.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_speech_speech__recognition__sandbox__hook__linux.cc
index a002020672..d04818cc1d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_speech_speech__recognition__sandbox__hook__linux.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_speech_speech__recognition__sandbox__hook__linux.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/utility/speech/speech_recognition_sandbox_hook_linux.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/utility/speech/speech_recognition_sandbox_hook_linux.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/utility/speech/speech_recognition_sandbox_hook_linux.cc
@@ -12,11 +12,14 @@
#include "sandbox/linux/syscall_broker/broker_command.h"
@@ -33,9 +33,9 @@ $NetBSD$
#if BUILDFLAG(ENABLE_SODA_INTEGRATION_TESTS)
base::FilePath test_binary_path = GetSodaTestBinaryPath();
DVLOG(0) << "SODA test binary path: " << test_binary_path.value().c_str();
-@@ -77,6 +82,7 @@ bool SpeechRecognitionPreSandboxHook(
- sandbox::policy::SandboxLinux::PreSandboxHook(),
- options);
+@@ -75,6 +80,7 @@ bool SpeechRecognitionPreSandboxHook(
+ }),
+ GetSodaFilePermissions(), options);
instance->EngageNamespaceSandboxIfPossible();
+#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_utility__main.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_utility__main.cc
index 30c6f7c68f..bf644694a1 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_utility__main.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_utility__main.cc
@@ -4,18 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/utility/utility_main.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/utility/utility_main.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/utility/utility_main.cc
-@@ -39,7 +39,7 @@
- #include "third_party/icu/source/common/unicode/unistr.h"
- #include "third_party/icu/source/i18n/unicode/timezone.h"
+@@ -38,7 +38,7 @@
+ #include "services/screen_ai/buildflags/buildflags.h"
+ #include "services/tracing/public/cpp/trace_startup.h"
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "base/file_descriptor_store.h"
#include "base/files/file_util.h"
#include "base/pickle.h"
-@@ -49,7 +49,9 @@
+@@ -48,7 +48,9 @@
#include "content/utility/speech/speech_recognition_sandbox_hook_linux.h"
#include "gpu/config/gpu_info_collector.h"
#include "media/gpu/sandbox/hardware_video_encoding_sandbox_hook_linux.h"
@@ -25,7 +25,7 @@ $NetBSD$
#include "services/audio/audio_sandbox_hook_linux.h"
#include "services/network/network_sandbox_hook_linux.h"
// gn check is not smart enough to realize that this include only applies to
-@@ -61,7 +63,7 @@
+@@ -60,7 +62,7 @@
#endif
#endif
@@ -34,22 +34,16 @@ $NetBSD$
#include "media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.h"
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
-@@ -75,8 +77,13 @@
- #endif // BUILDFLAG(ENABLE_CROS_LIBASSISTANT)
+@@ -75,7 +77,7 @@
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
-+#if BUILDFLAG(IS_BSD)
-+#include "sandbox/policy/sandbox.h"
-+#include "content/common/gpu_pre_sandbox_hook_bsd.h"
-+#endif
-+
#if (BUILDFLAG(ENABLE_SCREEN_AI_SERVICE) && \
- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)))
+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)))
- #include "components/services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.h" // nogncheck
+ #include "services/screen_ai/public/cpp/utilities.h" // nogncheck
+ #include "services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.h" // nogncheck
#endif
-
-@@ -102,7 +109,7 @@ namespace content {
+@@ -103,7 +105,7 @@ namespace content {
namespace {
@@ -58,7 +52,7 @@ $NetBSD$
std::vector<std::string> GetNetworkContextsParentDirectories() {
base::MemoryMappedFile::Region region;
base::ScopedFD read_pipe_fd = base::FileDescriptorStore::GetInstance().TakeFD(
-@@ -128,9 +135,10 @@ std::vector<std::string> GetNetworkConte
+@@ -130,9 +132,10 @@ std::vector<std::string> GetNetworkConte
return dirs;
}
@@ -70,7 +64,7 @@ $NetBSD$
sandbox_type == sandbox::mojom::Sandbox::kHardwareVideoDecoding ||
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
sandbox_type == sandbox::mojom::Sandbox::kHardwareVideoEncoding;
-@@ -145,6 +153,7 @@ bool ShouldUseAmdGpuPolicy(sandbox::mojo
+@@ -147,6 +150,7 @@ bool ShouldUseAmdGpuPolicy(sandbox::mojo
return false;
}
@@ -78,17 +72,17 @@ $NetBSD$
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_WIN)
-@@ -255,7 +264,8 @@ int UtilityMain(MainFunctionParams param
- }
+@@ -246,7 +250,8 @@ int UtilityMain(MainFunctionParams param
}
+ #endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+// XXX BSD
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_BSD)
- // Thread type delegate of the process should be registered before
- // first thread type change in ChildProcess constructor.
- // It also needs to be registered before the process has multiple threads,
-@@ -266,7 +276,7 @@ int UtilityMain(MainFunctionParams param
+ // Thread type delegate of the process should be registered before first
+ // thread type change in ChildProcess constructor. It also needs to be
+ // registered before the process has multiple threads, which may race with
+@@ -258,7 +262,7 @@ int UtilityMain(MainFunctionParams param
}
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -97,16 +91,16 @@ $NetBSD$
// Initializes the sandbox before any threads are created.
// TODO(jorgelo): move this after GTK initialization when we enable a strict
// Seccomp-BPF policy.
-@@ -307,7 +317,7 @@ int UtilityMain(MainFunctionParams param
- #endif
- break;
- #endif
+@@ -305,7 +309,7 @@ int UtilityMain(MainFunctionParams param
+ case sandbox::mojom::Sandbox::kVideoEffects:
+ // TODO(crbug.com/361128453): Implement this.
+ NOTREACHED() << "kVideoEffects sandbox not implemented.";
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
case sandbox::mojom::Sandbox::kHardwareVideoDecoding:
pre_sandbox_hook =
base::BindOnce(&media::HardwareVideoDecodingPreSandboxHook);
-@@ -334,6 +344,7 @@ int UtilityMain(MainFunctionParams param
+@@ -332,6 +336,7 @@ int UtilityMain(MainFunctionParams param
default:
break;
}
@@ -114,7 +108,7 @@ $NetBSD$
if (!sandbox::policy::IsUnsandboxedSandboxType(sandbox_type) &&
(parameters.zygote_child || !pre_sandbox_hook.is_null())) {
sandbox_options.use_amd_specific_policies =
-@@ -341,6 +352,11 @@ int UtilityMain(MainFunctionParams param
+@@ -339,6 +344,11 @@ int UtilityMain(MainFunctionParams param
sandbox::policy::Sandbox::Initialize(
sandbox_type, std::move(pre_sandbox_hook), sandbox_options);
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_zygote_zygote__linux.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_zygote_zygote__linux.cc
index 93e436a406..32fc2d1b8f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_zygote_zygote__linux.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_zygote_zygote__linux.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/zygote/zygote_linux.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/zygote/zygote_linux.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/content/zygote/zygote_linux.cc
@@ -1,6 +1,7 @@
// Copyright 2012 The Chromium Authors
@@ -12,9 +12,9 @@ $NetBSD$
// found in the LICENSE file.
+#if 0
- #include "content/zygote/zygote_linux.h"
-
-@@ -709,3 +710,4 @@ void Zygote::HandleReinitializeLoggingRe
+ #ifdef UNSAFE_BUFFERS_BUILD
+ // TODO(crbug.com/342213636): Remove this and spanify to fix the errors.
+@@ -723,3 +724,4 @@ void Zygote::HandleReinitializeLoggingRe
}
} // namespace content
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_browser_api_api__browser__context__keyed__service__factories.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_browser_api_api__browser__context__keyed__service__factories.cc
index 64fc84f303..71e03c57ee 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_browser_api_api__browser__context__keyed__service__factories.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_browser_api_api__browser__context__keyed__service__factories.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/extensions/browser/api/api_browser_context_keyed_service_factories.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/extensions/browser/api/api_browser_context_keyed_service_factories.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/extensions/browser/api/api_browser_context_keyed_service_factories.cc
-@@ -121,7 +121,7 @@ void EnsureApiBrowserContextKeyedService
- MessagingAPIMessageFilter::EnsureAssociatedFactoryBuilt();
+@@ -126,7 +126,7 @@ void EnsureApiBrowserContextKeyedService
#endif
+ MessageService::GetFactoryInstance();
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \
- BUILDFLAG(IS_MAC)
+ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_common_command.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_common_command.cc
index 59e3dc764c..87716deab6 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_common_command.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_common_command.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/extensions/common/command.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/extensions/common/command.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/extensions/common/command.cc
-@@ -283,7 +283,7 @@ std::string Command::CommandPlatform() {
+@@ -286,7 +286,7 @@ std::string Command::CommandPlatform() {
return values::kKeybindingPlatformMac;
#elif BUILDFLAG(IS_CHROMEOS)
return values::kKeybindingPlatformChromeOs;
@@ -14,4 +14,4 @@ $NetBSD$
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return values::kKeybindingPlatformLinux;
#elif BUILDFLAG(IS_FUCHSIA)
- // TODO(crbug.com/1312215): Change this once we decide what string should be
+ // TODO(crbug.com/40220501): Change this once we decide what string should be
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_app_shell__main__delegate.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_app_shell__main__delegate.cc
index 0a5778ff80..d705948af7 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_app_shell__main__delegate.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_app_shell__main__delegate.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/extensions/shell/app/shell_main_delegate.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/extensions/shell/app/shell_main_delegate.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/extensions/shell/app/shell_main_delegate.cc
@@ -43,7 +43,7 @@
#if BUILDFLAG(IS_WIN)
@@ -15,8 +15,8 @@ $NetBSD$
#include "base/nix/xdg_util.h"
#elif BUILDFLAG(IS_MAC)
#include "base/base_paths_mac.h"
-@@ -62,7 +62,7 @@ base::FilePath GetDataPath() {
- return cmd_line->GetSwitchValuePath(switches::kContentShellDataPath);
+@@ -63,7 +63,7 @@ base::FilePath GetDataPath() {
+ }
base::FilePath data_dir;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.cc
index 318a033ebc..12a9c8260f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/extensions/shell/browser/shell_extensions_api_client.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/extensions/shell/browser/shell_extensions_api_client.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/extensions/shell/browser/shell_extensions_api_client.cc
@@ -20,7 +20,7 @@
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
@@ -17,7 +17,7 @@ $NetBSD$
@@ -58,7 +58,7 @@ ShellExtensionsAPIClient::CreateDisplayI
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.h
index 811c477bc0..962d57a0ad 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.h
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/extensions/shell/browser/shell_extensions_api_client.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/extensions/shell/browser/shell_extensions_api_client.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/extensions/shell/browser/shell_extensions_api_client.h
@@ -36,7 +36,7 @@ class ShellExtensionsAPIClient : public
const override;
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
@@ -17,7 +17,7 @@ $NetBSD$
MessagingDelegate* GetMessagingDelegate() override;
@@ -45,7 +45,7 @@ class ShellExtensionsAPIClient : public
private:
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_common_gpu__memory__buffer__support.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_common_gpu__memory__buffer__support.cc
deleted file mode 100644
index ded0e21649..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_common_gpu__memory__buffer__support.cc
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD$
-
-* Based on OpenBSD's qt6-qtwebengine patches, and
- pkgsrc's qt5-qtwebengine patches
-
---- src/3rdparty/chromium/gpu/command_buffer/common/gpu_memory_buffer_support.cc.orig 2024-11-21 04:36:37.000000000 +0000
-+++ src/3rdparty/chromium/gpu/command_buffer/common/gpu_memory_buffer_support.cc
-@@ -182,7 +182,7 @@ uint32_t GetPlatformSpecificTextureTarge
- #if BUILDFLAG(IS_MAC)
- return macos_specific_texture_target;
- #elif BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- return GL_TEXTURE_EXTERNAL_OES;
- #elif BUILDFLAG(IS_IOS)
- return GL_TEXTURE_2D;
-@@ -217,7 +217,7 @@ GPU_EXPORT bool NativeBufferNeedsPlatfor
- gfx::BufferFormat format,
- gfx::BufferPlane plane) {
- #if BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
-- BUILDFLAG(IS_WIN)
-+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- // Always use GL_TEXTURE_2D as the target for RGB textures.
- // https://crbug.com/916728
- if (format == gfx::BufferFormat::R_8 || format == gfx::BufferFormat::RG_88 ||
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_angle__vulkan__image__backing__factory.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_angle__vulkan__image__backing__factory.cc
index 20e609baf3..81d1c50d05 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_angle__vulkan__image__backing__factory.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_angle__vulkan__image__backing__factory.cc
@@ -4,12 +4,12 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/angle_vulkan_image_backing_factory.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/angle_vulkan_image_backing_factory.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/gpu/command_buffer/service/shared_image/angle_vulkan_image_backing_factory.cc
-@@ -21,7 +21,7 @@ namespace {
+@@ -20,7 +20,7 @@ namespace {
// TODO(penghuang): verify the scanout is the right usage for video playback.
// crbug.com/1280798
- constexpr uint32_t kSupportedUsage =
+ constexpr SharedImageUsageSet kSupportedUsage =
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
SHARED_IMAGE_USAGE_SCANOUT |
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc
index fb2a149e50..79a1c69ace 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc
-@@ -147,7 +147,7 @@ bool IsFormatSupported(viz::SharedImageF
+@@ -142,7 +142,7 @@ bool IsFormatSupported(viz::SharedImageF
} // namespace
- constexpr uint32_t kSupportedUsage =
+ constexpr SharedImageUsageSet kSupportedUsage =
-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_DAWN)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DAWN)
- SHARED_IMAGE_USAGE_WEBGPU | SHARED_IMAGE_USAGE_WEBGPU_SWAP_CHAIN_TEXTURE |
+ SHARED_IMAGE_USAGE_WEBGPU_READ | SHARED_IMAGE_USAGE_WEBGPU_WRITE |
+ SHARED_IMAGE_USAGE_WEBGPU_SWAP_CHAIN_TEXTURE |
SHARED_IMAGE_USAGE_WEBGPU_STORAGE_TEXTURE |
- #endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_config_gpu__finch__features.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_config_gpu__finch__features.cc
index 384b575c0b..595a571386 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_config_gpu__finch__features.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_config_gpu__finch__features.cc
@@ -4,18 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/gpu/config/gpu_finch_features.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/gpu/config/gpu_finch_features.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/gpu/config/gpu_finch_features.cc
-@@ -61,7 +61,7 @@ bool IsDeviceBlocked(const char* field,
-
- // Used to limit GL version to 2.0 for skia raster and compositing.
- #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \
-- BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kUseGles2ForOopR,
- "UseGles2ForOopR",
- base::FEATURE_DISABLED_BY_DEFAULT);
-@@ -142,7 +142,8 @@ BASE_FEATURE(kAggressiveSkiaGpuResourceP
+@@ -148,7 +148,8 @@ const base::FeatureParam<std::string>
// DefaultEnableGpuRasterization has launched on Mac, Windows, ChromeOS,
// Android and Linux.
#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || \
@@ -25,3 +16,12 @@ $NetBSD$
BASE_FEATURE(kDefaultEnableGpuRasterization,
"DefaultEnableGpuRasterization",
base::FEATURE_ENABLED_BY_DEFAULT);
+@@ -162,7 +163,7 @@ BASE_FEATURE(kDefaultEnableGpuRasterizat
+ // Enables the use of out of process rasterization for canvas.
+ #if BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_IOS) || BUILDFLAG(IS_WIN) || \
+ (BUILDFLAG(IS_MAC) && defined(ARCH_CPU_ARM64)) || BUILDFLAG(IS_ANDROID) || \
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ BASE_FEATURE(kCanvasOopRasterization,
+ "CanvasOopRasterization",
+ base::FEATURE_ENABLED_BY_DEFAULT);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_ipc_service_gpu__memory__buffer__factory.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_ipc_service_gpu__memory__buffer__factory.cc
index 09ef695069..07baa6685a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_ipc_service_gpu__memory__buffer__factory.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_ipc_service_gpu__memory__buffer__factory.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/gpu/ipc/service/gpu_memory_buffer_factory.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/gpu/ipc/service/gpu_memory_buffer_factory.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/gpu/ipc/service/gpu_memory_buffer_factory.cc
-@@ -13,7 +13,7 @@
+@@ -14,7 +14,7 @@
#include "gpu/ipc/service/gpu_memory_buffer_factory_io_surface.h"
#endif
@@ -15,10 +15,10 @@ $NetBSD$
#include "gpu/ipc/service/gpu_memory_buffer_factory_native_pixmap.h"
#endif
-@@ -36,7 +36,7 @@ GpuMemoryBufferFactory::CreateNativeType
- return std::make_unique<GpuMemoryBufferFactoryIOSurface>();
- #elif BUILDFLAG(IS_ANDROID)
- return std::make_unique<GpuMemoryBufferFactoryAndroidHardwareBuffer>();
+@@ -71,7 +71,7 @@ GpuMemoryBufferFactory::CreateNativeType
+ // to have a factory that vends invalid GMB handles rather than having no
+ // factory at all.
+ return std::make_unique<GpuMemoryBufferFactoryStub>();
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
return std::make_unique<GpuMemoryBufferFactoryNativePixmap>(
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__device__queue.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__device__queue.h
index 2312851455..fc6c8c4f8f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__device__queue.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__device__queue.h
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/gpu/vulkan/vulkan_device_queue.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/gpu/vulkan/vulkan_device_queue.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/gpu/vulkan/vulkan_device_queue.h
-@@ -169,7 +169,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanDev
- bool allow_protected_memory_ = false;
+@@ -179,7 +179,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanDev
+ #endif
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_headless_lib_browser_headless__content__browser__client.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_headless_lib_browser_headless__content__browser__client.cc
index 450a87080d..186b84c625 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_headless_lib_browser_headless__content__browser__client.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_headless_lib_browser_headless__content__browser__client.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/headless/lib/browser/headless_content_browser_client.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/headless/lib/browser/headless_content_browser_client.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/headless/lib/browser/headless_content_browser_client.cc
-@@ -48,7 +48,7 @@
+@@ -50,13 +50,13 @@
#include "ui/base/ui_base_switches.h"
#include "ui/gfx/switches.h"
@@ -15,16 +15,23 @@ $NetBSD$
#include "components/crash/core/app/crash_switches.h" // nogncheck
#include "components/crash/core/app/crashpad.h" // nogncheck
#include "content/public/common/content_descriptors.h"
-@@ -66,7 +66,7 @@
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
- namespace headless {
+-#if (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)) && defined(HEADLESS_USE_PREFS)
++#if (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(HEADLESS_USE_PREFS)
+ #include "components/os_crypt/sync/os_crypt.h" // nogncheck
+ #include "content/public/browser/network_service_util.h"
+ #endif
+@@ -75,7 +75,7 @@ namespace headless {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
namespace {
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
int GetCrashSignalFD(const base::CommandLine& command_line,
-@@ -164,7 +164,7 @@ HeadlessContentBrowserClient::GetGenerat
+ const HeadlessBrowser::Options& options) {
+ int fd;
+@@ -196,7 +196,7 @@ HeadlessContentBrowserClient::GetGenerat
return content::GeneratedCodeCacheSettings(true, 0, context->GetPath());
}
@@ -33,12 +40,21 @@ $NetBSD$
void HeadlessContentBrowserClient::GetAdditionalMappedFilesForChildProcess(
const base::CommandLine& command_line,
int child_process_id,
-@@ -183,7 +183,7 @@ void HeadlessContentBrowserClient::Appen
-
- command_line->AppendSwitch(::switches::kHeadless);
+@@ -217,7 +217,7 @@ void HeadlessContentBrowserClient::Appen
+ command_line->AppendSwitchASCII(::switches::kHeadless, "old");
+ }
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
int fd;
pid_t pid;
if (crash_reporter::GetHandlerSocket(&fd, &pid)) {
+@@ -478,7 +478,7 @@ void HeadlessContentBrowserClient::Handl
+
+ void HeadlessContentBrowserClient::SetEncryptionKey(
+ ::network::mojom::NetworkService* network_service) {
+-#if (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)) && defined(HEADLESS_USE_PREFS)
++#if (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(HEADLESS_USE_PREFS)
+ // The OSCrypt keys are process bound, so if network service is out of
+ // process, send it the required key if it is available.
+ if (content::IsOutOfProcessNetworkService()
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_BUILD.gn
index 17c993fb06..7182b0ef47 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_BUILD.gn
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/media/BUILD.gn
-@@ -99,6 +99,12 @@ config("media_config") {
+@@ -100,6 +100,12 @@ config("media_config") {
defines += [ "DLOPEN_PULSEAUDIO" ]
}
}
@@ -16,6 +16,6 @@ $NetBSD$
+# if (use_audioio) {
+# defines += [ "USE_AUDIOIO" ]
+# }
- if (use_cras) {
- defines += [ "USE_CRAS" ]
- }
+ }
+
+ # Internal grouping of the configs necessary to support sub-folders having their
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_audio_alsa_audio__manager__alsa.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_audio_alsa_audio__manager__alsa.cc
index aefefd7cb5..15fbe0d57d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_audio_alsa_audio__manager__alsa.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_audio_alsa_audio__manager__alsa.cc
@@ -4,19 +4,19 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/audio/alsa/audio_manager_alsa.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/audio/alsa/audio_manager_alsa.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/media/audio/alsa/audio_manager_alsa.cc
-@@ -88,7 +88,9 @@ void AudioManagerAlsa::GetAlsaAudioDevic
+@@ -100,7 +100,9 @@ void AudioManagerAlsa::GetAlsaAudioDevic
int card = -1;
- // Loop through the sound cards to get ALSA device hints.
-+#if !BUILDFLAG(IS_BSD)
+ // Loop through the physical sound cards to get ALSA device hints.
++#if !BUILDFLAG(IS_BSD)
while (!wrapper_->CardNext(&card) && card >= 0) {
+#endif
void** hints = NULL;
int error = wrapper_->DeviceNameHint(card, kPcmInterfaceName, &hints);
if (!error) {
-@@ -100,7 +102,9 @@ void AudioManagerAlsa::GetAlsaAudioDevic
+@@ -112,7 +114,9 @@ void AudioManagerAlsa::GetAlsaAudioDevic
DLOG(WARNING) << "GetAlsaAudioDevices: unable to get device hints: "
<< wrapper_->StrError(error);
}
@@ -26,7 +26,7 @@ $NetBSD$
}
void AudioManagerAlsa::GetAlsaDevicesInfo(AudioManagerAlsa::StreamType type,
-@@ -183,7 +187,11 @@ bool AudioManagerAlsa::IsAlsaDeviceAvail
+@@ -195,7 +199,11 @@ bool AudioManagerAlsa::IsAlsaDeviceAvail
// goes through software conversion if needed (e.g. incompatible
// sample rate).
// TODO(joi): Should we prefer "hw" instead?
@@ -38,7 +38,7 @@ $NetBSD$
return strncmp(kDeviceTypeDesired, device_name,
std::size(kDeviceTypeDesired) - 1) == 0;
}
-@@ -205,7 +213,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDe
+@@ -247,7 +255,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDe
// Loop through the sound cards.
// Don't use snd_device_name_hint(-1,..) since there is an access violation
// inside this ALSA API with libasound.so.2.0.0.
@@ -48,7 +48,7 @@ $NetBSD$
int error = wrapper_->DeviceNameHint(card, kPcmInterfaceName, &hints);
if (!error) {
for (void** hint_iter = hints; *hint_iter != NULL; hint_iter++) {
-@@ -229,7 +239,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDe
+@@ -271,7 +281,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDe
DLOG(WARNING) << "HasAnyAudioDevice: unable to get device hints: "
<< wrapper_->StrError(error);
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_libaom__thread__wrapper.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_libaom__thread__wrapper.cc
index 120c1dd2e4..616f4ac187 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_libaom__thread__wrapper.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_libaom__thread__wrapper.cc
@@ -4,24 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/base/libaom_thread_wrapper.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/base/libaom_thread_wrapper.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/media/base/libaom_thread_wrapper.cc
-@@ -5,16 +5,20 @@
- #include "base/logging.h"
- #include "media/base/codec_worker_impl.h"
- #include "media/base/libvpx_thread_wrapper.h"
-+#if !BUILDFLAG(IS_BSD)
- #include "third_party/libaom/source/libaom/aom_util/aom_thread.h"
-+#endif
-
+@@ -10,12 +10,14 @@
namespace media {
void InitLibAomThreadWrapper() {
+#if !BUILDFLAG(IS_BSD)
const AVxWorkerInterface interface =
CodecWorkerImpl<AVxWorkerInterface, AVxWorkerImpl, AVxWorker,
- AVxWorkerStatus, NOT_OK, OK,
- WORK>::GetCodecWorkerInterface();
+ AVxWorkerStatus, AVX_WORKER_STATUS_NOT_OK,
+ AVX_WORKER_STATUS_OK,
+ AVX_WORKER_STATUS_WORKING>::GetCodecWorkerInterface();
CHECK(aom_set_worker_interface(&interface));
+#endif
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_libvpx__thread__wrapper.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_libvpx__thread__wrapper.cc
deleted file mode 100644
index a9f765a375..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_libvpx__thread__wrapper.cc
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD$
-
-* Part of patchset to build chromium on NetBSD
-* Based on OpenBSD's chromium patches, and
- pkgsrc's qt5-qtwebengine patches
-
---- src/3rdparty/chromium/media/base/libvpx_thread_wrapper.cc.orig 2024-11-21 04:36:37.000000000 +0000
-+++ src/3rdparty/chromium/media/base/libvpx_thread_wrapper.cc
-@@ -5,17 +5,21 @@
- #include "media/base/libvpx_thread_wrapper.h"
-
- #include "media/base/codec_worker_impl.h"
-+#if !BUILDFLAG(IS_OPENBSD) && !BUILDFLAG(IS_NETBSD)
- #include "third_party/libvpx/source/libvpx/vpx_util/vpx_thread.h"
-+#endif
-
- namespace media {
-
- void InitLibVpxThreadWrapper() {
-+#if !BUILDFLAG(IS_OPENBSD) && !BUILDFLAG(IS_NETBSD)
- const VPxWorkerInterface interface =
- CodecWorkerImpl<VPxWorkerInterface, VPxWorkerImpl, VPxWorker,
- VPxWorkerStatus, NOT_OK, OK,
- WORK>::GetCodecWorkerInterface();
-
- CHECK(vpx_set_worker_interface(&interface));
-+#endif
- }
-
- } // namespace media
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_media__switches.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_media__switches.cc
index 7dbcae0bfb..b8ac2b4273 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_media__switches.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_media__switches.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/base/media_switches.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/base/media_switches.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/media/base/media_switches.cc
@@ -21,7 +21,7 @@
#include "ui/gl/gl_features.h"
@@ -24,7 +24,7 @@ $NetBSD$
// The Alsa device to use when opening an audio input stream.
const char kAlsaInputDevice[] = "alsa-input-device";
// The Alsa device to use when opening an audio stream.
-@@ -370,7 +370,7 @@ BASE_FEATURE(kMacLoopbackAudioForScreenS
+@@ -377,7 +377,7 @@ BASE_FEATURE(kUseSCContentSharingPicker,
base::FEATURE_DISABLED_BY_DEFAULT);
#endif // BUILDFLAG(IS_MAC)
@@ -33,7 +33,7 @@ $NetBSD$
// Enables system audio mirroring using pulseaudio.
BASE_FEATURE(kPulseaudioLoopbackForCast,
"PulseaudioLoopbackForCast",
-@@ -380,6 +380,31 @@ BASE_FEATURE(kPulseaudioLoopbackForCast,
+@@ -387,6 +387,31 @@ BASE_FEATURE(kPulseaudioLoopbackForCast,
BASE_FEATURE(kPulseaudioLoopbackForScreenShare,
"PulseaudioLoopbackForScreenShare",
base::FEATURE_DISABLED_BY_DEFAULT);
@@ -65,17 +65,8 @@ $NetBSD$
#endif // BUILDFLAG(IS_LINUX)
// When enabled, MediaCapabilities will check with GPU Video Accelerator
-@@ -608,7 +633,7 @@ BASE_FEATURE(kUseWritePixelsYUV,
- // Enables creating single shared image and mailbox for multi-planar formats for
- // hardware video decoders.
- #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_FUCHSIA) || \
-- BUILDFLAG(IS_LINUX)
-+ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kUseMultiPlaneFormatForHardwareVideo,
- "UseMultiPlaneFormatForHardwareVideo",
- base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -719,7 +744,7 @@ BASE_FEATURE(kFallbackAfterDecodeError,
- base::FEATURE_ENABLED_BY_DEFAULT);
+@@ -688,7 +713,7 @@ BASE_FEATURE(kFileDialogsBlockPictureInP
+ #endif // !BUILDFLAG(IS_ANDROID)
// Show toolbar button that opens dialog for controlling media sessions.
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
@@ -83,7 +74,7 @@ $NetBSD$
BASE_FEATURE(kGlobalMediaControls,
"GlobalMediaControls",
base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -743,7 +768,7 @@ BASE_FEATURE(kGlobalMediaControlsCrOSUpd
+@@ -712,7 +737,7 @@ BASE_FEATURE(kGlobalMediaControlsUpdated
#if !BUILDFLAG(IS_ANDROID)
// If enabled, users can request Media Remoting without fullscreen-in-tab.
@@ -92,7 +83,7 @@ $NetBSD$
BASE_FEATURE(kMediaRemotingWithoutFullscreen,
"MediaRemotingWithoutFullscreen",
base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -756,7 +781,7 @@ BASE_FEATURE(kMediaRemotingWithoutFullsc
+@@ -725,7 +750,7 @@ BASE_FEATURE(kMediaRemotingWithoutFullsc
// Show picture-in-picture button in Global Media Controls.
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -101,7 +92,7 @@ $NetBSD$
BASE_FEATURE(kGlobalMediaControlsPictureInPicture,
"GlobalMediaControlsPictureInPicture",
base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -788,7 +813,7 @@ BASE_FEATURE(kUnifiedAutoplay,
+@@ -757,7 +782,7 @@ BASE_FEATURE(kUnifiedAutoplay,
"UnifiedAutoplay",
base::FEATURE_ENABLED_BY_DEFAULT);
@@ -110,17 +101,26 @@ $NetBSD$
// Enable vaapi video decoding on linux. This is already enabled by default on
// chromeos, but needs an experiment on linux.
BASE_FEATURE(kVaapiVideoDecodeLinux,
-@@ -981,7 +1006,7 @@ BASE_FEATURE(kLiveCaptionUseWaitK,
+@@ -860,7 +885,7 @@ BASE_FEATURE(kVSyncMjpegDecoding,
+ "VSyncMjpegDecoding",
base::FEATURE_DISABLED_BY_DEFAULT);
+ #endif // defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS)
+-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Enables the new V4L2StatefulVideoDecoder instead of V4L2VideoDecoder.
+ // Owners: frkoenig%chromium.org@localhost, mcasas%chromium.org@localhost
+ // Expiry: When the |V4L2FlatVideoDecoder| flag handles stateful decoding on
+@@ -1021,7 +1046,7 @@ BASE_FEATURE(kLiveCaptionWebAudio,
+ base::FEATURE_ENABLED_BY_DEFAULT);
- // Live Caption can be used in multiple languages, as opposed to just English.
+ // Live Translate translates captions generated by Live Caption.
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kLiveCaptionMultiLanguage,
- "LiveCaptionMultiLanguage",
- base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -1455,7 +1480,7 @@ BASE_FEATURE(kUseOutOfProcessVideoDecodi
- #endif
+ BASE_FEATURE(kLiveTranslate,
+ "LiveTranslate",
+ base::FEATURE_ENABLED_BY_DEFAULT
+@@ -1505,7 +1530,7 @@ BASE_FEATURE(kUseGTFOOutOfProcessVideoDe
+ base::FEATURE_DISABLED_BY_DEFAULT);
#endif // BUILDFLAG(ALLOW_OOP_VIDEO_DECODER)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -128,3 +128,12 @@ $NetBSD$
// Spawn utility processes to perform hardware encode acceleration instead of
// using the GPU process.
BASE_FEATURE(kUseOutOfProcessVideoEncoding,
+@@ -1587,7 +1612,7 @@ BASE_FEATURE(kRecordWebAudioEngagement,
+ "RecordWebAudioEngagement",
+ base::FEATURE_ENABLED_BY_DEFAULT);
+
+-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Reduces the number of buffers needed in the output video frame pool to
+ // populate the Renderer pipeline for hardware accelerated VideoDecoder in
+ // non-low latency scenarios.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_media__switches.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_media__switches.h
index 16034069a0..ae153e33d3 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_media__switches.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_media__switches.h
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/base/media_switches.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/base/media_switches.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/media/base/media_switches.h
-@@ -43,7 +43,7 @@ MEDIA_EXPORT extern const char kDisableB
+@@ -44,7 +44,7 @@ MEDIA_EXPORT extern const char kDisableB
MEDIA_EXPORT extern const char kReportVp9AsAnUnsupportedMimeType[];
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FREEBSD) || \
@@ -15,7 +15,7 @@ $NetBSD$
MEDIA_EXPORT extern const char kAlsaInputDevice[];
MEDIA_EXPORT extern const char kAlsaOutputDevice[];
#endif
-@@ -307,9 +307,22 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kPlatf
+@@ -331,13 +331,26 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kPlatf
MEDIA_EXPORT BASE_DECLARE_FEATURE(kPlaybackSpeedButton);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kPreloadMediaEngagementData);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kPreloadMetadataSuspend);
@@ -39,7 +39,12 @@ $NetBSD$
#endif // BUILDFLAG(IS_LINUX)
MEDIA_EXPORT BASE_DECLARE_FEATURE(kRecordMediaEngagementScores);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kRecordWebAudioEngagement);
-@@ -325,7 +338,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kUnifi
+-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ MEDIA_EXPORT BASE_DECLARE_FEATURE(kReduceHardwareVideoDecoderBuffers);
+ #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+ MEDIA_EXPORT BASE_DECLARE_FEATURE(kResumeBackgroundVideo);
+@@ -352,7 +365,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kUnifi
MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseAndroidOverlayForSecureOnly);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseDecoderStreamForWebRTC);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseFakeDeviceForMediaStream);
@@ -48,17 +53,17 @@ $NetBSD$
MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiVideoDecodeLinux);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiVideoDecodeLinuxGL);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiVideoEncodeLinux);
-@@ -344,7 +357,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapi
- MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiVp8TemporalLayerHWEncoding);
+@@ -373,7 +386,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapi
MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiVp9SModeHWEncoding);
+ MEDIA_EXPORT BASE_DECLARE_FEATURE(kVSyncMjpegDecoding);
#endif // defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS)
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- MEDIA_EXPORT BASE_DECLARE_FEATURE(kV4L2FlatStatelessVideoDecoder);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kV4L2FlatStatefulVideoDecoder);
+ MEDIA_EXPORT BASE_DECLARE_FEATURE(kV4L2H264TemporalLayerHWEncoding);
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-@@ -471,7 +484,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kExpos
- MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseOutOfProcessVideoDecoding);
+@@ -513,7 +526,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseOu
+ MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseGTFOOutOfProcessVideoDecoding);
#endif // BUILDFLAG(ALLOW_OOP_VIDEO_DECODER)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_video__frame.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_video__frame.cc
index ab15b689d7..9c6a16c1a6 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_video__frame.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_video__frame.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/base/video_frame.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/base/video_frame.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/media/base/video_frame.cc
-@@ -80,7 +80,7 @@ std::string VideoFrame::StorageTypeToStr
+@@ -88,7 +88,7 @@ std::string VideoFrame::StorageTypeToStr
return "OWNED_MEMORY";
case VideoFrame::STORAGE_SHMEM:
return "SHMEM";
@@ -15,7 +15,7 @@ $NetBSD$
case VideoFrame::STORAGE_DMABUFS:
return "DMABUFS";
#endif
-@@ -95,7 +95,7 @@ std::string VideoFrame::StorageTypeToStr
+@@ -103,7 +103,7 @@ std::string VideoFrame::StorageTypeToStr
// static
bool VideoFrame::IsStorageTypeMappable(VideoFrame::StorageType storage_type) {
return
@@ -24,25 +24,16 @@ $NetBSD$
// This is not strictly needed but makes explicit that, at VideoFrame
// level, DmaBufs are not mappable from userspace.
storage_type != VideoFrame::STORAGE_DMABUFS &&
-@@ -306,7 +306,7 @@ static absl::optional<VideoFrameLayout>
- return VideoFrameLayout::CreateWithPlanes(format, coded_size, planes);
- }
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // This class allows us to embed a vector<ScopedFD> into a scoped_refptr, and
- // thus to have several VideoFrames share the same set of DMABUF FDs.
- class VideoFrame::DmabufHolder
-@@ -636,7 +636,7 @@ scoped_refptr<VideoFrame> VideoFrame::Wr
- for (size_t i = 0; i < num_planes; ++i)
- planes[i].stride = gpu_memory_buffer->stride(i);
+@@ -401,7 +401,7 @@ VideoFrame::CreateFrameForGpuMemoryBuffe
+ : shared_image->GetStrideForVideoFrame(i);
+ }
uint64_t modifier = gfx::NativePixmapHandle::kNoModifier;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- if (gpu_memory_buffer->GetType() == gfx::NATIVE_PIXMAP) {
- const auto gmb_handle = gpu_memory_buffer->CloneHandle();
- if (gmb_handle.is_null() ||
-@@ -682,7 +682,7 @@ scoped_refptr<VideoFrame> VideoFrame::Wr
+ bool is_native_buffer =
+ gpu_memory_buffer
+ ? (gpu_memory_buffer->GetType() != gfx::SHARED_MEMORY_BUFFER)
+@@ -782,7 +782,7 @@ scoped_refptr<VideoFrame> VideoFrame::Wr
return frame;
}
@@ -51,30 +42,12 @@ $NetBSD$
// static
scoped_refptr<VideoFrame> VideoFrame::WrapExternalDmabufs(
const VideoFrameLayout& layout,
-@@ -901,7 +901,7 @@ scoped_refptr<VideoFrame> VideoFrame::Wr
- }
- }
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- DCHECK(frame->dmabuf_fds_);
- // If there are any |dmabuf_fds_| plugged in, we should refer them too.
- wrapping_frame->dmabuf_fds_ = frame->dmabuf_fds_;
-@@ -1312,7 +1312,7 @@ const gpu::MailboxHolder& VideoFrame::ma
- : mailbox_holders_[texture_index];
+@@ -1489,7 +1489,7 @@ scoped_refptr<gpu::ClientSharedImage> Vi
+ return wrapped_frame_ ? wrapped_frame_->shared_image() : shared_image_;
}
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
size_t VideoFrame::NumDmabufFds() const {
- return dmabuf_fds_->size();
- }
-@@ -1429,7 +1429,7 @@ VideoFrame::VideoFrame(const VideoFrameL
- storage_type_(storage_type),
- visible_rect_(Intersection(visible_rect, gfx::Rect(layout.coded_size()))),
- natural_size_(natural_size),
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- dmabuf_fds_(base::MakeRefCounted<DmabufHolder>()),
- #endif
- timestamp_(timestamp),
+ if (wrapped_frame_) {
+ return wrapped_frame_->NumDmabufFds();
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_video__frame.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_video__frame.h
index a4df3b89fc..9764396845 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_video__frame.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_video__frame.h
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/base/video_frame.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/base/video_frame.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/media/base/video_frame.h
-@@ -44,7 +44,7 @@
+@@ -50,7 +50,7 @@
#include "base/apple/scoped_cftyperef.h"
#endif // BUILDFLAG(IS_APPLE)
@@ -15,7 +15,7 @@ $NetBSD$
#include "base/files/scoped_file.h"
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -110,7 +110,7 @@ class MEDIA_EXPORT VideoFrame : public b
+@@ -116,7 +116,7 @@ class MEDIA_EXPORT VideoFrame : public b
STORAGE_UNOWNED_MEMORY = 2, // External, non owned data pointers.
STORAGE_OWNED_MEMORY = 3, // VideoFrame has allocated its own data buffer.
STORAGE_SHMEM = 4, // Backed by read-only shared memory.
@@ -24,7 +24,7 @@ $NetBSD$
// TODO(mcasas): Consider turning this type into STORAGE_NATIVE
// based on the idea of using this same enum value for both DMA
// buffers on Linux and CVPixelBuffers on Mac (which currently use
-@@ -313,7 +313,7 @@ class MEDIA_EXPORT VideoFrame : public b
+@@ -393,7 +393,7 @@ class MEDIA_EXPORT VideoFrame : public b
ReleaseMailboxAndGpuMemoryBufferCB mailbox_holder_and_gmb_release_cb,
base::TimeDelta timestamp);
@@ -33,21 +33,21 @@ $NetBSD$
// Wraps provided dmabufs
// (https://www.kernel.org/doc/html/latest/driver-api/dma-buf.html) with a
// VideoFrame. The frame will take ownership of |dmabuf_fds|, and will
-@@ -593,7 +593,7 @@ class MEDIA_EXPORT VideoFrame : public b
- // mailbox, the caller must wait for the included sync point.
- const gpu::MailboxHolder& mailbox_holder(size_t texture_index) const;
+@@ -711,7 +711,7 @@ class MEDIA_EXPORT VideoFrame : public b
+ // wait for the included sync point.
+ scoped_refptr<gpu::ClientSharedImage> shared_image() const;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// The number of DmaBufs will be equal or less than the number of planes of
// the frame. If there are less, this means that the last FD contains the
// remaining planes. Should be > 0 for STORAGE_DMABUFS.
-@@ -811,7 +811,7 @@ class MEDIA_EXPORT VideoFrame : public b
- // GPU memory buffer, if this frame is STORAGE_GPU_MEMORY_BUFFER.
- std::unique_ptr<gfx::GpuMemoryBuffer> gpu_memory_buffer_;
+@@ -953,7 +953,7 @@ class MEDIA_EXPORT VideoFrame : public b
+ // GpuMemoryBuffers. Clients will set this flag while creating a VideoFrame.
+ bool is_mappable_si_enabled_ = false;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- class DmabufHolder;
// Dmabufs for the frame, used when storage is STORAGE_DMABUFS. Size is either
+ // equal or less than the number of planes of the frame. If it is less, then
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_chromeos_libyuv__image__processor__backend.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_chromeos_libyuv__image__processor__backend.cc
index 50ee0a5533..b7d38c51fd 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_chromeos_libyuv__image__processor__backend.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_chromeos_libyuv__image__processor__backend.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/gpu/chromeos/libyuv_image_processor_backend.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/gpu/chromeos/libyuv_image_processor_backend.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/media/gpu/chromeos/libyuv_image_processor_backend.cc
-@@ -47,7 +47,7 @@ static constexpr struct {
+@@ -53,7 +53,7 @@ static constexpr struct {
#define CONV(in, out, trans, result) \
{Fourcc::in, Fourcc::out, Transform::trans, SupportResult::result}
// Conversion.
@@ -15,16 +15,16 @@ $NetBSD$
CONV(NV12, AR24, kConversion, Supported),
#endif
CONV(NV12, NV12, kConversion, Supported),
-@@ -430,7 +430,7 @@ int LibYUVImageProcessorBackend::DoConve
- fr->GetWritableVisibleData(VideoFrame::kUVPlane)), \
- fr->stride(VideoFrame::kUVPlane)
+@@ -420,7 +420,7 @@ int LibYUVImageProcessorBackend::DoConve
+ fr->GetWritableVisibleData(VideoFrame::Plane::kUV)), \
+ fr->stride(VideoFrame::Plane::kUV)
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- #define ARGB_DATA(fr) \
- fr->GetWritableVisibleData(VideoFrame::kARGBPlane), \
- fr->stride(VideoFrame::kARGBPlane)
-@@ -573,7 +573,7 @@ int LibYUVImageProcessorBackend::DoConve
+ #define ARGB_DATA(fr) \
+ fr->GetWritableVisibleData(VideoFrame::Plane::kARGB), \
+ fr->stride(VideoFrame::Plane::kARGB)
+@@ -582,7 +582,7 @@ int LibYUVImageProcessorBackend::DoConve
}
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_chromeos_mailbox__video__frame__converter.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_chromeos_mailbox__video__frame__converter.cc
index 5588917257..537ef20b51 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_chromeos_mailbox__video__frame__converter.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_chromeos_mailbox__video__frame__converter.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/gpu/chromeos/mailbox_video_frame_converter.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/gpu/chromeos/mailbox_video_frame_converter.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/media/gpu/chromeos/mailbox_video_frame_converter.cc
-@@ -61,7 +61,7 @@ viz::SharedImageFormat GetSharedImageFor
+@@ -67,7 +67,7 @@ viz::SharedImageFormat GetSharedImageFor
<< static_cast<int>(buffer_format);
- NOTREACHED_NORETURN();
+ NOTREACHED();
}
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_chromeos_video__decoder__pipeline.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_chromeos_video__decoder__pipeline.cc
index d8df56e0b7..a1c6b9ff64 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_chromeos_video__decoder__pipeline.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_chromeos_video__decoder__pipeline.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/gpu/chromeos/video_decoder_pipeline.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/gpu/chromeos/video_decoder_pipeline.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/media/gpu/chromeos/video_decoder_pipeline.cc
-@@ -1009,14 +1009,14 @@ VideoDecoderPipeline::PickDecoderOutputF
+@@ -1096,7 +1096,7 @@ VideoDecoderPipeline::PickDecoderOutputF
}
#endif
@@ -15,20 +15,21 @@ $NetBSD$
// Linux should always use a custom allocator (to allocate buffers using
// libva) and a PlatformVideoFramePool.
CHECK(allocator.has_value());
- CHECK(main_frame_pool_->AsPlatformVideoFramePool());
+@@ -1105,7 +1105,7 @@ VideoDecoderPipeline::PickDecoderOutputF
+ // VideoFrame::StorageType of VideoFrame::STORAGE_DMABUFS.
main_frame_pool_->AsPlatformVideoFramePool()->SetCustomFrameAllocator(
- *allocator);
+ *allocator, VideoFrame::STORAGE_DMABUFS);
-#elif BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_V4L2_CODEC)
+#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_V4L2_CODEC)
// Linux w/ V4L2 should not use a custom allocator
// Only tested with video_decode_accelerator_tests
// TODO(wenst@) Test with full Chromium Browser
-@@ -1158,7 +1158,7 @@ VideoDecoderPipeline::PickDecoderOutputF
+@@ -1287,7 +1287,7 @@ VideoDecoderPipeline::PickDecoderOutputF
<< " VideoFrames";
auxiliary_frame_pool_->set_parent_task_runner(decoder_task_runner_);
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // The custom allocator creates frames backed by NativePixmap, which uses a
+ // VideoFrame::StorageType of VideoFrame::STORAGE_DMABUFS.
auxiliary_frame_pool_->AsPlatformVideoFramePool()->SetCustomFrameAllocator(
- *allocator);
- #endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc
index 78d1fd182e..a2d54a0418 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc
-@@ -15,7 +15,9 @@
+@@ -16,7 +16,9 @@
#include "media/gpu/vaapi/vaapi_wrapper.h"
#endif
@@ -16,7 +16,7 @@ $NetBSD$
// TODO(b/195769334): the hardware video decoding sandbox is really only useful
// when building with VA-API or V4L2 (otherwise, we're not really doing hardware
-@@ -31,6 +33,7 @@ using sandbox::syscall_broker::BrokerFil
+@@ -32,6 +34,7 @@ using sandbox::syscall_broker::BrokerFil
namespace media {
namespace {
@@ -24,15 +24,15 @@ $NetBSD$
void AllowAccessToRenderNodes(std::vector<BrokerFilePermission>& permissions,
bool include_sys_dev_char,
bool read_write) {
-@@ -165,6 +168,7 @@ bool HardwareVideoDecodingPreSandboxHook
- NOTREACHED_NORETURN();
+@@ -188,6 +191,7 @@ bool HardwareVideoDecodingPreSandboxHook
+ NOTREACHED();
#endif // BUILDFLAG(USE_V4L2_CODEC)
}
+#endif
} // namespace
-@@ -180,6 +184,7 @@ bool HardwareVideoDecodingPreSandboxHook
+@@ -203,6 +207,7 @@ bool HardwareVideoDecodingPreSandboxHook
// (at least).
bool HardwareVideoDecodingPreSandboxHook(
sandbox::policy::SandboxLinux::Options options) {
@@ -40,10 +40,10 @@ $NetBSD$
using HardwareVideoDecodingProcessPolicy =
sandbox::policy::HardwareVideoDecodingProcessPolicy;
using PolicyType =
-@@ -217,6 +222,7 @@ bool HardwareVideoDecodingPreSandboxHook
+@@ -248,6 +253,7 @@ bool HardwareVideoDecodingPreSandboxHook
+ // |permissions| is empty?
sandbox::policy::SandboxLinux::GetInstance()->StartBrokerProcess(
- command_set, permissions, sandbox::policy::SandboxLinux::PreSandboxHook(),
- options);
+ command_set, permissions, options);
+#endif
return true;
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__encoding__sandbox__hook__linux.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__encoding__sandbox__hook__linux.cc
index 69141cc948..c02f1dc58a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__encoding__sandbox__hook__linux.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__encoding__sandbox__hook__linux.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/gpu/sandbox/hardware_video_encoding_sandbox_hook_linux.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/gpu/sandbox/hardware_video_encoding_sandbox_hook_linux.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/media/gpu/sandbox/hardware_video_encoding_sandbox_hook_linux.cc
@@ -18,12 +18,15 @@
#include "media/gpu/v4l2/v4l2_device.h"
@@ -22,8 +22,8 @@ $NetBSD$
sandbox::syscall_broker::BrokerCommandSet command_set;
std::vector<BrokerFilePermission> permissions;
-@@ -122,6 +125,7 @@ bool HardwareVideoEncodingPreSandboxHook
- }
+@@ -132,6 +135,7 @@ bool HardwareVideoEncodingPreSandboxHook
+ dlopen("libvulkan_radeon.so", kDlopenFlags);
}
#endif
+#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_vaapi_vaapi__video__decoder.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_vaapi_vaapi__video__decoder.cc
index 36d8b8fa4a..1fc70d7fb3 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_vaapi_vaapi__video__decoder.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_vaapi_vaapi__video__decoder.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/gpu/vaapi/vaapi_video_decoder.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/gpu/vaapi/vaapi_video_decoder.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/media/gpu/vaapi/vaapi_video_decoder.cc
-@@ -792,7 +792,7 @@ void VaapiVideoDecoder::ApplyResolutionC
+@@ -785,7 +785,7 @@ void VaapiVideoDecoder::ApplyResolutionC
const gfx::Size decoder_natural_size =
aspect_ratio_.GetNaturalSize(decoder_visible_rect);
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- absl::optional<DmabufVideoFramePool::CreateFrameCB> allocator =
+ std::optional<DmabufVideoFramePool::CreateFrameCB> allocator =
base::BindRepeating(&AllocateCustomFrameProxy, weak_this_);
std::vector<ImageProcessor::PixelLayoutCandidate> candidates = {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_fake__gpu__memory__buffer.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_fake__gpu__memory__buffer.cc
index 172c8987ef..bf8f41c59f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_fake__gpu__memory__buffer.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_fake__gpu__memory__buffer.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/video/fake_gpu_memory_buffer.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/video/fake_gpu_memory_buffer.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/media/video/fake_gpu_memory_buffer.cc
-@@ -9,7 +9,7 @@
+@@ -14,7 +14,7 @@
#include "media/base/format_utils.h"
#include "media/base/video_frame.h"
@@ -15,7 +15,7 @@ $NetBSD$
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
-@@ -47,7 +47,7 @@ class FakeGpuMemoryBufferImpl : public g
+@@ -57,7 +57,7 @@ class FakeGpuMemoryBufferImpl : public g
} // namespace
@@ -24,7 +24,7 @@ $NetBSD$
base::ScopedFD GetDummyFD() {
base::ScopedFD fd(open("/dev/zero", O_RDWR));
DCHECK(fd.is_valid());
-@@ -77,7 +77,7 @@ FakeGpuMemoryBuffer::FakeGpuMemoryBuffer
+@@ -87,7 +87,7 @@ FakeGpuMemoryBuffer::FakeGpuMemoryBuffer
static base::AtomicSequenceNumber buffer_id_generator;
handle_.id = gfx::GpuMemoryBufferId(buffer_id_generator.GetNext());
@@ -33,12 +33,12 @@ $NetBSD$
for (size_t i = 0; i < VideoFrame::NumPlanes(video_pixel_format_); i++) {
const gfx::Size plane_size_in_bytes =
VideoFrame::PlaneSize(video_pixel_format_, i, size_);
-@@ -132,7 +132,7 @@ gfx::GpuMemoryBufferHandle FakeGpuMemory
+@@ -149,7 +149,7 @@ gfx::GpuMemoryBufferHandle FakeGpuMemory
gfx::GpuMemoryBufferHandle handle;
handle.type = gfx::NATIVE_PIXMAP;
handle.id = handle_.id;
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
handle.native_pixmap_handle =
gfx::CloneHandleForIPC(handle_.native_pixmap_handle);
#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_gpu__memory__buffer__video__frame__pool.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_gpu__memory__buffer__video__frame__pool.cc
index 170c759a1c..4527067113 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_gpu__memory__buffer__video__frame__pool.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_gpu__memory__buffer__video__frame__pool.cc
@@ -4,9 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/video/gpu_memory_buffer_video_frame_pool.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/video/gpu_memory_buffer_video_frame_pool.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/media/video/gpu_memory_buffer_video_frame_pool.cc
-@@ -803,7 +803,7 @@ void GpuMemoryBufferVideoFramePool::Pool
+@@ -98,7 +98,7 @@ class GpuMemoryBufferVideoFramePool::Poo
+ gpu::SHARED_IMAGE_USAGE_RASTER_READ |
+ gpu::SHARED_IMAGE_USAGE_DISPLAY_READ |
+ gpu::SHARED_IMAGE_USAGE_SCANOUT;
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ // TODO(crbug.com/40194712): Always add the flag once the
+ // OzoneImageBacking is by default turned on.
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+@@ -695,7 +695,7 @@ void GpuMemoryBufferVideoFramePool::Pool
}
bool is_software_backed_video_frame = !video_frame->HasTextures();
@@ -15,21 +24,12 @@ $NetBSD$
is_software_backed_video_frame &= !video_frame->HasDmaBufs();
#endif
-@@ -1285,7 +1285,7 @@ scoped_refptr<VideoFrame> GpuMemoryBuffe
- }
+@@ -1104,7 +1104,7 @@ scoped_refptr<VideoFrame> GpuMemoryBuffe
+ media::IOSurfaceIsWebGPUCompatible(handle.io_surface.get());
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- is_webgpu_compatible = (gpu_memory_buffer != nullptr);
- if (is_webgpu_compatible) {
- is_webgpu_compatible &=
-@@ -1305,7 +1305,7 @@ scoped_refptr<VideoFrame> GpuMemoryBuffe
- gpu::SHARED_IMAGE_USAGE_DISPLAY_READ |
- gpu::SHARED_IMAGE_USAGE_SCANOUT;
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
- // TODO(crbug.com/1241537): Always add the flag once the
- // OzoneImageBacking is by default turned on.
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ is_webgpu_compatible =
+ handle.native_pixmap_handle.supports_zero_copy_webgpu_import;
+ #endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_webrtc_helpers.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_webrtc_helpers.cc
index 63a9c4d2da..015e98b4a1 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_webrtc_helpers.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_webrtc_helpers.cc
@@ -4,14 +4,22 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/webrtc/helpers.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/webrtc/helpers.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/media/webrtc/helpers.cc
-@@ -40,7 +40,7 @@ void ConfigAutomaticGainControl(const Au
- apm_config.gain_controller2.enabled = false;
+@@ -41,14 +41,14 @@ void ConfigAutomaticGainControl(const Au
return;
}
+
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Use the Hybrid AGC setup, which combines the AGC1 input volume controller
- // and the AGC2 digital adaptive controller.
+ const bool kInputVolumeAdjustmentOverrideAllowed = true;
+ #elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
+ const bool kInputVolumeAdjustmentOverrideAllowed = false;
+ #endif
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+ // Use AGC2 digital and input volume controller.
+ // TODO(crbug.com/40872787): Remove `kWebRtcAllowInputVolumeAdjustment` safely
+ // and set `input_volume_controller.enabled` true.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_webrtc_helpers__unittests.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_webrtc_helpers__unittests.cc
index bfd2fc3d63..60d5b32795 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_webrtc_helpers__unittests.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_webrtc_helpers__unittests.cc
@@ -4,27 +4,36 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/webrtc/helpers_unittests.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/webrtc/helpers_unittests.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/media/webrtc/helpers_unittests.cc
-@@ -39,7 +39,7 @@ TEST(CreateWebRtcAudioProcessingModuleTe
- EXPECT_FALSE(config.pre_amplifier.enabled);
+@@ -40,7 +40,7 @@ TEST(CreateWebRtcAudioProcessingModuleTe
EXPECT_TRUE(config.echo_canceller.enabled);
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- EXPECT_TRUE(config.gain_controller1.enabled);
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+ EXPECT_FALSE(config.gain_controller1.enabled);
EXPECT_TRUE(config.gain_controller2.enabled);
- #elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
-@@ -77,7 +77,7 @@ TEST(CreateWebRtcAudioProcessingModuleTe
- EXPECT_EQ(config.gain_controller2, kDefaultApmConfig.gain_controller2);
+ #elif BUILDFLAG(IS_CASTOS) || BUILDFLAG(IS_CAST_ANDROID)
+@@ -73,7 +73,7 @@ TEST(CreateWebRtcAudioProcessingModuleTe
}
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+ TEST(CreateWebRtcAudioProcessingModuleTest,
+ InputVolumeAdjustmentEnabledWithAgc2) {
+ ::base::test::ScopedFeatureList feature_list;
+@@ -89,7 +89,7 @@ TEST(CreateWebRtcAudioProcessingModuleTe
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
+ // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
+
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
TEST(CreateWebRtcAudioProcessingModuleTest,
- InputVolumeAdjustmentEnabledWithHybridAgc) {
+ CanDisableInputVolumeAdjustmentWithAgc2) {
::base::test::ScopedFeatureList feature_list;
-@@ -103,7 +103,7 @@ TEST(CreateWebRtcAudioProcessingModuleTe
+@@ -106,7 +106,7 @@ TEST(CreateWebRtcAudioProcessingModuleTe
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_mojo_core_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_mojo_core_BUILD.gn
index f7eafab763..03f4d2b6e7 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_mojo_core_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_mojo_core_BUILD.gn
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/mojo/core/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/mojo/core/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/mojo/core/BUILD.gn
-@@ -166,7 +166,7 @@ template("core_impl_source_set") {
- ]
- }
+@@ -161,7 +161,7 @@ source_set("impl_for_embedder") {
+ ]
+ }
-- if ((is_linux || is_chromeos || is_android) && !is_nacl) {
-+ if ((is_linux || is_chromeos || is_android) && !is_nacl && !is_bsd) {
- sources += [
- "channel_linux.cc",
- "channel_linux.h",
+- if ((is_linux || is_chromeos || is_android) && !is_nacl) {
++ if ((is_linux || is_chromeos || is_android) && !is_nacl && !is_bsd) {
+ sources += [
+ "channel_linux.cc",
+ "channel_linux.h",
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_mojo_core_channel.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_mojo_core_channel.cc
index 4e748e2538..f121455681 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_mojo_core_channel.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_mojo_core_channel.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/mojo/core/channel.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/mojo/core/channel.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/mojo/core/channel.cc
-@@ -75,7 +75,11 @@ const size_t kMaxUnusedReadBufferCapacit
- // Fuchsia: The zx_channel_write() API supports up to 64 handles.
- const size_t kMaxAttachedHandles = 64;
+@@ -82,7 +82,11 @@ const size_t kMaxAttachedHandles = 64;
+ const size_t kMaxAttachedHandles = 253;
+ #endif // BUILDFLAG(IS_FUCHSIA)
+#if defined(__i386__) && defined(OS_FREEBSD)
+const size_t kChannelMessageAlignment = 4;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_mojo_public_tools_bindings_mojom.gni b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_mojo_public_tools_bindings_mojom.gni
index fa135d5504..6280e64218 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_mojo_public_tools_bindings_mojom.gni
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_mojo_public_tools_bindings_mojom.gni
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/mojo/public/tools/bindings/mojom.gni.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/mojo/public/tools/bindings/mojom.gni.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/mojo/public/tools/bindings/mojom.gni
-@@ -748,6 +748,21 @@ template("mojom") {
+@@ -776,6 +776,21 @@ template("mojom") {
enabled_features += [ "is_apple" ]
}
@@ -27,4 +27,4 @@ $NetBSD$
+
action(parser_target_name) {
allow_remote = true
- custom_processor = "mojom_parser"
+
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_native__client__sdk_src_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_native__client__sdk_src_BUILD.gn
index dd64b9eb92..03d9a3c39e 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_native__client__sdk_src_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_native__client__sdk_src_BUILD.gn
@@ -3,14 +3,14 @@ $NetBSD$
* Based on OpenBSD's qt6-qtwebengine patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/native_client_sdk/src/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/native_client_sdk/src/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/native_client_sdk/src/BUILD.gn
-@@ -51,7 +51,7 @@ if (enable_nacl) {
+@@ -52,7 +52,7 @@ if (enable_nacl) {
# TODO(binji): dump_syms doesn't currently build on Windows. See
# http://crbug.com/245456
- if (!is_win && target_cpu == "x64") {
+ if (!is_win && target_cpu == "x64" && !is_bsd) {
deps += [
- "//third_party/breakpad:dump_syms($host_toolchain)",
- "//third_party/breakpad:minidump_dump($host_toolchain)",
+ "//third_party/breakpad:dump_syms($host_system_allocator_toolchain)",
+ "//third_party/breakpad:minidump_dump($host_system_allocator_toolchain)",
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_BUILD.gn
index fb2f5d80be..efb04cc147 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_BUILD.gn
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/net/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/net/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/net/BUILD.gn
-@@ -126,7 +126,7 @@ net_configs = [
+@@ -130,7 +130,7 @@ net_configs = [
"//build/config/compiler:wexit_time_destructors",
]
@@ -15,7 +15,7 @@ $NetBSD$
net_configs += [ "//build/config/linux:libresolv" ]
}
-@@ -1183,6 +1183,19 @@ component("net") {
+@@ -1294,6 +1294,23 @@ jumbo_component("net") {
]
}
@@ -30,12 +30,16 @@ $NetBSD$
+ "base/network_change_notifier_linux.cc",
+ "base/network_interfaces_linux.cc",
+ ]
++ jumbo_excluded_sources -= [
++ "base/address_tracker_linux.cc",
++ "base/network_interfaces_linux.cc",
++ ]
+ }
+
if (is_mac) {
sources += [
"base/network_notification_thread_mac.cc",
-@@ -1340,7 +1353,7 @@ component("net") {
+@@ -1458,7 +1471,7 @@ jumbo_component("net") {
}
# Use getifaddrs() on POSIX platforms, except Linux.
@@ -44,16 +48,16 @@ $NetBSD$
sources += [
"base/network_interfaces_getifaddrs.cc",
"base/network_interfaces_getifaddrs.h",
-@@ -1995,7 +2008,7 @@ static_library("test_support") {
- "url_request/url_request_test_util.h",
- ]
+@@ -2125,7 +2138,7 @@ static_library("test_support") {
+ ]
+ }
- if (is_linux || is_chromeos || is_android) {
-+ if ((is_linux || is_chromeos || is_android) && !is_bsd) {
++ if ((is_linux || is_chromeos || is_android) && !is_bsd) {
sources += [
"base/address_tracker_linux_test_util.cc",
"base/address_tracker_linux_test_util.h",
-@@ -2803,14 +2816,14 @@ test("net_unittests") {
+@@ -2934,14 +2947,14 @@ target(_test_target_type, "net_unittests
]
}
@@ -70,7 +74,7 @@ $NetBSD$
sources += [
"base/address_tracker_linux_unittest.cc",
"base/network_interfaces_linux_unittest.cc",
-@@ -2898,6 +2911,10 @@ test("net_unittests") {
+@@ -3034,6 +3047,10 @@ target(_test_target_type, "net_unittests
]
}
@@ -79,9 +83,9 @@ $NetBSD$
+ }
+
if (enable_websockets) {
- deps += [ "//net/server:tests" ]
- }
-@@ -2968,7 +2985,7 @@ test("net_unittests") {
+ sources += [
+ "server/http_connection_unittest.cc",
+@@ -3100,7 +3117,7 @@ target(_test_target_type, "net_unittests
]
}
@@ -90,7 +94,7 @@ $NetBSD$
sources += [ "tools/quic/quic_simple_server_test.cc" ]
}
-@@ -3103,7 +3120,7 @@ test("net_unittests") {
+@@ -3239,7 +3256,7 @@ target(_test_target_type, "net_unittests
}
# Use getifaddrs() on POSIX platforms, except Linux.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_dns_address__sorter__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_dns_address__sorter__posix.cc
index e4adb62022..17e99142bb 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_dns_address__sorter__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_dns_address__sorter__posix.cc
@@ -4,13 +4,13 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/net/dns/address_sorter_posix.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/net/dns/address_sorter_posix.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/net/dns/address_sorter_posix.cc
-@@ -27,6 +27,7 @@
+@@ -32,6 +32,7 @@
#include "net/dns/netinet_in_var_ios.h"
#else
#include <netinet/in_var.h>
+#include <netinet6/in6_var.h>
#endif // BUILDFLAG(IS_IOS)
#endif
-
+ #include <vector>
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_http_http__network__session.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_http_http__network__session.cc
index 3e1a61a74c..68e645b551 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_http_http__network__session.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_http_http__network__session.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/net/http/http_network_session.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/net/http/http_network_session.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/net/http/http_network_session.cc
-@@ -19,7 +19,9 @@
+@@ -20,7 +20,9 @@
#include "build/build_config.h"
#include "net/base/features.h"
#include "net/dns/host_resolver.h"
@@ -15,4 +15,4 @@ $NetBSD$
+#endif
#include "net/http/http_response_body_drainer.h"
#include "net/http/http_stream_factory.h"
- #include "net/http/url_security_manager.h"
+ #include "net/http/http_stream_pool.h"
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_proxy__resolution_proxy__config__service__linux.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_proxy__resolution_proxy__config__service__linux.cc
index 6e668e0e1a..29a8f45531 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_proxy__resolution_proxy__config__service__linux.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_proxy__resolution_proxy__config__service__linux.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/net/proxy_resolution/proxy_config_service_linux.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/net/proxy_resolution/proxy_config_service_linux.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/net/proxy_resolution/proxy_config_service_linux.cc
-@@ -6,7 +6,9 @@
+@@ -11,7 +11,9 @@
#include <errno.h>
#include <limits.h>
@@ -16,15 +16,15 @@ $NetBSD$
#include <unistd.h>
#include <map>
-@@ -505,6 +507,7 @@ bool SettingGetterImplGSettings::CheckVe
+@@ -510,6 +512,7 @@ bool SettingGetterImplGSettings::CheckVe
}
#endif // defined(USE_GIO)
+#if !BUILDFLAG(IS_BSD)
// Converts |value| from a decimal string to an int. If there was a failure
// parsing, returns |default_value|.
- int StringToIntOrDefault(base::StringPiece value, int default_value) {
-@@ -1033,6 +1036,7 @@ class SettingGetterImplKDE : public Prox
+ int StringToIntOrDefault(std::string_view value, int default_value) {
+@@ -1038,6 +1041,7 @@ class SettingGetterImplKDE : public Prox
// events on.
scoped_refptr<base::SequencedTaskRunner> file_task_runner_;
};
@@ -32,7 +32,7 @@ $NetBSD$
} // namespace
-@@ -1251,9 +1255,11 @@ ProxyConfigServiceLinux::Delegate::Deleg
+@@ -1256,9 +1260,11 @@ ProxyConfigServiceLinux::Delegate::Deleg
case base::nix::DESKTOP_ENVIRONMENT_KDE4:
case base::nix::DESKTOP_ENVIRONMENT_KDE5:
case base::nix::DESKTOP_ENVIRONMENT_KDE6:
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_socket_udp__socket__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_socket_udp__socket__posix.cc
index 12ffe0bf48..a65836a3b6 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_socket_udp__socket__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_socket_udp__socket__posix.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/net/socket/udp_socket_posix.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/net/socket/udp_socket_posix.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/net/socket/udp_socket_posix.cc
-@@ -104,6 +104,32 @@ const guardid_t kSocketFdGuard = 0xD712B
-
- #endif // BUILDFLAG(IS_APPLE) && !BUILDFLAG(CRONET_BUILD)
+@@ -78,6 +78,32 @@ constexpr int kBindRetries = 10;
+ constexpr int kPortStart = 1024;
+ constexpr int kPortEnd = 65535;
+#if BUILDFLAG(IS_NETBSD)
+int GetIPv4AddressFromIndex(int socket, uint32_t index, uint32_t* address) {
@@ -39,8 +39,8 @@ $NetBSD$
int GetSocketFDHash(int fd) {
return fd ^ 1595649551;
}
-@@ -592,12 +618,17 @@ int UDPSocketPosix::SetRecvEcn() {
- }
+@@ -522,12 +548,17 @@ int UDPSocketPosix::SetRecvTos() {
+ #endif // BUILDFLAG(IS_APPLE)
}
+#ifdef IP_RECVTOS
@@ -58,7 +58,7 @@ $NetBSD$
if (confirm) {
sendto_flags_ |= MSG_CONFIRM;
} else {
-@@ -618,7 +649,7 @@ int UDPSocketPosix::SetBroadcast(bool br
+@@ -548,7 +579,7 @@ int UDPSocketPosix::SetBroadcast(bool br
DCHECK_CALLED_ON_VALID_THREAD(thread_checker_);
int value = broadcast ? 1 : 0;
int rv;
@@ -67,7 +67,7 @@ $NetBSD$
// SO_REUSEPORT on OSX permits multiple processes to each receive
// UDP multicast or broadcast datagrams destined for the bound
// port.
-@@ -894,9 +925,17 @@ int UDPSocketPosix::SetMulticastOptions(
+@@ -849,9 +880,17 @@ int UDPSocketPosix::SetMulticastOptions(
if (multicast_interface_ != 0) {
switch (addr_family_) {
case AF_INET: {
@@ -85,7 +85,7 @@ $NetBSD$
int rv = setsockopt(socket_, IPPROTO_IP, IP_MULTICAST_IF,
reinterpret_cast<const char*>(&mreq), sizeof(mreq));
if (rv)
-@@ -931,7 +970,7 @@ int UDPSocketPosix::DoBind(const IPEndPo
+@@ -886,7 +925,7 @@ int UDPSocketPosix::DoBind(const IPEndPo
#if BUILDFLAG(IS_CHROMEOS_ASH)
if (last_error == EINVAL)
return ERR_ADDRESS_IN_USE;
@@ -94,7 +94,7 @@ $NetBSD$
if (last_error == EADDRNOTAVAIL)
return ERR_ADDRESS_IN_USE;
#endif
-@@ -959,9 +998,17 @@ int UDPSocketPosix::JoinGroup(const IPAd
+@@ -914,9 +953,17 @@ int UDPSocketPosix::JoinGroup(const IPAd
case IPAddress::kIPv4AddressSize: {
if (addr_family_ != AF_INET)
return ERR_ADDRESS_INVALID;
@@ -112,7 +112,7 @@ $NetBSD$
memcpy(&mreq.imr_multiaddr, group_address.bytes().data(),
IPAddress::kIPv4AddressSize);
int rv = setsockopt(socket_, IPPROTO_IP, IP_ADD_MEMBERSHIP,
-@@ -999,9 +1046,17 @@ int UDPSocketPosix::LeaveGroup(const IPA
+@@ -954,9 +1001,17 @@ int UDPSocketPosix::LeaveGroup(const IPA
case IPAddress::kIPv4AddressSize: {
if (addr_family_ != AF_INET)
return ERR_ADDRESS_INVALID;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_socket_udp__socket__unittest.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_socket_udp__socket__unittest.cc
index fc5b058945..18bf0facb0 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_socket_udp__socket__unittest.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_socket_udp__socket__unittest.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/net/socket/udp_socket_unittest.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/net/socket/udp_socket_unittest.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/net/socket/udp_socket_unittest.cc
-@@ -344,7 +344,7 @@ TEST_F(UDPSocketTest, PartialRecv) {
+@@ -372,7 +372,7 @@ TEST_F(UDPSocketTest, PartialRecv) {
EXPECT_EQ(second_packet, received);
}
@@ -15,34 +15,34 @@ $NetBSD$
// - MacOS: requires root permissions on OSX 10.7+.
// - Android: devices attached to testbots don't have default network, so
// broadcasting to 255.255.255.255 returns error -109 (Address not reachable).
-@@ -655,7 +655,7 @@ TEST_F(UDPSocketTest, ClientSetDoNotFrag
+@@ -683,7 +683,7 @@ TEST_F(UDPSocketTest, ClientSetDoNotFrag
EXPECT_THAT(rv, IsOk());
rv = client.SetDoNotFragment();
-#if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_FUCHSIA)
+#if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- // TODO(crbug.com/945590): IP_MTU_DISCOVER is not implemented on Fuchsia.
+ // TODO(crbug.com/42050633): IP_MTU_DISCOVER is not implemented on Fuchsia.
EXPECT_THAT(rv, IsError(ERR_NOT_IMPLEMENTED));
- #elif BUILDFLAG(IS_MAC)
-@@ -683,7 +683,7 @@ TEST_F(UDPSocketTest, ServerSetDoNotFrag
+ #else
+@@ -705,7 +705,7 @@ TEST_F(UDPSocketTest, ServerSetDoNotFrag
EXPECT_THAT(rv, IsOk());
rv = server.SetDoNotFragment();
-#if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_FUCHSIA)
+#if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- // TODO(crbug.com/945590): IP_MTU_DISCOVER is not implemented on Fuchsia.
+ // TODO(crbug.com/42050633): IP_MTU_DISCOVER is not implemented on Fuchsia.
EXPECT_THAT(rv, IsError(ERR_NOT_IMPLEMENTED));
- #elif BUILDFLAG(IS_MAC)
-@@ -748,7 +748,7 @@ TEST_F(UDPSocketTest, JoinMulticastGroup
+ #else
+@@ -764,7 +764,7 @@ TEST_F(UDPSocketTest, JoinMulticastGroup
- // TODO(https://crbug.com/947115): failing on device on iOS 12.2.
- // TODO(https://crbug.com/1227554): flaky on Mac 11.
+ // TODO(crbug.com/40620614): failing on device on iOS 12.2.
+ // TODO(crbug.com/40189274): flaky on Mac 11.
-#if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
#define MAYBE_SharedMulticastAddress DISABLED_SharedMulticastAddress
#else
#define MAYBE_SharedMulticastAddress SharedMulticastAddress
-@@ -802,7 +802,7 @@ TEST_F(UDPSocketTest, MAYBE_SharedMultic
+@@ -818,7 +818,7 @@ TEST_F(UDPSocketTest, MAYBE_SharedMultic
NetLogSource());
ASSERT_THAT(client_socket.Connect(send_address), IsOk());
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_tools_net__watcher_net__watcher.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_tools_net__watcher_net__watcher.cc
index ccbbfa124f..147e6dcf31 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_tools_net__watcher_net__watcher.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_tools_net__watcher_net__watcher.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/net/tools/net_watcher/net_watcher.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/net/tools/net_watcher/net_watcher.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/net/tools/net_watcher/net_watcher.cc
@@ -32,7 +32,7 @@
#include "net/proxy_resolution/proxy_config_service.h"
@@ -17,7 +17,7 @@ $NetBSD$
@@ -44,7 +44,7 @@ namespace {
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_traffic__annotation_network__traffic__annotation.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_traffic__annotation_network__traffic__annotation.h
index 3cd570b640..2c4b16585b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_traffic__annotation_network__traffic__annotation.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_traffic__annotation_network__traffic__annotation.h
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/net/traffic_annotation/network_traffic_annotation.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/net/traffic_annotation/network_traffic_annotation.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/net/traffic_annotation/network_traffic_annotation.h
-@@ -373,7 +373,7 @@ struct MutablePartialNetworkTrafficAnnot
+@@ -378,7 +378,7 @@ struct MutablePartialNetworkTrafficAnnot
} // namespace net
// Placeholder for unannotated usages.
@@ -15,8 +15,8 @@ $NetBSD$
#define TRAFFIC_ANNOTATION_WITHOUT_PROTO(ANNOTATION_ID) \
net::DefineNetworkTrafficAnnotation(ANNOTATION_ID, "No proto yet.")
#endif
-@@ -387,7 +387,7 @@ struct MutablePartialNetworkTrafficAnnot
- // TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is
+@@ -392,7 +392,7 @@ struct MutablePartialNetworkTrafficAnnot
+ // TODO(crbug.com/40118868): Revisit once build flag switch of lacros-chrome is
// complete.
#if !BUILDFLAG(IS_WIN) && \
- !(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_url__request_url__request__context.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_url__request_url__request__context.cc
index 48e9471e89..efcd973880 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_url__request_url__request__context.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_url__request_url__request__context.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/net/url_request/url_request_context.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/net/url_request/url_request_context.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/net/url_request/url_request_context.cc
-@@ -117,7 +117,7 @@ const HttpNetworkSessionContext* URLRequ
- // TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is
+@@ -121,7 +121,7 @@ const HttpNetworkSessionContext* URLRequ
+ // TODO(crbug.com/40118868): Revisit once build flag switch of lacros-chrome is
// complete.
#if !BUILDFLAG(IS_WIN) && \
- !(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_url__request_url__request__context.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_url__request_url__request__context.h
index cdd2363fa2..9e28ad062d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_url__request_url__request__context.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_url__request_url__request__context.h
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/net/url_request/url_request_context.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/net/url_request/url_request_context.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/net/url_request/url_request_context.h
-@@ -85,7 +85,7 @@ class NET_EXPORT URLRequestContext final
- // TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is
+@@ -91,7 +91,7 @@ class NET_EXPORT URLRequestContext final
+ // TODO(crbug.com/40118868): Revisit once build flag switch of lacros-chrome is
// complete.
#if !BUILDFLAG(IS_WIN) && \
- !(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_printing__features.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_printing__features.cc
index 6a8d2a92b3..eab66d5623 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_printing__features.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_printing__features.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/printing/printing_features.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/printing/printing_features.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/printing/printing_features.cc
-@@ -21,7 +21,7 @@ BASE_FEATURE(kEnableBorderlessPrinting,
- base::FEATURE_ENABLED_BY_DEFAULT);
+@@ -21,7 +21,7 @@ BASE_FEATURE(kAddPrinterViaPrintscanmgr,
+ base::FEATURE_DISABLED_BY_DEFAULT);
#endif // BUILDFLAG(IS_CHROMEOS)
--#if BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
// Use the CUPS IPP printing backend instead of the original CUPS backend that
// calls the deprecated PPD API.
BASE_FEATURE(kCupsIppPrintingBackend,
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_printing__features.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_printing__features.h
index 5019cf8266..c9c536805a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_printing__features.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_printing__features.h
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/printing/printing_features.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/printing/printing_features.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/printing/printing_features.h
-@@ -21,7 +21,7 @@ namespace features {
- COMPONENT_EXPORT(PRINTING_BASE) BASE_DECLARE_FEATURE(kEnableBorderlessPrinting);
+@@ -22,7 +22,7 @@ COMPONENT_EXPORT(PRINTING_BASE)
+ BASE_DECLARE_FEATURE(kAddPrinterViaPrintscanmgr);
#endif // BUILDFLAG(IS_CHROMEOS)
--#if BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
COMPONENT_EXPORT(PRINTING_BASE) BASE_DECLARE_FEATURE(kCupsIppPrintingBackend);
- #endif // BUILDFLAG(IS_MAC)
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_sandbox_print__backend__sandbox__hook__linux.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_sandbox_print__backend__sandbox__hook__linux.cc
index 4617776c37..e0ae12df83 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_sandbox_print__backend__sandbox__hook__linux.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_sandbox_print__backend__sandbox__hook__linux.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/printing/sandbox/print_backend_sandbox_hook_linux.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/printing/sandbox/print_backend_sandbox_hook_linux.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/printing/sandbox/print_backend_sandbox_hook_linux.cc
@@ -10,20 +10,27 @@
#include "base/path_service.h"
@@ -46,8 +46,8 @@ $NetBSD$
#if BUILDFLAG(IS_CHROMEOS) && BUILDFLAG(USE_CUPS)
// Create the socket connections to the CUPS server before engaging the
// sandbox, since new connections cannot be made after that.
-@@ -92,6 +101,7 @@ bool PrintBackendPreSandboxHook(
- sandbox::policy::SandboxLinux::PreSandboxHook(), options);
+@@ -91,6 +100,7 @@ bool PrintBackendPreSandboxHook(
+ GetPrintBackendFilePermissions(), options);
instance->EngageNamespaceSandboxIfPossible();
+#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_features.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_features.cc
index 12670e31a1..fb8578f6af 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_features.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_features.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/sandbox/policy/features.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/sandbox/policy/features.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/sandbox/policy/features.cc
-@@ -20,7 +20,11 @@ namespace sandbox::policy::features {
+@@ -20,9 +20,13 @@ namespace sandbox::policy::features {
// (Only causes an effect when feature kNetworkServiceInProcess is disabled.)
BASE_FEATURE(kNetworkServiceSandbox,
"NetworkServiceSandbox",
@@ -16,10 +16,13 @@ $NetBSD$
base::FEATURE_DISABLED_BY_DEFAULT);
+#endif
- #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Enables a fine-grained seccomp-BPF syscall filter for the network service.
-@@ -128,7 +132,7 @@ BASE_FEATURE(kForceSpectreVariant2Mitiga
- base::FEATURE_DISABLED_BY_DEFAULT);
+ // Only has an effect if IsNetworkSandboxEnabled() returns true.
+ // If the network service sandbox is enabled and |kNetworkServiceSyscallFilter|
+@@ -134,7 +138,7 @@ BASE_FEATURE(kSpectreVariant2Mitigation,
+ base::FEATURE_ENABLED_BY_DEFAULT);
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_features.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_features.h
index d7e3c0b3f5..e09401d9d8 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_features.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_features.h
@@ -4,10 +4,19 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/sandbox/policy/features.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/sandbox/policy/features.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/sandbox/policy/features.h
-@@ -44,7 +44,7 @@ SANDBOX_POLICY_EXPORT BASE_DECLARE_FEATU
- SANDBOX_POLICY_EXPORT BASE_DECLARE_FEATURE(kForceSpectreVariant2Mitigation);
+@@ -18,7 +18,7 @@ namespace sandbox::policy::features {
+ #if defined(TOOLKIT_QT) || (!BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_FUCHSIA))
+ SANDBOX_POLICY_EXPORT BASE_DECLARE_FEATURE(kNetworkServiceSandbox);
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ SANDBOX_POLICY_EXPORT BASE_DECLARE_FEATURE(kNetworkServiceSyscallFilter);
+ SANDBOX_POLICY_EXPORT BASE_DECLARE_FEATURE(kNetworkServiceFileAllowlist);
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+@@ -45,7 +45,7 @@ SANDBOX_POLICY_EXPORT BASE_DECLARE_FEATU
+ SANDBOX_POLICY_EXPORT BASE_DECLARE_FEATURE(kSpectreVariant2Mitigation);
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_sandbox__type.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_sandbox__type.cc
index 23a224ad2a..cbbc832f04 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_sandbox__type.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_sandbox__type.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/sandbox/policy/sandbox_type.cc.orig 2025-03-18 19:28:59.000000000 +0000
+--- src/3rdparty/chromium/sandbox/policy/sandbox_type.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/sandbox/policy/sandbox_type.cc
@@ -38,7 +38,7 @@ bool IsUnsandboxedSandboxType(Sandbox sa
#endif
@@ -15,9 +15,9 @@ $NetBSD$
case Sandbox::kVideoCapture:
return false;
#endif
-@@ -63,7 +63,7 @@ bool IsUnsandboxedSandboxType(Sandbox sa
+@@ -62,7 +62,7 @@ bool IsUnsandboxedSandboxType(Sandbox sa
+ #if BUILDFLAG(IS_MAC)
case Sandbox::kMirroring:
- case Sandbox::kNaClLoader:
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
@@ -33,7 +33,7 @@ $NetBSD$
case Sandbox::kZygoteIntermediateSandbox:
case Sandbox::kHardwareVideoEncoding:
#endif
-@@ -130,7 +130,7 @@ void SetCommandLineFlagsForSandboxType(b
+@@ -131,7 +131,7 @@ void SetCommandLineFlagsForSandboxType(b
#endif
case Sandbox::kPrintCompositor:
case Sandbox::kAudio:
@@ -42,7 +42,7 @@ $NetBSD$
case Sandbox::kVideoCapture:
#endif
#if BUILDFLAG(IS_WIN)
-@@ -141,10 +141,10 @@ void SetCommandLineFlagsForSandboxType(b
+@@ -142,10 +142,10 @@ void SetCommandLineFlagsForSandboxType(b
case Sandbox::kMediaFoundationCdm:
case Sandbox::kWindowsSystemProxyResolver:
#endif // BUILDFLAG(IS_WIN)
@@ -55,17 +55,17 @@ $NetBSD$
case Sandbox::kHardwareVideoEncoding:
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_CHROMEOS_ASH)
-@@ -172,7 +172,7 @@ void SetCommandLineFlagsForSandboxType(b
- case Sandbox::kNaClLoader:
+@@ -171,7 +171,7 @@ void SetCommandLineFlagsForSandboxType(b
+ switches::kServiceSandboxType,
+ StringFromUtilitySandboxType(sandbox_type));
break;
- #endif // BUILDFLAG(IS_MAC)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
case Sandbox::kZygoteIntermediateSandbox:
break;
#endif
-@@ -216,7 +216,7 @@ sandbox::mojom::Sandbox SandboxTypeFromC
- #endif
+@@ -211,7 +211,7 @@ sandbox::mojom::Sandbox SandboxTypeFromC
+ return Sandbox::kUtility;
}
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -73,7 +73,7 @@ $NetBSD$
// Intermediate process gains a sandbox later.
if (process_type == switches::kZygoteProcessType)
return Sandbox::kZygoteIntermediateSandbox;
-@@ -262,7 +262,7 @@ std::string StringFromUtilitySandboxType
+@@ -259,7 +259,7 @@ std::string StringFromUtilitySandboxType
return switches::kUtilitySandbox;
case Sandbox::kAudio:
return switches::kAudioSandbox;
@@ -82,7 +82,7 @@ $NetBSD$
case Sandbox::kVideoCapture:
return switches::kVideoCaptureSandbox;
#endif
-@@ -292,11 +292,11 @@ std::string StringFromUtilitySandboxType
+@@ -291,11 +291,11 @@ std::string StringFromUtilitySandboxType
case Sandbox::kMirroring:
return switches::kMirroringSandbox;
#endif
@@ -96,19 +96,19 @@ $NetBSD$
case Sandbox::kHardwareVideoEncoding:
return switches::kHardwareVideoEncodingSandbox;
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -316,7 +316,7 @@ std::string StringFromUtilitySandboxType
- #if BUILDFLAG(IS_MAC)
- case Sandbox::kNaClLoader:
- #endif // BUILDFLAG(IS_MAC)
+@@ -314,7 +314,7 @@ std::string StringFromUtilitySandboxType
+ // The following are not utility processes so should not occur.
+ case Sandbox::kRenderer:
+ case Sandbox::kGpu:
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
case Sandbox::kZygoteIntermediateSandbox:
#endif
- NOTREACHED();
-@@ -388,15 +388,15 @@ sandbox::mojom::Sandbox UtilitySandboxTy
- if (sandbox_string == switches::kScreenAISandbox)
- return Sandbox::kScreenAI;
- #endif
+ NOTREACHED_IN_MIGRATION();
+@@ -389,15 +389,15 @@ sandbox::mojom::Sandbox UtilitySandboxTy
+ if (sandbox_string == switches::kVideoEffectsSandbox) {
+ return Sandbox::kVideoEffects;
+ }
-#if BUILDFLAG(IS_FUCHSIA)
+#if BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
if (sandbox_string == switches::kVideoCaptureSandbox)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_audio_audio__sandbox__hook__linux.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_audio_audio__sandbox__hook__linux.cc
index 64dea49b66..99fae0a240 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_audio_audio__sandbox__hook__linux.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_audio_audio__sandbox__hook__linux.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/services/audio/audio_sandbox_hook_linux.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/services/audio/audio_sandbox_hook_linux.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/services/audio/audio_sandbox_hook_linux.cc
-@@ -144,6 +144,7 @@ void AddPulseAudioFilePermissions(
+@@ -143,6 +143,7 @@ void AddPulseAudioFilePermissions(
}
#endif
@@ -14,7 +14,7 @@ $NetBSD$
std::vector<BrokerFilePermission> GetAudioFilePermissions() {
std::vector<BrokerFilePermission> permissions{
BrokerFilePermission::ReadOnly("/dev/urandom"),
-@@ -172,10 +173,12 @@ void LoadAudioLibraries() {
+@@ -171,10 +172,12 @@ void LoadAudioLibraries() {
}
}
}
@@ -27,8 +27,8 @@ $NetBSD$
LoadAudioLibraries();
auto* instance = sandbox::policy::SandboxLinux::GetInstance();
instance->StartBrokerProcess(MakeBrokerCommandSet({
-@@ -195,6 +198,7 @@ bool AudioPreSandboxHook(sandbox::policy
- // TODO(https://crbug.com/850878) enable namespace sandbox. Currently, if
+@@ -192,6 +195,7 @@ bool AudioPreSandboxHook(sandbox::policy
+ // TODO(crbug.com/40579955) enable namespace sandbox. Currently, if
// enabled, connect() on pulse native socket fails with ENOENT (called from
// pa_context_connect).
+#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_geolocation_location__arbitrator.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_geolocation_location__arbitrator.cc
deleted file mode 100644
index 05d0d8d12f..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_geolocation_location__arbitrator.cc
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-* Based on OpenBSD's qt6-qtwebengine patches, and
- pkgsrc's qt5-qtwebengine patches
-
---- src/3rdparty/chromium/services/device/geolocation/location_arbitrator.cc.orig 2025-01-24 10:49:20.000000000 +0000
-+++ src/3rdparty/chromium/services/device/geolocation/location_arbitrator.cc
-@@ -196,7 +196,7 @@ LocationArbitrator::NewNetworkLocationPr
-
- std::unique_ptr<LocationProvider>
- LocationArbitrator::NewSystemLocationProvider() {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- return nullptr;
- #else
- return device::NewSystemLocationProvider(main_task_runner_,
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_usb_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_usb_BUILD.gn
index 6748e86565..01532ecf5b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_usb_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_usb_BUILD.gn
@@ -4,18 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/services/device/usb/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/services/device/usb/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/services/device/usb/BUILD.gn
-@@ -92,7 +92,7 @@ static_library("usb") {
- deps += [ "//third_party/re2" ]
- }
-
-- if (is_mac) {
-+ if (is_mac || is_openbsd) {
- sources += [
- "usb_device_handle_mac.cc",
- "usb_device_handle_mac.h",
-@@ -124,6 +124,13 @@ static_library("usb") {
+@@ -114,6 +114,13 @@ static_library("usb") {
deps += [ "//third_party/libusb" ]
}
@@ -29,7 +20,7 @@ $NetBSD$
if (is_linux || is_chromeos) {
sources += [
"usb_device_linux.cc",
-@@ -141,7 +148,7 @@ static_library("usb") {
+@@ -135,7 +142,7 @@ static_library("usb") {
deps += [ "//device/udev_linux" ]
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_usb_usb__service.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_usb_usb__service.cc
index cb172377be..50fc043a62 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_usb_usb__service.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_usb_usb__service.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/services/device/usb/usb_service.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/services/device/usb/usb_service.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/services/device/usb/usb_service.cc
-@@ -22,13 +22,17 @@
+@@ -21,12 +21,16 @@
#if BUILDFLAG(IS_ANDROID)
#include "services/device/usb/usb_service_android.h"
@@ -15,7 +15,6 @@ $NetBSD$
#include "services/device/usb/usb_service_linux.h"
#elif BUILDFLAG(IS_MAC)
#include "services/device/usb/usb_service_impl.h"
- #include "services/device/usb/usb_service_mac.h"
#elif BUILDFLAG(IS_WIN)
#include "services/device/usb/usb_service_win.h"
+#elif BUILDFLAG(IS_OPENBSD)
@@ -25,7 +24,7 @@ $NetBSD$
#endif
namespace device {
-@@ -51,7 +55,7 @@ constexpr base::TaskTraits UsbService::k
+@@ -49,12 +53,14 @@ constexpr base::TaskTraits UsbService::k
std::unique_ptr<UsbService> UsbService::Create() {
#if BUILDFLAG(IS_ANDROID)
return base::WrapUnique(new UsbServiceAndroid());
@@ -34,10 +33,8 @@ $NetBSD$
return base::WrapUnique(new UsbServiceLinux());
#elif BUILDFLAG(IS_WIN)
return base::WrapUnique(new UsbServiceWin());
-@@ -60,6 +64,8 @@ std::unique_ptr<UsbService> UsbService::
- return base::WrapUnique(new UsbServiceMac());
- else
- return base::WrapUnique(new UsbServiceImpl());
+ #elif BUILDFLAG(IS_MAC)
+ return base::WrapUnique(new UsbServiceImpl());
+#elif BUILDFLAG(IS_BSD)
+ return base::WrapUnique(new UsbServiceImpl());
#else
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_network__sandbox__hook__linux.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_network__sandbox__hook__linux.cc
index 923b8d8d3c..ea4fbf6510 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_network__sandbox__hook__linux.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_network__sandbox__hook__linux.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/services/network/network_sandbox_hook_linux.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/services/network/network_sandbox_hook_linux.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/services/network/network_sandbox_hook_linux.cc
-@@ -14,11 +14,14 @@
+@@ -15,11 +15,14 @@
+ #include "sandbox/linux/syscall_broker/broker_file_permission.h"
#include "sandbox/policy/features.h"
- #include "third_party/abseil-cpp/absl/types/optional.h"
+#if !BUILDFLAG(IS_BSD)
using sandbox::syscall_broker::BrokerFilePermission;
@@ -21,7 +21,7 @@ $NetBSD$
sandbox::syscall_broker::BrokerCommandSet GetNetworkBrokerCommandSet() {
return MakeBrokerCommandSet({
sandbox::syscall_broker::COMMAND_ACCESS,
-@@ -102,9 +105,11 @@ void LoadNetworkLibraries() {
+@@ -103,9 +106,11 @@ void LoadNetworkLibraries() {
}
}
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -33,10 +33,10 @@ $NetBSD$
#if BUILDFLAG(IS_CHROMEOS)
LoadNetworkLibraries();
#endif
-@@ -117,6 +122,7 @@ bool NetworkPreSandboxHook(std::vector<s
+@@ -118,6 +123,7 @@ bool NetworkPreSandboxHook(std::vector<s
GetNetworkBrokerCommandSet(),
GetNetworkFilePermissions(std::move(network_context_parent_dirs)),
- sandbox::policy::SandboxLinux::PreSandboxHook(), options);
+ options);
+#endif
return true;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_network__service.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_network__service.h
index 81f016042b..f895cacc80 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_network__service.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_network__service.h
@@ -4,18 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/services/network/network_service.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/services/network/network_service.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/services/network/network_service.h
-@@ -221,7 +221,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE)
- mojo::PendingReceiver<mojom::NetworkServiceTest> receiver) override;
- void SetFirstPartySets(net::GlobalFirstPartySets sets) override;
+@@ -238,7 +238,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE)
+ const std::vector<ContentSettingPatternSource>& settings) override;
+
void SetExplicitlyAllowedPorts(const std::vector<uint16_t>& ports) override;
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
void SetGssapiLibraryLoadObserver(
mojo::PendingRemote<mojom::GssapiLibraryLoadObserver>
gssapi_library_load_observer) override;
-@@ -247,7 +247,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE)
+@@ -264,7 +264,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE)
std::unique_ptr<net::HttpAuthHandlerFactory> CreateHttpAuthHandlerFactory(
NetworkContext* network_context);
@@ -24,7 +24,7 @@ $NetBSD$
// This is called just before a GSSAPI library may be loaded.
void OnBeforeGssapiLibraryLoad();
#endif // BUILDFLAG(IS_LINUX)
-@@ -477,7 +477,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE)
+@@ -498,7 +498,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE)
// leaking stale listeners between tests.
std::unique_ptr<net::NetworkChangeNotifier> mock_network_change_notifier_;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_public_cpp_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_public_cpp_BUILD.gn
index 01690920f1..41be0104e6 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_public_cpp_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_public_cpp_BUILD.gn
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/services/network/public/cpp/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/services/network/public/cpp/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/services/network/public/cpp/BUILD.gn
-@@ -494,7 +494,7 @@ jumbo_component("cpp_base") {
+@@ -487,7 +487,7 @@ jumbo_component("cpp_base") {
sources += [ "transferable_directory_fuchsia.cc" ]
}
@@ -15,9 +15,9 @@ $NetBSD$
sources += [
"network_interface_change_listener_mojom_traits.cc",
"network_interface_change_listener_mojom_traits.h",
-@@ -611,7 +611,7 @@ source_set("tests") {
- ]
- }
+@@ -597,7 +597,7 @@ source_set("tests") {
+ "x_frame_options_parser_unittest.cc",
+ ]
- if (is_linux) {
+ if (is_linux && !is_bsd) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_public_mojom_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_public_mojom_BUILD.gn
index 2529bb8cf9..4cdb368965 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_public_mojom_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_public_mojom_BUILD.gn
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/services/network/public/mojom/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/services/network/public/mojom/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/services/network/public/mojom/BUILD.gn
-@@ -522,11 +522,11 @@ mojom("url_loader_base") {
+@@ -493,11 +493,11 @@ mojom("url_loader_base") {
}
enabled_features = []
@@ -17,15 +17,15 @@ $NetBSD$
- if (is_linux) {
+ if (is_linux && !is_bsd) {
- # TODO(crbug.com/1431866): Remove this once is_linux in the mojom IDL does
+ # TODO(crbug.com/40263697): Remove this once is_linux in the mojom IDL does
# not include lacros.
enabled_features += [ "use_network_interface_change_listener" ]
-@@ -1443,7 +1443,7 @@ mojom("mojom") {
+@@ -1490,7 +1490,7 @@ mojom("mojom") {
}
}
- if (is_linux) {
+ if (is_linux && !is_bsd) {
- # TODO(crbug.com/1431866): Remove this once is_linux in the mojom IDL does
+ # TODO(crbug.com/40263697): Remove this once is_linux in the mojom IDL does
# not include lacros.
enabled_features += [ "use_network_interface_change_listener" ]
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_on__device__model_on__device__model__service.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_on__device__model_on__device__model__service.h
index 14e8f319c0..a5d66d5533 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_on__device__model_on__device__model__service.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_on__device__model_on__device__model__service.h
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/services/on_device_model/on_device_model_service.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/services/on_device_model/on_device_model_service.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/services/on_device_model/on_device_model_service.h
-@@ -18,6 +18,10 @@
- #include "sandbox/policy/linux/sandbox_linux.h"
- #endif
+@@ -27,6 +27,10 @@ namespace ml {
+ class OnDeviceModelInternalImpl;
+ }
+#if BUILDFLAG(IS_BSD)
+#include "sandbox/policy/sandbox.h"
@@ -17,10 +17,10 @@ $NetBSD$
namespace on_device_model {
class COMPONENT_EXPORT(ON_DEVICE_MODEL) OnDeviceModelService
-@@ -27,7 +31,7 @@ class COMPONENT_EXPORT(ON_DEVICE_MODEL)
- // These are defined separately in pre_sandbox_init.cc for explicit security
- // review coverage.
- [[nodiscard]] static bool PreSandboxInit();
+@@ -40,7 +44,7 @@ class COMPONENT_EXPORT(ON_DEVICE_MODEL)
+ // Must be called in the service's process after the run loop finished.
+ [[nodiscard]] static bool Shutdown();
+
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
static void AddSandboxLinuxOptions(
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_screen__ai_sandbox_screen_ai__sandbox__hook__linux.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_screen__ai_sandbox_screen_ai__sandbox__hook__linux.h
new file mode 100644
index 0000000000..aed2101b8e
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_screen__ai_sandbox_screen_ai__sandbox__hook__linux.h
@@ -0,0 +1,22 @@
+$NetBSD$
+
+* Part of patchset to build chromium on NetBSD
+* Based on OpenBSD's chromium patches, and
+ pkgsrc's qt5-qtwebengine patches
+
+--- src/3rdparty/chromium/services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.h.orig 2025-09-25 11:10:42.000000000 +0000
++++ src/3rdparty/chromium/services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.h
+@@ -6,7 +6,13 @@
+ #define SERVICES_SCREEN_AI_SANDBOX_SCREEN_AI_SANDBOX_HOOK_LINUX_H_
+
+ #include "base/files/file_path.h"
++#include "build/build_config.h"
++
++#if BUILDFLAG(IS_BSD)
++#include "sandbox/policy/sandbox.h"
++#else
+ #include "sandbox/policy/linux/sandbox_linux.h"
++#endif
+
+ namespace screen_ai {
+
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_Display.cpp b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_Display.cpp
index 99ccefbc5d..5ecae4af2f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_Display.cpp
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_Display.cpp
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/angle/src/libANGLE/Display.cpp.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/angle/src/libANGLE/Display.cpp.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/angle/src/libANGLE/Display.cpp
@@ -60,7 +60,7 @@
# include "libANGLE/renderer/gl/cgl/DisplayCGL.h"
@@ -14,8 +14,8 @@ $NetBSD$
+# elif defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_BSD)
# include "libANGLE/renderer/gl/egl/DisplayEGL.h"
# if defined(ANGLE_USE_X11)
- # include "libANGLE/renderer/gl/glx/DisplayGLX.h"
-@@ -408,7 +408,7 @@ rx::DisplayImpl *CreateDisplayFromAttrib
+ # include "libANGLE/renderer/gl/glx/DisplayGLX_api.h"
+@@ -416,7 +416,7 @@ rx::DisplayImpl *CreateDisplayFromAttrib
impl = new rx::DisplayEAGL(state);
break;
@@ -24,7 +24,7 @@ $NetBSD$
# if defined(ANGLE_USE_GBM)
if (platformType == 0)
{
-@@ -454,7 +454,7 @@ rx::DisplayImpl *CreateDisplayFromAttrib
+@@ -462,7 +462,7 @@ rx::DisplayImpl *CreateDisplayFromAttrib
#if defined(ANGLE_ENABLE_OPENGL)
# if defined(ANGLE_PLATFORM_WINDOWS)
impl = new rx::DisplayWGL(state);
@@ -33,7 +33,7 @@ $NetBSD$
# if defined(ANGLE_USE_GBM)
if (platformType == 0)
{
-@@ -505,7 +505,7 @@ rx::DisplayImpl *CreateDisplayFromAttrib
+@@ -513,7 +513,7 @@ rx::DisplayImpl *CreateDisplayFromAttrib
impl = rx::CreateVulkanWin32Display(state);
}
break;
@@ -42,7 +42,7 @@ $NetBSD$
# if defined(ANGLE_USE_GBM)
if (platformType == EGL_PLATFORM_GBM_KHR && rx::IsVulkanGbmDisplayAvailable())
{
-@@ -2089,7 +2089,7 @@ static ClientExtensions GenerateClientEx
+@@ -2112,7 +2112,7 @@ static ClientExtensions GenerateClientEx
extensions.platformWaylandEXT = true;
#endif
@@ -51,7 +51,7 @@ $NetBSD$
extensions.platformSurfacelessMESA = true;
#endif
-@@ -2130,7 +2130,7 @@ static ClientExtensions GenerateClientEx
+@@ -2158,7 +2158,7 @@ static ClientExtensions GenerateClientEx
extensions.x11Visual = true;
#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_bindings_scripts_bind__gen_style__format.py b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_bindings_scripts_bind__gen_style__format.py
index 0f6d3e6b14..e8f285663c 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_bindings_scripts_bind__gen_style__format.py
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_bindings_scripts_bind__gen_style__format.py
@@ -4,12 +4,12 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/blink/renderer/bindings/scripts/bind_gen/style_format.py.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/blink/renderer/bindings/scripts/bind_gen/style_format.py.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/bindings/scripts/bind_gen/style_format.py
-@@ -28,7 +28,7 @@ def init(root_src_dir, enable_style_form
- root_src_dir = os.path.abspath(root_src_dir)
+@@ -30,7 +30,7 @@ def init(root_src_dir, enable_style_form
# Determine //buildtools/<platform>/ directory
+ new_path_platform_suffix = ""
- if sys.platform.startswith("linux"):
+ if sys.platform.startswith(("linux","openbsd","freebsd","netbsd")):
platform = "linux64"
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_build_scripts_gperf.py b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_build_scripts_gperf.py
deleted file mode 100644
index dfecff2614..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_build_scripts_gperf.py
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD$
-
-Remove workarounds that are not needed any longer with gperf 3.2.
-https://bugs.gentoo.org/953436
-https://bugs.gentoo.org/attachment.cgi?id=924201&action=diff
-
---- src/3rdparty/chromium/third_party/blink/renderer/build/scripts/gperf.py.orig 2025-03-18 19:28:59.000000000 +0000
-+++ src/3rdparty/chromium/third_party/blink/renderer/build/scripts/gperf.py
-@@ -28,24 +28,6 @@ def generate_gperf(gperf_path, gperf_inp
- stdout=subprocess.PIPE,
- universal_newlines=True)
- gperf_output = gperf.communicate(gperf_input)[0]
-- # Massage gperf output to be more palatable for modern compilers.
-- # TODO(thakis): Upstream these to gperf so we don't need massaging.
-- # `register` is deprecated in C++11 and removed in C++17, so remove
-- # it from gperf's output.
-- # https://savannah.gnu.org/bugs/index.php?53028
-- gperf_output = re.sub(r'\bregister ', '', gperf_output)
-- # -Wimplicit-fallthrough needs an explicit fallthrough statement,
-- # so replace gperf's /*FALLTHROUGH*/ comment with the statement.
-- # https://savannah.gnu.org/bugs/index.php?53029
-- gperf_output = gperf_output.replace('/*FALLTHROUGH*/',
-- ' [[fallthrough]];')
-- # -Wpointer-to-int-cast warns about casting pointers to smaller ints
-- # Replace {(int)(long)&(foo), bar} with
-- # {static_cast<int>(reinterpret_cast<uintptr_t>(&(foo)), bar}
-- gperf_output = re.sub(
-- r'\(int\)\(long\)(.*?),',
-- r'static_cast<int>(reinterpret_cast<uintptr_t>(\1)),',
-- gperf_output)
- script = 'third_party/blink/renderer/build/scripts/gperf.py'
- return '// Generated by %s\n' % script + gperf_output
- except OSError:
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_css_properties_css__color__function__parser.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_css_properties_css__color__function__parser.cc
index 98a38e3b33..5ccaf7657e 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_css_properties_css__color__function__parser.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_css_properties_css__color__function__parser.cc
@@ -1,22 +1,24 @@
$NetBSD$
---- src/3rdparty/chromium/third_party/blink/renderer/core/css/properties/css_color_function_parser.cc.orig 2024-11-21 04:36:37.000000000 +0000
+specify std namespace
+
+--- src/3rdparty/chromium/third_party/blink/renderer/core/css/properties/css_color_function_parser.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/core/css/properties/css_color_function_parser.cc
-@@ -312,7 +312,7 @@ bool ColorFunctionParser::ConsumeChannel
-
- // Non-finite values should be clamped to the range [0, 360].
- // Since 0 = 360 in this case, they can all simply become zero.
-- if (!isfinite(channels_[i].value())) {
-+ if (!std::isfinite(channels_[i].value())) {
- channels_[i] = 0.0;
- }
-
-@@ -408,7 +408,7 @@ bool ColorFunctionParser::MakePerColorSp
- uses_bare_numbers = true;
+@@ -394,7 +394,7 @@ void ColorFunctionParser::MakePerColorSp
+ if (channel_types_[i] == ChannelType::kNone) {
+ continue;
}
-
- if (!isfinite(channels_[i].value())) {
+ if (!std::isfinite(channels_[i].value())) {
channels_[i].value() = channels_[i].value() > 0 ? 255.0 : 0;
- } else if (!is_relative_color_) {
+ } else if (!IsRelativeColor()) {
// Clamp to [0, 1] range, but allow out-of-gamut relative colors.
+@@ -651,7 +651,7 @@ CSSValue* ColorFunctionParser::ConsumeFu
+ if (ColorChannelIsHue(color_space_, i)) {
+ // Non-finite values should be clamped to the range [0, 360].
+ // Since 0 = 360 in this case, they can all simply become zero.
+- if (!isfinite(channels_[i].value())) {
++ if (!std::isfinite(channels_[i].value())) {
+ channels_[i] = 0.0;
+ }
+
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_layout_layout__view.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_layout_layout__view.cc
index 2eac124433..b77e92d77e 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_layout_layout__view.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_layout_layout__view.cc
@@ -4,18 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/blink/renderer/core/layout/layout_view.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/blink/renderer/core/layout/layout_view.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/core/layout/layout_view.cc
-@@ -72,7 +72,7 @@
+@@ -73,7 +73,7 @@
+ #include "ui/display/screen_info.h"
#include "ui/gfx/geometry/quad_f.h"
- #include "ui/gfx/geometry/size_conversions.h"
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "third_party/blink/renderer/platform/fonts/font_cache.h"
#endif
-@@ -813,7 +813,7 @@ void LayoutView::UpdateLayout() {
+@@ -776,7 +776,7 @@ void LayoutView::LayoutRoot() {
intrinsic_logical_widths_ = LogicalWidth();
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc
index 0765c365de..c119d9541e 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/blink/renderer/core/scroll/scrollbar_theme_aura.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/blink/renderer/core/scroll/scrollbar_theme_aura.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/core/scroll/scrollbar_theme_aura.cc
-@@ -150,7 +150,7 @@ bool ScrollbarThemeAura::SupportsDragSna
+@@ -148,7 +148,7 @@ bool ScrollbarThemeAura::SupportsDragSna
// is true for at least GTK and QT apps).
// TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is
// complete.
@@ -15,8 +15,8 @@ $NetBSD$
return false;
#else
return true;
-@@ -363,7 +363,7 @@ bool ScrollbarThemeAura::ShouldCenterOnT
- const WebMouseEvent& event) {
+@@ -418,7 +418,7 @@ bool ScrollbarThemeAura::ShouldCenterOnT
+ const WebMouseEvent& event) const {
// TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is
// complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_ml_webnn_features.gni b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_ml_webnn_features.gni
deleted file mode 100644
index 7bdb3c0afb..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_ml_webnn_features.gni
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-* Based on OpenBSD's qt6-qtwebengine patches, and
- pkgsrc's qt5-qtwebengine patches
-
---- src/3rdparty/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni.orig 2024-11-21 04:36:37.000000000 +0000
-+++ src/3rdparty/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni
-@@ -6,7 +6,7 @@ import("//build/config/chrome_build.gni"
- declare_args() {
- # This enables building WebNN with XNNPACK. Currently only available for
- # Windows, macOS and Linux on x64, x86 and arm64.
-- build_webnn_with_xnnpack = (is_linux || is_win || is_mac) &&
-+ build_webnn_with_xnnpack = !is_bsd && (is_linux || is_win || is_mac) &&
- (current_cpu == "x64" || current_cpu == "x86" ||
- (current_cpu == "arm64" && !is_win))
-
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc
index 9bf3fd5037..a76c96373a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc
@@ -4,13 +4,13 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/blink/renderer/modules/peerconnection/rtc_data_channel.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/blink/renderer/modules/peerconnection/rtc_data_channel.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/modules/peerconnection/rtc_data_channel.cc
-@@ -493,6 +493,7 @@ void RTCDataChannel::send(Blob* data, Ex
- ThrowNoBlobSupportException(&exception_state);
+@@ -557,6 +557,7 @@ void RTCDataChannel::send(Blob* data, Ex
+ pending_messages_.push_back(message);
}
+#undef close
void RTCDataChannel::close() {
- DCHECK_CALLED_ON_VALID_THREAD(thread_checker_);
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
if (state_ == webrtc::DataChannelInterface::kClosing ||
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__cache.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__cache.h
index da6b2ea67e..80475a6d5c 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__cache.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__cache.h
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_cache.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_cache.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_cache.h
@@ -55,7 +55,7 @@
#include "third_party/skia/include/core/SkFontMgr.h"
@@ -15,16 +15,16 @@ $NetBSD$
#include "ui/gfx/font_fallback_linux.h"
#endif
-@@ -174,7 +174,7 @@ class PLATFORM_EXPORT FontCache final {
- static void PrewarmFamily(const AtomicString& family_name) {}
- #endif
+@@ -167,7 +167,7 @@ class PLATFORM_EXPORT FontCache final {
+
+ static void MaybePreloadSystemFonts();
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// These are needed for calling QueryRenderStyleForStrike, since
// gfx::GetFontRenderParams makes distinctions based on DSF.
static float DeviceScaleFactor() { return device_scale_factor_; }
-@@ -250,7 +250,7 @@ class PLATFORM_EXPORT FontCache final {
+@@ -243,7 +243,7 @@ class PLATFORM_EXPORT FontCache final {
const char* locale_family_name);
#endif // BUILDFLAG(IS_ANDROID)
@@ -33,7 +33,7 @@ $NetBSD$
static bool GetFontForCharacter(UChar32,
const char* preferred_locale,
gfx::FallbackFontData*);
-@@ -330,7 +330,7 @@ class PLATFORM_EXPORT FontCache final {
+@@ -316,7 +316,7 @@ class PLATFORM_EXPORT FontCache final {
const FontFaceCreationParams&,
std::string& name);
@@ -42,7 +42,7 @@ $NetBSD$
static AtomicString GetFamilyNameForCharacter(SkFontMgr*,
UChar32,
const FontDescription&,
-@@ -368,7 +368,7 @@ class PLATFORM_EXPORT FontCache final {
+@@ -353,7 +353,7 @@ class PLATFORM_EXPORT FontCache final {
bool is_test_font_mgr_ = false;
#endif // BUILDFLAG(IS_WIN)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_video__frame__submitter.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_video__frame__submitter.cc
index 556ef0dc70..10864b4af1 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_video__frame__submitter.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_video__frame__submitter.cc
@@ -4,12 +4,12 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/video_frame_submitter.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/video_frame_submitter.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/video_frame_submitter.cc
-@@ -365,7 +365,7 @@ void VideoFrameSubmitter::OnBeginFrame(
- continue;
- auto& feedback =
- timing_details.find(frame_token)->value.presentation_feedback;
+@@ -438,7 +438,7 @@ void VideoFrameSubmitter::OnBeginFrame(
+ auto& details = timing_details.find(frame_token)->value;
+ auto& feedback = details.presentation_feedback;
+
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// TODO: On Linux failure flag is unreliable, and perfectly rendered frames
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_runtime__enabled__features.json5 b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_runtime__enabled__features.json5
index ee1f2baaac..f359f6ba5f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_runtime__enabled__features.json5
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_runtime__enabled__features.json5
@@ -4,36 +4,54 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/blink/renderer/platform/runtime_enabled_features.json5.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/blink/renderer/platform/runtime_enabled_features.json5.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/platform/runtime_enabled_features.json5
-@@ -1944,7 +1944,7 @@
- base_feature_status: "enabled",
- copied_from_base_feature_if: "overridden",
- origin_trial_feature_name: "FullscreenPopupWindows",
+@@ -384,7 +384,7 @@
+ name: "AppTitle",
+ status: "experimental",
+ origin_trial_feature_name: "AppTitle",
- origin_trial_os: ["win", "mac", "linux", "chromeos"],
+ origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd", "netbsd"],
+ base_feature: "WebAppEnableAppTitle",
},
{
- name: "GamepadButtonAxisEvents",
-@@ -2866,7 +2866,7 @@
- name: "PaymentHandlerMinimalHeaderUX",
- origin_trial_feature_name: "PaymentHandlerMinimalHeaderUX",
+@@ -1805,7 +1805,7 @@
+ base_feature: "none",
+ public: true,
+ origin_trial_feature_name: "FedCmMultipleIdentityProviders",
+- origin_trial_os: ["win", "mac", "linux", "chromeos"],
++ origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd", "netbsd"],
origin_trial_allows_third_party: true,
-- origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos"],
-+ origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos", "openbsd", "freebsd", "netbsd"],
- status: "stable",
},
{
-@@ -3052,7 +3052,7 @@
+@@ -1934,7 +1934,7 @@
+ depends_on: ["FileSystemAccess"],
+ status: "experimental",
+ origin_trial_feature_name: "FileSystemObserver",
+- origin_trial_os: ["win", "mac", "linux", "chromeos"],
++ origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd", "netbsd"],
+ },
+ {
+ // The unobserve function of the FileSystemObserver.
+@@ -3156,7 +3156,7 @@
+ // Tracking bug for the implementation: https://crbug.com/1462930
+ name: "PermissionElement",
+ origin_trial_feature_name: "PermissionElement",
+- origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos"],
++ origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos", "openbsd", "freebsd", "netbsd"],
+ status: "experimental",
+ public: true,
+ base_feature_status: "enabled",
+@@ -3302,7 +3302,7 @@
{
name: "PrivateNetworkAccessPermissionPrompt",
origin_trial_feature_name: "PrivateNetworkAccessPermissionPrompt",
- origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos"],
+ origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos", "openbsd", "freebsd", "netbsd"],
- status: "experimental",
+ status: "stable",
public: true,
base_feature: "none",
-@@ -3879,7 +3879,7 @@
+@@ -4313,7 +4313,7 @@
name: "UnrestrictedSharedArrayBuffer",
base_feature: "none",
origin_trial_feature_name: "UnrestrictedSharedArrayBuffer",
@@ -42,7 +60,7 @@ $NetBSD$
},
// Enables using policy-controlled feature "usb-unrestricted" to allow
// isolated context to access protected USB interface classes and to
-@@ -4047,7 +4047,7 @@
+@@ -4460,7 +4460,7 @@
{
name: "WebAppScopeExtensions",
origin_trial_feature_name: "WebAppScopeExtensions",
@@ -51,7 +69,7 @@ $NetBSD$
status: "experimental",
base_feature: "none",
},
-@@ -4087,12 +4087,12 @@
+@@ -4503,7 +4503,7 @@
status: "experimental",
base_feature: "none",
origin_trial_feature_name: "WebAppUrlHandling",
@@ -59,10 +77,4 @@ $NetBSD$
+ origin_trial_os: ["win", "mac", "linux", "openbsd", "freebsd", "netbsd"],
},
{
- name: "WebAppWindowControlsOverlay",
- origin_trial_feature_name: "WebAppWindowControlsOverlay",
-- origin_trial_os: ["win", "mac", "linux", "chromeos"],
-+ origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd", "netbsd"],
- status: "stable",
- base_feature: "none",
- },
+ // WebAssembly JS Promise Integration,
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_scheduler_common_thread.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_scheduler_common_thread.cc
index 4462b1d5c4..17a6752332 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_scheduler_common_thread.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_scheduler_common_thread.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/blink/renderer/platform/scheduler/common/thread.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/blink/renderer/platform/scheduler/common/thread.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/platform/scheduler/common/thread.cc
-@@ -82,7 +82,7 @@ void Thread::CreateAndSetCompositorThrea
- std::make_unique<scheduler::CompositorThread>(params);
- compositor_thread->Init();
+@@ -88,7 +88,7 @@ void Thread::CreateAndSetCompositorThrea
+ "Compositor");
+ }));
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_OPENBSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_cpuinfo_cpuinfo.gni b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_cpuinfo_cpuinfo.gni
index 1725179142..60ee668f55 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_cpuinfo_cpuinfo.gni
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_cpuinfo_cpuinfo.gni
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/cpuinfo/cpuinfo.gni.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/cpuinfo/cpuinfo.gni.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/cpuinfo/cpuinfo.gni
-@@ -7,7 +7,7 @@ use_cpuinfo =
- current_cpu != "ppc64" && current_cpu != "ppc64le" &&
+@@ -8,7 +8,7 @@ use_cpuinfo =
current_cpu != "s390" && current_cpu != "s390x" &&
+ current_cpu != "riscv64" &&
# cpuinfo is not supported on fuchsia.
- !is_fuchsia &&
+ !is_fuchsia && !is_bsd &&
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_dawn_include_dawn_native_VulkanBackend.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_dawn_include_dawn_native_VulkanBackend.h
index b0503b2487..5b31544072 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_dawn_include_dawn_native_VulkanBackend.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_dawn_include_dawn_native_VulkanBackend.h
@@ -4,15 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/dawn/include/dawn/native/VulkanBackend.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/dawn/include/dawn/native/VulkanBackend.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/dawn/include/dawn/native/VulkanBackend.h
-@@ -83,7 +83,8 @@ struct ExternalImageExportInfoVk : Exter
+@@ -83,7 +83,7 @@ struct ExternalImageExportInfoVk : Exter
};
// Can't use DAWN_PLATFORM_IS(LINUX) since header included in both Dawn and Chrome
--#ifdef __linux__
-+#if defined(__linux__) || defined(__OpenBSD__) || defined(__FreeBSD__) || \
-+ defined(__NetBSD__)
+-#if defined(__linux__) || defined(__Fuchsia__)
++#if defined(__linux__) || defined(__Fuchsia__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
// Common properties of external images represented by FDs. On successful import the file
// descriptor's ownership is transferred to the Dawn implementation and they shouldn't be
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_fontconfig_include_config.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_fontconfig_include_config.h
index 48d52a1797..e57dc5687f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_fontconfig_include_config.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_fontconfig_include_config.h
@@ -4,57 +4,49 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/fontconfig/include/config.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/fontconfig/include/config.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/fontconfig/include/config.h
-@@ -24,7 +24,7 @@
- /* #undef FC_ARCHITECTURE */
+@@ -13,7 +13,7 @@
- /* System font directory */
--#define FC_DEFAULT_FONTS "<dir>/usr/share/fonts</dir>"
-+#define FC_DEFAULT_FONTS "<dir>/usr/X11R6/lib/X11/fonts</dir>"
+ #define FC_CACHEDIR "/var/cache/fontconfig"
- /* The type of len parameter of the gperf hash/lookup function */
- #define FC_GPERF_SIZE_T size_t
-@@ -141,7 +141,7 @@
- /* #undef HAVE_NDIR_H */
+-#define FC_DEFAULT_FONTS "\t<dir>/usr/share/fonts</dir>\n\t<dir>/usr/local/share/fonts</dir>\n"
++#define FC_DEFAULT_FONTS "\t<dir>/usr/X11R6/lib/X11/fonts</dir>\n"
+
+ #define FC_FONTPATH ""
+
+@@ -66,7 +66,7 @@
+
+ #define HAVE_MMAP 1
- /* Define to 1 if you have the 'posix_fadvise' function. */
-#define HAVE_POSIX_FADVISE 1
+#define HAVE_POSIX_FADVISE 0
- /* Have POSIX threads */
#define HAVE_PTHREAD 1
-@@ -156,11 +156,14 @@
+
+@@ -74,7 +74,10 @@
+
#define HAVE_RANDOM 1
- /* Define to 1 if you have the `random_r' function. */
-#define HAVE_RANDOM_R 1
+/* #undef HAVE_RANDOM_R */
++
++/* Define to 1 if you have the `arc4_random' function. */
++#define HAVE_ARC4RANDOM 1
- /* Define to 1 if you have the `rand_r' function. */
#define HAVE_RAND_R 1
-+/* Define to 1 if you have the `arc4_random' function. */
-+#define HAVE_ARC4RANDOM 1
-+
- /* Define to 1 if you have the `readlink' function. */
- #define HAVE_READLINK 1
+@@ -92,11 +95,11 @@
-@@ -230,7 +233,7 @@
#define HAVE_SYS_PARAM_H 1
- /* Define to 1 if you have the <sys/statfs.h> header file. */
-#define HAVE_SYS_STATFS_H 1
+/* #undef HAVE_SYS_STATFS_H */
- /* Define to 1 if you have the <sys/statvfs.h> header file. */
#define HAVE_SYS_STATVFS_H 1
-@@ -245,7 +248,7 @@
- #define HAVE_SYS_VFS_H 1
- /* Define to 1 if you have the <unistd.h> header file. */
--#define HAVE_UNISTD_H 1
-+/* #undef HAVE_UNISTD_H */
+-#define HAVE_SYS_VFS_H 1
++/* #undef HAVE_SYS_VFS_H */
+
+ #define HAVE_UNISTD_H 1
- /* Define to 1 if you have the `vprintf' function. */
- #define HAVE_VPRINTF 1
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_libc++_src_src_chrono.cpp b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_libc++_src_src_chrono.cpp
index d2ce2c6ed9..5d3ed5feef 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_libc++_src_src_chrono.cpp
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_libc++_src_src_chrono.cpp
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/libc++/src/src/chrono.cpp.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/libc++/src/src/chrono.cpp.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/libc++/src/src/chrono.cpp
-@@ -31,7 +31,7 @@
- # include <sys/time.h> // for gettimeofday and timeval
- #endif
+@@ -33,7 +33,7 @@
--#if defined(__APPLE__) || defined(__gnu_hurd__) || (defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0)
-+#if defined(__APPLE__) || defined(__gnu_hurd__) || (defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0)|| defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+ // OpenBSD and GPU do not have a fully conformant suite of POSIX timers, but
+ // it does have clock_gettime and CLOCK_MONOTONIC which is all we need.
+-#if defined(__APPLE__) || defined(__gnu_hurd__) || defined(__OpenBSD__) || defined(__AMDGPU__) || \
++#if defined(__APPLE__) || defined(__gnu_hurd__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__AMDGPU__) || \
+ defined(__NVPTX__) || (defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0)
# define _LIBCPP_HAS_CLOCK_GETTIME
#endif
-
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_libc++_src_src_filesystem_filesystem__clock.cpp b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_libc++_src_src_filesystem_filesystem__clock.cpp
index 22dc138794..c831c3867b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_libc++_src_src_filesystem_filesystem__clock.cpp
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_libc++_src_src_filesystem_filesystem__clock.cpp
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/libc++/src/src/filesystem/filesystem_clock.cpp.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/libc++/src/src/filesystem/filesystem_clock.cpp.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/libc++/src/src/filesystem/filesystem_clock.cpp
-@@ -29,7 +29,7 @@
- # include <sys/time.h> // for gettimeofday and timeval
+@@ -30,7 +30,7 @@
#endif
--#if defined(__APPLE__) || defined(__gnu_hurd__) || (defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0)
-+#if defined(__APPLE__) || defined(__gnu_hurd__) || (defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
+ #if defined(__APPLE__) || defined(__gnu_hurd__) || defined(__AMDGPU__) || defined(__NVPTX__) || \
+- (defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0)
++ (defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
# define _LIBCPP_HAS_CLOCK_GETTIME
#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_libc++abi_src_src_cxa__guard__impl.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_libc++abi_src_src_cxa__guard__impl.h
index 6bbeabf4b2..41bb7e8e36 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_libc++abi_src_src_cxa__guard__impl.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_libc++abi_src_src_cxa__guard__impl.h
@@ -4,14 +4,13 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/libc++abi/src/src/cxa_guard_impl.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/libc++abi/src/src/cxa_guard_impl.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/libc++abi/src/src/cxa_guard_impl.h
-@@ -411,7 +411,18 @@ private:
- // Futex Implementation
- //===----------------------------------------------------------------------===//
-
--#if defined(SYS_futex)
-+#if defined(__NetBSD__)
+@@ -425,6 +425,17 @@ void PlatformFutexWake(int* addr) {
+ __tsan_release(addr);
+ futex(reinterpret_cast<volatile uint32_t*>(addr), WAKE, INT_MAX, NULL, NULL);
+ }
++#elif defined(__NetBSD__)
+void PlatformFutexWait(int* addr, int expect) {
+ constexpr int WAIT = 0;
+ syscall(SYS___futex, addr, WAIT, expect, NULL, NULL, 0, 0);
@@ -22,7 +21,6 @@ $NetBSD$
+ __tsan_release(addr);
+ syscall(SYS___futex, addr, WAKE, INT_MAX, NULL, NULL, 0, 0);
+}
-+#elif defined(SYS_futex)
+ #elif defined(SYS_futex)
void PlatformFutexWait(int* addr, int expect) {
constexpr int WAIT = 0;
- syscall(SYS_futex, addr, WAIT, expect, 0);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_node_node.gni b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_node_node.gni
index 98a79e44f5..35e7e4a27f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_node_node.gni
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_node_node.gni
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/node/node.gni.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/node/node.gni.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/node/node.gni
-@@ -21,7 +21,7 @@ template("node") {
- # When use_remoteexec=true or use_siso=true, node actions run on remote
+@@ -24,7 +24,7 @@ template("node") {
+ # When use_remoteexec=true, node actions may run on remote
# Linux worker. So it should include linux node binary in inputs.
if (!is_qtwebengine) {
-- if (is_linux || is_chromeos || use_remoteexec || use_siso) {
-+ if ((is_linux || is_chromeos || use_remoteexec || use_siso) && !is_bsd) {
- inputs += [
- "//third_party/node/linux/node-linux-x64.tar.gz.sha1",
- "//third_party/node/linux/node-linux-x64/bin/node",
+- if (is_linux || is_chromeos || use_remoteexec) {
++ if ((is_linux || is_chromeos || use_remoteexec) && !is_bsd) {
+ inputs += [ "//third_party/node/linux/node-linux-x64/bin/node" ]
+ }
+ if (is_win && host_os == "win") {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_node_node.py b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_node_node.py
index 47c0eec7cb..ae234b7d98 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_node_node.py
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_node_node.py
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/node/node.py.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/node/node.py.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/node/node.py
-@@ -35,6 +35,9 @@ def GetBinaryPath():
+@@ -39,6 +39,9 @@ def GetBinaryPath():
return os_path.join(os_path.dirname(__file__), *{
- 'Darwin': ('mac', darwin_name, 'bin', 'node'),
+ 'Darwin': (darwin_path, darwin_name, 'bin', 'node'),
'Linux': ('linux', 'node-linux-x64', 'bin', 'node'),
+ 'OpenBSD': ('openbsd', 'node-openbsd', 'bin', 'node'),
+ 'FreeBSD': ('freebsd', 'node-freebsd', 'bin', 'node'),
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp
index ad72232a2f..d562bf62f2 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_pdfium_core_fxge_linux_fx__linux__impl.cpp
@@ -4,18 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/pdfium/core/fxge/linux/fx_linux_impl.cpp.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/pdfium/core/fxge/linux/fx_linux_impl.cpp.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/pdfium/core/fxge/linux/fx_linux_impl.cpp
-@@ -18,7 +18,7 @@
- #include "third_party/base/check.h"
+@@ -20,7 +20,7 @@
+ #include "core/fxge/fx_font.h"
+ #include "core/fxge/systemfontinfo_iface.h"
- #if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) && !defined(OS_FUCHSIA) && \
-- !defined(OS_ASMJS)
-+ !defined(OS_ASMJS) && !BUILDFLAG(IS_BSD)
+-#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) && !defined(OS_ASMJS)
++#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) && !defined(OS_ASMJS) && !BUILDFLAG(IS_BSD)
#error "Included on the wrong platform"
#endif
-@@ -166,9 +166,8 @@ class CLinuxPlatform : public CFX_GEModu
+@@ -173,9 +173,8 @@ class CLinuxPlatform : public CFX_GEModu
std::unique_ptr<SystemFontInfoIface> CreateDefaultSystemFontInfo() override {
auto pInfo = std::make_unique<CFX_LinuxFontInfo>();
if (!pInfo->ParseFontCfg(CFX_GEModule::Get()->GetUserFontPaths())) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_pdfium_fxjs_cjs__publicmethods.cpp b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_pdfium_fxjs_cjs__publicmethods.cpp
index 311ad78ad2..5480bee661 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_pdfium_fxjs_cjs__publicmethods.cpp
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_pdfium_fxjs_cjs__publicmethods.cpp
@@ -1,8 +1,10 @@
$NetBSD$
---- src/3rdparty/chromium/third_party/pdfium/fxjs/cjs_publicmethods.cpp.orig 2024-11-21 04:36:37.000000000 +0000
+use std::isnan()
+
+--- src/3rdparty/chromium/third_party/pdfium/fxjs/cjs_publicmethods.cpp.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/pdfium/fxjs/cjs_publicmethods.cpp
-@@ -442,7 +442,7 @@ double CJS_PublicMethods::ParseDateUsing
+@@ -443,7 +443,7 @@ double CJS_PublicMethods::ParseDateUsing
if (status == fxjs::ConversionStatus::kBadDate) {
dRet = JS_DateParse(isolate, value);
@@ -11,7 +13,7 @@ $NetBSD$
return dRet;
}
-@@ -904,7 +904,7 @@ CJS_Result CJS_PublicMethods::AFDate_For
+@@ -906,7 +906,7 @@ CJS_Result CJS_PublicMethods::AFDate_For
nullptr);
}
@@ -19,8 +21,8 @@ $NetBSD$
+ if (std::isnan(dDate)) {
WideString swMsg = WideString::Format(
JSGetStringFromID(JSMessage::kParseDateError).c_str(), sFormat.c_str());
- AlertIfPossible(pEvent, L"AFDate_FormatEx", swMsg);
-@@ -946,7 +946,7 @@ double CJS_PublicMethods::ParseDateAsGMT
+ AlertIfPossible(pEvent, WideString::FromASCII("AFDate_FormatEx"), swMsg);
+@@ -948,7 +948,7 @@ double CJS_PublicMethods::ParseDateAsGMT
int nYear = StringToFloat(wsArray[7].AsStringView());
double dRet = FX_MakeDate(FX_MakeDay(nYear, nMonth - 1, nDay),
FX_MakeTime(nHour, nMin, nSec, 0));
@@ -29,7 +31,7 @@ $NetBSD$
dRet = JS_DateParse(isolate, strValue);
return dRet;
-@@ -976,7 +976,7 @@ CJS_Result CJS_PublicMethods::AFDate_Key
+@@ -978,7 +978,7 @@ CJS_Result CJS_PublicMethods::AFDate_Key
WideString sFormat = pRuntime->ToWideString(params[0]);
double dRet = ParseDateUsingFormat(pRuntime->GetIsolate(), strValue, sFormat,
&bWrongFormat);
@@ -37,8 +39,8 @@ $NetBSD$
+ if (bWrongFormat || std::isnan(dRet)) {
WideString swMsg = WideString::Format(
JSGetStringFromID(JSMessage::kParseDateError).c_str(), sFormat.c_str());
- AlertIfPossible(pEvent, L"AFDate_KeystrokeEx", swMsg);
-@@ -1233,7 +1233,7 @@ CJS_Result CJS_PublicMethods::AFParseDat
+ AlertIfPossible(pEvent, WideString::FromASCII("AFDate_KeystrokeEx"), swMsg);
+@@ -1235,7 +1235,7 @@ CJS_Result CJS_PublicMethods::AFParseDat
WideString sFormat = pRuntime->ToWideString(params[1]);
double dDate =
ParseDateUsingFormat(pRuntime->GetIsolate(), sValue, sFormat, nullptr);
@@ -46,8 +48,8 @@ $NetBSD$
+ if (std::isnan(dDate)) {
WideString swMsg = WideString::Format(
JSGetStringFromID(JSMessage::kParseDateError).c_str(), sFormat.c_str());
- AlertIfPossible(pRuntime->GetCurrentEventContext(), L"AFParseDateEx",
-@@ -1252,7 +1252,7 @@ CJS_Result CJS_PublicMethods::AFSimple(
+ AlertIfPossible(pRuntime->GetCurrentEventContext(),
+@@ -1254,7 +1254,7 @@ CJS_Result CJS_PublicMethods::AFSimple(
WideString sFunction = pRuntime->ToWideString(params[0]);
double arg1 = pRuntime->ToDouble(params[1]);
double arg2 = pRuntime->ToDouble(params[2]);
@@ -55,4 +57,4 @@ $NetBSD$
+ if (std::isnan(arg1) || std::isnan(arg2))
return CJS_Result::Failure(JSMessage::kValueError);
- absl::optional<double> result = ApplyNamedOperation(sFunction, arg1, arg2);
+ std::optional<double> result = ApplyNamedOperation(sFunction, arg1, arg2);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_utils.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_utils.cc
index 62da8ecaf2..a8b3d804f8 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_utils.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_utils.cc
@@ -4,19 +4,19 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/perfetto/src/base/utils.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/perfetto/src/base/utils.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/perfetto/src/base/utils.cc
-@@ -27,7 +27,8 @@
- #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
- PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \
- PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) || \
-- PERFETTO_BUILDFLAG(PERFETTO_OS_FUCHSIA)
-+ PERFETTO_BUILDFLAG(PERFETTO_OS_FUCHSIA) || \
-+ PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)
- #include <limits.h>
- #include <stdlib.h> // For _exit()
- #include <unistd.h> // For getpagesize() and geteuid() & fork()
-@@ -260,14 +261,22 @@ void Daemonize(std::function<int()> pare
+@@ -38,7 +39,8 @@
+ #include <mach/vm_page_size.h>
+ #endif
+
+-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && \
++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \
+ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
+ #include <sys/prctl.h>
+
+@@ -278,14 +280,22 @@ void Daemonize(std::function<int()> pare
std::string GetCurExecutablePath() {
std::string self_path;
@@ -41,3 +41,13 @@ $NetBSD$
#elif PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE)
uint32_t size = 0;
PERFETTO_CHECK(_NSGetExecutablePath(nullptr, &size));
+@@ -337,7 +347,8 @@ void AlignedFree(void* ptr) {
+ }
+
+ bool IsSyncMemoryTaggingEnabled() {
+-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && \
++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \
+ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
+ // Compute only once per lifetime of the process.
+ static bool cached_value = [] {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_trace__processor_db_column_utils.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_trace__processor_db_column_utils.cc
index 0117a0db25..c62b456086 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_trace__processor_db_column_utils.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_trace__processor_db_column_utils.cc
@@ -2,17 +2,9 @@ $NetBSD$
for std::floor and std::ceil on NetBSD XXXXX
---- src/3rdparty/chromium/third_party/perfetto/src/trace_processor/db/column/utils.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/perfetto/src/trace_processor/db/column/utils.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/perfetto/src/trace_processor/db/column/utils.cc
-@@ -14,6 +14,7 @@
- * limitations under the License.
- */
-
-+#include "cmath"
- #include "src/trace_processor/db/column/utils.h"
-
- namespace perfetto {
-@@ -40,12 +41,12 @@ SearchValidationResult CompareIntColumnW
+@@ -50,12 +50,12 @@ SearchValidationResult CompareIntColumnW
case FilterOp::kLe:
case FilterOp::kGt:
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_core_clock__snapshots.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_core_clock__snapshots.cc
new file mode 100644
index 0000000000..3831a70487
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_core_clock__snapshots.cc
@@ -0,0 +1,14 @@
+$NetBSD$
+
+treat bsd like apple
+
+--- src/3rdparty/chromium/third_party/perfetto/src/tracing/core/clock_snapshots.cc.orig 2025-05-29 01:27:28.000000000 +0000
++++ src/3rdparty/chromium/third_party/perfetto/src/tracing/core/clock_snapshots.cc
+@@ -25,6 +25,7 @@ namespace perfetto {
+ ClockSnapshotVector CaptureClockSnapshots() {
+ ClockSnapshotVector snapshot_data;
+ #if !PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) && \
++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD) && \
+ !PERFETTO_BUILDFLAG(PERFETTO_OS_WIN) && \
+ !PERFETTO_BUILDFLAG(PERFETTO_OS_NACL)
+ struct {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_core_tracing__service__impl.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_core_tracing__service__impl.cc
deleted file mode 100644
index 918a18d387..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_core_tracing__service__impl.cc
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD$
-
-* Based on OpenBSD's qt6-qtwebengine patches, and
- pkgsrc's qt5-qtwebengine patches
-
---- src/3rdparty/chromium/third_party/perfetto/src/tracing/core/tracing_service_impl.cc.orig 2024-11-21 04:36:37.000000000 +0000
-+++ src/3rdparty/chromium/third_party/perfetto/src/tracing/core/tracing_service_impl.cc
-@@ -3244,7 +3244,8 @@ bool TracingServiceImpl::SnapshotClocks(
-
- #if !PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) && \
- !PERFETTO_BUILDFLAG(PERFETTO_OS_WIN) && \
-- !PERFETTO_BUILDFLAG(PERFETTO_OS_NACL)
-+ !PERFETTO_BUILDFLAG(PERFETTO_OS_NACL) && \
-+ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)
- struct {
- clockid_t id;
- protos::pbzero::BuiltinClock type;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_skia_src_base_SkContainers.cpp b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_skia_src_base_SkContainers.cpp
deleted file mode 100644
index 7e530f4b0c..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_skia_src_base_SkContainers.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD$
-
-Part of patchset to build chromium on NetBSD
-* Based on OpenBSD's chromium patches, and
- pkgsrc's qt5-qtwebengine patches
-
---- src/3rdparty/chromium/third_party/skia/src/base/SkContainers.cpp.orig 2024-11-21 04:36:37.000000000 +0000
-+++ src/3rdparty/chromium/third_party/skia/src/base/SkContainers.cpp
-@@ -14,7 +14,8 @@
-
- #if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS)
- #include <malloc/malloc.h>
--#elif defined(SK_BUILD_FOR_ANDROID) || defined(SK_BUILD_FOR_UNIX)
-+#elif defined(SK_BUILD_FOR_ANDROID) || defined(SK_BUILD_FOR_UNIX) && !defined(__OpenBSD__) && \
-+ !defined(__NetBSD__)
- #include <malloc.h>
- #elif defined(SK_BUILD_FOR_WIN)
- #include <malloc.h>
-@@ -38,7 +39,7 @@ SkSpan<std::byte> complete_size(void* pt
- #elif defined(SK_BUILD_FOR_ANDROID) && __ANDROID_API__ >= 17
- completeSize = malloc_usable_size(ptr);
- SkASSERT(completeSize >= size);
-- #elif defined(SK_BUILD_FOR_UNIX)
-+ #elif defined(SK_BUILD_FOR_UNIX) && !defined(__OpenBSD__) && !defined(__NetBSD__)
- completeSize = malloc_usable_size(ptr);
- SkASSERT(completeSize >= size);
- #elif defined(SK_BUILD_FOR_WIN)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_tflite_features.gni b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_tflite_features.gni
index 3572f82fbc..ef30ced6b7 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_tflite_features.gni
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_tflite_features.gni
@@ -4,17 +4,16 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/tflite/features.gni.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/tflite/features.gni.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/tflite/features.gni
-@@ -8,9 +8,9 @@ declare_args() {
+@@ -9,8 +9,8 @@ declare_args() {
# This enables building TFLite with XNNPACK. Currently only available for
- # Linux or macOS arm64/x64 and Windows x64 targets.
+ # Linux, macOS and Windows arm64/x64/x86 targets and ChromeOS non-ARM targets.
build_tflite_with_xnnpack =
-- ((is_linux || is_mac) &&
-+ (((is_linux || is_mac) &&
- (current_cpu == "arm64" || current_cpu == "x64")) ||
-- (is_win && current_cpu == "x64")
-+ (is_win && current_cpu == "x64")) && !is_bsd
+- (is_win || is_mac || is_linux || (is_chromeos && overlay_include_cbx)) &&
+- (current_cpu == "arm64" || current_cpu == "x64" || current_cpu == "x86")
++ ((is_win || is_mac || is_linux || (is_chromeos && overlay_include_cbx)) &&
++ (current_cpu == "arm64" || current_cpu == "x64" || current_cpu == "x86")) && !is_bsd
# Turns on TFLITE_WITH_RUY, using ruy as the gemm backend instead of gemmlowp.
build_tflite_with_ruy = true
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_wayland_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_wayland_BUILD.gn
index 7217ca4941..65d50c5d75 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_wayland_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_wayland_BUILD.gn
@@ -4,17 +4,17 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/wayland/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/wayland/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/wayland/BUILD.gn
-@@ -22,6 +22,11 @@ config("wayland_config") {
- "src/src",
- ]
+@@ -24,6 +24,11 @@ if (!use_system_libwayland) {
+ "src/src",
+ ]
+ if (is_bsd) {
+ include_dirs += [ "/usr/local/include/libepoll-shim" ]
+ libs = [ "epoll-shim" ]
+ }
+
- # Client/Server headers are automatically generated. Though, we still need
- # to pass the path where these headers are located.
- include_dirs += [ "$root_gen_dir/third_party/wayland/src/protocol" ]
+ # Client/Server headers are automatically generated. Though, we still need
+ # to pass the path where these headers are located.
+ include_dirs += [ "$root_gen_dir/third_party/wayland/src/protocol" ]
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_ip__address.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_ip__address.cc
index a7027c413c..2bd4ceec8a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_ip__address.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_ip__address.cc
@@ -4,12 +4,12 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/webrtc/rtc_base/ip_address.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/webrtc/rtc_base/ip_address.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/webrtc/rtc_base/ip_address.cc
-@@ -13,7 +13,8 @@
- #include <sys/socket.h>
-
- #include "absl/strings/string_view.h"
+@@ -14,7 +14,8 @@
+ #include <cstring>
+ #include <string>
+ #if defined(WEBRTC_POSIX)
-#ifdef OPENBSD
+#if defined(WEBRTC_BSD)
+#include <sys/types.h>
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_physical__socket__server.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_physical__socket__server.cc
index 660dfc9e16..3ecf417df7 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_physical__socket__server.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_physical__socket__server.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/webrtc/rtc_base/physical_socket_server.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/webrtc/rtc_base/physical_socket_server.cc.orig 2025-09-25 11:10:42.000000000 +0000
+++ src/3rdparty/chromium/third_party/webrtc/rtc_base/physical_socket_server.cc
-@@ -53,7 +53,7 @@
+@@ -54,7 +54,7 @@
#include "rtc_base/time_utils.h"
#include "system_wrappers/include/field_trial.h"
@@ -15,7 +15,7 @@ $NetBSD$
#include <linux/sockios.h>
#endif
-@@ -73,7 +73,7 @@ typedef void* SockOptArg;
+@@ -74,7 +74,7 @@ typedef void* SockOptArg;
#endif // WEBRTC_POSIX
@@ -24,7 +24,7 @@ $NetBSD$
int64_t GetSocketRecvTimestamp(int socket) {
struct timeval tv_ioctl;
-@@ -307,7 +307,7 @@ int PhysicalSocket::GetOption(Option opt
+@@ -329,7 +329,7 @@ int PhysicalSocket::GetOption(Option opt
return -1;
}
if (opt == OPT_DONTFRAGMENT) {
@@ -33,7 +33,7 @@ $NetBSD$
*value = (*value != IP_PMTUDISC_DONT) ? 1 : 0;
#endif
} else if (opt == OPT_DSCP) {
-@@ -325,7 +325,7 @@ int PhysicalSocket::SetOption(Option opt
+@@ -358,7 +358,7 @@ int PhysicalSocket::SetOption(Option opt
if (TranslateOption(opt, &slevel, &sopt) == -1)
return -1;
if (opt == OPT_DONTFRAGMENT) {
@@ -42,7 +42,7 @@ $NetBSD$
value = (value) ? IP_PMTUDISC_DO : IP_PMTUDISC_DONT;
#endif
} else if (opt == OPT_DSCP) {
-@@ -353,7 +353,7 @@ int PhysicalSocket::SetOption(Option opt
+@@ -389,7 +389,7 @@ int PhysicalSocket::SetOption(Option opt
int PhysicalSocket::Send(const void* pv, size_t cb) {
int sent = DoSend(
s_, reinterpret_cast<const char*>(pv), static_cast<int>(cb),
@@ -51,7 +51,7 @@ $NetBSD$
// Suppress SIGPIPE. Without this, attempting to send on a socket whose
// other end is closed will result in a SIGPIPE signal being raised to
// our process, which by default will terminate the process, which we
-@@ -382,7 +382,7 @@ int PhysicalSocket::SendTo(const void* b
+@@ -418,7 +418,7 @@ int PhysicalSocket::SendTo(const void* b
size_t len = addr.ToSockAddrStorage(&saddr);
int sent =
DoSendTo(s_, static_cast<const char*>(buffer), static_cast<int>(length),
@@ -60,7 +60,7 @@ $NetBSD$
// Suppress SIGPIPE. See above for explanation.
MSG_NOSIGNAL,
#else
-@@ -641,7 +641,7 @@ int PhysicalSocket::TranslateOption(Opti
+@@ -697,7 +697,7 @@ int PhysicalSocket::TranslateOption(Opti
*slevel = IPPROTO_IP;
*sopt = IP_DONTFRAGMENT;
break;
@@ -69,3 +69,52 @@ $NetBSD$
RTC_LOG(LS_WARNING) << "Socket::OPT_DONTFRAGMENT not supported.";
return -1;
#elif defined(WEBRTC_POSIX)
+@@ -746,7 +746,7 @@ int PhysicalSocket::TranslateOption(Opti
+ return -1;
+ #endif
+ case OPT_RECV_ECN:
+-#if defined(WEBRTC_POSIX)
++#if defined(WEBRTC_POSIX) && defined(IP_RECVTOS)
+ if (family_ == AF_INET6) {
+ *slevel = IPPROTO_IPV6;
+ *sopt = IPV6_RECVTCLASS;
+@@ -766,10 +766,19 @@ int PhysicalSocket::TranslateOption(Opti
+ *sopt = SO_KEEPALIVE;
+ break;
+ case OPT_TCP_KEEPCNT:
++#if !defined(TCP_KEEPCNT)
++ RTC_LOG(LS_WARNING) << "Socket::OPT_TCP_KEEPCNT not supported.";
++ return -1;
++#else
+ *slevel = IPPROTO_TCP;
+ *sopt = TCP_KEEPCNT;
+ break;
++#endif
+ case OPT_TCP_KEEPIDLE:
++#if !defined(TCP_KEEPALIVE)
++ RTC_LOG(LS_WARNING) << "Socket::OPT_TCP_KEEPALIVE not supported.";
++ return -1;
++#else
+ *slevel = IPPROTO_TCP;
+ #if !defined(WEBRTC_MAC)
+ *sopt = TCP_KEEPIDLE;
+@@ -777,12 +786,18 @@ int PhysicalSocket::TranslateOption(Opti
+ *sopt = TCP_KEEPALIVE;
+ #endif
+ break;
++#endif
+ case OPT_TCP_KEEPINTVL:
++#if !defined(TCP_KEEPALIVE)
++ RTC_LOG(LS_WARNING) << "Socket::OPT_TCP_KEEPINTVL not supported.";
++ return -1;
++#else
+ *slevel = IPPROTO_TCP;
+ *sopt = TCP_KEEPINTVL;
+ break;
++#endif
+ case OPT_TCP_USER_TIMEOUT:
+-#if defined(WEBRTC_LINUX) || defined(WEBRTC_ANDROID)
++#if (defined(WEBRTC_LINUX) || defined(WEBRTC_ANDROID)) && defined(TCP_USER_TIMEOUT)
+ *slevel = IPPROTO_TCP;
+ *sopt = TCP_USER_TIMEOUT;
+ break;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_zlib_cpu__features.c b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_zlib_cpu__features.c
index 477c5936d6..994172e34c 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_zlib_cpu__features.c
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_zlib_cpu__features.c
@@ -4,18 +4,19 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/zlib/cpu_features.c.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/third_party/zlib/cpu_features.c.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/third_party/zlib/cpu_features.c
-@@ -35,7 +35,7 @@ int ZLIB_INTERNAL x86_cpu_enable_avx512
-
+@@ -39,7 +39,8 @@ int ZLIB_INTERNAL riscv_cpu_enable_vclmu
#ifndef CPU_NO_SIMD
--#if defined(ARMV8_OS_ANDROID) || defined(ARMV8_OS_LINUX) || defined(ARMV8_OS_FUCHSIA) || defined(ARMV8_OS_IOS)
-+#if defined(ARMV8_OS_ANDROID) || defined(ARMV8_OS_LINUX) || defined(ARMV8_OS_FUCHSIA) || defined(ARMV8_OS_IOS) || defined(ARMV8_OS_OPENBSD) || defined(ARMV8_OS_FREEBSD)
+ #if defined(ARMV8_OS_ANDROID) || defined(ARMV8_OS_LINUX) || \
+- defined(ARMV8_OS_FUCHSIA) || defined(ARMV8_OS_IOS)
++ defined(ARMV8_OS_FUCHSIA) || defined(ARMV8_OS_IOS) || \
++ defined(ARMV8_OS_OPENBSD) || defined(ARMV8_OS_FREEBSD)
#include <pthread.h>
#endif
-@@ -52,6 +52,10 @@ int ZLIB_INTERNAL x86_cpu_enable_avx512
+@@ -56,6 +57,10 @@ int ZLIB_INTERNAL riscv_cpu_enable_vclmu
#include <windows.h>
#elif defined(ARMV8_OS_IOS)
#include <sys/sysctl.h>
@@ -26,16 +27,16 @@ $NetBSD$
#elif !defined(_MSC_VER)
#include <pthread.h>
#else
-@@ -62,7 +66,7 @@ int ZLIB_INTERNAL x86_cpu_enable_avx512
- static void _cpu_check_features(void);
- #endif
-
--#if defined(ARMV8_OS_ANDROID) || defined(ARMV8_OS_LINUX) || defined(ARMV8_OS_MACOS) || defined(ARMV8_OS_FUCHSIA) || defined(X86_NOT_WINDOWS) || defined(ARMV8_OS_IOS) || defined(__ARM_NEON__) || defined(__ARM_NEON)
-+#if defined(ARMV8_OS_ANDROID) || defined(ARMV8_OS_LINUX) || defined(ARMV8_OS_MACOS) || defined(ARMV8_OS_FUCHSIA) || defined(X86_NOT_WINDOWS) || defined(ARMV8_OS_IOS) || defined(__ARM_NEON__) || defined(__ARM_NEON) || defined(ARMV8_OS_OPENBSD) || defined(ARMV8_OS_FREEBSD)
+@@ -81,7 +86,7 @@ void ZLIB_INTERNAL cpu_check_features(vo
+ #elif defined(ARMV8_OS_ANDROID) || defined(ARMV8_OS_LINUX) || \
+ defined(ARMV8_OS_MACOS) || defined(ARMV8_OS_FUCHSIA) || \
+ defined(X86_NOT_WINDOWS) || defined(ARMV8_OS_IOS) || \
+- defined(RISCV_RVV) || defined(__ARM_NEON__) || defined(__ARM_NEON)
++ defined(RISCV_RVV) || defined(__ARM_NEON__) || defined(__ARM_NEON) || defined(ARMV8_OS_OPENBSD) || defined(ARMV8_OS_FREEBSD)
#if !defined(ARMV8_OS_MACOS)
// _cpu_check_features() doesn't need to do anything on mac/arm since all
// features are known at build time, so don't call it.
-@@ -115,6 +119,17 @@ static void _cpu_check_features(void)
+@@ -122,6 +127,17 @@ static void _cpu_check_features(void)
unsigned long features = getauxval(AT_HWCAP2);
arm_cpu_enable_crc32 = !!(features & HWCAP2_CRC32);
arm_cpu_enable_pmull = !!(features & HWCAP2_PMULL);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_tools_perf_chrome__telemetry__build_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_tools_perf_chrome__telemetry__build_BUILD.gn
index 5db9c68cee..90fe2361c0 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_tools_perf_chrome__telemetry__build_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_tools_perf_chrome__telemetry__build_BUILD.gn
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/tools/perf/chrome_telemetry_build/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/tools/perf/chrome_telemetry_build/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/tools/perf/chrome_telemetry_build/BUILD.gn
@@ -47,7 +47,7 @@ group("telemetry_chrome_test") {
data_deps += [ "//chrome:reorder_imports" ]
@@ -12,7 +12,7 @@ $NetBSD$
- if (is_linux || is_chromeos) {
+ if ((is_linux || is_chromeos) && !is_bsd) {
- data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
+ data_deps += [ "//third_party/breakpad:dump_syms" ]
# CrOS currently has issues with the locally compiled version of
@@ -178,7 +178,7 @@ group("telemetry_chrome_test_without_chr
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_tools_v8__context__snapshot_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_tools_v8__context__snapshot_BUILD.gn
index 4d16c041c3..99135942c9 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_tools_v8__context__snapshot_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_tools_v8__context__snapshot_BUILD.gn
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/tools/v8_context_snapshot/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/tools/v8_context_snapshot/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/tools/v8_context_snapshot/BUILD.gn
-@@ -36,6 +36,24 @@ buildflag_header("buildflags") {
- ]
+@@ -38,6 +38,26 @@ buildflag_header("buildflags") {
}
+ if (use_v8_context_snapshot) {
+action("run_paxctl_v8_context_snapshot_generator") {
-+ deps = [ ":v8_context_snapshot_generator($v8_snapshot_toolchain)" ]
++ deps = [ ":v8_context_snapshot_generator" ]
+
+ script = "//v8/tools/run-paxctl.py"
+ stamp = "$target_gen_dir/paxctl_stamp"
@@ -27,14 +27,16 @@ $NetBSD$
+ root_build_dir),
+ ]
+}
++}
+
- if (use_v8_context_snapshot) {
++if (use_v8_context_snapshot) {
if (v8_snapshot_toolchain == current_toolchain) {
action("generate_v8_context_snapshot") {
-@@ -53,6 +71,9 @@ if (use_v8_context_snapshot) {
+ script = "//build/gn_run_binary.py"
+@@ -58,6 +78,9 @@ if (use_v8_context_snapshot) {
+ ":v8_context_snapshot_generator",
+ "//v8:run_mksnapshot_default",
]
-
- deps = [ ":v8_context_snapshot_generator" ]
+ if (target_os == "netbsd") {
+ deps += [ ":run_paxctl_v8_context_snapshot_generator" ]
+ }
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__non__backed.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__non__backed.cc
index df4f28ad50..b99ef0f840 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__non__backed.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__non__backed.cc
@@ -4,12 +4,12 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/base/dragdrop/os_exchange_data_provider_non_backed.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/base/dragdrop/os_exchange_data_provider_non_backed.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/base/dragdrop/os_exchange_data_provider_non_backed.cc
-@@ -96,7 +96,7 @@ void OSExchangeDataProviderNonBacked::Se
- }
+@@ -101,7 +101,7 @@ void OSExchangeDataProviderNonBacked::Se
- bool OSExchangeDataProviderNonBacked::GetString(std::u16string* data) const {
+ std::optional<std::u16string> OSExchangeDataProviderNonBacked::GetString()
+ const {
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
if (HasFile()) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ime_fake__text__input__client.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ime_fake__text__input__client.cc
index 4d96e0f637..bf9419949e 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ime_fake__text__input__client.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ime_fake__text__input__client.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/base/ime/fake_text_input_client.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/base/ime/fake_text_input_client.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/base/ime/fake_text_input_client.cc
-@@ -171,7 +171,7 @@ bool FakeTextInputClient::ShouldDoLearni
- return false;
+@@ -215,7 +215,7 @@ bool FakeTextInputClient::ShouldDoLearni
+ return should_do_learning_;
}
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__switches.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__switches.cc
index 588ed2bcca..4315630001 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__switches.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__switches.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/base/ui_base_switches.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/base/ui_base_switches.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/base/ui_base_switches.cc
@@ -31,13 +31,13 @@ const char kShowMacOverlayBorders[] = "s
const char kEnableResourcesFileSharing[] = "enable-resources-file-sharing";
@@ -21,4 +21,4 @@ $NetBSD$
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Specify the toolkit used to construct the Linux GUI.
const char kUiToolkitFlag[] = "ui-toolkit";
- #endif
+ // Disables GTK IME integration.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__switches.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__switches.h
index ebeb2df56e..dea5d7a8f0 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__switches.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__switches.h
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/base/ui_base_switches.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/base/ui_base_switches.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/base/ui_base_switches.h
@@ -27,11 +27,11 @@ COMPONENT_EXPORT(UI_BASE) extern const c
COMPONENT_EXPORT(UI_BASE) extern const char kEnableResourcesFileSharing[];
@@ -18,5 +18,5 @@ $NetBSD$
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
COMPONENT_EXPORT(UI_BASE) extern const char kUiToolkitFlag[];
+ COMPONENT_EXPORT(UI_BASE) extern const char kDisableGtkIme[];
#endif
-
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_webui_web__ui__util.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_webui_web__ui__util.cc
index ad22d1bfa2..435faaf8be 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_webui_web__ui__util.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_webui_web__ui__util.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/base/webui/web_ui_util.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/base/webui/web_ui_util.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/base/webui/web_ui_util.cc
-@@ -41,7 +41,7 @@ namespace {
+@@ -46,7 +46,7 @@ namespace {
constexpr float kMaxScaleFactor = 1000.0f;
std::string GetFontFamilyMd() {
@@ -15,9 +15,9 @@ $NetBSD$
return "Roboto, " + GetFontFamily();
#else
return GetFontFamily();
-@@ -219,7 +219,7 @@ std::string GetFontFamily() {
+@@ -223,7 +223,7 @@ std::string GetFontFamily() {
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_color_color__id.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_color_color__id.h
index 9dbdb57454..8bebb8b183 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_color_color__id.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_color_color__id.h
@@ -4,12 +4,12 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/color/color_id.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/color/color_id.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/color/color_id.h
-@@ -610,7 +610,7 @@
- E_CPONLY(kColorNativeColor6) \
- E_CPONLY(kColorNativeBaseColor) \
- E_CPONLY(kColorNativeSecondaryColor)
+@@ -622,7 +622,7 @@
+ \
+ E_CPONLY(kColorCrosSysPositive) \
+ E_CPONLY(kColorCrosSysComplementVariant)
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#define PLATFORM_SPECIFIC_COLOR_IDS \
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_font__render__params__linux.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_font__render__params__linux.cc
index 83d80464d9..8cc3385e18 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_font__render__params__linux.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_font__render__params__linux.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gfx/font_render_params_linux.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/gfx/font_render_params_linux.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/gfx/font_render_params_linux.cc
@@ -25,7 +25,7 @@
#include "ui/gfx/linux/fontconfig_util.h"
@@ -21,6 +21,6 @@ $NetBSD$
FontRenderParams params;
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (const auto* linux_ui = ui::LinuxUi::instance())
+ if (auto* linux_ui = ui::LinuxUi::instance()) {
params = linux_ui->GetDefaultFontRenderParams();
- #endif
+ }
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_font__util.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_font__util.cc
index 88effeec28..eb1d8f628b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_font__util.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_font__util.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gfx/font_util.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/gfx/font_util.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/gfx/font_util.cc
@@ -6,7 +6,7 @@
@@ -21,6 +21,6 @@ $NetBSD$
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // Ensures the config is created on this thread.
- FcConfig* config = GetGlobalFontConfig();
- DCHECK(config);
+ // Early initialize FontConfig.
+ InitializeGlobalFontConfigAsync();
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_linux_gbm__wrapper.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_linux_gbm__wrapper.cc
index 194c6ff86c..dd82faf56e 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_linux_gbm__wrapper.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_linux_gbm__wrapper.cc
@@ -4,12 +4,12 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gfx/linux/gbm_wrapper.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/gfx/linux/gbm_wrapper.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/gfx/linux/gbm_wrapper.cc
-@@ -317,7 +317,7 @@ class Device final : public ui::GbmDevic
+@@ -331,7 +331,7 @@ class Device final : public ui::GbmDevic
// of 1x1 BOs which are destroyed before creating the final BO creation used
// to instantiate the returned GbmBuffer.
- gfx::Size size =
+ gfx::Size size_for_verification =
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
gfx::Size(1, 1);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.h
index e125a64347..b407339f53 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.h
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gfx/mojom/native_handle_types_mojom_traits.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/gfx/mojom/native_handle_types_mojom_traits.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/gfx/mojom/native_handle_types_mojom_traits.h
-@@ -15,7 +15,7 @@
- #include "third_party/abseil-cpp/absl/types/optional.h"
+@@ -16,7 +16,7 @@
+ #include "mojo/public/cpp/system/platform_handle.h"
#include "ui/gfx/mojom/native_handle_types.mojom-shared.h"
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
@@ -15,7 +15,7 @@ $NetBSD$
#include "ui/gfx/native_pixmap_handle.h"
#endif
-@@ -25,7 +25,7 @@
+@@ -26,7 +26,7 @@
namespace mojo {
@@ -24,7 +24,7 @@ $NetBSD$
template <>
struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED_MOJOM_TRAITS)
StructTraits<gfx::mojom::NativePixmapPlaneDataView,
-@@ -53,13 +53,13 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDL
+@@ -54,13 +54,13 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDL
return pixmap_handle.planes;
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_native__widget__types.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_native__widget__types.h
index 4d94c4e863..85869dcba2 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_native__widget__types.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_native__widget__types.h
@@ -4,20 +4,20 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gfx/native_widget_types.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/gfx/native_widget_types.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/gfx/native_widget_types.h
@@ -104,7 +104,7 @@ class SkBitmap;
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
extern "C" {
struct _AtkObject;
using AtkObject = struct _AtkObject;
-@@ -220,7 +220,7 @@ using NativeViewAccessible = struct objc
+@@ -219,7 +219,7 @@ using NativeViewAccessible = struct objc
#endif
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_platform__font__skia.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_platform__font__skia.cc
index b3eabf0b3e..2ad3a9a3e3 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_platform__font__skia.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_platform__font__skia.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gfx/platform_font_skia.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/gfx/platform_font_skia.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/gfx/platform_font_skia.cc
-@@ -30,7 +30,7 @@
+@@ -29,7 +29,7 @@
#include "ui/gfx/system_fonts_win.h"
#endif
@@ -15,7 +15,7 @@ $NetBSD$
#include "ui/linux/linux_ui.h"
#endif
-@@ -168,7 +168,7 @@ void PlatformFontSkia::EnsuresDefaultFon
+@@ -167,7 +167,7 @@ void PlatformFontSkia::EnsuresDefaultFon
weight = system_font.GetWeight();
#endif // BUILDFLAG(IS_WIN)
@@ -23,4 +23,4 @@ $NetBSD$
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// On Linux, LinuxUi is used to query the native toolkit (e.g.
// GTK) for the default UI font.
- if (const auto* linux_ui = ui::LinuxUi::instance()) {
+ if (auto* linux_ui = ui::LinuxUi::instance()) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_render__text__fuzzer.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_render__text__fuzzer.cc
index b22072cf3a..06ab93ee3b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_render__text__fuzzer.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_render__text__fuzzer.cc
@@ -4,18 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gfx/render_text_fuzzer.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/gfx/render_text_fuzzer.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/gfx/render_text_fuzzer.cc
-@@ -14,7 +14,7 @@
+@@ -17,7 +17,7 @@
+ #include "ui/gfx/canvas.h"
#include "ui/gfx/font_util.h"
- #include "ui/gfx/render_text.h"
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "third_party/test_fonts/fontconfig/fontconfig_util_linux.h"
#endif
-@@ -37,7 +37,7 @@ struct Environment {
+@@ -40,7 +40,7 @@ struct Environment {
CHECK(base::i18n::InitializeICU());
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_switches.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_switches.h
index 11d16c189a..3e3de23bc2 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_switches.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_switches.h
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gfx/switches.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/gfx/switches.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/gfx/switches.h
-@@ -18,7 +18,7 @@ GFX_SWITCHES_EXPORT extern const char kE
- GFX_SWITCHES_EXPORT extern const char kForcePrefersReducedMotion[];
+@@ -19,7 +19,7 @@ GFX_SWITCHES_EXPORT extern const char kF
+ GFX_SWITCHES_EXPORT extern const char kForcePrefersNoReducedMotion[];
GFX_SWITCHES_EXPORT extern const char kHeadless[];
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_BUILD.gn
index 6530de61d0..b36efc5d9c 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_BUILD.gn
@@ -4,17 +4,17 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gl/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/gl/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/gl/BUILD.gn
-@@ -186,7 +186,6 @@ jumbo_component("gl") {
- ]
+@@ -173,7 +173,6 @@ jumbo_component("gl") {
public_deps = [
+ ":gl_enums",
"//base",
- "//third_party/mesa_headers",
"//ui/events/platform",
"//ui/gfx",
"//ui/gfx/geometry",
-@@ -428,7 +427,6 @@ jumbo_component("gl") {
+@@ -325,7 +324,6 @@ jumbo_component("gl") {
data_deps += [
"//third_party/angle:libEGL",
"//third_party/angle:libGLESv2",
@@ -22,7 +22,7 @@ $NetBSD$
]
if (enable_swiftshader) {
data_deps += [
-@@ -646,7 +644,6 @@ test("gl_unittests") {
+@@ -554,7 +552,6 @@ test("gl_unittests") {
data_deps = [
"//testing/buildbot/filters:gl_unittests_filters",
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_gl__fence.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_gl__fence.cc
index 302f6b6eea..fc222a4338 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_gl__fence.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_gl__fence.cc
@@ -4,12 +4,12 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gl/gl_fence.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/gl/gl_fence.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/gl/gl_fence.cc
-@@ -20,7 +20,7 @@
- #endif
+@@ -17,7 +17,7 @@
+ #include "ui/gl/gl_surface_egl.h"
+ #include "ui/gl/gl_version_info.h"
- #if defined(USE_EGL)
-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#define USE_GL_FENCE_ANDROID_NATIVE_FENCE_SYNC
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_gl__implementation.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_gl__implementation.cc
index bcf254200a..2953729cbc 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_gl__implementation.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_gl__implementation.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gl/gl_implementation.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/gl/gl_implementation.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/gl/gl_implementation.cc
-@@ -286,7 +286,7 @@ GetRequestedGLImplementationFromCommandL
- *fallback_to_software_gl = false;
+@@ -253,7 +253,7 @@ GetRequestedGLImplementationFromCommandL
+ const base::CommandLine* command_line) {
bool overrideUseSoftwareGL =
command_line->HasSwitch(switches::kOverrideUseSoftwareGLForTests);
-#if BUILDFLAG(IS_LINUX) || \
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_sync__control__vsync__provider.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_sync__control__vsync__provider.cc
index 5428c88046..bfece5b598 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_sync__control__vsync__provider.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_sync__control__vsync__provider.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gl/sync_control_vsync_provider.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/gl/sync_control_vsync_provider.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/gl/sync_control_vsync_provider.cc
@@ -11,7 +11,7 @@
#include "base/trace_event/trace_event.h"
@@ -30,10 +30,10 @@ $NetBSD$
TRACE_EVENT0("gpu", "SyncControlVSyncProvider::GetVSyncParameters");
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // The actual clock used for the system time returned by glXGetSyncValuesOML
- // is unspecified. In practice, the clock used is likely to be either
- // CLOCK_REALTIME or CLOCK_MONOTONIC, so we compare the returned time to the
-@@ -159,7 +159,7 @@ bool SyncControlVSyncProvider::GetVSyncP
+ // The actual clock used for the system time returned by
+ // eglGetSyncValuesCHROMIUM is unspecified. In practice, the clock used is
+ // likely to be either CLOCK_REALTIME or CLOCK_MONOTONIC, so we compare the
+@@ -160,7 +160,7 @@ bool SyncControlVSyncProvider::GetVSyncP
}
bool SyncControlVSyncProvider::SupportGetVSyncParametersIfAvailable() const {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gtk_printing_print__dialog__gtk.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gtk_printing_print__dialog__gtk.cc
index 57b44f3891..c85fd237e3 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gtk_printing_print__dialog__gtk.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gtk_printing_print__dialog__gtk.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gtk/printing/print_dialog_gtk.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/gtk/printing/print_dialog_gtk.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/gtk/printing/print_dialog_gtk.cc
-@@ -433,7 +433,7 @@ void PrintDialogGtk::ShowDialog(
+@@ -439,7 +439,7 @@ void PrintDialogGtk::ShowDialog(
GtkPrintCapabilities cap = static_cast<GtkPrintCapabilities>(
GTK_PRINT_CAPABILITY_GENERATE_PDF | GTK_PRINT_CAPABILITY_PAGE_SET |
GTK_PRINT_CAPABILITY_COPIES | GTK_PRINT_CAPABILITY_COLLATE |
- GTK_PRINT_CAPABILITY_REVERSE);
+ GTK_PRINT_CAPABILITY_REVERSE | GTK_PRINT_CAPABILITY_GENERATE_PS);
- gtk_print_unix_dialog_set_manual_capabilities(GTK_PRINT_UNIX_DIALOG(dialog_),
- cap);
- gtk_print_unix_dialog_set_embed_page_setup(GTK_PRINT_UNIX_DIALOG(dialog_),
+ gtk_print_unix_dialog_set_manual_capabilities(
+ GTK_PRINT_UNIX_DIALOG(dialog_.get()), cap);
+ gtk_print_unix_dialog_set_embed_page_setup(
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_message__center_views_message__popup__view.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_message__center_views_message__popup__view.cc
index 9ba1882075..c85306f015 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_message__center_views_message__popup__view.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_message__center_views_message__popup__view.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/message_center/views/message_popup_view.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/message_center/views/message_popup_view.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/message_center/views/message_popup_view.cc
-@@ -135,7 +135,7 @@ void MessagePopupView::Show() {
+@@ -144,7 +144,7 @@ std::unique_ptr<views::Widget> MessagePo
params.z_order = ui::ZOrderLevel::kFloatingWindow;
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_native__theme_native__theme.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_native__theme_native__theme.h
index a5c3af3649..7d8dab0c50 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_native__theme_native__theme.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_native__theme_native__theme.h
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/native_theme/native_theme.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/native_theme/native_theme.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/native_theme/native_theme.h
-@@ -62,7 +62,7 @@ class NATIVE_THEME_EXPORT NativeTheme {
+@@ -64,7 +64,7 @@ class NATIVE_THEME_EXPORT NativeTheme {
kCheckbox,
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_native__theme_native__theme__base.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_native__theme_native__theme__base.cc
index c36dfc6705..760eb0d42a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_native__theme_native__theme__base.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_native__theme_native__theme__base.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/native_theme/native_theme_base.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/native_theme/native_theme_base.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/native_theme/native_theme_base.cc
-@@ -235,7 +235,7 @@ void NativeThemeBase::Paint(cc::PaintCan
+@@ -241,7 +241,7 @@ void NativeThemeBase::Paint(cc::PaintCan
break;
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_common_wayland__util.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_common_wayland__util.cc
index 577fa1180a..88758cfcac 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_common_wayland__util.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_common_wayland__util.cc
@@ -4,14 +4,23 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/ozone/platform/wayland/common/wayland_util.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/ozone/platform/wayland/common/wayland_util.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/ozone/platform/wayland/common/wayland_util.cc
-@@ -335,7 +335,7 @@ void TransformToWlArray(
+@@ -347,7 +347,7 @@ void TransformToWlArray(
}
base::TimeTicks EventMillisecondsToTimeTicks(uint32_t milliseconds) {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // TODO(crbug.com/1499638): `milliseconds` comes from Weston that
+ // TODO(crbug.com/40287874): `milliseconds` comes from Weston that
// uses timestamp from libinput, which is different from TimeTicks.
// Use EventTimeForNow(), for now.
+@@ -389,7 +389,7 @@ bool MaybeHandlePlatformEventForDrag(con
+ }
+
+ void RecordConnectionMetrics(wl_display* display) {
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ CHECK(display);
+
+ // These values are logged to metrics so must not be changed.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.cc
index 98d59847e5..fe0919bf19 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/ozone/platform/wayland/emulate/wayland_input_emulate.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/ozone/platform/wayland/emulate/wayland_input_emulate.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/ozone/platform/wayland/emulate/wayland_input_emulate.cc
-@@ -230,7 +230,7 @@ void WaylandInputEmulate::EmulateTouch(i
- wayland_proxy->FlushForTesting();
+@@ -284,7 +284,7 @@ void WaylandInputEmulate::EmulateUpdateD
}
+ #endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.h
index 93c4061089..804ad1a8e5 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.h
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/ozone/platform/wayland/emulate/wayland_input_emulate.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/ozone/platform/wayland/emulate/wayland_input_emulate.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/ozone/platform/wayland/emulate/wayland_input_emulate.h
-@@ -61,7 +61,7 @@ class WaylandInputEmulate : public wl::W
- int touch_id,
- uint32_t request_id);
+@@ -68,7 +68,7 @@ class WaylandInputEmulate : public wl::W
+ uint32_t request_id);
+ #endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.cc
index 5809e54cc9..df89bf7ae6 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.cc
@@ -4,18 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_window.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_window.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_window.cc
-@@ -235,7 +235,7 @@ void WaylandWindow::OnPointerFocusChange
+@@ -318,7 +318,7 @@ void WaylandWindow::OnPointerFocusChange
// Whenever the window gets the pointer focus back, the cursor shape must be
// updated. Otherwise, it is invalidated upon wl_pointer::leave and is not
// restored by the Wayland compositor.
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
if (focused && async_cursor_) {
- async_cursor_->AddCursorLoadedCallback(
- base::BindOnce(&WaylandWindow::OnCursorLoaded,
-@@ -496,7 +496,7 @@ bool WaylandWindow::ShouldUseNativeFrame
+ async_cursor_->AddCursorLoadedCallback(base::BindOnce(
+ &WaylandWindow::OnCursorLoaded, AsWeakPtr(), async_cursor_));
+@@ -584,7 +584,7 @@ bool WaylandWindow::ShouldUseNativeFrame
void WaylandWindow::SetCursor(scoped_refptr<PlatformCursor> platform_cursor) {
DCHECK(platform_cursor);
@@ -24,7 +24,7 @@ $NetBSD$
auto async_cursor = WaylandAsyncCursor::FromPlatformCursor(platform_cursor);
if (async_cursor_ == async_cursor) {
-@@ -676,7 +676,7 @@ std::string WaylandWindow::WindowStates:
+@@ -795,7 +795,7 @@ std::string WaylandWindow::WindowStates:
} else {
base::TrimString(states, " ", &states);
}
@@ -33,7 +33,7 @@ $NetBSD$
states += "; tiled_edges: ";
std::string tiled = "";
if (tiled_edges.left) {
-@@ -1147,12 +1147,12 @@ void WaylandWindow::UpdateCursorShape(sc
+@@ -1283,12 +1283,12 @@ void WaylandWindow::UpdateCursorShape(sc
cursor->bitmaps(), hotspot_in_dips,
std::ceil(cursor->cursor_image_scale_factor()));
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.h
index 1adce208f8..ba7a5f2b6f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.h
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_window.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_window.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_window.h
-@@ -39,7 +39,7 @@
+@@ -41,7 +41,7 @@
#include "ui/platform_window/platform_window_init_properties.h"
#include "ui/platform_window/wm/wm_drag_handler.h"
@@ -15,16 +15,16 @@ $NetBSD$
#include "ui/ozone/platform/wayland/host/wayland_async_cursor.h"
#endif
-@@ -246,7 +246,7 @@ class WaylandWindow : public PlatformWin
- bool is_snapped_primary = false;
+@@ -285,7 +285,7 @@ class WaylandWindow : public PlatformWin
bool is_snapped_secondary = false;
bool is_floated = false;
+ bool is_pip = false;
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
WindowTiledEdges tiled_edges;
#endif
-@@ -500,7 +500,7 @@ class WaylandWindow : public PlatformWin
+@@ -569,7 +569,7 @@ class WaylandWindow : public PlatformWin
void UpdateCursorShape(scoped_refptr<BitmapCursor> cursor);
@@ -33,7 +33,7 @@ $NetBSD$
void OnCursorLoaded(scoped_refptr<WaylandAsyncCursor> cursor,
scoped_refptr<BitmapCursor> bitmap_cursor);
#endif
-@@ -559,7 +559,7 @@ class WaylandWindow : public PlatformWin
+@@ -638,7 +638,7 @@ class WaylandWindow : public PlatformWin
wl::Object<zaura_surface> aura_surface_;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__window.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__window.cc
index 20496a4e51..d81c86d06d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__window.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__window.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/ozone/platform/x11/x11_window.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/ozone/platform/x11/x11_window.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/ozone/platform/x11/x11_window.cc
-@@ -1499,7 +1499,7 @@ void X11Window::OnXWindowStateChanged()
+@@ -1504,7 +1504,7 @@ void X11Window::OnXWindowStateChanged()
WindowTiledEdges tiled_state = GetTiledState();
if (tiled_state != tiled_state_) {
tiled_state_ = tiled_state;
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
platform_window_delegate_->OnWindowTiledStateChanged(tiled_state);
+ UpdateDecorationInsets();
#endif
- }
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_platform__window_platform__window__delegate.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_platform__window_platform__window__delegate.cc
index 6e4770f6b3..56552243f0 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_platform__window_platform__window__delegate.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_platform__window_platform__window__delegate.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/platform_window/platform_window_delegate.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/platform_window/platform_window_delegate.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/platform_window/platform_window_delegate.cc
-@@ -42,7 +42,7 @@ PlatformWindowDelegate::PlatformWindowDe
-
- PlatformWindowDelegate::~PlatformWindowDelegate() = default;
+@@ -61,7 +61,7 @@ gfx::Insets PlatformWindowDelegate::Calc
+ return gfx::Insets();
+ }
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_platform__window_platform__window__init__properties.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_platform__window_platform__window__init__properties.h
index 93953cbc4b..70359c8021 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_platform__window_platform__window__init__properties.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_platform__window_platform__window__init__properties.h
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/platform_window/platform_window_init_properties.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/platform_window/platform_window_init_properties.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/platform_window/platform_window_init_properties.h
@@ -56,7 +56,7 @@ class WorkspaceExtensionDelegate;
class ScenicWindowDelegate;
@@ -15,7 +15,7 @@ $NetBSD$
class X11ExtensionDelegate;
#endif
-@@ -118,7 +118,7 @@ struct COMPONENT_EXPORT(PLATFORM_WINDOW)
+@@ -121,7 +121,7 @@ struct COMPONENT_EXPORT(PLATFORM_WINDOW)
PlatformWindowShadowType shadow_type = PlatformWindowShadowType::kDefault;
@@ -23,4 +23,4 @@ $NetBSD$
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
bool prefer_dark_theme = false;
raw_ptr<gfx::ImageSkia> icon = nullptr;
- absl::optional<SkColor> background_color;
+ std::optional<SkColor> background_color;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.cc
index 3ddc6d647d..676870a173 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/views/controls/textfield/textfield.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/views/controls/textfield/textfield.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/views/controls/textfield/textfield.cc
-@@ -84,7 +84,7 @@
+@@ -85,7 +85,7 @@
#include "base/win/win_util.h"
#endif
@@ -24,7 +24,7 @@ $NetBSD$
return flags & ui::EF_CONTROL_DOWN;
#else
return false;
-@@ -744,7 +744,7 @@ bool Textfield::OnKeyPressed(const ui::K
+@@ -761,7 +761,7 @@ bool Textfield::OnKeyPressed(const ui::K
if (!textfield)
return handled;
@@ -33,7 +33,7 @@ $NetBSD$
auto* linux_ui = ui::LinuxUi::instance();
std::vector<ui::TextEditCommandAuraLinux> commands;
if (!handled && linux_ui &&
-@@ -927,7 +927,7 @@ void Textfield::AboutToRequestFocusFromT
+@@ -944,7 +944,7 @@ void Textfield::AboutToRequestFocusFromT
}
bool Textfield::SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) {
@@ -42,16 +42,16 @@ $NetBSD$
// Skip any accelerator handling that conflicts with custom keybindings.
auto* linux_ui = ui::LinuxUi::instance();
std::vector<ui::TextEditCommandAuraLinux> commands;
-@@ -1969,7 +1969,7 @@ bool Textfield::ShouldDoLearning() {
+@@ -1994,7 +1994,7 @@ bool Textfield::ShouldDoLearning() {
return false;
}
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // TODO(https://crbug.com/952355): Implement this method to support Korean IME
+ // TODO(crbug.com/41452689): Implement this method to support Korean IME
// reconversion feature on native text fields (e.g. find bar).
bool Textfield::SetCompositionFromExistingText(
-@@ -2465,14 +2465,14 @@ ui::TextEditCommand Textfield::GetComman
+@@ -2500,14 +2500,14 @@ ui::TextEditCommand Textfield::GetComman
#endif
return ui::TextEditCommand::DELETE_BACKWARD;
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.h
index 5114d4857e..9a25236618 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.h
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/views/controls/textfield/textfield.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/views/controls/textfield/textfield.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/views/controls/textfield/textfield.h
-@@ -46,7 +46,7 @@
- #include "ui/views/view.h"
+@@ -47,7 +47,7 @@
+ #include "ui/views/view_observer.h"
#include "ui/views/word_lookup_client.h"
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -15,7 +15,7 @@ $NetBSD$
#include <vector>
#endif
-@@ -454,7 +454,7 @@ class VIEWS_EXPORT Textfield : public Vi
+@@ -463,7 +463,7 @@ class VIEWS_EXPORT Textfield : public Vi
// Set whether the text should be used to improve typing suggestions.
void SetShouldDoLearning(bool value) { should_do_learning_ = value; }
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_corewm_tooltip__aura.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_corewm_tooltip__aura.cc
index 15c667c2a0..98323bc69c 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_corewm_tooltip__aura.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_corewm_tooltip__aura.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/views/corewm/tooltip_aura.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/views/corewm/tooltip_aura.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/views/corewm/tooltip_aura.cc
-@@ -38,7 +38,7 @@ namespace {
+@@ -37,7 +37,7 @@ namespace {
bool CanUseTranslucentTooltipWidget() {
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || BUILDFLAG(IS_WIN)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_focus_focus__manager.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_focus_focus__manager.cc
index b43d0d25c8..c1d3398a2c 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_focus_focus__manager.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_focus_focus__manager.cc
@@ -4,20 +4,20 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/views/focus/focus_manager.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/views/focus/focus_manager.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/views/focus/focus_manager.cc
-@@ -577,7 +577,7 @@ bool FocusManager::RedirectAcceleratorTo
+@@ -585,7 +585,7 @@ bool FocusManager::RedirectAcceleratorTo
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
// Processing an accelerator can delete things. Because we
// need these objects afterwards on Linux, save widget_ as weak pointer and
// save the close_on_deactivate property value of widget_delegate in a
-@@ -594,7 +594,7 @@ bool FocusManager::RedirectAcceleratorTo
+@@ -602,7 +602,7 @@ bool FocusManager::RedirectAcceleratorTo
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_style_platform__style.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_style_platform__style.cc
index 85ae8882a9..ac348c057a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_style_platform__style.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_style_platform__style.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/views/style/platform_style.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/views/style/platform_style.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/views/style/platform_style.cc
@@ -17,7 +17,7 @@
#include "ui/views/controls/focusable_border.h"
@@ -24,12 +24,12 @@ $NetBSD$
false;
#else
true;
-@@ -58,7 +58,7 @@ const bool PlatformStyle::kAdjustBubbleI
-
+@@ -59,7 +59,7 @@ const bool PlatformStyle::kAdjustBubbleI
// static
- std::unique_ptr<ScrollBar> PlatformStyle::CreateScrollBar(bool is_horizontal) {
+ std::unique_ptr<ScrollBar> PlatformStyle::CreateScrollBar(
+ ScrollBar::Orientation orientation) {
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- return std::make_unique<OverlayScrollBar>(is_horizontal);
+ return std::make_unique<OverlayScrollBar>(orientation);
#else
- return std::make_unique<ScrollBarViews>(is_horizontal);
+ return std::make_unique<ScrollBarViews>(orientation);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__drag__drop__client__ozone.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__drag__drop__client__ozone.cc
index d95b6585c0..d3bc6e0ad0 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__drag__drop__client__ozone.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__drag__drop__client__ozone.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone.cc
-@@ -195,7 +195,7 @@ DragOperation DesktopDragDropClientOzone
- return drag_operation_;
+@@ -206,7 +206,7 @@ DragOperation DesktopDragDropClientOzone
+ return selected_operation_;
}
-#if BUILDFLAG(IS_LINUX)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_root__view.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_root__view.cc
index 0a34ce8ac9..4bec426f4d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_root__view.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_root__view.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/views/widget/root_view.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/views/widget/root_view.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/views/widget/root_view.cc
-@@ -97,7 +97,7 @@ class AnnounceTextView : public View {
+@@ -109,7 +109,7 @@ class AnnounceTextView : public View {
#if BUILDFLAG(IS_CHROMEOS)
// On ChromeOS, kAlert role can invoke an unnecessary event on reparenting.
- node_data->role = ax::mojom::Role::kStaticText;
+ GetViewAccessibility().SetRole(ax::mojom::Role::kStaticText);
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // TODO(crbug.com/1024898): Use live regions (do not use alerts).
+ // TODO(crbug.com/40658933): Use live regions (do not use alerts).
// May require setting kLiveStatus, kContainerLiveStatus to "polite".
- node_data->role = ax::mojom::Role::kAlert;
+ GetViewAccessibility().SetRole(ax::mojom::Role::kAlert);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_window_custom__frame__view.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_window_custom__frame__view.cc
index 5579b2cf48..795d566ffb 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_window_custom__frame__view.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_window_custom__frame__view.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/views/window/custom_frame_view.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/views/window/custom_frame_view.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/ui/views/window/custom_frame_view.cc
-@@ -266,7 +266,7 @@ int CustomFrameView::CaptionButtonY() co
+@@ -268,7 +268,7 @@ int CustomFrameView::CaptionButtonY() co
// drawn flush with the screen edge, they still obey Fitts' Law.
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_BUILD.gn
index d8d3e62763..cf5b07667e 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_BUILD.gn
@@ -4,25 +4,35 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/v8/BUILD.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/v8/BUILD.gn.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/v8/BUILD.gn
-@@ -1448,6 +1448,15 @@ config("toolchain") {
- } else if (target_os == "chromeos") {
- defines += [ "V8_HAVE_TARGET_OS" ]
- defines += [ "V8_TARGET_OS_CHROMEOS" ]
-+ } else if (target_os == "openbsd") {
-+ defines += [ "V8_HAVE_TARGET_OS" ]
-+ defines += [ "V8_TARGET_OS_OPENBSD" ]
-+ } else if (target_os == "freebsd") {
-+ defines += [ "V8_HAVE_TARGET_OS" ]
-+ defines += [ "V8_TARGET_OS_FREEBSD" ]
-+ } else if (target_os == "netbsd") {
-+ defines += [ "V8_HAVE_TARGET_OS" ]
-+ defines += [ "V8_TARGET_OS_NETBSD" ]
- }
+@@ -908,6 +908,9 @@ external_v8_defines = [
+ "V8_TARGET_OS_MACOS",
+ "V8_TARGET_OS_WIN",
+ "V8_TARGET_OS_CHROMEOS",
++ "V8_TARGET_OS_OPENBSD",
++ "V8_TARGET_OS_FREEBSD",
++ "V8_TARGET_OS_NETBSD",
+ ]
+
+ enabled_external_v8_defines = [
+@@ -984,6 +987,15 @@ if (target_os == "android") {
+ } else if (target_os == "chromeos") {
+ enabled_external_v8_defines += [ "V8_HAVE_TARGET_OS" ]
+ enabled_external_v8_defines += [ "V8_TARGET_OS_CHROMEOS" ]
++} else if (target_os == "openbsd") {
++ enabled_external_v8_defines += [ "V8_HAVE_TARGET_OS" ]
++ enabled_external_v8_defines += [ "V8_TARGET_OS_OPENBSD" ]
++} else if (target_os == "freebsd") {
++ enabled_external_v8_defines += [ "V8_HAVE_TARGET_OS" ]
++ enabled_external_v8_defines += [ "V8_TARGET_OS_FREEBSD" ]
++} else if (target_os == "netbsd") {
++ enabled_external_v8_defines += [ "V8_HAVE_TARGET_OS" ]
++ enabled_external_v8_defines += [ "V8_TARGET_OS_NETBSD" ]
+ }
- # TODO(infra): Support v8_enable_prof on Windows.
-@@ -2339,6 +2348,23 @@ action("generate_bytecode_builtins_list"
+ disabled_external_v8_defines = external_v8_defines - enabled_external_v8_defines
+@@ -2413,6 +2425,23 @@ action("generate_bytecode_builtins_list"
]
}
@@ -46,7 +56,7 @@ $NetBSD$
# Template to generate different V8 snapshots based on different runtime flags.
# Can be invoked with run_mksnapshot(<name>). The target will resolve to
# run_mksnapshot_<name>. If <name> is "default", no file suffixes will be used.
-@@ -2357,7 +2383,11 @@ template("run_mksnapshot") {
+@@ -2431,7 +2460,11 @@ template("run_mksnapshot") {
suffix = "_$name"
}
action("run_mksnapshot_" + name) {
@@ -56,10 +66,10 @@ $NetBSD$
+ } else {
+ deps = [ ":mksnapshot($v8_snapshot_toolchain)" ]
+ }
-
- script = "tools/run.py"
-
-@@ -2414,6 +2444,12 @@ template("run_mksnapshot") {
+ if (v8_verify_deterministic_mksnapshot) {
+ # We archive the snapshot executable when verifying snapshot
+ # determinism to ease debugging.
+@@ -2538,6 +2571,12 @@ template("run_mksnapshot") {
if (!v8_enable_builtins_profiling && v8_enable_builtins_reordering) {
args += [ "--reorder-builtins" ]
}
@@ -71,8 +81,8 @@ $NetBSD$
+ }
}
- # This is needed to distinguish between generating code for the simulator
-@@ -4417,7 +4453,7 @@ v8_header_set("v8_internal_headers") {
+ if (v8_enable_turboshaft_csa) {
+@@ -4648,7 +4687,7 @@ v8_header_set("v8_internal_headers") {
# iOS Xcode simulator builds run on an x64 target. iOS and macOS are both
# based on Darwin and thus POSIX-compliant to a similar degree.
if (is_linux || is_chromeos || is_mac || is_ios ||
@@ -81,7 +91,7 @@ $NetBSD$
sources += [ "src/trap-handler/handler-inside-posix.h" ]
} else if (is_win) {
sources += [ "src/trap-handler/handler-inside-win.h" ]
-@@ -5811,7 +5847,7 @@ v8_source_set("v8_base_without_compiler"
+@@ -6083,7 +6122,7 @@ v8_source_set("v8_base_without_compiler"
# iOS Xcode simulator builds run on an x64 target. iOS and macOS are both
# based on Darwin and thus POSIX-compliant to a similar degree.
if (is_linux || is_chromeos || is_mac || is_ios ||
@@ -90,7 +100,7 @@ $NetBSD$
sources += [
"src/trap-handler/handler-inside-posix.cc",
"src/trap-handler/handler-outside-posix.cc",
-@@ -6423,7 +6459,7 @@ v8_component("v8_libbase") {
+@@ -6704,7 +6743,7 @@ v8_component("v8_libbase") {
}
}
@@ -99,7 +109,7 @@ $NetBSD$
sources += [
"src/base/debug/stack_trace_posix.cc",
"src/base/platform/platform-linux.cc",
-@@ -6434,6 +6470,27 @@ v8_component("v8_libbase") {
+@@ -6715,6 +6754,27 @@ v8_component("v8_libbase") {
"dl",
"rt",
]
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_platform_memory.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_platform_memory.h
index d46ab885aa..32ee95c19a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_platform_memory.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_platform_memory.h
@@ -4,14 +4,21 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/v8/src/base/platform/memory.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/v8/src/base/platform/memory.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/v8/src/base/platform/memory.h
-@@ -23,7 +23,7 @@
+@@ -21,13 +21,13 @@
+ #include <malloc/malloc.h>
+ #elif V8_OS_OPENBSD
+ #include <sys/malloc.h>
+-#elif V8_OS_ZOS
++#elif (V8_OS_ZOS || V8_OS_BSD)
+ #include <stdlib.h>
+ #else
#include <malloc.h>
- #endif // !V8_OS_DARWIN
+ #endif
--#if (V8_OS_POSIX && !V8_OS_AIX && !V8_OS_SOLARIS) || V8_OS_WIN
-+#if (V8_OS_POSIX && !V8_OS_AIX && !V8_OS_SOLARIS && !V8_OS_BSD) || V8_OS_WIN
+-#if (V8_OS_POSIX && !V8_OS_AIX && !V8_OS_SOLARIS && !V8_OS_ZOS && !V8_OS_OPENBSD) || V8_OS_WIN
++#if (V8_OS_POSIX && !V8_OS_AIX && !V8_OS_SOLARIS && !V8_OS_ZOS && !V8_OS_BSD) || V8_OS_WIN
#define V8_HAS_MALLOC_USABLE_SIZE 1
- #endif // (V8_OS_POSIX && !V8_OS_AIX && !V8_OS_SOLARIS) || V8_OS_WIN
+ #endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_platform_platform-openbsd.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_platform_platform-openbsd.cc
index cd3d53a3f3..63d482abc6 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_platform_platform-openbsd.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_platform_platform-openbsd.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/v8/src/base/platform/platform-openbsd.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/v8/src/base/platform/platform-openbsd.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/v8/src/base/platform/platform-openbsd.cc
@@ -6,6 +6,9 @@
// POSIX-compatible parts, the implementation is in platform-posix.cc.
@@ -48,6 +48,6 @@ $NetBSD$
+#endif
+}
+
- std::vector<OS::MemoryRange> OS::GetFreeMemoryRangesWithin(
+ std::optional<OS::MemoryRange> OS::GetFirstFreeMemoryRangeWithin(
OS::Address boundary_start, OS::Address boundary_end, size_t minimum_size,
size_t alignment) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_platform_platform-posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_platform_platform-posix.cc
index d6d0dca62e..baa9ab64a7 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_platform_platform-posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_platform_platform-posix.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/v8/src/base/platform/platform-posix.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/v8/src/base/platform/platform-posix.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/v8/src/base/platform/platform-posix.cc
@@ -27,6 +27,9 @@
defined(__NetBSD__) || defined(__OpenBSD__)
@@ -16,7 +16,7 @@ $NetBSD$
#if defined(ANDROID) && !defined(V8_ANDROID_LOG_STDOUT)
#define LOG_TAG "v8"
-@@ -72,9 +75,11 @@
+@@ -75,9 +78,11 @@
#include <sys/syscall.h>
#endif
@@ -29,7 +29,7 @@ $NetBSD$
#if defined(V8_OS_SOLARIS)
#if (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE > 2) || defined(__EXTENSIONS__)
-@@ -303,6 +308,13 @@ void OS::SetRandomMmapSeed(int64_t seed)
+@@ -314,6 +319,13 @@ void OS::SetRandomMmapSeed(int64_t seed)
}
}
@@ -43,7 +43,7 @@ $NetBSD$
// static
void* OS::GetRandomMmapAddr() {
uintptr_t raw_addr;
-@@ -399,6 +411,7 @@ void* OS::GetRandomMmapAddr() {
+@@ -416,6 +428,7 @@ void* OS::GetRandomMmapAddr() {
#endif
return reinterpret_cast<void*>(raw_addr);
}
@@ -51,16 +51,7 @@ $NetBSD$
// TODO(bbudge) Move Cygwin and Fuchsia stuff into platform-specific files.
#if !V8_OS_CYGWIN && !V8_OS_FUCHSIA
-@@ -672,7 +685,7 @@ void OS::DestroySharedMemoryHandle(Platf
-
- // static
- bool OS::HasLazyCommits() {
--#if V8_OS_AIX || V8_OS_LINUX || V8_OS_DARWIN
-+#if V8_OS_AIX || V8_OS_LINUX || V8_OS_DARWIN || V8_OS_BSD
- return true;
- #else
- // TODO(bbudge) Return true for all POSIX platforms.
-@@ -822,6 +835,8 @@ int OS::GetCurrentThreadId() {
+@@ -859,6 +872,8 @@ int OS::GetCurrentThreadId() {
return static_cast<int>(thread_self());
#elif V8_OS_FUCHSIA
return static_cast<int>(zx_thread_self());
@@ -68,8 +59,8 @@ $NetBSD$
+ return static_cast<int>(_lwp_self());
#elif V8_OS_SOLARIS
return static_cast<int>(pthread_self());
- #else
-@@ -1113,7 +1128,11 @@ Thread::Thread(const Options& options)
+ #elif V8_OS_ZOS
+@@ -1160,7 +1175,11 @@ Thread::Thread(const Options& options)
stack_size_(options.stack_size()),
priority_(options.priority()),
start_semaphore_(nullptr) {
@@ -81,7 +72,7 @@ $NetBSD$
if (stack_size_ > 0) stack_size_ = std::max(stack_size_, min_stack_size);
set_name(options.name());
}
-@@ -1128,7 +1147,7 @@ static void SetThreadName(const char* na
+@@ -1175,7 +1194,7 @@ static void SetThreadName(const char* na
pthread_set_name_np(pthread_self(), name);
#elif V8_OS_NETBSD
static_assert(Thread::kMaxThreadNameLength <= PTHREAD_MAX_NAMELEN_NP);
@@ -90,7 +81,7 @@ $NetBSD$
#elif V8_OS_DARWIN
// pthread_setname_np is only available in 10.6 or later, so test
// for it at runtime.
-@@ -1303,7 +1322,7 @@ void Thread::SetThreadLocal(LocalStorage
+@@ -1350,7 +1369,7 @@ void Thread::SetThreadLocal(LocalStorage
// keep this version in POSIX as most Linux-compatible derivatives will
// support it. MacOS and FreeBSD are different here.
#if !defined(V8_OS_FREEBSD) && !defined(V8_OS_DARWIN) && !defined(_AIX) && \
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_flags_flags.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_flags_flags.cc
index 050c2dca19..9fa4868880 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_flags_flags.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_flags_flags.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/v8/src/flags/flags.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/v8/src/flags/flags.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/v8/src/flags/flags.cc
-@@ -13,6 +13,10 @@
+@@ -16,6 +16,10 @@
#include <set>
#include <sstream>
@@ -15,9 +15,9 @@ $NetBSD$
+#endif
+
#include "src/base/functional.h"
- #include "src/base/logging.h"
+ #include "src/base/lazy-instance.h"
#include "src/base/platform/platform.h"
-@@ -912,6 +916,10 @@ void FlagList::FreezeFlags() {
+@@ -807,6 +811,10 @@ void FlagList::FreezeFlags() {
// Note that for string flags we only protect the pointer itself, but not the
// string storage. TODO(12887): Fix this.
base::OS::SetDataReadOnly(&v8_flags, sizeof(v8_flags));
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.cc
index da81b88822..ab34f8f1c0 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-base.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-base.cc.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-base.cc
-@@ -143,6 +143,8 @@ EmbeddedTargetOs ToEmbeddedTargetOs(cons
+@@ -146,6 +146,8 @@ EmbeddedTargetOs ToEmbeddedTargetOs(cons
return EmbeddedTargetOs::kWin;
} else if (string == "starboard") {
return EmbeddedTargetOs::kStarboard;
+ } else if (string == "openbsd") {
+ return EmbeddedTargetOs::kOpenBSD;
+ } else if (string == "zos") {
+ return EmbeddedTargetOs::kZOS;
} else {
- return EmbeddedTargetOs::kGeneric;
- }
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.h
index 49f0f5b13e..c147347a90 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.h
@@ -4,13 +4,13 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-base.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-base.h.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-base.h
-@@ -31,6 +31,7 @@ enum class EmbeddedTargetOs {
+@@ -35,6 +35,7 @@ enum class EmbeddedTargetOs {
kMac,
kWin,
kStarboard,
+ kOpenBSD,
+ kZOS,
kGeneric, // Everything not covered above falls in here.
};
-
diff --git a/qt6-qtwebengine/patches/patch-src_core_CMakeLists.txt b/qt6-qtwebengine/patches/patch-src_core_CMakeLists.txt
index c6a7798ef1..19da704b79 100644
--- a/qt6-qtwebengine/patches/patch-src_core_CMakeLists.txt
+++ b/qt6-qtwebengine/patches/patch-src_core_CMakeLists.txt
@@ -5,14 +5,14 @@ $NetBSD$
- add sndio
- add audioio
---- src/core/CMakeLists.txt.orig 2025-03-18 19:28:59.000000000 +0000
+--- src/core/CMakeLists.txt.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/core/CMakeLists.txt
@@ -21,7 +21,7 @@ add_subdirectory(tools/qwebengine_conver
# TOOLCHAIN SETUP
##
--if(LINUX)
-+if(UNIX)
+-if(LINUX OR WIN32)
++if(UNIX OR WIN32)
setup_toolchains()
endif()
@@ -20,21 +20,41 @@ $NetBSD$
accessibility_activation_observer.cpp accessibility_activation_observer.h
)
-- extend_gn_target(${buildGn} CONDITION LINUX OR WIN32
-+ extend_gn_target(${buildGn} CONDITION UNIX OR WIN32
- SOURCES
- compositor/content_gpu_client_qt.cpp compositor/content_gpu_client_qt.h
- ozone/gl_context_qt.cpp ozone/gl_context_qt.h
-@@ -213,7 +213,7 @@ foreach(arch ${archs})
- ozone/gl_surface_wgl_qt.cpp ozone/gl_surface_wgl_qt.h
- )
-
- extend_gn_target(${buildGn} CONDITION LINUX
+ extend_gn_target(${buildGn} CONDITION UNIX
SOURCES
ozone/gl_ozone_angle_qt.cpp ozone/gl_ozone_angle_qt.h
- ozone/gl_ozone_egl_qt.cpp ozone/gl_ozone_egl_qt.h
-@@ -436,7 +436,7 @@ foreach(arch ${archs})
+ ozone/ozone_util_qt.cpp ozone/ozone_util_qt.h
+@@ -208,17 +208,17 @@ foreach(arch ${archs})
+ ozone/surface_factory_qt.cpp ozone/surface_factory_qt.h
+ )
+
+- extend_gn_target(${buildGn} CONDITION LINUX AND QT_FEATURE_opengl
++ extend_gn_target(${buildGn} CONDITION UNIX AND QT_FEATURE_opengl
+ SOURCES
+ ozone/gl_helper.cpp ozone/gl_helper.h
+ )
+
+- extend_gn_target(${buildGn} CONDITION LINUX AND QT_FEATURE_opengl AND QT_FEATURE_webengine_ozone_x11 AND QT_FEATURE_xcb_glx_plugin
++ extend_gn_target(${buildGn} CONDITION UNIX AND QT_FEATURE_opengl AND QT_FEATURE_webengine_ozone_x11 AND QT_FEATURE_xcb_glx_plugin
+ SOURCES
+ ozone/glx_helper.cpp ozone/glx_helper.h
+ )
+
+- extend_gn_target(${buildGn} CONDITION LINUX AND QT_FEATURE_opengl AND QT_FEATURE_egl
++ extend_gn_target(${buildGn} CONDITION UNIX AND QT_FEATURE_opengl AND QT_FEATURE_egl
+ SOURCES
+ ozone/egl_helper.cpp ozone/egl_helper.h
+ )
+@@ -319,6 +319,7 @@ foreach(arch ${archs})
+ append_pkg_config_setup(gnArgArg)
+
+ list(APPEND gnArgArg
++ extra_cxxflags="@EXTRA_CXXFLAGS@"
+ qtwebengine_target="${buildDir}/${config}/${arch}:QtWebEngineCore"
+ build_dawn_tests=false
+ build_with_tflite_lib=false
+@@ -438,7 +439,7 @@ foreach(arch ${archs})
CONDITION QT_FEATURE_webenginedriver
)
@@ -43,7 +63,7 @@ $NetBSD$
list(APPEND gnArgArg
angle_enable_gl=true
use_gtk=false # GTK toolkit bindings
-@@ -506,6 +506,14 @@ foreach(arch ${archs})
+@@ -507,6 +508,14 @@ foreach(arch ${archs})
CONDITION QT_FEATURE_webengine_system_pulseaudio
)
extend_gn_list(gnArgArg
diff --git a/qt6-qtwebengine/patches/patch-src_core_api_configure.cmake b/qt6-qtwebengine/patches/patch-src_core_api_configure.cmake
index 0a80b01c2d..2b14056f81 100644
--- a/qt6-qtwebengine/patches/patch-src_core_api_configure.cmake
+++ b/qt6-qtwebengine/patches/patch-src_core_api_configure.cmake
@@ -5,17 +5,17 @@ $NetBSD$
- add sndio
- add audioio
---- src/core/api/configure.cmake.orig 2025-03-18 19:28:59.000000000 +0000
+--- src/core/api/configure.cmake.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/core/api/configure.cmake
@@ -11,6 +11,7 @@ if(NOT QT_CONFIGURE_RUNNING)
pkg_check_modules(ALSA alsa IMPORTED_TARGET)
pkg_check_modules(PULSEAUDIO libpulse>=0.9.10 libpulse-mainloop-glib)
pkg_check_modules(XDAMAGE xdamage)
+ pkg_check_modules(SNDIO sndio)
- pkg_check_modules(POPPLER_CPP poppler-cpp IMPORTED_TARGET)
pkg_check_modules(GBM gbm)
pkg_check_modules(LIBVA libva>=1.14)
-@@ -87,6 +88,16 @@ qt_feature("webengine-printing-and-pdf"
+ if(NOT GIO_FOUND)
+@@ -90,6 +91,16 @@ qt_feature("webengine-printing-and-pdf"
AUTODETECT NOT QT_FEATURE_webengine_embedded_build
CONDITION TARGET Qt::PrintSupport AND QT_FEATURE_printer
)
@@ -32,7 +32,53 @@ $NetBSD$
qt_feature("webengine-pepper-plugins" PRIVATE
LABEL "Pepper Plugins"
PURPOSE "Enables use of Pepper plugins."
-@@ -220,7 +231,13 @@ qt_configure_add_summary_entry(
+@@ -112,7 +123,7 @@ qt_feature("webengine-kerberos" PRIVATE
+ LABEL "Kerberos Authentication"
+ PURPOSE "Enables Kerberos Authentication Support"
+ AUTODETECT WIN32
+- CONDITION NOT LINUX OR GSSAPI_FOUND
++ CONDITION NOT UNIX OR GSSAPI_FOUND
+ )
+ qt_feature("webengine-spellchecker" PUBLIC
+ LABEL "Spellchecker"
+@@ -122,7 +133,7 @@ qt_feature("webengine-native-spellchecke
+ LABEL "Native Spellchecker"
+ PURPOSE "Use the system's native spellchecking engine."
+ AUTODETECT OFF
+- CONDITION QT_FEATURE_webengine_spellchecker AND NOT LINUX
++ CONDITION QT_FEATURE_webengine_spellchecker AND NOT UNIX
+ )
+ qt_feature("webengine-extensions" PUBLIC
+ SECTION "WebEngine"
+@@ -171,7 +182,7 @@ qt_feature("webengine-vaapi" PRIVATE
+ PURPOSE "Enables support for VA-API hardware acceleration"
+ AUTODETECT GBM_FOUND AND LIBVA_FOUND AND QT_FEATURE_vulkan
+ # hardware accelerated encoding requires bundled libvpx
+- CONDITION LINUX AND NOT QT_FEATURE_webengine_system_libvpx
++ CONDITION UNIX AND NOT QT_FEATURE_webengine_system_libvpx
+ )
+ list(LENGTH CMAKE_OSX_ARCHITECTURES osx_arch_count)
+ qt_feature("webenginedriver" PUBLIC
+@@ -196,7 +207,7 @@ qt_configure_add_summary_entry(ARGS "web
+ qt_configure_add_summary_entry(ARGS "webengine-spellchecker")
+ qt_configure_add_summary_entry(
+ ARGS "webengine-native-spellchecker"
+- CONDITION NOT LINUX
++ CONDITION NOT UNIX
+ )
+ qt_configure_add_summary_entry(ARGS "webengine-webrtc")
+ qt_configure_add_summary_entry(ARGS "webengine-webrtc-pipewire")
+@@ -214,15 +225,21 @@ qt_configure_add_summary_entry(
+ )
+ qt_configure_add_summary_entry(
+ ARGS "webengine-vaapi"
+- CONDITION LINUX
++ CONDITION UNIX
+ )
+ qt_configure_add_summary_entry(
+ ARGS "webengine-system-alsa"
+- CONDITION LINUX
++ CONDITION UNIX
)
qt_configure_add_summary_entry(
ARGS "webengine-system-pulseaudio"
@@ -47,3 +93,19 @@ $NetBSD$
)
qt_configure_add_summary_entry(ARGS "webengine-v8-context-snapshot")
qt_configure_add_summary_entry(ARGS "webenginedriver")
+@@ -232,7 +249,7 @@ if(CMAKE_CROSSCOMPILING)
+ qt_configure_add_report_entry(
+ TYPE WARNING
+ MESSAGE "Thumb instruction set is required to build ffmpeg for QtWebEngine."
+- CONDITION LINUX
++ CONDITION UNIX
+ AND NOT QT_FEATURE_webengine_system_ffmpeg
+ AND TEST_architecture_arch MATCHES arm
+ AND NOT armThumb
+@@ -251,5 +268,5 @@ qt_configure_add_report_entry(
+ qt_configure_add_report_entry(
+ TYPE WARNING
+ MESSAGE "System GBM is disabled. The bundled minigbm supports Intel only, you might need to install libgbm to avoid rendering issues."
+- CONDITION LINUX AND NOT QT_FEATURE_webengine_system_gbm
++ CONDITION UNIX AND NOT QT_FEATURE_webengine_system_gbm
+ )
diff --git a/qt6-qtwebengine/patches/patch-src_pdf_CMakeLists.txt b/qt6-qtwebengine/patches/patch-src_pdf_CMakeLists.txt
index 264f929cc9..00242d5bd5 100644
--- a/qt6-qtwebengine/patches/patch-src_pdf_CMakeLists.txt
+++ b/qt6-qtwebengine/patches/patch-src_pdf_CMakeLists.txt
@@ -3,23 +3,31 @@ $NetBSD$
* Based on OpenBSD's qt6-qtwebengine patches, and
pkgsrc's qt5-qtwebengine patches
---- src/pdf/CMakeLists.txt.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/pdf/CMakeLists.txt.orig 2025-05-29 01:27:28.000000000 +0000
+++ src/pdf/CMakeLists.txt
-@@ -70,7 +70,7 @@ add_dependencies(prepare_docs_Pdf genera
+@@ -69,7 +69,7 @@ add_dependencies(prepare_docs_Pdf genera
# TOOLCHAIN SETUP
##
--if(LINUX OR MINGW OR ANDROID)
-+if(UNIX OR MINGW OR ANDROID)
+-if(LINUX OR MINGW OR ANDROID OR WIN32)
++if(UNIX OR MINGW OR ANDROID OR WIN32)
setup_toolchains()
endif()
-@@ -138,7 +138,7 @@ foreach(arch ${archs})
- v8_enable_webassembly=false
- )
+@@ -114,6 +114,7 @@ foreach(arch ${archs})
+ append_pkg_config_setup(gnArgArg)
+
+ list(APPEND gnArgArg
++ extra_cxxflags="@EXTRA_CXXFLAGS@"
+ qtwebengine_target="${buildDir}/${config}/${arch}:QtPdf"
+ qt_libpng_config="${buildDir}/${config}/${arch}:qt_libpng_config"
+ qt_libjpeg_config="${buildDir}/${config}/${arch}:qt_libjpeg_config"
+@@ -143,7 +144,7 @@ foreach(arch ${archs})
+ v8_use_external_startup_data=false
+ )
- if(LINUX OR ANDROID)
+ if(UNIX OR ANDROID)
list(APPEND gnArgArg
+ enable_vr=false
is_cfi=false
- ozone_auto_platforms=false
Home |
Main Index |
Thread Index |
Old Index