pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
qt6-qtwebengine: update to 6.10.1
Module Name: pkgsrc-wip
Committed By: Mark Davies <mark%ecs.vuw.ac.nz@localhost>
Pushed By: markd
Date: Thu Nov 27 20:47:47 2025 +1300
Changeset: d7e266697be1b3d2aad5189c834e001f49fe1711
Modified Files:
qt6-qtwebengine/Makefile
qt6-qtwebengine/PLIST
qt6-qtwebengine/distinfo
qt6-qtwebengine/patches/patch-configure.cmake
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_BUILD.gn
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_page__allocator__constants.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc
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__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_base__paths__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_base__switches.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_compiler__specific.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_debug_debugger__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_dir__reader__linux.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_file__path__watcher__kqueue.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_linux__util.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_memory_madv__free__discardable__memory__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_posix_unix__domain__socket.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_kill.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__handle__freebsd.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__handle__openbsd.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__iterator__freebsd.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__iterator__openbsd.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_syslog__logging.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_test_test__file__util__linux.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_threading_platform__thread__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_trace__event_process__memory__dump.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_tracing_trace__time.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_BUILDCONFIG.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_compiler_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_messaging_launch__context__posix.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_tabs_tabs__api.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_gcm_gcm__profile__service__factory.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_gcm_instance__id_instance__id__profile__service__factory.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_net_profile__network__context__service.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_prefs_browser__prefs.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__configs.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_interstitials_interstitial__ui.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.h
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_browser_ui_webui_signin_profile__picker__handler.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__paths.cc
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_extensions_permissions_chrome__permission__message__rules.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_media_cdm__host__file__path.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_pref__names.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_key__converter__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_autofill_core_common_autofill__prefs.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_commerce_core_commerce__feature__list.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_constrained__window_constrained__window__views.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_event__constants.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_flags__ui_flags__state.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_live__caption_caption__util.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_media__router_common_providers_cast_channel_cast__message__util.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_metrics_metrics__log.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__manager.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__client.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_browser_policy__pref__mapping__test.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__util.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_common_policy__loader__common.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_search__engines_template__url__service.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_security__interstitials_content_utils.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_storage__monitor_BUILD.gn
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_supervised__user_core_common_pref__names.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_sync__device__info_local__device__info__util.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_content_app_BUILD.gn
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_file__system__access_file__path__watcher_file__path__watcher__bsd.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__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_delegated__frame__host.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl.h
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_scheduler_responsiveness_jank__monitor__impl.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__receiver__bindings.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__sandbox__delegate.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_zygote__host_zygote__host__impl__linux.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_child_BUILD.gn
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_renderer_render__thread__impl.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_services.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_utility__main.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_browser_api_networking__private_networking__private__delegate__factory.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_common_api___permission__features.json
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_common_command.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_renderer_bindings_api__binding__util.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_shell__browser__main__parts.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__context__state.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_command__buffer_service_shared__image_shared__image__manager.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_webgpu__decoder__impl.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_config_gpu__control__list.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_config_gpu__finch__features.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_config_gpu__info__collector.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_headless_lib_browser_headless__browser__main__parts__posix.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_capture_video_linux_v4l2__capture__delegate.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_ffmpeg_scripts_robo__lib_config.py
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_buffer__validation.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_gpu__video__encode__accelerator__factory.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_video_video__encode__accelerator__adapter.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter__test.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_mojo_public_tools_bindings_mojom.gni
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_disk__cache_simple_simple__file__tracker.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_pdf_pdfium_pdfium__engine.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_backend_print__backend__cups.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_printing__features.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_linux_services_init__process__reaper.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_mojom_sandbox.mojom
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_sandbox__type.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_switches.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_switches.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_serial_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_time__zone__monitor_time__zone__monitor__linux.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_network__service.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_on__device__model_on__device__model__service.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_common_system__utils__linux.cpp
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_core_css_properties_css__color__function__parser.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_exported_web__view__impl.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_inspector_inspector__memory__agent.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_media_audio_audio__device__factory.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_gpu_image__layer__bridge.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_peerconnection_rtc__video__encoder__factory.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_perfetto_include_perfetto_base_build__config.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_event__fd.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_periodic__task.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_string__utils.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_subprocess__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_thread__task__runner.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_unix__socket.cc
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_importers_ftrace_v4l2__tracker.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_ipc_memfd.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_tools_v8__context__snapshot_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_aura_screen__ozone.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_aura_screen__ozone.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ime_init_input__method__initializer.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__features.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__features.h
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_base_x_x11__shm__image__pool.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_compositor_compositor.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_display_screen.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_display_screen.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_font__render__params.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.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__pixmap__handle.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_native__widget__types.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_gl__switches.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_native__theme_native__theme__features.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.cc
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_test_ui__controls__factory__desktop__aura__ozone.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_widget.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_window_custom__frame__view.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_window_dialog__delegate.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_execution_isolate.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_flags_flags.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_trap-handler_trap-handler.h
qt6-qtwebengine/patches/patch-src_core_CMakeLists.txt
qt6-qtwebengine/patches/patch-src_core_api_configure.cmake
qt6-qtwebengine/patches/patch-src_core_api_qt__cmdline.cmake
qt6-qtwebengine/patches/patch-src_pdf_CMakeLists.txt
Added Files:
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_synchronization_cancelable__event.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_time_time__now__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_linux_libdrm_BUILD.gn
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_services_on__device__translation_sandbox__hook.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_services_on__device__translation_sandbox__hook.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_browser_api_web__request_web__request__resource__type.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_video__effects_video__effects__sandbox__hook__linux.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_video__effects_video__effects__sandbox__hook__linux.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_clock__snapshots.cc
Removed Files:
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_threading_hang__watcher.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_linux_unbundle_libevent.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_ui_webui_internals_user__education_user__education__internals__page__handler__impl.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_browser_autofill__optimization__guide.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_browser_payments__data__manager.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_neterror_resources_neterror.js
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_os__crypt_async_common_encryptor.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_search__engine__choice_search__engine__choice__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_content_browser_utility__process__host.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_browser_service__process__host.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_user__input__monitor__unittest.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_socket_socket__posix.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_video__capture_video__capture__service__impl.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_video__capture_video__capture__service__impl.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_skia_ext_platform__canvas.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_compiler_translator_SymbolTable__ESSL__autogen.cpp
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_formatutils.cpp
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_public_platform_web__vector.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__platform__data.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_core_clock__snapshots.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_mojom_buffer__types__mojom__traits.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_common_features.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__connection.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__input__method__context.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__popup.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__screen.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__screen.h
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__toplevel__window.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__toplevel__window.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_wayland_host_xdg__toplevel__wrapper__impl.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_ozone__platform__wayland.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_qt_qt.gni
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__window__tree__host__platform__impl__interactive__uitest.cc
qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_small-vector.h
Log Message:
qt6-qtwebengine: update to 6.10.1
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d7e266697be1b3d2aad5189c834e001f49fe1711
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
qt6-qtwebengine/Makefile | 20 +-
qt6-qtwebengine/PLIST | 29 +-
qt6-qtwebengine/distinfo | 541 ++++++++++-----------
qt6-qtwebengine/patches/patch-configure.cmake | 80 +--
.../patches/patch-src_3rdparty_chromium_BUILD.gn | 68 ++-
...cator_partition__allocator_partition__alloc.gni | 12 +-
...c_partition__alloc_page__allocator__constants.h | 6 +-
...ion__alloc_page__allocator__internals__posix.cc | 12 +-
...lloc__base_threading_platform__thread__posix.cc | 4 +-
...c_partition__alloc_partition__page__constants.h | 6 +-
...locator_src_partition__alloc_partition__root.cc | 10 +-
...rc_3rdparty_chromium_base_base__paths__posix.cc | 35 +-
...ch-src_3rdparty_chromium_base_base__switches.cc | 6 +-
...src_3rdparty_chromium_base_compiler__specific.h | 20 +-
...3rdparty_chromium_base_debug_debugger__posix.cc | 22 +-
...dparty_chromium_base_files_dir__reader__linux.h | 16 +-
...omium_base_files_file__path__watcher__kqueue.cc | 9 +-
...patch-src_3rdparty_chromium_base_linux__util.cc | 6 +-
...emory_madv__free__discardable__memory__posix.cc | 8 +-
...rty_chromium_base_posix_unix__domain__socket.cc | 18 +-
...patch-src_3rdparty_chromium_base_process_kill.h | 6 +-
...romium_base_process_process__handle__freebsd.cc | 15 +-
...romium_base_process_process__handle__openbsd.cc | 39 +-
...mium_base_process_process__iterator__freebsd.cc | 15 +-
...mium_base_process_process__iterator__openbsd.cc | 16 +-
...dparty_chromium_base_process_process__metrics.h | 46 +-
...omium_base_process_process__metrics__freebsd.cc | 137 +-----
...romium_base_process_process__metrics__netbsd.cc | 124 +++--
...omium_base_process_process__metrics__openbsd.cc | 76 +--
...romium_base_synchronization_cancelable__event.h | 26 +
...h-src_3rdparty_chromium_base_syslog__logging.cc | 8 +-
...y_chromium_base_test_test__file__util__linux.cc | 11 +-
...dparty_chromium_base_threading_hang__watcher.cc | 17 -
...omium_base_threading_platform__thread__posix.cc | 16 +-
...3rdparty_chromium_base_time_time__now__posix.cc | 17 +
...mium_base_trace__event_process__memory__dump.cc | 6 +-
...c_3rdparty_chromium_base_tracing_trace__time.cc | 16 +-
...c_3rdparty_chromium_build_config_BUILDCONFIG.gn | 10 +-
...rdparty_chromium_build_config_compiler_BUILD.gn | 34 +-
...rty_chromium_build_config_linux_libdrm_BUILD.gn | 17 +
...party_chromium_build_linux_unbundle_libevent.gn | 21 -
...h-src_3rdparty_chromium_chrome_browser_BUILD.gn | 24 +-
...rty_chromium_chrome_browser_extensions_BUILD.gn | 20 +-
..._browser__context__keyed__service__factories.cc | 26 -
..._private_enterprise__reporting__private__api.cc | 21 +-
...ensions_api_messaging_launch__context__posix.cc | 12 +-
...s_api_runtime_chrome__runtime__api__delegate.cc | 8 +-
...chrome_browser_extensions_api_tabs_tabs__api.cc | 10 +-
...e_browser_gcm_gcm__profile__service__factory.cc | 8 +-
...__id_instance__id__profile__service__factory.cc | 6 +-
...owser_net_profile__network__context__service.cc | 16 +-
...rowser_net_system__network__context__manager.cc | 43 +-
...chromium_chrome_browser_prefs_browser__prefs.cc | 18 +-
...icate__manager_certificate__manager__handler.cc | 8 +-
...i_certificate__manager_client__cert__sources.cc | 44 +-
...me_browser_ui_webui_chrome__web__ui__configs.cc | 69 ++-
...i_webui_chrome__web__ui__controller__factory.cc | 40 +-
...r__education__internals__page__handler__impl.cc | 35 --
...wser_ui_webui_interstitials_interstitial__ui.cc | 22 +-
...i_webui_management_management__ui__constants.cc | 6 +-
...ui_webui_management_management__ui__constants.h | 6 +-
..._ui_webui_management_management__ui__handler.cc | 23 +-
...r_ui_webui_management_management__ui__handler.h | 8 +-
...tings_settings__localized__strings__provider.cc | 32 +-
...ser_ui_webui_signin_profile__picker__handler.cc | 15 +-
...rdparty_chromium_chrome_common_chrome__paths.cc | 16 +-
...arty_chromium_chrome_common_chrome__switches.cc | 7 +-
...party_chromium_chrome_common_chrome__switches.h | 7 +-
...rmissions_chrome__permission__message__rules.cc | 6 +-
...um_chrome_common_media_cdm__host__file__path.cc | 4 +-
...romium_chrome_common_media_cdm__registration.cc | 41 +-
...c_3rdparty_chromium_chrome_common_pref__names.h | 24 +-
...chromium_chrome_common_webui__url__constants.cc | 19 +-
..._chromium_chrome_common_webui__url__constants.h | 28 +-
...e_test_chromedriver_key__converter__unittest.cc | 12 +-
...l_core_browser_autofill__optimization__guide.cc | 17 -
...utofill_core_browser_payments__data__manager.cc | 17 -
...ill_core_common_autofill__payments__features.cc | 21 +-
...fill_core_common_autofill__payments__features.h | 17 -
...ponents_autofill_core_common_autofill__prefs.cc | 24 +-
...mponents_autofill_core_common_autofill__prefs.h | 22 +-
...onents_commerce_core_commerce__feature__list.cc | 32 +-
...nstrained__window_constrained__window__views.cc | 8 +-
...evice__signals_core_common_signals__features.cc | 10 +-
...device__signals_core_common_signals__features.h | 10 +-
..._feature__engagement_public_event__constants.cc | 4 +-
...eature__engagement_public_feature__constants.cc | 12 +-
...feature__engagement_public_feature__constants.h | 33 +-
...nts_feature__engagement_public_feature__list.cc | 14 +-
...ents_feature__engagement_public_feature__list.h | 28 +-
...y_chromium_components_flags__ui_flags__state.cc | 8 +-
...omium_components_live__caption_caption__util.cc | 16 +-
...n_providers_cast_channel_cast__message__util.cc | 10 +-
...rty_chromium_components_metrics_metrics__log.cc | 16 +-
...omium_components_neterror_resources_neterror.js | 17 -
..._components_os__crypt_async_common_encryptor.cc | 17 -
..._chromium_components_os__crypt_sync_os__crypt.h | 31 +-
...ger_core_browser_features_password__features.cc | 8 +-
...ager_core_browser_features_password__features.h | 8 +-
...word__manager_core_browser_password__manager.cc | 10 +-
...anager_core_browser_password__manager__client.h | 8 +-
...core_browser_stub__password__manager__client.cc | 6 +-
..._core_browser_stub__password__manager__client.h | 6 +-
...icy_core_browser_policy__pref__mapping__test.cc | 6 +-
...policy_core_common_cloud_cloud__policy__util.cc | 31 +-
...ts_policy_core_common_policy__loader__common.cc | 6 +-
...ontent_common_file__type__policies__unittest.cc | 8 +-
...mponents_safe__browsing_core_common_features.cc | 17 -
...gine__choice_search__engine__choice__service.cc | 17 -
...nents_search__engines_template__url__service.cc | 14 +-
...onents_security__interstitials_content_utils.cc | 8 +-
...rvices_on__device__translation_sandbox__hook.cc | 48 ++
...ervices_on__device__translation_sandbox__hook.h | 22 +
...y_chromium_components_storage__monitor_BUILD.gn | 12 +-
..._user_core_browser_supervised__user__service.cc | 17 -
...onents_supervised__user_core_common_features.cc | 38 +-
...ponents_supervised__user_core_common_features.h | 19 +-
...ents_supervised__user_core_common_pref__names.h | 6 +-
...sync__device__info_local__device__info__util.cc | 12 +-
..._display__embedder_software__output__surface.cc | 20 +-
...e_display__embedder_software__output__surface.h | 22 +-
...atch-src_3rdparty_chromium_content_app_BUILD.gn | 23 +-
...mium_content_app_content__main__runner__impl.cc | 22 +-
...-src_3rdparty_chromium_content_browser_BUILD.gn | 10 +-
...file__path__watcher_file__path__watcher__bsd.cc | 9 +-
...hromium_content_browser_gpu_compositor__util.cc | 10 +-
...omium_content_browser_gpu_gpu__process__host.cc | 8 +-
...r_media_media__keys__listener__manager__impl.cc | 8 +-
...rowser_renderer__host_delegated__frame__host.cc | 8 +-
...er_renderer__host_render__process__host__impl.h | 17 +-
...derer__host_render__widget__host__view__aura.cc | 16 +-
...scheduler_responsiveness_jank__monitor__impl.cc | 10 +-
...omium_content_browser_utility__process__host.cc | 50 +-
...romium_content_browser_utility__process__host.h | 26 -
...r_utility__process__host__receiver__bindings.cc | 21 +-
...m_content_browser_utility__sandbox__delegate.cc | 50 +-
...browser_webui_web__ui__main__frame__observer.cc | 47 +-
..._browser_webui_web__ui__main__frame__observer.h | 26 -
...owser_zygote__host_zygote__host__impl__linux.cc | 20 +-
...ch-src_3rdparty_chromium_content_child_BUILD.gn | 6 +-
...h-src_3rdparty_chromium_content_common_BUILD.gn | 6 +-
...rc_3rdparty_chromium_content_common_features.cc | 15 +-
...src_3rdparty_chromium_content_common_features.h | 19 +-
...-src_3rdparty_chromium_content_gpu_gpu__main.cc | 16 +-
...ontent_public_browser_service__process__host.cc | 17 -
...mium_content_public_common_content__features.cc | 16 +-
...mium_content_public_common_content__switches.cc | 14 +-
...omium_content_public_common_content__switches.h | 16 +-
...romium_content_renderer_render__thread__impl.cc | 14 +-
...ent_renderer_renderer__blink__platform__impl.cc | 20 +-
...tent_renderer_renderer__blink__platform__impl.h | 10 +-
...c_3rdparty_chromium_content_utility_services.cc | 76 +--
...link__platform__with__sandbox__support__impl.cc | 16 +-
...blink__platform__with__sandbox__support__impl.h | 10 +-
...party_chromium_content_utility_utility__main.cc | 108 ++--
..._browser__context__keyed__service__factories.cc | 6 +-
...ivate_networking__private__delegate__factory.cc | 23 +-
...pi_web__request_web__request__resource__type.cc | 44 ++
...tensions_common_api___permission__features.json | 14 +-
..._3rdparty_chromium_extensions_common_command.cc | 10 +-
...ensions_renderer_bindings_api__binding__util.cc | 8 +-
...er_api_runtime_shell__runtime__api__delegate.cc | 8 +-
...ns_shell_browser_shell__browser__main__parts.cc | 8 +-
...shell_browser_shell__extensions__api__client.cc | 22 +-
..._shell_browser_shell__extensions__api__client.h | 21 +-
...mmand__buffer_service_shared__context__state.cc | 10 +-
..._image_external__vk__image__backing__factory.cc | 14 +-
...service_shared__image_shared__image__manager.cc | 10 +-
...ommand__buffer_service_webgpu__decoder__impl.cc | 22 +-
...party_chromium_gpu_config_gpu__control__list.cc | 13 +-
...rty_chromium_gpu_config_gpu__finch__features.cc | 13 +-
...rty_chromium_gpu_config_gpu__info__collector.cc | 12 +-
...rowser_headless__browser__main__parts__posix.cc | 19 +-
...3rdparty_chromium_media_base_media__switches.cc | 45 +-
..._3rdparty_chromium_media_base_media__switches.h | 20 +-
...um_media_base_user__input__monitor__unittest.cc | 35 --
...rc_3rdparty_chromium_media_base_video__frame.cc | 14 +-
...src_3rdparty_chromium_media_base_video__frame.h | 24 +-
..._capture_video_linux_v4l2__capture__delegate.cc | 40 +-
...a_capture_video_linux_v4l2__capture__delegate.h | 18 +-
...romium_media_ffmpeg_scripts_robo__lib_config.py | 12 +-
...dparty_chromium_media_gpu_buffer__validation.cc | 33 +-
...gpu_gpu__video__encode__accelerator__factory.cc | 17 +-
...ideo_gpu__memory__buffer__video__frame__pool.cc | 26 +-
...ia_video_video__encode__accelerator__adapter.cc | 21 +-
...eo_video__encode__accelerator__adapter__test.cc | 33 +-
...y_chromium_mojo_public_tools_bindings_mojom.gni | 10 +-
...net_disk__cache_simple_simple__file__tracker.cc | 6 +-
...c_3rdparty_chromium_net_socket_socket__posix.cc | 17 -
..._3rdparty_chromium_pdf_pdfium_pdfium__engine.cc | 10 +-
...romium_printing_backend_print__backend__cups.cc | 10 +-
...rdparty_chromium_printing_printing__features.cc | 13 +-
...sandbox_linux_services_init__process__reaper.cc | 10 +-
...rc_3rdparty_chromium_sandbox_policy_features.cc | 10 +-
...src_3rdparty_chromium_sandbox_policy_features.h | 6 +-
...rty_chromium_sandbox_policy_mojom_sandbox.mojom | 19 +-
...dparty_chromium_sandbox_policy_sandbox__type.cc | 159 ++++--
...rc_3rdparty_chromium_sandbox_policy_switches.cc | 17 +-
...src_3rdparty_chromium_sandbox_policy_switches.h | 17 +-
...dparty_chromium_services_device_serial_BUILD.gn | 6 +-
...me__zone__monitor_time__zone__monitor__linux.cc | 12 +-
...y_chromium_services_network_network__service.cc | 21 +-
..._on__device__model_on__device__model__service.h | 8 +-
..._instrumentation_queued__request__dispatcher.cc | 14 +-
...ublic_cpp_memory__instrumentation_os__metrics.h | 14 +-
...video__capture_video__capture__service__impl.cc | 44 --
..._video__capture_video__capture__service__impl.h | 35 --
...effects_video__effects__sandbox__hook__linux.cc | 33 ++
..._effects_video__effects__sandbox__hook__linux.h | 22 +
...c_3rdparty_chromium_skia_ext_platform__canvas.h | 17 -
...l-cpp_absl_debugging_internal_elf__mem__image.h | 9 +-
...party_angle_src_common_system__utils__linux.cpp | 12 +-
...piler_translator_SymbolTable__ESSL__autogen.cpp | 15 -
...ium_third__party_angle_src_libANGLE_Display.cpp | 20 +-
...third__party_angle_src_libANGLE_formatutils.cpp | 17 -
...hird__party_blink_public_platform_web__vector.h | 17 -
..._css_properties_css__color__function__parser.cc | 32 +-
...blink_renderer_core_exported_web__view__impl.cc | 24 +-
...erer_core_inspector_inspector__memory__agent.cc | 4 +-
..._renderer_core_scroll_scrollbar__theme__aura.cc | 22 +-
...r_modules_media_audio_audio__device__factory.cc | 10 +-
...renderer_platform_fonts_font__platform__data.cc | 26 -
...nderer_platform_fonts_skia_font__cache__skia.cc | 4 +-
...r_platform_graphics_gpu_image__layer__bridge.cc | 8 +-
..._peerconnection_rtc__video__encoder__factory.cc | 14 +-
...derer_platform_runtime__enabled__features.json5 | 52 +-
..._perfetto_include_perfetto_base_build__config.h | 40 +-
...rd__party_perfetto_src_base_clock__snapshots.cc | 16 +
...ium_third__party_perfetto_src_base_event__fd.cc | 14 +-
...hird__party_perfetto_src_base_periodic__task.cc | 10 +-
...third__party_perfetto_src_base_string__utils.cc | 4 +-
...d__party_perfetto_src_base_subprocess__posix.cc | 10 +-
...party_perfetto_src_base_thread__task__runner.cc | 6 +-
..._third__party_perfetto_src_base_unix__socket.cc | 16 +-
...hromium_third__party_perfetto_src_base_utils.cc | 16 +-
...ce__processor_importers_ftrace_v4l2__tracker.cc | 14 +-
...y_perfetto_src_tracing_core_clock__snapshots.cc | 14 -
..._third__party_perfetto_src_tracing_ipc_memfd.cc | 8 +-
...y_chromium_tools_v8__context__snapshot_BUILD.gn | 26 +-
...-src_3rdparty_chromium_ui_aura_screen__ozone.cc | 6 +-
...h-src_3rdparty_chromium_ui_aura_screen__ozone.h | 16 +-
..._ui_base_ime_init_input__method__initializer.cc | 20 +-
...3rdparty_chromium_ui_base_ui__base__features.cc | 16 +-
..._3rdparty_chromium_ui_base_ui__base__features.h | 6 +-
...3rdparty_chromium_ui_base_ui__base__switches.cc | 6 +-
..._3rdparty_chromium_ui_base_ui__base__switches.h | 6 +-
...rdparty_chromium_ui_base_webui_web__ui__util.cc | 14 +-
...rty_chromium_ui_base_x_x11__shm__image__pool.cc | 18 +-
...c_3rdparty_chromium_ui_compositor_compositor.cc | 8 +-
...atch-src_3rdparty_chromium_ui_display_screen.cc | 6 +-
...patch-src_3rdparty_chromium_ui_display_screen.h | 14 +-
...3rdparty_chromium_ui_gfx_font__render__params.h | 16 +-
...3rdparty_chromium_ui_gfx_gpu__memory__buffer.cc | 8 +-
..._3rdparty_chromium_ui_gfx_gpu__memory__buffer.h | 10 +-
...um_ui_gfx_mojom_buffer__types__mojom__traits.cc | 26 -
...x_mojom_native__handle__types__mojom__traits.cc | 37 +-
...fx_mojom_native__handle__types__mojom__traits.h | 25 +-
...dparty_chromium_ui_gfx_native__pixmap__handle.h | 10 +-
...rdparty_chromium_ui_gfx_native__widget__types.h | 22 +-
...tch-src_3rdparty_chromium_ui_gl_gl__switches.cc | 32 +-
...i_message__center_views_message__popup__view.cc | 12 +-
...party_chromium_ui_native__theme_native__theme.h | 12 +-
...hromium_ui_native__theme_native__theme__base.cc | 12 +-
...ium_ui_native__theme_native__theme__features.cc | 20 +-
...c_3rdparty_chromium_ui_ozone_common_features.cc | 17 -
..._ozone_platform_wayland_common_wayland__util.cc | 26 -
...form_wayland_emulate_wayland__input__emulate.cc | 17 -
...tform_wayland_emulate_wayland__input__emulate.h | 17 -
...ne_platform_wayland_host_wayland__connection.cc | 17 -
...wayland_host_wayland__input__method__context.cc | 17 -
...i_ozone_platform_wayland_host_wayland__popup.cc | 17 -
..._ozone_platform_wayland_host_wayland__screen.cc | 35 --
...i_ozone_platform_wayland_host_wayland__screen.h | 44 --
...tform_wayland_host_wayland__toplevel__window.cc | 17 -
...atform_wayland_host_wayland__toplevel__window.h | 17 -
..._ozone_platform_wayland_host_wayland__window.cc | 50 --
...i_ozone_platform_wayland_host_wayland__window.h | 44 --
...rm_wayland_host_xdg__toplevel__wrapper__impl.cc | 17 -
...ne_platform_wayland_ozone__platform__wayland.cc | 51 --
.../patch-src_3rdparty_chromium_ui_qt_qt.gni | 17 -
...romium_ui_views_controls_textfield_textfield.cc | 21 +-
...party_chromium_ui_views_corewm_tooltip__aura.cc | 13 +-
...party_chromium_ui_views_focus_focus__manager.cc | 22 +-
...arty_chromium_ui_views_style_platform__style.cc | 15 +-
..._ui__controls__factory__desktop__aura__ozone.cc | 6 +-
...e__host__platform__impl__interactive__uitest.cc | 17 -
...src_3rdparty_chromium_ui_views_widget_widget.cc | 12 +-
...chromium_ui_views_window_custom__frame__view.cc | 12 +-
...ty_chromium_ui_views_window_dialog__delegate.cc | 8 +-
...rc_3rdparty_chromium_v8_src_base_small-vector.h | 17 -
...c_3rdparty_chromium_v8_src_execution_isolate.cc | 10 +-
...tch-src_3rdparty_chromium_v8_src_flags_flags.cc | 6 +-
...rty_chromium_v8_src_trap-handler_trap-handler.h | 6 +-
.../patches/patch-src_core_CMakeLists.txt | 15 +-
.../patches/patch-src_core_api_configure.cmake | 22 +-
.../patches/patch-src_core_api_qt__cmdline.cmake | 4 +-
.../patches/patch-src_pdf_CMakeLists.txt | 8 +-
297 files changed, 2818 insertions(+), 3617 deletions(-)
diffs:
diff --git a/qt6-qtwebengine/Makefile b/qt6-qtwebengine/Makefile
index ed3e5e5c76..143973f2a6 100644
--- a/qt6-qtwebengine/Makefile
+++ b/qt6-qtwebengine/Makefile
@@ -52,6 +52,7 @@ CMAKE_CONFIGURE_ARGS+= -DQT_FEATURE_webengine_system_icu=ON
CMAKE_CONFIGURE_ARGS+= -DQT_FEATURE_webengine_system_lcms2=ON
CMAKE_CONFIGURE_ARGS+= -DQT_FEATURE_webengine_system_libevent=ON
CMAKE_CONFIGURE_ARGS+= -DQT_FEATURE_webengine_system_libvpx=ON
+CMAKE_CONFIGURE_ARGS+= -DQT_FEATURE_webengine_system_opus=ON
CMAKE_CONFIGURE_ARGS+= -DQT_FEATURE_webengine_system_minizip=ON
CMAKE_CONFIGURE_ARGS+= -DQT_FEATURE_webengine_system_zlib=ON
# As pkgsrc abseil is built with FORCE_CXX_STD=c++14 it is incompatible
@@ -89,7 +90,7 @@ SUBST_FILES.path+= src/3rdparty/chromium/sandbox/policy/openbsd/sandbox_openbsd.
SUBST_FILES.path+= src/3rdparty/chromium/services/device/hid/hid_service_freebsd.cc
SUBST_FILES.path+= src/3rdparty/chromium/services/device/time_zone_monitor/time_zone_monitor_linux.cc
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/ui/qt/qt.gni
SUBST_FILES.path+= src/3rdparty/chromium/v8/tools/run-paxctl.py
SUBST_FILES.path+= src/core/CMakeLists.txt
SUBST_FILES.path+= src/pdf/CMakeLists.txt
@@ -100,14 +101,14 @@ NOT_PAX_MPROTECT_SAFE+= qt6/libexec/QtWebEngineProcess
# These libraries are used from the system and the build infrastructure
# removes them from the bundled third_party directory and replaces them
# with hooks to use them from the system.
-GN_SYSTEM_LIBS= libevent
-GN_SYSTEM_LIBS+= opus
-CHROMESRC= ${WRKSRC}/src/3rdparty/chromium
+#GN_SYSTEM_LIBS= libevent
+#GN_SYSTEM_LIBS+= opus
+#CHROMESRC= ${WRKSRC}/src/3rdparty/chromium
-pre-configure:
- cd ${CHROMESRC} && \
- ${SETENV} ${MAKE_ENV} ${PYTHONBIN} ./build/linux/unbundle/replace_gn_files.py \
- --system-libraries ${GN_SYSTEM_LIBS} || ${FALSE}
+#pre-configure:
+# cd ${CHROMESRC} && \
+# ${SETENV} ${MAKE_ENV} ${PYTHONBIN} ./build/linux/unbundle/replace_gn_files.py \
+# --system-libraries ${GN_SYSTEM_LIBS} || ${FALSE}
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ninja -j ${_MAKE_JOBS_N:U1} ${BUILD_TARGET}
@@ -144,7 +145,7 @@ PYTHON_FOR_BUILD_ONLY= tool
.include "../../lang/python/tool.mk"
.include "../../multimedia/ffmpeg7/buildlink3.mk"
.include "../../multimedia/libvpx/buildlink3.mk"
-#.include "../../multimedia/openh264/buildlink3.mk"
+.include "../../multimedia/openh264/buildlink3.mk"
.include "../../sysutils/pciutils/buildlink3.mk"
.include "../../sysutils/pciutils/libname.mk"
# Use -lpciutils instead of -lpci for pkgsrc.
@@ -155,6 +156,7 @@ BUILDLINK_TRANSFORM+= l:pci:${PCIUTILS_LIBNAME}
#.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.if ${OPSYS} != "Darwin"
+.include "../../x11/libdrm/buildlink3.mk"
.include "../../x11/libXcomposite/buildlink3.mk"
.include "../../x11/libXtst/buildlink3.mk"
.include "../../x11/libxkbfile/buildlink3.mk"
diff --git a/qt6-qtwebengine/PLIST b/qt6-qtwebengine/PLIST
index fba7327e75..69f5b64fb9 100644
--- a/qt6-qtwebengine/PLIST
+++ b/qt6-qtwebengine/PLIST
@@ -68,6 +68,7 @@ qt6/include/QtWebEngineCore/${PKGVERSION}/QtWebEngineCore/private/qwebenginecont
qt6/include/QtWebEngineCore/${PKGVERSION}/QtWebEngineCore/private/qwebenginecookiestore_p.h
qt6/include/QtWebEngineCore/${PKGVERSION}/QtWebEngineCore/private/qwebenginedesktopmediarequest_p.h
qt6/include/QtWebEngineCore/${PKGVERSION}/QtWebEngineCore/private/qwebenginedownloadrequest_p.h
+qt6/include/QtWebEngineCore/${PKGVERSION}/QtWebEngineCore/private/qwebengineextensioninfo_p.h
qt6/include/QtWebEngineCore/${PKGVERSION}/QtWebEngineCore/private/qwebengineglobalsettings_p.h
qt6/include/QtWebEngineCore/${PKGVERSION}/QtWebEngineCore/private/qwebenginehistory_p.h
qt6/include/QtWebEngineCore/${PKGVERSION}/QtWebEngineCore/private/qwebenginemessagepumpscheduler_p.h
@@ -87,6 +88,8 @@ qt6/include/QtWebEngineCore/QWebEngineContextMenuRequest
qt6/include/QtWebEngineCore/QWebEngineCookieStore
qt6/include/QtWebEngineCore/QWebEngineDesktopMediaRequest
qt6/include/QtWebEngineCore/QWebEngineDownloadRequest
+qt6/include/QtWebEngineCore/QWebEngineExtensionInfo
+qt6/include/QtWebEngineCore/QWebEngineExtensionManager
qt6/include/QtWebEngineCore/QWebEngineFileSystemAccessRequest
qt6/include/QtWebEngineCore/QWebEngineFindTextResult
qt6/include/QtWebEngineCore/QWebEngineFrame
@@ -130,6 +133,8 @@ qt6/include/QtWebEngineCore/qwebenginecontextmenurequest.h
qt6/include/QtWebEngineCore/qwebenginecookiestore.h
qt6/include/QtWebEngineCore/qwebenginedesktopmediarequest.h
qt6/include/QtWebEngineCore/qwebenginedownloadrequest.h
+qt6/include/QtWebEngineCore/qwebengineextensioninfo.h
+qt6/include/QtWebEngineCore/qwebengineextensionmanager.h
qt6/include/QtWebEngineCore/qwebenginefilesystemaccessrequest.h
qt6/include/QtWebEngineCore/qwebenginefindtextresult.h
qt6/include/QtWebEngineCore/qwebengineframe.h
@@ -163,6 +168,7 @@ qt6/include/QtWebEngineQuick/${PKGVERSION}/QtWebEngineQuick/private/qquickwebeng
qt6/include/QtWebEngineQuick/${PKGVERSION}/QtWebEngineQuick/private/qquickwebenginedialogrequests_p.h
qt6/include/QtWebEngineQuick/${PKGVERSION}/QtWebEngineQuick/private/qquickwebenginefaviconprovider_p_p.h
qt6/include/QtWebEngineQuick/${PKGVERSION}/QtWebEngineQuick/private/qquickwebengineforeigntypes_p.h
+qt6/include/QtWebEngineQuick/${PKGVERSION}/QtWebEngineQuick/private/qquickwebengineframe_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
@@ -335,14 +341,6 @@ 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
@@ -406,13 +404,13 @@ qt6/lib/pkgconfig/Qt6WebEngineWidgets.pc
qt6/libexec/QtWebEngineProcess
qt6/libexec/qwebengine_convert_dict
qt6/libexec/webenginedriver
-qt6/metatypes/qt6pdf_release_metatypes.json
-qt6/metatypes/qt6pdfquick_release_metatypes.json
-qt6/metatypes/qt6pdfwidgets_release_metatypes.json
-qt6/metatypes/qt6webenginecore_release_metatypes.json
-qt6/metatypes/qt6webenginequick_release_metatypes.json
-qt6/metatypes/qt6webenginequickdelegatesqml_release_metatypes.json
-qt6/metatypes/qt6webenginewidgets_release_metatypes.json
+qt6/metatypes/qt6pdf_metatypes.json
+qt6/metatypes/qt6pdfquick_metatypes.json
+qt6/metatypes/qt6pdfwidgets_metatypes.json
+qt6/metatypes/qt6webenginecore_metatypes.json
+qt6/metatypes/qt6webenginequick_metatypes.json
+qt6/metatypes/qt6webenginequickdelegatesqml_metatypes.json
+qt6/metatypes/qt6webenginewidgets_metatypes.json
qt6/mkspecs/modules/qt_lib_pdf.pri
qt6/mkspecs/modules/qt_lib_pdf_private.pri
qt6/mkspecs/modules/qt_lib_pdfquick.pri
@@ -424,7 +422,6 @@ qt6/mkspecs/modules/qt_lib_webenginecore_private.pri
qt6/mkspecs/modules/qt_lib_webenginequick.pri
qt6/mkspecs/modules/qt_lib_webenginequick_private.pri
qt6/mkspecs/modules/qt_lib_webenginequickdelegatesqml.pri
-qt6/mkspecs/modules/qt_lib_webenginequickdelegatesqml_private.pri
qt6/mkspecs/modules/qt_lib_webenginewidgets.pri
qt6/mkspecs/modules/qt_lib_webenginewidgets_private.pri
qt6/modules/Pdf.json
diff --git a/qt6-qtwebengine/distinfo b/qt6-qtwebengine/distinfo
index 4b9a9009a4..b84f5abd23 100644
--- a/qt6-qtwebengine/distinfo
+++ b/qt6-qtwebengine/distinfo
@@ -3,52 +3,52 @@ $NetBSD$
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
-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
+BLAKE2s (qtwebengine-everywhere-src-6.10.1.tar.xz) = 7a3876e14a2ced4f12262f681a31e559551cd04551ed17742a49daa0500b1182
+SHA512 (qtwebengine-everywhere-src-6.10.1.tar.xz) = 88da4037c1c177283fc6b8d3fbb02df00c3b87b1c47c0bd86a5416518add27877e5030679b61361556e34e6bf53a38299ccac77b8c3942fa57f8c17c38ee6074
+Size (qtwebengine-everywhere-src-6.10.1.tar.xz) = 881148292 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-configure.cmake) = 7660164b3e2188d1e0ec350fef889ddf005fdf17
+SHA1 (patch-src_3rdparty_chromium_BUILD.gn) = 1861d3e5ab9f5299a1ffa7a73afde5d9991fe498
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_partition__alloc.gni) = f11d3fb8835efd4270e5a8107faf7c7f34e10095
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.cc) = cd09a41b13cdc5f988b3bbc8b8a547f5fb6a8473
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h) = ef8509bd8333d6fefa5f828e961365ae4e15bed2
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc) = 0b9f3a62a2ff7991bebbce1051756bf7bd6f4569
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__base_threading_platform__thread__posix.cc) = 87a0d0fc8f27f9f80395011b10b6db3f24e34c5e
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) = 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_partition__page__constants.h) = 3a64db306dde7e1cc3a5e733e409376aaf16050c
+SHA1 (patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__root.cc) = 810b07a1321dc3320aa7e7c4b7045b06c4bde6e2
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_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) = 34372d8a070bac8dfaa978b744f40a6e926e4784
-SHA1 (patch-src_3rdparty_chromium_base_base__switches.cc) = fe2da03a7c16e0f1827f0dfe52ce22233702fc3d
+SHA1 (patch-src_3rdparty_chromium_base_base__paths__posix.cc) = a173231f83c6117471facebfea1fa0dc191a1029
+SHA1 (patch-src_3rdparty_chromium_base_base__switches.cc) = e599a69a73fcedfe6c08b69cd92d05e5acbeb072
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_compiler__specific.h) = 9fa986f76280bea1049ea3cdcb520a2483764a7d
+SHA1 (patch-src_3rdparty_chromium_base_debug_debugger__posix.cc) = 19a5b2c0c8ee859225e8382011ff3aeff06f8720
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) = 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__linux.h) = 4592942bf6d09261fed1058a3bf830e5f46a71c1
SHA1 (patch-src_3rdparty_chromium_base_files_dir__reader__posix.h) = a8e8b9e461287b8a8510d00c85ce5afa4a442d98
SHA1 (patch-src_3rdparty_chromium_base_files_file__path__watcher.h) = fe1ad055820067c11f348e827fd99d951d39b909
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.cc) = 22cffc3a23755ff9597042934e121ac86dd8ceb4
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) = a9b861b31675127e4f8ac434c628f107e8ddcf86
SHA1 (patch-src_3rdparty_chromium_base_files_file__util__posix.cc) = 8064f297889c8c459e59dd8c44c374508e0121f7
@@ -57,11 +57,11 @@ SHA1 (patch-src_3rdparty_chromium_base_files_important__file__writer__cleaner.cc
SHA1 (patch-src_3rdparty_chromium_base_files_scoped__file.cc) = f8502c8f6696a82272821c4b593346b6e8925931
SHA1 (patch-src_3rdparty_chromium_base_functional_unretained__traits.h) = 649ae9e786f9f0941f67b0dd0cb17b6ef0190c9b
SHA1 (patch-src_3rdparty_chromium_base_i18n_icu__util.cc) = 65ad791bcccf40fe14f6c4089ccf31e304cc6d91
-SHA1 (patch-src_3rdparty_chromium_base_linux__util.cc) = 360afb20e93390549625b5b640ba091946a0e820
+SHA1 (patch-src_3rdparty_chromium_base_linux__util.cc) = 7258d9781ccd44543bbb239fdb162fdc0c95c0c0
SHA1 (patch-src_3rdparty_chromium_base_logging__unittest.cc) = ec1e4e21e4b80ec9b515d1e3e9639bd44609e473
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_madv__free__discardable__memory__posix.cc) = 7a9727d9becb04558f41b5bc5b2977dfe82ffb65
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_memory_protected__memory.h) = 4563f23456536a6e7b1cc336fb1d9d1e5b065927
@@ -74,28 +74,28 @@ SHA1 (patch-src_3rdparty_chromium_base_native__library__unittest.cc) = 4288a70ed
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) = b0692310489a891682e06e52149564dcacaf6cd8
-SHA1 (patch-src_3rdparty_chromium_base_posix_unix__domain__socket.cc) = cbc4c15896351641ee30bb31ee376479c9ab4587
+SHA1 (patch-src_3rdparty_chromium_base_posix_unix__domain__socket.cc) = 0775e317a4c6735acffc6c71b9f0576cb72ee478
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.h) = 2c9a6f6b01f11a9fed790519d0945bcd5b6aeef4
SHA1 (patch-src_3rdparty_chromium_base_process_kill__posix.cc) = 474b2def0f29bf37ff0ef92be567ae6c18610312
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) = 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
+SHA1 (patch-src_3rdparty_chromium_base_process_process__handle__freebsd.cc) = 35f5a6e1aeafe83eb343ac6410b5ae476fca187b
SHA1 (patch-src_3rdparty_chromium_base_process_process__handle__netbsd.cc) = cbe060aab6be2f418874fec2eab13718bd182ee5
-SHA1 (patch-src_3rdparty_chromium_base_process_process__handle__openbsd.cc) = b9bac0dd1137005491c27b0a14a39c7934e90b0d
+SHA1 (patch-src_3rdparty_chromium_base_process_process__handle__openbsd.cc) = d03b26f770effcae4ff6d470dfdfa605944020fd
SHA1 (patch-src_3rdparty_chromium_base_process_process__iterator.h) = a3491d58b611213335141834377cd987bcfb6268
-SHA1 (patch-src_3rdparty_chromium_base_process_process__iterator__freebsd.cc) = fa2b9fdc9a0a6e000d5f445641dfbe37c4dee753
+SHA1 (patch-src_3rdparty_chromium_base_process_process__iterator__freebsd.cc) = ddddcc4bc43c810daf506eac973498ce72c42c15
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__iterator__openbsd.cc) = cba2d3ae90f3a41daa0fd722459daf5736b76213
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.h) = ef63eba0fb806236c64302fccb2d11a18a2d08fa
+SHA1 (patch-src_3rdparty_chromium_base_process_process__metrics__freebsd.cc) = 24a3726a7d168de9986f3f00e86f1ebc6a793cba
+SHA1 (patch-src_3rdparty_chromium_base_process_process__metrics__netbsd.cc) = dea64848fdef1e504465e6950dd3030fa3373873
+SHA1 (patch-src_3rdparty_chromium_base_process_process__metrics__openbsd.cc) = 49f8ee7632a30fb2240e6817f0a4c32f3c1d27f0
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) = 594804aa0c999db99acc55361976632c2546a069
@@ -110,8 +110,9 @@ SHA1 (patch-src_3rdparty_chromium_base_profiler_thread__delegate__posix.cc) = 7c
SHA1 (patch-src_3rdparty_chromium_base_rand__util.h) = 2a65a2cbc0f2739f6e11c2625ee5efdb51dcb9fc
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_cancelable__event.h) = 0b64fd785eb33425a4ccd483aaf21e47e7f8bf43
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_syslog__logging.cc) = 2bd9c50faa83947978fe2a750c931a8469f6c8e5
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) = c0b4f586936841a7b450affa68bc9721ccefb8b4
@@ -120,25 +121,26 @@ SHA1 (patch-src_3rdparty_chromium_base_system_sys__info__openbsd.cc) = 4e910d395
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
-SHA1 (patch-src_3rdparty_chromium_base_test_test__file__util__linux.cc) = e2776024cbdcf7f0674ef9399ccd4630170b9421
+SHA1 (patch-src_3rdparty_chromium_base_test_test__file__util__linux.cc) = 0d1cdcaeb4676dd2adef4189e461ff5766424bbf
SHA1 (patch-src_3rdparty_chromium_base_test_test__file__util__posix.cc) = 5fcd8bb5f801ff0c5e4a4509d7b2d01b63676fdb
-SHA1 (patch-src_3rdparty_chromium_base_threading_hang__watcher.cc) = 64defdd7167601980ca17ee96a7a310fb6dae282
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) = b8aaf749ac136f17677252be4f3325c93661f2b0
+SHA1 (patch-src_3rdparty_chromium_base_threading_platform__thread__posix.cc) = 24e873a282e9e114f2eacfd643d405d4ee33da94
SHA1 (patch-src_3rdparty_chromium_base_threading_platform__thread__unittest.cc) = 0f7496d1a3ff5982fa202ee0f4e5ecdcfed22b2b
+SHA1 (patch-src_3rdparty_chromium_base_time_time__now__posix.cc) = 7d2cca09f858bf4bb45376b1a082e9db413c57e1
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) = a043969ce94d20e0ab7025a754dfc853aedbd347
-SHA1 (patch-src_3rdparty_chromium_base_tracing_trace__time.cc) = 746d6234c99eb5898e455c2a12bae4113dd8f451
+SHA1 (patch-src_3rdparty_chromium_base_trace__event_process__memory__dump.cc) = 992f4998632e76fe7b8b06cec3bd66523a4f7caf
+SHA1 (patch-src_3rdparty_chromium_base_tracing_trace__time.cc) = 8380757b1c2c128669f57b3768244b2082426d3a
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_BUILDCONFIG.gn) = 5f5ba2c051ed46979b94cf31154c77906be1bf86
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_compiler_BUILD.gn) = 516348141efbe51a96ed76601cd6c49836b3d758
SHA1 (patch-src_3rdparty_chromium_build_config_linux_BUILD.gn) = 588ad35ecaf9895e8107c7cb2e2468aa0a5304b8
+SHA1 (patch-src_3rdparty_chromium_build_config_linux_libdrm_BUILD.gn) = b459e681ba81f2e5464080e3426d9a0cd8be838e
SHA1 (patch-src_3rdparty_chromium_build_config_linux_pkg-config.py) = 22d7fd4c016287f4459b6d4d750e1431787dd149
SHA1 (patch-src_3rdparty_chromium_build_config_ozone.gni) = 10d5c393f57bcce6d63add2bf7c8c62d4c2477fd
SHA1 (patch-src_3rdparty_chromium_build_config_rust.gni) = 27eba915f882185fc2bc0556b7148a97060897e5
@@ -148,7 +150,6 @@ SHA1 (patch-src_3rdparty_chromium_build_gn__run__binary.py) = 5801cb8e42c62c623c
SHA1 (patch-src_3rdparty_chromium_build_linux_chrome.map) = 7c27a1ae3f541be14b950a240d56559b3977abc7
SHA1 (patch-src_3rdparty_chromium_build_linux_strip__binary.py) = 0e315841e92b60372cef7e2ae03ca3d4672ce92d
SHA1 (patch-src_3rdparty_chromium_build_linux_unbundle_icu.gn) = 766692cd06d41b8170330efb573f6dc16d450ad9
-SHA1 (patch-src_3rdparty_chromium_build_linux_unbundle_libevent.gn) = b037a98ba66c98750d90167b27c22dd5b0ca4fad
SHA1 (patch-src_3rdparty_chromium_build_linux_unbundle_libusb.gn) = 46e95e837c0e956805d3e85b7f91034565a4e88d
SHA1 (patch-src_3rdparty_chromium_build_rust_rust__bindgen.gni) = 67a2d7b0aa0a6cc7d4cfceab45a18840b8efcc62
SHA1 (patch-src_3rdparty_chromium_build_rust_std_BUILD.gn) = 50180fecf48372cf21973a6f444b489ea061a712
@@ -159,27 +160,26 @@ SHA1 (patch-src_3rdparty_chromium_build_toolchain_netbsd_BUILD.gn) = 8ac3f0aa571
SHA1 (patch-src_3rdparty_chromium_build_toolchain_openbsd_BUILD.gn) = 6f4d62635830d9c68387ddd174c005870cdb6111
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_BUILD.gn) = d958affac8e617db17127b0a14ce1216d82166b6
SHA1 (patch-src_3rdparty_chromium_chrome_browser_accessibility_page__colors.cc) = 10aa4a69e3f1ed2730cbdc2538f41b9f6eb5cb49
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) = 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_BUILD.gn) = 91bf0a0c444ff7f10d5cdbd4f49962416ba84556
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.cc) = 9f4cf3380fe2d85a255feb7f40a98c27b2f42b2e
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) = ecef35a2fe4d6094befa9f74a428a7ef578a64a9
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_messaging_launch__context__posix.cc) = c794f38b472eb34e2860696f0eee2f50efbb6002
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_messaging_launch__context__posix.cc) = 3bfa510dcfcb04497aa1e89a6024ec53550a901d
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) = e97619e70deacf59d85eeb1f6af8d988d54b8be4
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc) = ec76e7e56f9908e1d20dd7078777dd80b83cd0a1
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_tabs_tabs__api.cc) = 3086811bb7f6bb19ea1aa985085762e615baf0aa
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) = 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_gcm_gcm__profile__service__factory.cc) = 5c45b27e916eda711f109f50921a024bbd6f2df1
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_gcm_instance__id_instance__id__profile__service__factory.cc) = a15fbdd5017e443fa84b1085248796af89003778
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
@@ -187,10 +187,10 @@ SHA1 (patch-src_3rdparty_chromium_chrome_browser_media_webrtc_desktop__media__pi
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_profile__network__context__service.cc) = eb3855b152153111639cbbb5d392c4221da259ee
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.cc) = 248a4160217188412d959d8940a16681a753c963
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_net_profile__network__context__service.cc) = c14a81442b016fdea13f6c6dedcb3ad9830a5ff3
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.cc) = b2a5a8a558d37d8ec20405547facb02409dbfaa3
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_browser__prefs.cc) = e8a63a77ca85f4f366f8ab9da603eefbd3e4f5eb
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
@@ -200,55 +200,51 @@ SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_about_about__ui.cc) =
SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_about_about__ui.h) = e575bbdbd141bc525a7c874f4fb43e23650db2de
SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_app__home_app__home__page__handler.cc) = 1efa2d649816fad1f826ea9ecb95a643f18e5309
SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_app__home_app__home__page__handler.h) = aa60ffac1f1aca65e446a28af68a0f48f24afdd4
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc) = 7e3a0f965b013cf2d14404ef84848cffe764e880
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc) = 0cbd1b301cff80e2d3d0982ac2b25a4b44fd0207
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc) = 5d85ffca8a652398c8126e0af8364b223421e555
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc) = 3d8943e31e9c5908d2a153dac6d3f2135eb5139a
SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_client__cert__sources.h) = 8d419f2867204d19f474dbe70a69bc56b1d80def
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__configs.cc) = 770880b9e60ca9130c68592c8eccbe4385ab7ef5
-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_chrome__web__ui__configs.cc) = e8c6eb881a0e5784e266e05550df2a3b4c2bbd4f
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc) = c613f91f6cc709d33610f5e4edad9b3ea9b0fe77
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_internals_user__education_user__education__internals__page__handler__impl.cc) = fe2e2ce5e12da53b6c3c8dc90444b7565e10b798
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_interstitials_interstitial__ui.cc) = 36eb8960b9a5e9d0c04b20c6579024953381c1dd
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_interstitials_interstitial__ui.cc) = 489247b754fa23ea56bc5e57515f44df0d73da5e
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__constants.cc) = ca15c0a19ed9bf7a9634847482d24da6c1bd6b49
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.h) = 5cbc39072c73c3bb6de4bcfe629953db73974c37
-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_management_management__ui__constants.cc) = cf447848b7efcd707c3ced8ac8cc23266c993575
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.h) = a6d0f645c8635a1f8b52769bba32cbdd1b323624
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.cc) = e787f292d7d901211ef164c8b60fe77d26cc9cb7
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.h) = 14c76249ddfd377ee8e48db77e870bcfe5ba3571
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_searchbox_searchbox__handler.cc) = 8353968a68c33357ab24f3ab5cc4ad87e4b6d314
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) = 0cd8a6158d9e8e443d77c1729a0c1907ed1cc0bc
-SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_signin_profile__picker__handler.cc) = f046c1a5bcc7274361a15e0c1774f852d166686f
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc) = edabc275fa577c4c82ce05c43515c228d969fe1f
+SHA1 (patch-src_3rdparty_chromium_chrome_browser_ui_webui_signin_profile__picker__handler.cc) = f28ec90977b609db2927d8e59397cacfe5863502
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.cc) = 22b0c93a7f615658fc07fea0a539bcd2d46b51dc
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) = 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) = 9c5be2750b269e39a6459ae2d7109577c2ce0c59
+SHA1 (patch-src_3rdparty_chromium_chrome_common_chrome__switches.cc) = 046ce3cbbee152e6fdbdb3ee5bd3f6e44b5d0582
+SHA1 (patch-src_3rdparty_chromium_chrome_common_chrome__switches.h) = b4ba64eef0a63ad7c97d9e7b96db0279fc5459c5
+SHA1 (patch-src_3rdparty_chromium_chrome_common_extensions_permissions_chrome__permission__message__rules.cc) = 02561ae48dfb640d2ce9f643dc8b3794704ccc26
+SHA1 (patch-src_3rdparty_chromium_chrome_common_media_cdm__host__file__path.cc) = dd059f52592b9f09342bfafd82d4079fda2e8917
+SHA1 (patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.cc) = 8ccc429fd058f7efd135bcee04afb4a5594a90b8
SHA1 (patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.h) = e5d524cd7a7979cb0581dd3fe42ef0c529721780
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_pref__names.h) = d210c520e5a472d9af398e9f105404c5ca51e255
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_common_webui__url__constants.cc) = fd65467ac52a519cdb604da5e526e387cb51edd5
+SHA1 (patch-src_3rdparty_chromium_chrome_common_webui__url__constants.h) = 8e586b140114273716634bccd6417dee1b6366a6
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_key__converter__unittest.cc) = 096da8daf9fae5e1ec4869d6a89c764601c9583e
SHA1 (patch-src_3rdparty_chromium_chrome_test_chromedriver_keycode__text__conversion__unittest.cc) = fc382cf7b33b24c963b2acb2d131420ec445920b
-SHA1 (patch-src_3rdparty_chromium_components_autofill_core_browser_autofill__optimization__guide.cc) = 71ae66194db04007c266dec78dfabe844dec60ba
-SHA1 (patch-src_3rdparty_chromium_components_autofill_core_browser_payments__data__manager.cc) = 5e4c2f98bd6ab4385c342c0b70b27251cb865dd3
-SHA1 (patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.cc) = e5c7220ea277f4c24b2d2fbff486d883c458b709
-SHA1 (patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.h) = 58c34357362e2638a0debd607b53851294c98b53
-SHA1 (patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.cc) = 4995d9f9503c0f538899ace73ef766bcbb025730
-SHA1 (patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.h) = 54eb5a7222a6e5d065fc01e20cb08cd4afacb4f0
-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_autofill_core_common_autofill__payments__features.cc) = a31301ddf419f7b552767f0b7e17ed8589bc58bb
+SHA1 (patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.cc) = 73833c15e3782d5d69eb689460610f20c65e62e6
+SHA1 (patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.h) = 643d574a23ef4caeae96a01eadbfcc76f04f1cd5
+SHA1 (patch-src_3rdparty_chromium_components_commerce_core_commerce__feature__list.cc) = 880d7288def3cf869a46f82dc0975865e7ccd47f
+SHA1 (patch-src_3rdparty_chromium_components_constrained__window_constrained__window__views.cc) = 18c103ee7ea2e69c8fc7969c843b87c381554af7
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) = 5febd6f28b1e08705f67cc47803adf6d0106b4e4
@@ -263,56 +259,54 @@ SHA1 (patch-src_3rdparty_chromium_components_device__signals_core_browser_signal
SHA1 (patch-src_3rdparty_chromium_components_device__signals_core_browser_user__permission__service.h) = 878acb61d207986e313b7d7d6287e653a94d9415
SHA1 (patch-src_3rdparty_chromium_components_device__signals_core_browser_user__permission__service__impl.cc) = 248a0cd7fb6c01945b7214368fc8a0ff5073aa24
SHA1 (patch-src_3rdparty_chromium_components_device__signals_core_browser_user__permission__service__impl.h) = ebdf740ac71cbcd37ccaed4f685266302e584473
-SHA1 (patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.cc) = 35e2e3f35f7d25076ad5a112707ab22ff1eb2849
-SHA1 (patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.h) = cf20f3502b78725eaa9c794369044cf3fdb3eddd
+SHA1 (patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.cc) = 8720b6852b2ddf72de9cc8af5ce8b76a584066e4
+SHA1 (patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.h) = e9e1692c01e27cc32a9a3c688ca3b6f50de6e634
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) = 51b83c67fcfe3426737203dbc7d1691470f6de0c
SHA1 (patch-src_3rdparty_chromium_components_enterprise_watermarking_watermark.cc) = 3118acf39899150c758f786a007b050d1f5d3f16
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.cc) = 93ab38890e44d2a927fdb6a28db3acfe324f25d8
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) = 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_feature__engagement_public_feature__constants.cc) = 68ae9e0521a17abfc1b3beca41f2708abb5174e7
+SHA1 (patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.h) = 4df30684c2b67da39775bc7a788670e96a701763
+SHA1 (patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.cc) = 5dc7f330c599564c24ddd8e5a696548d66f82047
+SHA1 (patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.h) = 31b872f49676d22c48bf4e553f7e7e276795d7b9
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) = 636a72f180625da0b537669bb0b7029ee57b7038
-SHA1 (patch-src_3rdparty_chromium_components_flags__ui_flags__state.cc) = 5d1fde3606d89266eb3a2cb033cd9a2756aa4b79
+SHA1 (patch-src_3rdparty_chromium_components_flags__ui_flags__state.cc) = e1ca32cbc66d482bd711b2be47e9aaaf6c28688e
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
SHA1 (patch-src_3rdparty_chromium_components_gwp__asan_client_gwp__asan.cc) = a9a50c9a1b58ffa3e67cdc0cec4ac290f3f4fbbd
SHA1 (patch-src_3rdparty_chromium_components_gwp__asan_client_gwp__asan__features.cc) = 676b90c81a8aa3a0735c35cdcc6ea575ba0daaba
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.cc) = 5a3e47e339fc1a3d2bcdf43c0f818abb061936bd
SHA1 (patch-src_3rdparty_chromium_components_live__caption_caption__util.h) = 3815429f0a286f03101a93c9cf7ea6ec61f6394d
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_media__router_common_providers_cast_channel_cast__message__util.cc) = ec8eedf96603fd8cf0a07b065d204500f9168b85
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_metrics__log.cc) = 66b33ced7838488ed6fd7180829b80ce653ce936
SHA1 (patch-src_3rdparty_chromium_components_metrics_motherboard.cc) = 70e02be0c5ac7987eced6c05c88d43ce678b935c
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_named__system__lock_lock.h) = fcb622160341c8d522184959944592afcbeb4e84
-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_async_browser_secret__portal__key__provider.cc) = f4317c34b2dec35a2b2b9b7109f052dc5d5b324b
-SHA1 (patch-src_3rdparty_chromium_components_os__crypt_async_common_encryptor.cc) = 46d363d37191cbf7dacebdbe73c97f3a027b2780
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_os__crypt_sync_os__crypt.h) = 674584cdffb5d4278a519ea0bfbaa3098e63b402
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) = 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_features_password__features.cc) = 13cec076621c07f7ab13a912ea620b87f86c8dd1
+SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.h) = bf230035d948b5b12be81926f33be250b3637c03
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__manager__client.h) = 0fb7357fb9f717d2d95564539458d6708879ba20
+SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager.cc) = 59a1eefd0e22180cc88c337697cbfb9a2fc874cd
+SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__client.h) = 0d6587fe400e4018b2fe4ffae88ddacc4af2d1c3
SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__switches.cc) = 1c3080f84ff5af18482c7834c2e0e8d8b8d1d42a
SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__switches.h) = 60813cf0181eb0072625926297f9bb795a1fc664
SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manual__fallback__flow.cc) = db08c9151601798cef466ee150556f831816f5db
@@ -321,43 +315,42 @@ SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_pass
SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store_login__database.cc) = e513d284f2418c2250906e487e5db90de492199c
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) = 72c669b6422491c62257c3a5ec28725ceac5d0f1
-SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.cc) = 047a7ca19a062b42ac46b6a33ec24878a339b340
-SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.h) = e3102e6d70c31c45aa013dd75317d4219f71f0c9
+SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.cc) = 31eb9e001a821fe984b1f9c14386a26008ac0afd
+SHA1 (patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.h) = 48b59338307dd04137b1846bdff2672e190e822f
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
-SHA1 (patch-src_3rdparty_chromium_components_policy_core_browser_policy__pref__mapping__test.cc) = 7dca8a434ca95d04a8ca14656fad1c6741def2eb
+SHA1 (patch-src_3rdparty_chromium_components_policy_core_browser_policy__pref__mapping__test.cc) = 893af8add8d2332ca912c096ea607036ddf136c4
SHA1 (patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__client.cc) = 02bd52462e539096b8d904a85af4a932275b25aa
SHA1 (patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__refresh__scheduler.cc) = 9bdb6e11a4e56b1226afc87cf0bf98d2ca9c38a3
-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_cloud_cloud__policy__util.cc) = d3320f373b996628da70f753051707c47e17201b
+SHA1 (patch-src_3rdparty_chromium_components_policy_core_common_policy__loader__common.cc) = 7b49168d2d8270d356366cdcde01aeea91df6474
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) = 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) = 4fd3b4da2aa2ea79e8fff0cf91275fbe54da8a1c
+SHA1 (patch-src_3rdparty_chromium_components_safe__browsing_content_common_file__type__policies__unittest.cc) = a4422a61c5033eabe3c6eb2cc3ab3bd8f9b4467c
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) = 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) = 36126eb9dd33ada4421b9ab60dc49f63389896ce
-SHA1 (patch-src_3rdparty_chromium_components_security__interstitials_content_utils.cc) = f922567407809c224434f2e75ad4a7885dd63255
+SHA1 (patch-src_3rdparty_chromium_components_search__engines_template__url__service.cc) = d06bc792c15ed0fb4f1c8a7d8d92a87925586874
+SHA1 (patch-src_3rdparty_chromium_components_security__interstitials_content_utils.cc) = a6615e20e5e66a345a2a2f30ea7a38c332cc2bbc
SHA1 (patch-src_3rdparty_chromium_components_segmentation__platform_embedder_default__model_cross__device__user__segment.cc) = 63d0533184aae55308979817ae2306145cd6b145
+SHA1 (patch-src_3rdparty_chromium_components_services_on__device__translation_sandbox__hook.cc) = 5abdb5b0563e6743ad8667dd53ef2d4e3dee2996
+SHA1 (patch-src_3rdparty_chromium_components_services_on__device__translation_sandbox__hook.h) = e5fd592501f993985e8d6b0b87bdfdce82992821
SHA1 (patch-src_3rdparty_chromium_components_services_paint__preview__compositor_paint__preview__compositor__collection__impl.cc) = de0919ae028241f22ff4c75e421b9419a282d590
SHA1 (patch-src_3rdparty_chromium_components_soda_soda__util.cc) = 7fd35726c0e5c42c6e23f95aa2f8b58bde786d8c
SHA1 (patch-src_3rdparty_chromium_components_startup__metric__utils_common_startup__metric__utils.cc) = 2bb5edf7b7242976e66724216371ad5924112ca4
-SHA1 (patch-src_3rdparty_chromium_components_storage__monitor_BUILD.gn) = ac3a1410b94258d2b63f1ba5b5646c3133537102
+SHA1 (patch-src_3rdparty_chromium_components_storage__monitor_BUILD.gn) = 86bbae485a884d3523e3062f1b814cc8a5f48689
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__metrics__service.cc) = c3fcb78103ee9da289b39cbe8adf8c14098aa238
SHA1 (patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__preferences.cc) = 1a5c5713c19f8d8094365c04b3753a804fe630c7
-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_supervised__user_core_common_pref__names.h) = 82255be388a6a9e54dc4efa827b8435c3d3d92eb
-SHA1 (patch-src_3rdparty_chromium_components_sync__device__info_local__device__info__util.cc) = 054b0d50aca537efee9ac5eb349b4598a2457b4f
+SHA1 (patch-src_3rdparty_chromium_components_supervised__user_core_common_features.cc) = 0e7cb60a35deafd33a7c37b614eb980578c16dd5
+SHA1 (patch-src_3rdparty_chromium_components_supervised__user_core_common_features.h) = 04d35862dd2e9722612d730d390ecb8ab3d75454
+SHA1 (patch-src_3rdparty_chromium_components_supervised__user_core_common_pref__names.h) = 886643a26eb77ec75aedef0be78f28e2594207fc
+SHA1 (patch-src_3rdparty_chromium_components_sync__device__info_local__device__info__util.cc) = 15535332d2be0ab6b807dacef4c2b0bf568cd2e7
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
@@ -369,15 +362,15 @@ SHA1 (patch-src_3rdparty_chromium_components_visited__url__ranking_public_url__v
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) = 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__embedder_software__output__surface.cc) = 04e56f1e7e32a3d459aeb405e1dc31af14870717
+SHA1 (patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.h) = 71f4b2bf33baeacd86d8e268b18832df616ea7ec
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) = 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_BUILD.gn) = 1debd309853e9a6d7cf90ed920393243af2262e7
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_app_content__main__runner__impl.cc) = b96d7a2033ece7c25ae65029d8ed17088271712e
+SHA1 (patch-src_3rdparty_chromium_content_browser_BUILD.gn) = 2614b456745fdf37d5127beca3da929b7e18c779
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) = 8e913dcddb303f9c3f3e962dab4fad6ae2836dc1
SHA1 (patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl.h) = 9558d2fe1ac358b3717605d21c23cc288560f1df
@@ -391,83 +384,80 @@ SHA1 (patch-src_3rdparty_chromium_content_browser_devtools_devtools__frontend__h
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__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__bsd.cc) = 83718dd39f70559a3455ad4d03dab75e00ce9960
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) = 5265cf29d271849d9f7e05cdeef63930851449d5
+SHA1 (patch-src_3rdparty_chromium_content_browser_gpu_compositor__util.cc) = 6b4a19c54f94d0d6941cc38f044d6b714ee9371e
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) = ee995bcbd722853b6eed8e8906eae2a4b3656090
-SHA1 (patch-src_3rdparty_chromium_content_browser_gpu_gpu__process__host.cc) = 83539db8019dd7b5b85954e0bbb71f6f73b5afec
+SHA1 (patch-src_3rdparty_chromium_content_browser_gpu_gpu__process__host.cc) = 0188ea4c265408603e2a5098e09a5b656d1b863b
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) = 1a9e40564c61b26ef281d6355a8b5fd14b7c57de
+SHA1 (patch-src_3rdparty_chromium_content_browser_media_media__keys__listener__manager__impl.cc) = 4a98e1399a20ff105d3aabda0e58e5253ce08ec2
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
+SHA1 (patch-src_3rdparty_chromium_content_browser_renderer__host_delegated__frame__host.cc) = ef8ebae734498a7260d4036bf436b4e3a45da0d4
SHA1 (patch-src_3rdparty_chromium_content_browser_renderer__host_media_service__video__capture__device__launcher.cc) = 7ca20dbe929afea5eccab39ebf514b850d1b5ea5
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) = 250d413db18cc4f55a0de1eb1925d85a8b17096d
+SHA1 (patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl.h) = 9081f45db8401f693201e2df4ba4402e19967c84
SHA1 (patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc) = 6c3b6a53663a7a02979332507b304b1c56ebb9f0
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) = c7656da80a7d5d7b9b67bd67d7466b0b0babd5bc
+SHA1 (patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__aura.cc) = b9fa0adb4c9bc913d5d7b077486e941ad349c43e
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) = 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_jank__monitor__impl.cc) = de626185815c981cbd86e9bfd426f9d3b2f8e8d7
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) = 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_utility__process__host.cc) = 52dbe1a70377afdf651abd7c344e276f2fe014fd
+SHA1 (patch-src_3rdparty_chromium_content_browser_utility__process__host__receiver__bindings.cc) = d3e7c7e2d75562df85b75e34a12cec5a6ee5b790
+SHA1 (patch-src_3rdparty_chromium_content_browser_utility__sandbox__delegate.cc) = 9adb4d88a4e17d93a43b1da0296e09eccbff095c
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) = 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_webui_web__ui__main__frame__observer.cc) = 77adf3737792b8057ad9b50489f8e1fd3754596f
+SHA1 (patch-src_3rdparty_chromium_content_browser_zygote__host_zygote__host__impl__linux.cc) = 170fb24ae883a8ee355004b1cd1512b205635c14
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_BUILD.gn) = fe030648f632021a50e79e5f17cada7d74ba9a99
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_BUILD.gn) = b33ae8c91ad4ac49fa8909651e11e407aa0f78dc
+SHA1 (patch-src_3rdparty_chromium_content_common_features.cc) = ef39df73232f8056696d5b9efcf6b255f33d724b
+SHA1 (patch-src_3rdparty_chromium_content_common_features.h) = f7d681891ee687ae789878357f958e6109855c72
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) = a2f979a3b2e80680e0be1b6d658a9c40b53d567e
+SHA1 (patch-src_3rdparty_chromium_content_gpu_gpu__main.cc) = e9ea817e8db5d368c44fdb61398b30690d8185ec
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_service__process__host.cc) = 167ab36aa747f32795b5b75b0c81932cbbcba760
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) = 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_content__features.cc) = ab9b4e0c58bb53b44a0060f012bb1ab0a0b123a6
+SHA1 (patch-src_3rdparty_chromium_content_public_common_content__switches.cc) = b10ea7049f032669d085d492d04f891e7e7a0745
+SHA1 (patch-src_3rdparty_chromium_content_public_common_content__switches.h) = c0afbbaea17c7f28b227a82f1489af93b9d0b429
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
-SHA1 (patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.h) = 33c15c17314a6b31e57e9c719d3b16c4c2500265
+SHA1 (patch-src_3rdparty_chromium_content_renderer_render__thread__impl.cc) = 6be027acdf9a773b72aff50b9345111a210ab15d
+SHA1 (patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.cc) = e6340a13a75252529305f9def88fef7cb43a396b
+SHA1 (patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.h) = 0a6d8c5a66b223a9a5d2b8caaffd41627dcbcd17
SHA1 (patch-src_3rdparty_chromium_content_renderer_renderer__main__platform__delegate__linux.cc) = a2689c86bbe296c98e65f1f71fb5250bdb9549c3
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_renderer_shell__content__renderer__client.cc) = 7667c66c5037a6b63741baaef6d4028274ad9910
SHA1 (patch-src_3rdparty_chromium_content_shell_utility_shell__content__utility__client.cc) = 682574b8a753fbae2ac7a244fa353d74e8eb59de
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_services.cc) = d9f1ccc5f2c060018a2c289150b3425c0a728164
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) = 2e7eaa8f7c06f34a37f88c8cf47c79637e864d42
+SHA1 (patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.cc) = 7bd6546b994c36034f57c36de97cf2abcf7d4763
+SHA1 (patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.h) = 557bf145bfa6b19d868cd67c4fa58a1f6e898433
+SHA1 (patch-src_3rdparty_chromium_content_utility_utility__main.cc) = f9089abdf58db458d448b82b43e98059f8c5ae1b
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) = b1573ab74055e70a6eb48b180634053e38b4531c
@@ -477,36 +467,37 @@ SHA1 (patch-src_3rdparty_chromium_device_bluetooth_cast__bluetooth.gni) = bb5b63
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) = f47a8836147687ac91057d4fb274c0878c135efa
+SHA1 (patch-src_3rdparty_chromium_extensions_browser_api_api__browser__context__keyed__service__factories.cc) = 0ab566d757d4004a9c2a734ad52d087d9f390faa
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_browser_api_networking__private_networking__private__delegate__factory.cc) = 8ce901cb24d140348952b7b0d2fd8859f3d1681f
+SHA1 (patch-src_3rdparty_chromium_extensions_browser_api_web__request_web__request__resource__type.cc) = ca65bd6a609eb77f4a42b9b14eb1b63dafbd8954
+SHA1 (patch-src_3rdparty_chromium_extensions_common_api___permission__features.json) = e25a08283ded8eee8f01875c4348e77cee35ea06
SHA1 (patch-src_3rdparty_chromium_extensions_common_api_runtime.json) = 1bb5eb10b41d0a85e2f50b451d68cece2504a79c
-SHA1 (patch-src_3rdparty_chromium_extensions_common_command.cc) = 08c0f5a6316c66f74fd0bbb63ffece779805f6e2
+SHA1 (patch-src_3rdparty_chromium_extensions_common_command.cc) = 0fa95f29613c014199ec637714a491f2fda06784
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_api__binding__util.cc) = 8652116cf4cf2c6f36455b0d28d85c98ea0e2ba5
SHA1 (patch-src_3rdparty_chromium_extensions_renderer_bindings_argument__spec.cc) = ef59f6295a8024376e6eac8743343335d570e357
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) = 17415ead2acd1b9a90694c80fc5e4f20643a603f
-SHA1 (patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.h) = 44a795d4c3f44a5b1445c719a52d3b7befdcde8d
+SHA1 (patch-src_3rdparty_chromium_extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc) = 6875bc7d03cb03967ae6ffd9144f35364e78f579
+SHA1 (patch-src_3rdparty_chromium_extensions_shell_browser_shell__browser__main__parts.cc) = f4e7b4b852b2a3e3b1f7f8158d499a780ec8acc4
+SHA1 (patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.cc) = d0a854b3ea3c081541119ecc6fd01b2eec824f58
+SHA1 (patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.h) = 02af0aa6299f755a0bf8b85f3a360c68322a505a
SHA1 (patch-src_3rdparty_chromium_google__apis_gcm_engine_heartbeat__manager.cc) = 6c177386426d1cd94c04a2c2397730b34cc57c16
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__context__state.cc) = b345b914c1b73ad0472061889a05305480cb9356
+SHA1 (patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__context__state.cc) = 97ae13113a42067369c12f54938325db28d1ceac
SHA1 (patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__context__state.h) = e119d738fe7b0ef01f65b8959c704fb6c360870c
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) = b0c15252ec58e985c81033c3a1e1a963fc85632e
+SHA1 (patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc) = 7a93d90609a0c492a2011eb4b35c6086bc6d1e21
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_shared__image__manager.cc) = b31a12d2fb1e382d809f608c210b623cc8ea6c46
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) = b323329d90a8cc75178a81d7ca6eb5cef5fe3311
-SHA1 (patch-src_3rdparty_chromium_gpu_config_gpu__info__collector.cc) = 2229bbffbc3abdb8e7c2305c4d729ce1eb4eb823
+SHA1 (patch-src_3rdparty_chromium_gpu_command__buffer_service_webgpu__decoder__impl.cc) = d3e36f222a97281268672d1c28b8efb8d05a0773
+SHA1 (patch-src_3rdparty_chromium_gpu_config_gpu__control__list.cc) = 1eecfb4fb856bfcab417ffa0e02604ac76016fdf
+SHA1 (patch-src_3rdparty_chromium_gpu_config_gpu__finch__features.cc) = 527c4734c29f58cf90ec54c78744659d3b85a0fc
+SHA1 (patch-src_3rdparty_chromium_gpu_config_gpu__info__collector.cc) = f9fa8f65d420d63381bc2d3dfd5ca47708677693
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
@@ -521,7 +512,7 @@ SHA1 (patch-src_3rdparty_chromium_gpu_vulkan_vulkan__function__pointers.cc) = 43
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__browser__main__parts__posix.cc) = 6f50ad1d25978e5559a95f25ba0c1150d43156b0
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
@@ -548,18 +539,17 @@ SHA1 (patch-src_3rdparty_chromium_media_audio_sndio_sndio__output.cc) = 406f5fd5
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) = 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) = dfb709c3d8bd7c33afc458b478230111d81c09d0
-SHA1 (patch-src_3rdparty_chromium_media_base_video__frame.h) = d3c4907cfc8a2767ff2cedf549ecc89bbf90a995
+SHA1 (patch-src_3rdparty_chromium_media_base_media__switches.cc) = 64f6ef56b60834f034ab5435facef8dd2f24531a
+SHA1 (patch-src_3rdparty_chromium_media_base_media__switches.h) = aad90f735e0c7185073de7de870b60fe3c98fa1f
+SHA1 (patch-src_3rdparty_chromium_media_base_video__frame.cc) = 0408c72b3120524630cd53383071efd273a6a583
+SHA1 (patch-src_3rdparty_chromium_media_base_video__frame.h) = ebaff3f0dc74563b4828e25ef807c3592d7110f9
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
SHA1 (patch-src_3rdparty_chromium_media_capture_video_linux_fake__v4l2__impl.cc) = 5d8ae5f21e8cea3366e8375ad68284e006bd54a2
SHA1 (patch-src_3rdparty_chromium_media_capture_video_linux_fake__v4l2__impl.h) = 534284e515f108c02364a84e48eda463d5efc12a
-SHA1 (patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.cc) = a85edd3b5f03add1dc6f9a7768589ae59fbe2151
-SHA1 (patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.h) = bac3cb06682f43f763723e6786892c7bd43d5fed
+SHA1 (patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.cc) = f20dbe950d07cf2cef465e4c5d07a2b406b49568
+SHA1 (patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.h) = 8db23bb1897ac9373ec67bd2986d5257d82a58d4
SHA1 (patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__device.h) = d1fb4fb3b104062fa058708d6b409f80e8bfcd0f
SHA1 (patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__device__impl.cc) = 5ec4370f9f71df3479dc71b9baf18753bf458ba7
SHA1 (patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__device__impl.h) = 3409ec7638696c4e1e81a73cb56a79e860304de8
@@ -571,14 +561,14 @@ SHA1 (patch-src_3rdparty_chromium_media_capture_video_video__capture__device__cl
SHA1 (patch-src_3rdparty_chromium_media_cdm_cdm__paths__unittest.cc) = c62a3291be727e3902bc2b1972f8c47ce4dc7a76
SHA1 (patch-src_3rdparty_chromium_media_cdm_library__cdm_cdm__paths.gni) = 0f6016d55ae95f5e7de7c491e799892c4a2d7489
SHA1 (patch-src_3rdparty_chromium_media_ffmpeg_scripts_build__ffmpeg.py) = 98d8e696030ddf75fe48c7b2077a4024806c5b1c
-SHA1 (patch-src_3rdparty_chromium_media_ffmpeg_scripts_robo__lib_config.py) = e71969b4f70d3d77e280a68895f8620a1e5036b3
-SHA1 (patch-src_3rdparty_chromium_media_gpu_buffer__validation.cc) = a4fb9f336d468a6f69a17107335641251bad629c
+SHA1 (patch-src_3rdparty_chromium_media_ffmpeg_scripts_robo__lib_config.py) = 753924731dfe4d53eb1aa0b28061d1d09f350a99
+SHA1 (patch-src_3rdparty_chromium_media_gpu_buffer__validation.cc) = c14989c335f45d67d9ca731ca036d8756721f932
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) = 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) = 79f6d691722bce11bc3d5974e0fc08fc8bfe5617
-SHA1 (patch-src_3rdparty_chromium_media_gpu_gpu__video__encode__accelerator__factory.cc) = 3cef60cfc57e78bd8922d92cd63cfd9873aa69de
+SHA1 (patch-src_3rdparty_chromium_media_gpu_gpu__video__encode__accelerator__factory.cc) = 3205553dc6b1e193bd2348f4e889132c092fab5c
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) = 21a85a4d16c2f252b4876be2e65ca39e34b19173
@@ -592,9 +582,9 @@ SHA1 (patch-src_3rdparty_chromium_media_mojo_mojom_stable_stable__video__decoder
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) = 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_video_gpu__memory__buffer__video__frame__pool.cc) = 12dbf8b0cc8d3c74bec01e460f5f7ac90c759638
+SHA1 (patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter.cc) = ea944f8d1e7a9b047ec6871f4b75603edc04bc96
+SHA1 (patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter__test.cc) = 06d1760ae0276fdd7553f594d74e2a489b00d0b6
SHA1 (patch-src_3rdparty_chromium_media_webrtc_audio__processor.cc) = c67142dbafd61b20bc3f43905e060c89fe4152c5
SHA1 (patch-src_3rdparty_chromium_media_webrtc_helpers.cc) = 9d4a4fd729105ae095c6fb382f8cd7575dd6c1f7
SHA1 (patch-src_3rdparty_chromium_media_webrtc_helpers__unittests.cc) = 374b8909391cc0985796d0a89136fbb5b70e3702
@@ -602,7 +592,7 @@ SHA1 (patch-src_3rdparty_chromium_mojo_core_BUILD.gn) = de7f8187c5a02d314efaa803
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) = 32bf050cb25a9a9508f5f3cbf38254808fcbef82
+SHA1 (patch-src_3rdparty_chromium_mojo_public_tools_bindings_mojom.gni) = b43382515e457842959488f644b6668b8994daf8
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
@@ -615,7 +605,7 @@ SHA1 (patch-src_3rdparty_chromium_net_base_network__interfaces__posix.h) = 2acec
SHA1 (patch-src_3rdparty_chromium_net_base_sockaddr__util__posix.cc) = dc8b7bc5be41a08049825a008508e236747c7508
SHA1 (patch-src_3rdparty_chromium_net_base_sockaddr__util__posix__unittest.cc) = 6ed12eeae0eb2ac09cf02832eb51912fa929e1c3
SHA1 (patch-src_3rdparty_chromium_net_cert_cert__verify__proc.h) = 763fc0a35781d54abf8183b9b948d6d84d33342f
-SHA1 (patch-src_3rdparty_chromium_net_disk__cache_simple_simple__file__tracker.cc) = eafd2af927551bd6b666698b3b1dddf1a53c42ee
+SHA1 (patch-src_3rdparty_chromium_net_disk__cache_simple_simple__file__tracker.cc) = d9fa3bcdf2f3644518e2115626162f317a268a41
SHA1 (patch-src_3rdparty_chromium_net_dns_BUILD.gn) = b6e05d20701c6a0c00f4c496c98c6d58fa47b571
SHA1 (patch-src_3rdparty_chromium_net_dns_address__info.cc) = 0d4085e902b10bca089c7cf2babc44dbd64e5929
SHA1 (patch-src_3rdparty_chromium_net_dns_address__sorter__posix.cc) = 9e78593b28a951f93d114f83949bb5cacf58715c
@@ -636,7 +626,6 @@ SHA1 (patch-src_3rdparty_chromium_net_http_http__auth__preferences.h) = 95d6e049
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) = 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) = 67a46a607ea8d5f60518095db2e5d2beeaa9ac0f
@@ -648,39 +637,39 @@ SHA1 (patch-src_3rdparty_chromium_net_traffic__annotation_network__traffic__anno
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_pdf_pdfium_pdfium__engine.cc) = af6045fe0e915b788cd509e957f285c8f7c32ff0
SHA1 (patch-src_3rdparty_chromium_printing_backend_cups__ipp__helper.cc) = 8cc3bf17a5410ea3880fba772fdaa3d83d1fe0ff
-SHA1 (patch-src_3rdparty_chromium_printing_backend_print__backend__cups.cc) = ad32b8a41560ae5749b0264a3b83388e7af0b42e
+SHA1 (patch-src_3rdparty_chromium_printing_backend_print__backend__cups.cc) = d59729e81529c84850cda88e99fb5d4cd797ea0c
SHA1 (patch-src_3rdparty_chromium_printing_mojom_printing__context__mojom__traits.cc) = 3f7f76e3cac9d7b80f4d6ebc8da1465f4194af03
SHA1 (patch-src_3rdparty_chromium_printing_mojom_printing__context__mojom__traits.h) = 663f3e388acf9fe096dba19b57fd51db02205ec9
SHA1 (patch-src_3rdparty_chromium_printing_print__settings.cc) = 6a9759160b4ff301dbd26d1da13ff2cc6e9d8170
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) = 45a22e4a6ed1eca8a3e57de2efde6347075485e4
+SHA1 (patch-src_3rdparty_chromium_printing_printing__features.cc) = 96258027cb49a4ee4342402341e6220f35827832
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
SHA1 (patch-src_3rdparty_chromium_sandbox_linux_BUILD.gn) = 2e3cb73d8085624e149b2c6f9ec7f0d3af704672
-SHA1 (patch-src_3rdparty_chromium_sandbox_linux_services_init__process__reaper.cc) = 5ec77ce4c569a2bd7a871fbebbbb4892b05fb53d
+SHA1 (patch-src_3rdparty_chromium_sandbox_linux_services_init__process__reaper.cc) = e8e1ebbe8a9bb2fbd9f1c34b817b2d7ab0725b3a
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) = 576acaf6e33b8f21eefb4864386d2f983ff61ded
-SHA1 (patch-src_3rdparty_chromium_sandbox_policy_features.h) = c17f723a41c9b7067852ecc59e891a9620bc8efd
+SHA1 (patch-src_3rdparty_chromium_sandbox_policy_features.cc) = ff9bd6436ee84d921af70db3927210dcaa8dc74d
+SHA1 (patch-src_3rdparty_chromium_sandbox_policy_features.h) = 75209283966482e489ca73feb0ff7d1cbbdb0f4b
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
+SHA1 (patch-src_3rdparty_chromium_sandbox_policy_mojom_sandbox.mojom) = 3535a1d763b7c39e360b124721cd64658d3445a2
SHA1 (patch-src_3rdparty_chromium_sandbox_policy_netbsd_sandbox__netbsd.cc) = 81458ca1f26ff142c5c31fa982586e9dd817ad82
SHA1 (patch-src_3rdparty_chromium_sandbox_policy_netbsd_sandbox__netbsd.h) = 2b4ab27abde1f14614d1760ea20817d1bd81ef8b
SHA1 (patch-src_3rdparty_chromium_sandbox_policy_openbsd_sandbox__openbsd.cc) = f65589ee9fb6e4872885d931417309ffbb2efec5
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) = 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_sandbox_policy_sandbox__type.cc) = 6ae72effc474f57b87eb52bcfd1c3e228886643d
+SHA1 (patch-src_3rdparty_chromium_sandbox_policy_switches.cc) = d99abc1c2b2785eb92d4e9dc27af013e7003130f
+SHA1 (patch-src_3rdparty_chromium_sandbox_policy_switches.h) = 67dd38dfa307b2a466ddd3d734e3502c61035e60
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
@@ -699,10 +688,10 @@ SHA1 (patch-src_3rdparty_chromium_services_device_hid_hid__service__netbsd.cc) =
SHA1 (patch-src_3rdparty_chromium_services_device_hid_hid__service__netbsd.h) = a524067dd00536778c5ff2f2b1b6d1f4224a2936
SHA1 (patch-src_3rdparty_chromium_services_device_public_cpp_generic__sensor_sensor__reading.h) = 9e37776d1e9148197094a7ac59f1acdafef897bc
SHA1 (patch-src_3rdparty_chromium_services_device_public_mojom_BUILD.gn) = 455a6b0e8e538be1b4c2d436aebddd463f2c392e
-SHA1 (patch-src_3rdparty_chromium_services_device_serial_BUILD.gn) = 7c2b11119a30d08667bcb512483d11516e9aa709
+SHA1 (patch-src_3rdparty_chromium_services_device_serial_BUILD.gn) = 261b55358ad17e8d89c4a25b1d2c99c5a6ceebc3
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_time__zone__monitor_time__zone__monitor__linux.cc) = 4265af495f9470e6040c1ceb49694858333832de
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
@@ -712,17 +701,17 @@ SHA1 (patch-src_3rdparty_chromium_services_network_network__context.cc) = c5898e
SHA1 (patch-src_3rdparty_chromium_services_network_network__context.h) = 4d86a288e5978eb49f584db1fddcdfccc41b703c
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.cc) = 6adea169ba0ac5fca8afa806a10c4aeb4b715cfb
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) = 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) = 581853677c9937ea97c4fd385eafb64f295bbc70
+SHA1 (patch-src_3rdparty_chromium_services_on__device__model_on__device__model__service.h) = 2c1d4cd8ebbe6763ec30978cb722873b83c47a02
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_memory__instrumentation_queued__request__dispatcher.cc) = e119b6ed3c536a8c8e706fcb887ca6a6f3cacc25
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.h) = 2b7b8f3bc9a466811f8e4174316994fa29cb0855
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_public_cpp_utilities.cc) = 9ded594b90c46c8b393703fc637d2c362f44cb9b
SHA1 (patch-src_3rdparty_chromium_services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc) = 3b59e8248e4656ae04129068106801f4d61f33a1
@@ -731,28 +720,25 @@ SHA1 (patch-src_3rdparty_chromium_services_service__manager_BUILD.gn) = e2bae929
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
SHA1 (patch-src_3rdparty_chromium_services_video__capture_public_mojom_video__capture__service.mojom) = 61f6133417cde1e0ad7d1ee5ae71bca4bdea8ae5
-SHA1 (patch-src_3rdparty_chromium_services_video__capture_video__capture__service__impl.cc) = cc8ebc6edfdde60dda081751eb7d43f02d2eabec
-SHA1 (patch-src_3rdparty_chromium_services_video__capture_video__capture__service__impl.h) = d604a58c2e28d24a5ca9807fe0af0c0e9a8a6599
+SHA1 (patch-src_3rdparty_chromium_services_video__effects_video__effects__sandbox__hook__linux.cc) = bc29097d69385b12ca5be6cc37bef0a56a46d1f5
+SHA1 (patch-src_3rdparty_chromium_services_video__effects_video__effects__sandbox__hook__linux.h) = 2d2bc637e0ebda4768bd3ccbba9f0333e2fea848
SHA1 (patch-src_3rdparty_chromium_skia_ext_SkMemory__new__handler.cpp) = 784405fc3ea10fe016db03f127e7e04f5f15b1b8
SHA1 (patch-src_3rdparty_chromium_skia_ext_font__utils.cc) = 1c54b7a4fdebef4095068a210db9b03c24bcd0fc
-SHA1 (patch-src_3rdparty_chromium_skia_ext_platform__canvas.h) = 3df71977393c2dd0d54ab6b72aba0a3e674c0489
SHA1 (patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_base_config.h) = e7b5398b5af831db06703f8309d8d8f176199f8b
SHA1 (patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_base_internal_raw__logging.cc) = fc67f44caaa5a5d504bcdf3c775320baefaec2a3
SHA1 (patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_base_internal_sysinfo.cc) = 5a0493d124c4b795c9ef7e74c51acaa592aff711
-SHA1 (patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.h) = 29df9d63db64414c9aa63584878ed7a45c8d816d
+SHA1 (patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.h) = 7c043415279fd2884aa1ae96a3a38f1a65964eb4
SHA1 (patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_time_internal_cctz_src_time__zone__format.cc) = 65924320b3f29ab0a8335e9ad01c90456d2c8f30
SHA1 (patch-src_3rdparty_chromium_third__party_angle_BUILD.gn) = 84fb8d156f031f3ff8d62a1e9144a21e35750091
SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_common_platform.h) = e8086bebcdea63a612cb23b1ba67fb17dad47c59
SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_common_platform__helpers.h) = 57bfafdeb5067a17da54fee4bdb77a667f3534e6
SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_common_system__utils.cpp) = 25f837a572a9a87fc1ad4658cd977ef15ca85ea4
-SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_common_system__utils__linux.cpp) = f75a135bddcbddcbdfacd4f2470bcde30063fbd9
-SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_compiler_translator_SymbolTable__ESSL__autogen.cpp) = de312dcb7c963a3d35e2885fcaf4bf3c78b8c091
+SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_common_system__utils__linux.cpp) = 14f244ea2543c1d8edc8cf61151b41f52922588c
SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__internal.h) = 75bd0ea19bb5ea5929821ba02d4f61945db6d23b
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) = 10bf21a548c22f89ef2b6787c132f558d4832c0d
-SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_formatutils.cpp) = b9be88ba78de61a1fa723f03fc0ebcee3fc6aa61
+SHA1 (patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_Display.cpp) = 9913385ff8ae6c4d1bcb976dc44fd65adcbcdf64
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
SHA1 (patch-src_3rdparty_chromium_third__party_angle_util_BUILD.gn) = 937b534ac694f70c6455575db8f922e38fda9f9d
@@ -760,27 +746,26 @@ SHA1 (patch-src_3rdparty_chromium_third__party_blink_common_renderer__preference
SHA1 (patch-src_3rdparty_chromium_third__party_blink_public_common_renderer__preferences_renderer__preferences.h) = f38b709d2cdebdb2fa577089335a86fd00d9744e
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) = 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) = 4f433172bdd183fd2551992f7ed2c57df8f5ef45
+SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_css_properties_css__color__function__parser.cc) = e9b8a9954335bb944be3c212d08586f4752a02c5
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
+SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_exported_web__view__impl.cc) = bcca3e70beaaa484451aabc0410e763590697801
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_frame_web__frame__test.cc) = b96cf711a21fb37c681267f3d5ca2d417dcff739
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_inspector_inspector__memory__agent.cc) = d45af25dfebbe69955f1be44962c6d7510eb6415
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) = 31e46e1f8e03107668469796a4cde5df19dff066
+SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc) = 7191a2e56eb3ced153bf3a641cea102e9fdb6ccf
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__device__factory.cc) = 011c503e5750c1069d74cdeac4b14d71f84b47c3
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_peerconnection_rtc__data__channel.cc) = cb455460e4757133718dab69a57acdc1768a57b9
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc) = e62fd7786161bf544a22dc0ead08af4e531f241a
@@ -792,16 +777,15 @@ SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_fon
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
SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__unique__name__lookup.cc) = 6a1fcbdf0b37292dbc935e258eab585593978038
-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_fonts_skia_font__cache__skia.cc) = 12394569b4b7a1c89e765f106f26266ec33700ab
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_gpu_image__layer__bridge.cc) = af26c76901f4170e71630a9742314c92ad704b3d
+SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_gpu_image__layer__bridge.cc) = 1785c38bdb9ccbc7d2b07f3ed4c989ee42861309
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) = ce10e51e740cc7edff64230d66dcd758575234d4
+SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_peerconnection_rtc__video__encoder__factory.cc) = bd961da4dcc46a5d8a8ce4f3ef2d2ad83800de47
+SHA1 (patch-src_3rdparty_chromium_third__party_blink_renderer_platform_runtime__enabled__features.json5) = 6e248d9b2e449ec3606df89825b5a8007415b4f6
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
@@ -863,24 +847,24 @@ SHA1 (patch-src_3rdparty_chromium_third__party_pdfium_pdfium.gni) = 757c04aa30d7
SHA1 (patch-src_3rdparty_chromium_third__party_pdfium_third__party_BUILD.gn) = cf77c0c4918da3ef1a61e58c0fd06414ee3e29a9
SHA1 (patch-src_3rdparty_chromium_third__party_pdfium_xfa_fgas_graphics_cfgas__gegraphics.cpp) = 84efe1a1b468451de9cc23e0b6c56bf72940e508
SHA1 (patch-src_3rdparty_chromium_third__party_pdfium_xfa_fxfa_parser_cxfa__timezoneprovider.cpp) = 8117c2d7f3bc45c4ef0347ecf13309e9b3d8068e
-SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_build__config.h) = a6b07de8236bb7ffeaf64bc4a1eed93a830504ed
+SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_build__config.h) = 21e432cbf98193b7e9fc2d8ded06c5a2835cbfe5
SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_thread__utils.h) = 21bd61b286a0680efc1b60f15f05ce2f40a285a6
SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_time.h) = e0bed95971b15152deb22e6a393b7ee5b42e2ee9
SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_ext_base_event__fd.h) = 9d140021967fb83d459572ab5d3cf69eafd95c86
SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_ext_base_thread__utils.h) = b989f90813534e0b66506b4f99e82b93e5dad49f
SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_tracing_internal_track__event__legacy.h) = 6276edbba2b4fdb8dcfa0aea268312b53d2aaf58
SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_protos_perfetto_trace_ftrace_v4l2.proto) = fa7743b69c539b09acda94767856e67db934b6aa
-SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_base_event__fd.cc) = b431b33e915699c983df5d11d752be2a127b3830
-SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_base_periodic__task.cc) = 5a89bc08741f96515612b08d8af24e836137a4e3
-SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_base_string__utils.cc) = 93ad8ca8c7dfa2c917729d3825fb9665e7e3a940
-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) = e2411d497b5a9060fc7feb7380fa83a0acab6fd0
+SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_base_clock__snapshots.cc) = 18e757cc5a39af7c894dc62392c509f14e97d939
+SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_base_event__fd.cc) = 5338dda0b900ab4dd17931ebac6ede04c96e3ac7
+SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_base_periodic__task.cc) = 2f81c2990307bcd4b6f01c64d4c28c04e7e6614d
+SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_base_string__utils.cc) = 199063c027904d54907f794615bcd68d1bc5efb6
+SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_base_subprocess__posix.cc) = db1056b3e646d57705af65f16f73b32436f83945
+SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_base_thread__task__runner.cc) = dc802bb5c372c9a2381744cb825193e489d8019c
+SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_base_unix__socket.cc) = 648f21531179cf558e0dbb2459a9b4cd7c160b18
+SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_base_utils.cc) = a51ebe0966343ce2d5a35a57035d560af7c7b4c2
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_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_trace__processor_importers_ftrace_v4l2__tracker.cc) = 267e05d48433da5642eb8c630a0c6822965af35c
+SHA1 (patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_ipc_memfd.cc) = 02855319a5822ff6453078e710fdd0cb300e455b
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_gpu_ganesh_GrAutoLocaleSetter.h) = 68f39b077cfd899ee0a1490e8b43b6bb6836555b
@@ -929,11 +913,11 @@ SHA1 (patch-src_3rdparty_chromium_tools_licenses_licenses.py) = c0dc66fbbe864940
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) = 2e5f6cefa5fe498bf6dfde5ce79180013470cbeb
SHA1 (patch-src_3rdparty_chromium_tools_protoc__wrapper_protoc__wrapper.py) = 24b853f2e4ba3be607dc901dbc8edfe1955e1ff3
-SHA1 (patch-src_3rdparty_chromium_tools_v8__context__snapshot_BUILD.gn) = bf26133e6f5486900a199081115a8662fe78aafd
+SHA1 (patch-src_3rdparty_chromium_tools_v8__context__snapshot_BUILD.gn) = af171455a1a2860b95618fce9c6a50a0c5da2a0e
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
-SHA1 (patch-src_3rdparty_chromium_ui_aura_screen__ozone.h) = 6fc915f73fc5e1ef20180ade0c7f2969caf6c456
+SHA1 (patch-src_3rdparty_chromium_ui_aura_screen__ozone.cc) = 1aa084f7e00913bd3a3c519ab6a13f80e8ef1821
+SHA1 (patch-src_3rdparty_chromium_ui_aura_screen__ozone.h) = 7445ef3d1bfe3ea4f1d1edf4e2bdbbf16d753276
SHA1 (patch-src_3rdparty_chromium_ui_base_clipboard_clipboard__constants.cc) = 0270a848dee77a152dcef0b0fd3ef5e19c3d564f
SHA1 (patch-src_3rdparty_chromium_ui_base_clipboard_clipboard__constants.h) = 9cb888e2ec1643770828d36f709f62e2bd44bd26
SHA1 (patch-src_3rdparty_chromium_ui_base_clipboard_clipboard__non__backed.cc) = ec03b64d5d232efa8e31fecc3df22aad62241637
@@ -945,28 +929,28 @@ SHA1 (patch-src_3rdparty_chromium_ui_base_ime_dummy__text__input__client.cc) = 8
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) = 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_init_input__method__initializer.cc) = 79a69868af423f2d3d1395272f0da0594b0eb781
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) = 91530ae92fb831716c137e5e262c64059c6dbb77
-SHA1 (patch-src_3rdparty_chromium_ui_base_ui__base__features.h) = 159770a1b200ef00920ba41133ef6a5ab3f52bb5
-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_ui__base__features.cc) = 960071c3e8bb2e735b85f5205212bfbb034bb487
+SHA1 (patch-src_3rdparty_chromium_ui_base_ui__base__features.h) = cd5963c571788e1ccfa0db7599afb94b2f62ebfa
+SHA1 (patch-src_3rdparty_chromium_ui_base_ui__base__switches.cc) = 760178b070e4241910054ed512873309355aacd6
+SHA1 (patch-src_3rdparty_chromium_ui_base_ui__base__switches.h) = d2c588d5531dcfd24621977a248dbe15292f8492
+SHA1 (patch-src_3rdparty_chromium_ui_base_webui_web__ui__util.cc) = 6a0471da8b6cb335a3674455cc7cd1ff8f6c5cec
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_base_x_x11__shm__image__pool.cc) = f15e35f47a02423ca2289edf93a4e2c4fa198324
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
+SHA1 (patch-src_3rdparty_chromium_ui_compositor_compositor.cc) = f054bcd4c24af3795208d6c7844614659412714f
SHA1 (patch-src_3rdparty_chromium_ui_compositor_compositor.h) = 4ae653f9f2d2b4d4f9374bb7f3c063b6e051228c
SHA1 (patch-src_3rdparty_chromium_ui_compositor_compositor__observer.h) = fc661d6ba2ba7f753e143dfbaf901c841c16e36b
-SHA1 (patch-src_3rdparty_chromium_ui_display_screen.cc) = d4e1167ea14fc80b3672589633e5b806f36cd9f5
-SHA1 (patch-src_3rdparty_chromium_ui_display_screen.h) = 3bcc99dbe2ca3fb19391853984d0f69468df82ef
+SHA1 (patch-src_3rdparty_chromium_ui_display_screen.cc) = 6f7341e89cf9ca71e9e0cfc70b017e422b6ee988
+SHA1 (patch-src_3rdparty_chromium_ui_display_screen.h) = 7fcd3a2bca7350d3a67ac6c3ffbd820d1ddd505c
SHA1 (patch-src_3rdparty_chromium_ui_events_devices_x11_device__data__manager__x11.cc) = 031027c1e5bfcdba677445f0c56f896d99d06c68
SHA1 (patch-src_3rdparty_chromium_ui_events_event.cc) = e42240534ee9171d18220788cbf11494185d161d
SHA1 (patch-src_3rdparty_chromium_ui_events_event__switches.cc) = 620c15a03a74a7a09828b0e1ad6bc1c0371118b0
@@ -976,19 +960,18 @@ SHA1 (patch-src_3rdparty_chromium_ui_events_keycodes_dom_keycode__converter.h) =
SHA1 (patch-src_3rdparty_chromium_ui_gfx_BUILD.gn) = b2e342f95147c5d3249d0ea889ea9204b5c0ce4c
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.h) = 5b3d6616801447c09405c3f96525254c7bff3bb7
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_gpu__memory__buffer.cc) = d9140e4ca59d8f9f56bb2f84f286f16f8ad204b8
+SHA1 (patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.h) = c28e0198f52e6a5a05eba00b0a8d9bd20ba6cb6b
SHA1 (patch-src_3rdparty_chromium_ui_gfx_linux_dmabuf__uapi.h) = 6bd6f10d86be19fcbe41c20f138a638f5115f445
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) = b84c1f9be14a3793da165963a0dca359702e315d
+SHA1 (patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.cc) = d8f4322aaf91446c71d4487999d71f9ce7c12406
+SHA1 (patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.h) = b3cef51f809483bb875069989566a802ccc8506f
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) = 7c98370cf3a3eeefc038c65340bcbd7c77d3f4b5
+SHA1 (patch-src_3rdparty_chromium_ui_gfx_native__pixmap__handle.h) = f5fb6510a6a3ca8b834c4db8f9ea93a032b6e3f9
+SHA1 (patch-src_3rdparty_chromium_ui_gfx_native__widget__types.h) = 1f5168de1f9b9162617dd3120b4c51e793af77e7
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) = 6174dca73a907ee01e84461e24b6c975749ccc17
@@ -1002,36 +985,21 @@ SHA1 (patch-src_3rdparty_chromium_ui_gl_BUILD.gn) = 83acc4c0b13a72599f1e28664093
SHA1 (patch-src_3rdparty_chromium_ui_gl_gl__context.cc) = 79fbd156b810f93df8e790568470fc05cef4b420
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_gl__switches.cc) = 78244bde0746bcc7983d6a01605be1777f47fabb
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) = 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_message__center_views_message__popup__view.cc) = 1f2faeec01013dfeef481a7a11355d5551decc9b
+SHA1 (patch-src_3rdparty_chromium_ui_native__theme_native__theme.h) = 0d9b4f627b1801716c9a83131891755b2d5c51b3
+SHA1 (patch-src_3rdparty_chromium_ui_native__theme_native__theme__base.cc) = db002aa4a07ace82ab3364fe4de16060a9f58cc3
+SHA1 (patch-src_3rdparty_chromium_ui_native__theme_native__theme__features.cc) = 6913cc216613198fbe87af0dbc0eb98c9529386d
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) = 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__connection.cc) = c432c03e9d1e48531c00eddaf97dfecd1ea645d8
-SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__input__method__context.cc) = 1fe180e91884fc192a9a5ae831435e9141a495c2
-SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__popup.cc) = 93a136006522aabd76417893c34c8249abb22e3d
-SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__screen.cc) = 97365cb8a501cd749733fc737dc7be8218c85f4d
-SHA1 (patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__screen.h) = 4a6023cca6dc29252b740302ad1e8c6f7f20eba6
-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) = 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
@@ -1041,7 +1009,6 @@ SHA1 (patch-src_3rdparty_chromium_ui_platform__window_platform__window__delegate
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) = 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
SHA1 (patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__ja.xtb) = 4b47394e17f61e869544d8a2b4c8eb82d35b1ae4
SHA1 (patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__ko.xtb) = c4313f40088716dd7bd6f439a97b6bd781772132
@@ -1051,23 +1018,22 @@ 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) = 4eaec2b7cc39a3abf76c15e4efbf38435ae36146
+SHA1 (patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.cc) = 2e479254aa2cb691c886d6ba6cb9eeed0ee4124d
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_corewm_tooltip__aura.cc) = d58b1bde2cd257735d1ac62d26b3929f22d086e2
SHA1 (patch-src_3rdparty_chromium_ui_views_examples_widget__example.cc) = a8015cd1a291aa2890ef13ab2f093050352da521
-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_focus_focus__manager.cc) = 4b03687efc11850c5f818ce516ac8f8636ef41fe
+SHA1 (patch-src_3rdparty_chromium_ui_views_style_platform__style.cc) = 50d3ea3acd1f5808ef90b4ad15d75b6c38beed10
+SHA1 (patch-src_3rdparty_chromium_ui_views_test_ui__controls__factory__desktop__aura__ozone.cc) = fa70a5d2268e06bd0528fb28ed02a8a33205a517
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) = 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) = 38f5e3713fa8e0d69bf43fd738ecdf13bcf11a4c
-SHA1 (patch-src_3rdparty_chromium_ui_views_widget_widget.cc) = 35dc2e313d32ac138170efb5fa92a39e74bdc964
-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_widget_widget.cc) = 0940435553201288df3b1c224f1ce0bde94c9527
+SHA1 (patch-src_3rdparty_chromium_ui_views_window_custom__frame__view.cc) = 6702da3daf8dff6b97224b0c63a9e8c38d18b6c3
+SHA1 (patch-src_3rdparty_chromium_ui_views_window_dialog__delegate.cc) = 202ff49f8ebe810ccbb1233d6502324435afbad2
SHA1 (patch-src_3rdparty_chromium_ui_views_window_frame__background.cc) = 39ff13df30968db8b89c361ba240d185b33a0d9e
SHA1 (patch-src_3rdparty_chromium_v8_BUILD.gn) = 89ce56050599d80053bcee4ac61772c8ae0435bc
SHA1 (patch-src_3rdparty_chromium_v8_include_v8-internal.h) = b4916e57f3c10b98c04a8e70ee9029e4ab9456df
@@ -1078,28 +1044,27 @@ SHA1 (patch-src_3rdparty_chromium_v8_src_base_platform_memory.h) = 3fa64034ba9eb
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) = 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
SHA1 (patch-src_3rdparty_chromium_v8_src_base_utils_random-number-generator.cc) = 0bb8662e79fc8dfb12a4dc0bc082c0e8051ff39a
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) = 754e380e0c2e7279aaaf7cfa0658f8b5f3e1f0c8
+SHA1 (patch-src_3rdparty_chromium_v8_src_execution_isolate.cc) = 983587fc4b1c2efc3115789bb45fc9e54111c2b7
+SHA1 (patch-src_3rdparty_chromium_v8_src_flags_flags.cc) = 15ff655e2a23300fee87e2d89b19bb5070095dd8
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) = 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
-SHA1 (patch-src_3rdparty_chromium_v8_src_trap-handler_trap-handler.h) = 3098aae852022383c29a98f19e5e81eb1ee5ccb9
+SHA1 (patch-src_3rdparty_chromium_v8_src_trap-handler_trap-handler.h) = 3b0d491032a8c5094d638b2a0278a3cb7b346593
SHA1 (patch-src_3rdparty_chromium_v8_src_wasm_baseline_ia32_liftoff-assembler-ia32-inl.h) = 5edc0269929f0011b439ea49328ae6a470908412
SHA1 (patch-src_3rdparty_chromium_v8_tools_run-paxctl.py) = 0a2aa78fd50836fb66f6c7ec818739553e96a258
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) = 448f901835d51b432223bfcd8909e9388f5ab190
-SHA1 (patch-src_core_api_configure.cmake) = 11f33584d2a5137614c438552863b15866cb6378
-SHA1 (patch-src_core_api_qt__cmdline.cmake) = fe994c072bec116651b186b0c40b16d23284046d
-SHA1 (patch-src_pdf_CMakeLists.txt) = a2f2143a7c3579b7b4bdbf839beb7525e123cc5e
+SHA1 (patch-src_core_CMakeLists.txt) = bb9c8c34d27586b7b853a74558a91ce562000430
+SHA1 (patch-src_core_api_configure.cmake) = 5e1f28f915bb2c125a4c15963e11268ae6f8b69e
+SHA1 (patch-src_core_api_qt__cmdline.cmake) = d957a928116d0b848331fe4d023a8baf89dc86d7
+SHA1 (patch-src_pdf_CMakeLists.txt) = e6aa31e20e486a903a2b365c976c31b2e5728152
SHA1 (patch-src_pdf_configure_BUILD.root.gn.in) = c5839871ef47b9b284736d47d773187401eba1ee
diff --git a/qt6-qtwebengine/patches/patch-configure.cmake b/qt6-qtwebengine/patches/patch-configure.cmake
index 224f74bd44..69b2f4c458 100644
--- a/qt6-qtwebengine/patches/patch-configure.cmake
+++ b/qt6-qtwebengine/patches/patch-configure.cmake
@@ -3,18 +3,18 @@ $NetBSD$
* Based on OpenBSD's qt6-qtwebengine patches, and
pkgsrc's qt5-qtwebengine patches
---- configure.cmake.orig 2025-08-18 00:53:11.000000000 +0000
+--- configure.cmake.orig 2025-11-14 07:55:10.000000000 +0000
+++ configure.cmake
-@@ -105,7 +105,7 @@ endif()
-
- #### Tests
+@@ -116,7 +116,7 @@ if(Python3_EXECUTABLE)
+ )
+ endif()
-if(LINUX)
+if(UNIX)
qt_webengine_configure_check_for_ulimit()
endif()
-@@ -291,16 +291,16 @@ unset(targets_to_check)
+@@ -302,16 +302,16 @@ unset(targets_to_check)
qt_webengine_configure_check("supported-platform"
MODULES QtWebEngine
@@ -34,17 +34,30 @@ $NetBSD$
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"
+@@ -381,42 +381,42 @@ qt_webengine_configure_check("flex"
)
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."
+ DOCUMENTATION "A pkg-config binary."
TAGS LINUX_PLATFORM
-@@ -394,28 +394,28 @@ qt_webengine_configure_check("harfbuzz"
)
+-qt_webengine_configure_check("glibc"
+- MODULES QtWebEngine
+- CONDITION NOT LINUX OR TEST_glibc
+- MESSAGE "A suitable version >= ${QT_CONFIGURE_CHECK_glibc_version} of glibc is required."
+- DOCUMENTATION "Glibc library at least ${QT_CONFIGURE_CHECK_glibc_version} version or later."
+- TAGS LINUX_PLATFORM
+-)
++#qt_webengine_configure_check("glibc"
++# MODULES QtWebEngine
++# CONDITION NOT UNIX OR TEST_glibc
++# MESSAGE "A suitable version >= ${QT_CONFIGURE_CHECK_glibc_version} of glibc is required."
++# DOCUMENTATION "Glibc library at least ${QT_CONFIGURE_CHECK_glibc_version} version or later."
++# TAGS LINUX_PLATFORM
++#)
qt_webengine_configure_check("mesa-headers"
MODULES QtWebEngine
- CONDITION NOT LINUX OR TEST_khr
@@ -66,7 +79,7 @@ $NetBSD$
- 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."
+ DOCUMENTATION "Nss library is at least ${QT_CONFIGURE_CHECK_nss_version} version."
TAGS LINUX_PLATFORM
)
qt_webengine_configure_check("dbus"
@@ -76,16 +89,7 @@ $NetBSD$
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)
+@@ -424,8 +424,8 @@ qt_webengine_configure_check("dbus"
qt_webengine_configure_check("compiler"
MODULES QtWebEngine
CONDITION MSVC OR
@@ -96,7 +100,7 @@ $NetBSD$
(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"
+@@ -433,8 +433,8 @@ qt_webengine_configure_check("compiler"
qt_webengine_configure_check("compiler"
MODULES QtPdf
CONDITION MSVC OR
@@ -107,25 +111,43 @@ $NetBSD$
(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"
+@@ -466,7 +466,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"
+ MESSAGE "Gcc version must be at least ${QT_CONFIGURE_CHECK_gcc_version}"
+ DOCUMENTATION "Gcc version must be at least ${QT_CONFIGURE_CHECK_gcc_version} to compile QtWebEngine."
+@@ -475,7 +475,7 @@ qt_webengine_configure_check("gcc"
- qt_webengine_configure_check("gcc-pdf"
+ qt_webengine_configure_check("clang"
+ MODULES QtWebEngine
+- CONDITION NOT (LINUX OR MINGW) OR NOT CMAKE_CXX_COMPILER_ID STREQUAL "CLANG" OR
++ CONDITION NOT (UNIX OR MINGW) OR NOT CMAKE_CXX_COMPILER_ID STREQUAL "CLANG" OR
+ NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS ${QT_CONFIGURE_CHECK_calng_version}
+ MESSAGE "Clang version must be at least ${QT_CONFIGURE_CHECK_clang_version}"
+ DOCUMENTATION "Clang version must be at least ${QT_CONFIGURE_CHECK_clang_version} to compile QtWebEngine."
+@@ -484,7 +484,7 @@ qt_webengine_configure_check("clang"
+
+ qt_webengine_configure_check("gcc_for_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
+ NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS ${QT_CONFIGURE_CHECK_gcc_for_pdf_version}
+ MESSAGE "GCC version must be at least ${QT_CONFIGURE_CHECK_gcc_for_pdf_version}"
+ DOCUMENTATION "Gcc version must be at least ${QT_CONFIGURE_CHECK_gcc_for_pdf_version}"
+@@ -516,7 +516,7 @@ foreach(x_lib ${x_libs})
+ string(TOLOWER ${x_lib} lib)
+ qt_webengine_configure_check("${lib}"
+ 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 ${lib} library for qpa-xcb support."
+ DOCUMENTATION "${lib}"
+ TAGS LINUX_XCB
+@@ -743,7 +743,7 @@ qt_feature("webengine-system-openh264" P
qt_feature("webengine-ozone-x11" PRIVATE
LABEL "Support X11 on qpa-xcb"
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_BUILD.gn
index f5971a6a50..47913eb4ca 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/BUILD.gn.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/BUILD.gn
-@@ -67,7 +67,7 @@ declare_args() {
+@@ -72,7 +72,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)
-@@ -99,7 +99,6 @@ group("gn_all") {
+@@ -104,7 +104,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",
-@@ -438,7 +437,7 @@ group("gn_all") {
+@@ -447,7 +446,7 @@ group("gn_all") {
}
}
@@ -32,7 +32,7 @@ $NetBSD$
deps += [
"//third_party/breakpad:breakpad_unittests",
"//third_party/breakpad:core-2-minidump",
-@@ -613,6 +612,15 @@ group("gn_all") {
+@@ -621,6 +620,15 @@ group("gn_all") {
]
}
@@ -48,12 +48,66 @@ $NetBSD$
if (is_linux || is_chromeos_lacros) {
deps += [
"//skia:filter_fuzz_stub",
-@@ -1159,7 +1167,7 @@ if (use_blink && !is_cronet_build) {
+@@ -685,7 +693,7 @@ group("gn_all") {
+ }
+ }
+
+- if (!is_fuchsia) {
++ if (!is_fuchsia && !is_bsd) {
+ # The official builders use this binary from the default toolchain's
+ # output directory after building in order to upload the symbols of that
+ # binary. They build the binary like `ninja symupload` which requires the
+@@ -720,7 +728,7 @@ group("gn_all") {
+ ]
+ }
+
+- if ((is_mac || is_win || is_android || is_linux || is_chromeos) && !is_qtwebengine) {
++ if (!is_bsd && (is_mac || is_win || is_android || is_linux || is_chromeos) && !is_qtwebengine) {
+ deps += [
+ "//third_party/crashpad/crashpad:crashpad_tests",
+ "//third_party/crashpad/crashpad/handler:crashpad_handler",
+@@ -1130,7 +1138,7 @@ if (use_blink && !is_cronet_build) {
+ ]
+
+ if (!is_chromeos_ash && !is_ios && !is_fuchsia && !is_android &&
+- !is_castos) {
++ !is_castos && !is_bsd) {
+ deps += [
+ ":chrome_wpt_tests",
+ ":headless_shell_wpt",
+@@ -1184,7 +1192,7 @@ if (use_blink && !is_cronet_build) {
]
}
- if (!is_chromeos_ash && !is_ios && !is_fuchsia && !is_android && !is_castos) {
+ if (!is_chromeos_ash && !is_ios && !is_fuchsia && !is_android && !is_castos && !is_bsd) {
+ # https://chromium.googlesource.com/chromium/src/+/HEAD/docs/testing/run_web_platform_tests.md
script_test("chrome_wpt_tests") {
script = "//third_party/blink/tools/run_wpt_tests.py"
- args = _common_web_test_options + [ "--product=chrome" ]
+@@ -1280,7 +1288,7 @@ if (use_blink && !is_cronet_build) {
+ data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ]
+ }
+
+- if (!is_win && !is_android) {
++ if (!is_win && !is_android && !is_bsd) {
+ # Using the default toolchain for this tool, as it's run during tests not
+ # during the build. This places a symlink in the root_build_dir for scrips
+ # to use.
+@@ -1294,7 +1302,7 @@ if (use_blink && !is_cronet_build) {
+ data_deps += [ "//third_party/breakpad:dump_syms" ]
+ }
+
+- if (is_linux || is_chromeos) {
++ if ((is_linux && !is_bsd) || is_chromeos) {
+ # Using the default toolchain for this tool, as it's run during tests not
+ # during the build. This places a symlink in the root_build_dir for scrips
+ # to use.
+@@ -1764,7 +1772,7 @@ group("chromium_builder_perf") {
+ data_deps += [ "//chrome/test:performance_browser_tests" ]
+ }
+
+- if (!is_win) {
++ if (!is_win && !is_bsd) {
+ data_deps += [ "//third_party/breakpad:minidump_stackwalk($host_system_allocator_toolchain)" ]
+ }
+ }
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 e41185e017..2a2a227877 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,18 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/partition_alloc.gni
-@@ -31,7 +31,7 @@ if (is_nacl) {
- use_large_empty_slot_span_ring = is_mac
+@@ -89,7 +89,7 @@ if (is_nacl) {
+ use_large_empty_slot_span_ring = true
has_memory_tagging =
- current_cpu == "arm64" && is_clang && !is_asan && (is_linux || is_android)
-+ current_cpu == "arm64" && is_clang && !is_asan && !is_bsd && (is_linux || is_android)
++ current_cpu == "arm64" && is_clang && !is_asan && !is_bsd (is_linux || is_android)
declare_args() {
- # Causes all the allocations to be routed via allocator_shim.cc. Usually,
-@@ -391,7 +391,7 @@ assert(!use_asan_backup_ref_ptr || use_r
+ # Debug configuration.
+@@ -490,7 +490,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 =
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 27dacdc394..dcc3d25697 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,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_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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h
@@ -26,8 +26,8 @@
#define PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR __attribute__((const))
#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_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_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
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc
index 24a2410984..b79adbc789 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__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/page_allocator_internals_posix.cc.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.cc
-@@ -9,7 +9,7 @@
- #include "partition_alloc/page_allocator.h"
+@@ -39,7 +39,7 @@ uint32_t SecTaskGetCodeSignStatus(SecTas
- #if PA_BUILDFLAG(HAS_MEMORY_TAGGING) || \
-- (defined(__ARM_FEATURE_BTI_DEFAULT) && (__ARM_FEATURE_BTI_DEFAULT == 1))
-+ (defined(__ARM_FEATURE_BTI_DEFAULT) && (__ARM_FEATURE_BTI_DEFAULT == 1) && !PA_BUILDFLAG(IS_BSD))
+ #if PA_BUILDFLAG(HAS_MEMORY_TAGGING) || \
+ (defined(__ARM_FEATURE_BTI_DEFAULT) && (__ARM_FEATURE_BTI_DEFAULT == 1) && \
+- __has_include(<sys/ifunc.h>))
++ __has_include(<sys/ifunc.h>) && !PA_BUILDFLAG(IS_BSD))
struct __ifunc_arg_t;
#include "partition_alloc/aarch64_support.h"
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 6660c88b0a..80eb22b10f 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,7 +4,7 @@ $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 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.orig 2025-10-02 00:36:39.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"
@@ -13,5 +13,5 @@ $NetBSD$
-#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__page__constants.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__page__constants.h
index bfc390b1d6..eb0a72cffd 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-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_page_constants.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_page_constants.h
@@ -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 defined(PARTITION_ALLOCATOR_CONSTANTS_POSIX_NONCONST_PAGE_SIZE) && \
-- PA_BUILDFLAG(IS_LINUX) && \
-+ (PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_BSD)) && \
+- 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 fa20feffff..d44436c139 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,7 +4,7 @@ $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-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_root.cc
@@ -44,7 +44,7 @@
#include "wow64apiset.h"
@@ -13,9 +13,9 @@ $NetBSD$
-#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
-
-@@ -290,7 +290,7 @@ void PartitionAllocMallocInitOnce() {
+ #if PA_CONFIG(ENABLE_SHADOW_METADATA)
+ #include <sys/mman.h>
+@@ -297,7 +297,7 @@ void PartitionAllocMallocInitOnce() {
return;
}
@@ -24,7 +24,7 @@ $NetBSD$
// 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.
-@@ -1110,7 +1110,7 @@ void PartitionRoot::Init(PartitionOption
+@@ -1117,7 +1117,7 @@ void PartitionRoot::Init(PartitionOption
// apple OSes.
PA_CHECK((internal::SystemPageSize() == (size_t{1} << 12)) ||
(internal::SystemPageSize() == (size_t{1} << 14)));
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 a93d285cf5..f31db8f0cb 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/base/base_paths_posix.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/base_paths_posix.cc
@@ -15,6 +15,7 @@
#include <ostream>
@@ -29,40 +29,40 @@ $NetBSD$
#elif BUILDFLAG(IS_SOLARIS) || BUILDFLAG(IS_AIX)
#include <stdlib.h>
#endif
-@@ -47,12 +52,20 @@ bool PathProviderPosix(int key, FilePath
+@@ -47,13 +52,21 @@ bool PathProviderPosix(int key, FilePath
*result = bin_dir;
return true;
#elif BUILDFLAG(IS_FREEBSD)
-- int name[] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 };
+- int name[] = {CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1};
- 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.";
-+ }
-+ *result = FilePath(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_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];
-@@ -62,13 +75,65 @@ bool PathProviderPosix(int key, FilePath
+ if (realpath(getexecname(), bin_dir) == NULL) {
+@@ -62,14 +75,65 @@ bool PathProviderPosix(int key, FilePath
*result = FilePath(bin_dir);
return true;
#elif BUILDFLAG(IS_OPENBSD) || BUILDFLAG(IS_AIX)
- // There is currently no way to get the executable path on OpenBSD
- char* cpath;
-- if ((cpath = getenv("CHROME_EXE_PATH")) != NULL)
+- if ((cpath = getenv("CHROME_EXE_PATH")) != NULL) {
- *result = FilePath(cpath);
-- else
+- } else {
- *result = FilePath("/usr/local/chrome/chrome");
-- return true;
+ char *cpath;
+#if !BUILDFLAG(IS_AIX)
+ struct kinfo_file *files;
@@ -90,7 +90,8 @@ $NetBSD$
+ *result = FilePath(retval);
+ VLOG(1) << "PathProviderPosix (sandbox) result: " << retval;
+ goto out;
-+ }
+ }
+- return true;
+
+ if ((kd = kvm_openfiles(NULL, NULL, NULL, (int)KVM_NO_FILES, errbuf)) == NULL)
+ goto out;
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
index 41dafb5bde..46bdbcad4b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_base__switches.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_base__switches.cc
@@ -4,10 +4,10 @@ $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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/base_switches.cc
-@@ -132,7 +132,7 @@ const char kDisableHighResTimer[] = "dis
- const char kDisableUsbKeyboardDetect[] = "disable-usb-keyboard-detect";
+@@ -133,7 +133,7 @@ const char kDisableHighResTimer[] = "dis
+ const char kDisableUsbKeyboardDetect[] = "disable-usb-keyboard-detect";
#endif
-#if BUILDFLAG(IS_LINUX)
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 85e3b4ad47..16f960ba9e 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/base/compiler_specific.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/compiler_specific.h
-@@ -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_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))
+@@ -729,6 +729,8 @@ inline constexpr bool AnalyzerAssumeTrue
+ #if __has_cpp_attribute(clang::preserve_most) && \
+ (defined(ARCH_CPU_ARM64) || defined(ARCH_CPU_X86_64)) && \
+ !defined(COMPONENT_BUILD) && \
++ !defined(IS_OPENBSD) && \
++ !defined(IS_NETBSD) && \
+ !(BUILDFLAG(IS_WIN) && defined(ARCH_CPU_ARM64))
+ #define PRESERVE_MOST [[clang::preserve_most]]
+ #else
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_debug_debugger__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_debug_debugger__posix.cc
index 7f67786ab0..9785fd15bc 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_debug_debugger__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_debug_debugger__posix.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/debug/debugger_posix.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/base/debug/debugger_posix.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/debug/debugger_posix.cc
@@ -41,6 +41,10 @@
#include <sys/sysctl.h>
@@ -17,16 +17,18 @@ $NetBSD$
#if BUILDFLAG(IS_FREEBSD)
#include <sys/user.h>
#endif
-@@ -86,6 +90,7 @@ bool BeingDebugged() {
+@@ -86,7 +90,8 @@ bool BeingDebugged() {
// Initialize mib, which tells sysctl what info we want. In this case,
// we're looking for information about a specific process ID.
+- int mib[] = {CTL_KERN,
+#if !BUILDFLAG(IS_NETBSD)
- int mib[] = {
- CTL_KERN,
- KERN_PROC,
-@@ -97,36 +102,75 @@ bool BeingDebugged() {
- 0
++ int mib[] = {CTL_KERN,
+ KERN_PROC,
+ KERN_PROC_PID,
+ getpid()
+@@ -96,37 +101,76 @@ bool BeingDebugged() {
+ 0
#endif
};
+#else
@@ -54,8 +56,9 @@ $NetBSD$
+#endif
#if BUILDFLAG(IS_OPENBSD)
- if (sysctl(mib, std::size(mib), NULL, &info_size, NULL, 0) < 0)
+ if (sysctl(mib, std::size(mib), NULL, &info_size, NULL, 0) < 0) {
return -1;
+ }
- mib[5] = (info_size / sizeof(struct kinfo_proc));
+ mib[5] = static_cast<int>((info_size / sizeof(struct kinfo_proc)));
@@ -73,8 +76,9 @@ $NetBSD$
+ mib[5] = (info_size / sizeof(struct kinfo_proc2));
#endif
+- int sysctl_result = sysctl(mib, std::size(mib), &info, &info_size, NULL, 0);
+#if !BUILDFLAG(IS_OPENBSD)
- int sysctl_result = sysctl(mib, std::size(mib), &info, &info_size, NULL, 0);
++ int sysctl_result = sysctl(mib, std::size(mib), &info, &info_size, NULL, 0);
+#endif
DCHECK_EQ(sysctl_result, 0);
if (sysctl_result != 0) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_dir__reader__linux.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_dir__reader__linux.h
index 2cf5f8e21a..0101dde06a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_dir__reader__linux.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_dir__reader__linux.h
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/files/dir_reader_linux.h.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/base/files/dir_reader_linux.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/files/dir_reader_linux.h
@@ -21,10 +21,16 @@
#include "base/logging.h"
@@ -21,25 +21,25 @@ $NetBSD$
+typedef struct dirent linux_dirent;
+#else
struct linux_dirent {
- uint64_t d_ino;
- int64_t d_off;
+ uint64_t d_ino;
+ int64_t d_off;
@@ -32,6 +38,7 @@ struct linux_dirent {
- unsigned char d_type;
- char d_name[0];
+ unsigned char d_type;
+ char d_name[0];
};
+#endif
class DirReaderLinux {
public:
@@ -66,7 +73,11 @@ class DirReaderLinux {
- if (offset_ != size_)
return true;
+ }
+#if BUILDFLAG(IS_BSD)
+ const int r = getdents(fd_, reinterpret_cast<char *>(buf_), sizeof(buf_));
+#else
const long r = syscall(__NR_getdents64, fd_, buf_, sizeof(buf_));
+#endif
- if (r == 0)
+ if (r == 0) {
return false;
- if (r < 0) {
+ }
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_file__path__watcher__kqueue.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_file__path__watcher__kqueue.cc
index 6b99fad7f2..c0eb516dae 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_file__path__watcher__kqueue.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_files_file__path__watcher__kqueue.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_kqueue.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/base/files/file_path_watcher_kqueue.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/files/file_path_watcher_kqueue.cc
-@@ -81,9 +81,15 @@ size_t FilePathWatcherKQueue::EventsForP
+@@ -81,10 +81,16 @@ size_t FilePathWatcherKQueue::EventsForP
FilePath::StringType subdir = (i != (components.end() - 1)) ? *(i + 1) : "";
EventData* data = new EventData(built_path, subdir);
struct kevent event;
@@ -16,8 +16,9 @@ $NetBSD$
+ NOTE_RENAME | NOTE_REVOKE | NOTE_EXTEND), 0, reinterpret_cast<intptr_t>(data));
+#else
EV_SET(&event, fd, EVFILT_VNODE, (EV_ADD | EV_CLEAR | EV_RECEIPT),
- (NOTE_DELETE | NOTE_WRITE | NOTE_ATTRIB |
- NOTE_RENAME | NOTE_REVOKE | NOTE_EXTEND), 0, data);
+ (NOTE_DELETE | NOTE_WRITE | NOTE_ATTRIB | NOTE_RENAME | NOTE_REVOKE |
+ NOTE_EXTEND),
+ 0, data);
+#endif
events->push_back(event);
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_linux__util.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_linux__util.cc
index 80e35da978..2979e39d0a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_linux__util.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_linux__util.cc
@@ -4,16 +4,16 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/linux_util.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/base/linux_util.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/linux_util.cc
-@@ -154,10 +154,14 @@ void SetLinuxDistro(const std::string& d
+@@ -164,10 +164,14 @@ void SetLinuxDistro(const std::string& d
}
bool GetThreadsForProcess(pid_t pid, std::vector<pid_t>* tids) {
+#if BUILDFLAG(IS_BSD)
+ return false;
+#else
- // 25 > strlen("/proc//task") + strlen(std::to_string(INT_MAX)) + 1 = 22
+ // 25 > strlen("/proc//task") + strlen(base::NumberToString(INT_MAX)) + 1 = 22
char buf[25];
strings::SafeSPrintf(buf, "/proc/%d/task", pid);
return GetThreadsFromProcessDir(buf, tids);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_memory_madv__free__discardable__memory__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_memory_madv__free__discardable__memory__posix.cc
index f8dc3144ba..84b135cdc2 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_memory_madv__free__discardable__memory__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_memory_madv__free__discardable__memory__posix.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/memory/madv_free_discardable_memory_posix.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/base/memory/madv_free_discardable_memory_posix.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/memory/madv_free_discardable_memory_posix.cc
-@@ -310,6 +310,10 @@ void MadvFreeDiscardableMemoryPosix::Set
+@@ -305,6 +305,10 @@ void MadvFreeDiscardableMemoryPosix::Set
bool MadvFreeDiscardableMemoryPosix::IsResident() const {
DFAKE_SCOPED_RECURSIVE_LOCK(thread_collision_warner_);
@@ -17,8 +17,8 @@ $NetBSD$
#if BUILDFLAG(IS_APPLE)
std::vector<char> vec(allocated_pages_);
#else
-@@ -325,6 +329,7 @@ bool MadvFreeDiscardableMemoryPosix::IsR
- return false;
+@@ -321,6 +325,7 @@ bool MadvFreeDiscardableMemoryPosix::IsR
+ }
}
return true;
+#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_posix_unix__domain__socket.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_posix_unix__domain__socket.cc
index cb84f5e5e5..69685da163 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_posix_unix__domain__socket.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_posix_unix__domain__socket.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/posix/unix_domain_socket.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/base/posix/unix_domain_socket.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/posix/unix_domain_socket.cc
-@@ -56,7 +56,7 @@ bool CreateSocketPair(ScopedFD* one, Sco
+@@ -47,7 +47,7 @@ bool CreateSocketPair(ScopedFD* one, Sco
// static
bool UnixDomainSocket::EnableReceiveProcessId(int fd) {
@@ -15,7 +15,7 @@ $NetBSD$
const int enable = 1;
return setsockopt(fd, SOL_SOCKET, SO_PASSCRED, &enable, sizeof(enable)) == 0;
#else
-@@ -82,7 +82,7 @@ bool UnixDomainSocket::SendMsg(int fd,
+@@ -73,7 +73,7 @@ bool UnixDomainSocket::SendMsg(int fd,
struct cmsghdr* cmsg;
msg.msg_control = control_buffer;
@@ -24,7 +24,7 @@ $NetBSD$
msg.msg_controllen = checked_cast<socklen_t>(control_len);
#else
msg.msg_controllen = control_len;
-@@ -90,7 +90,7 @@ bool UnixDomainSocket::SendMsg(int fd,
+@@ -81,7 +81,7 @@ bool UnixDomainSocket::SendMsg(int fd,
cmsg = CMSG_FIRSTHDR(&msg);
cmsg->cmsg_level = SOL_SOCKET;
cmsg->cmsg_type = SCM_RIGHTS;
@@ -33,7 +33,7 @@ $NetBSD$
cmsg->cmsg_len = checked_cast<u_int>(CMSG_LEN(sizeof(int) * fds.size()));
#else
cmsg->cmsg_len = CMSG_LEN(sizeof(int) * fds.size());
-@@ -154,7 +154,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFla
+@@ -133,7 +133,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFla
const size_t kControlBufferSize =
CMSG_SPACE(sizeof(int) * kMaxFileDescriptors)
@@ -42,7 +42,7 @@ $NetBSD$
// macOS does not support ucred.
// macOS supports xucred, but this structure is insufficient.
+ CMSG_SPACE(sizeof(struct ucred))
-@@ -182,7 +182,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFla
+@@ -162,7 +162,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFla
wire_fds = reinterpret_cast<int*>(CMSG_DATA(cmsg));
wire_fds_len = payload_len / sizeof(int);
}
@@ -51,10 +51,10 @@ $NetBSD$
// macOS does not support SCM_CREDENTIALS.
if (cmsg->cmsg_level == SOL_SOCKET &&
cmsg->cmsg_type == SCM_CREDENTIALS) {
-@@ -216,6 +216,9 @@ ssize_t UnixDomainSocket::RecvMsgWithFla
- socklen_t pid_size = sizeof(pid);
- if (getsockopt(fd, SOL_LOCAL, LOCAL_PEERPID, &pid, &pid_size) != 0)
+@@ -199,6 +199,9 @@ ssize_t UnixDomainSocket::RecvMsgWithFla
+ if (getsockopt(fd, SOL_LOCAL, LOCAL_PEERPID, &pid, &pid_size) != 0) {
pid = -1;
+ }
+#elif BUILDFLAG(IS_BSD)
+ NOTIMPLEMENTED();
+ pid = -1;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_kill.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_kill.h
index 038d951303..b1e8d0bc28 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_kill.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_kill.h
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/process/kill.h.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/base/process/kill.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/process/kill.h
@@ -123,7 +123,7 @@ BASE_EXPORT TerminationStatus GetTermina
- BASE_EXPORT TerminationStatus GetKnownDeadTerminationStatus(
- ProcessHandle handle, int* exit_code);
+ BASE_EXPORT TerminationStatus
+ GetKnownDeadTerminationStatus(ProcessHandle handle, int* exit_code);
-#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_base_process_process__handle__freebsd.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__handle__freebsd.cc
index 5c845d332b..769e83f4e2 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__handle__freebsd.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__handle__freebsd.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/process/process_handle_freebsd.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/base/process/process_handle_freebsd.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/base/process/process_handle_freebsd.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
@@ -14,20 +14,19 @@ $NetBSD$
#include <limits.h>
#include <stddef.h>
-@@ -20,12 +21,15 @@ namespace base {
+@@ -20,11 +21,14 @@ namespace base {
ProcessId GetParentProcessId(ProcessHandle process) {
struct kinfo_proc info;
- size_t length;
+ size_t length = sizeof(struct kinfo_proc);
- int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process };
+ int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, process};
- if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0)
+ if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) {
return -1;
-
++
+ if (length < sizeof(struct kinfo_proc))
+ return -1;
-+
- return info.ki_ppid;
- }
+ }
+ return info.ki_ppid;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__handle__openbsd.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__handle__openbsd.cc
index d2e06ef320..0915be8aef 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__handle__openbsd.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__handle__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_handle_openbsd.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/base/process/process_handle_openbsd.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/process/process_handle_openbsd.cc
-@@ -3,48 +3,112 @@
+@@ -3,17 +3,25 @@
// found in the LICENSE file.
#include "base/process/process_handle.h"
@@ -30,27 +30,28 @@ $NetBSD$
+ struct kinfo_proc *info;
size_t length;
+ pid_t ppid;
- int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process,
- sizeof(struct kinfo_proc), 0 };
-
- if (sysctl(mib, std::size(mib), NULL, &length, NULL, 0) < 0)
+ int mib[] = {
+ CTL_KERN, KERN_PROC, KERN_PROC_PID, process, sizeof(struct kinfo_proc),
+ 0};
+@@ -22,37 +30,87 @@ ProcessId GetParentProcessId(ProcessHand
return -1;
+ }
- mib[5] = (length / sizeof(struct kinfo_proc));
+ info = (struct kinfo_proc *)malloc(length);
-- if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0)
+- if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) {
- return -1;
+ mib[5] = static_cast<int>((length / sizeof(struct kinfo_proc)));
+
+ if (sysctl(mib, std::size(mib), info, &length, NULL, 0) < 0) {
+ ppid = -1;
+ goto out;
-+ }
-+
-+ ppid = info->p_ppid;
+ }
- return info.p_ppid;
++ ppid = info->p_ppid;
++
+out:
+ free(info);
+ return ppid;
@@ -64,17 +65,21 @@ $NetBSD$
+ char **retvalargs, *cpath, retval[PATH_MAX];
+ int cnt;
size_t len;
-- int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process,
-- sizeof(struct kinfo_proc), 0 };
+- int mib[] = {
+- CTL_KERN, KERN_PROC, KERN_PROC_PID, process, sizeof(struct kinfo_proc),
+- 0};
-
-- if (sysctl(mib, std::size(mib), NULL, &len, NULL, 0) == -1)
+- if (sysctl(mib, std::size(mib), NULL, &len, NULL, 0) == -1) {
- return FilePath();
+- }
- mib[5] = (len / sizeof(struct kinfo_proc));
-- if (sysctl(mib, std::size(mib), &kp, &len, NULL, 0) < 0)
+- if (sysctl(mib, std::size(mib), &kp, &len, NULL, 0) < 0) {
- return FilePath();
-- if ((kp.p_flag & P_SYSTEM) != 0)
+- }
+- if ((kp.p_flag & P_SYSTEM) != 0) {
- return FilePath();
-- if (strcmp(kp.p_comm, "chrome") == 0)
+- }
+- if (strcmp(kp.p_comm, "chrome") == 0) {
- return FilePath(kp.p_comm);
+ char *tokens[2];
+ struct stat sb;
@@ -131,7 +136,7 @@ $NetBSD$
+ result = FilePath(retval);
+ }
+ }
-+ }
+ }
- return FilePath();
+ return result;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__iterator__freebsd.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__iterator__freebsd.cc
index 562273196f..a9f943bce0 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__iterator__freebsd.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__iterator__freebsd.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/process/process_iterator_freebsd.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/base/process/process_iterator_freebsd.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/process/process_iterator_freebsd.cc
@@ -18,7 +18,7 @@ namespace base {
ProcessIterator::ProcessIterator(const ProcessFilter* filter)
: filter_(filter) {
-- int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_UID, getuid() };
-+ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_UID, (int) getuid() };
+- int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_UID, getuid()};
++ int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_UID, (int) getuid()};
bool done = false;
int try_num = 1;
@@ -33,15 +33,16 @@ $NetBSD$
kinfo_procs_.resize(num_of_kinfo_proc);
done = true;
}
-@@ -68,18 +68,13 @@ bool ProcessIterator::CheckForNextProces
+@@ -68,19 +68,14 @@ bool ProcessIterator::CheckForNextProces
for (; index_of_kinfo_proc_ < kinfo_procs_.size(); ++index_of_kinfo_proc_) {
size_t length;
struct kinfo_proc kinfo = kinfo_procs_[index_of_kinfo_proc_];
-- int mib[] = { CTL_KERN, KERN_PROC_ARGS, kinfo.ki_pid };
-+ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_ARGS, kinfo.ki_pid };
+- int mib[] = {CTL_KERN, KERN_PROC_ARGS, kinfo.ki_pid};
++ int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_ARGS, kinfo.ki_pid};
- if ((kinfo.ki_pid > 0) && (kinfo.ki_stat == SZOMB))
+ if ((kinfo.ki_pid > 0) && (kinfo.ki_stat == SZOMB)) {
continue;
+ }
- length = 0;
- if (sysctl(mib, std::size(mib), NULL, &length, NULL, 0) < 0) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__iterator__openbsd.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__iterator__openbsd.cc
index 46371783de..da08911c18 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__iterator__openbsd.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_process_process__iterator__openbsd.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/process/process_iterator_openbsd.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/base/process/process_iterator_openbsd.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/process/process_iterator_openbsd.cc
@@ -6,6 +6,9 @@
@@ -16,13 +16,13 @@ $NetBSD$
#include <sys/sysctl.h>
#include "base/logging.h"
-@@ -16,12 +19,13 @@ namespace base {
-
+@@ -17,12 +20,13 @@ namespace base {
ProcessIterator::ProcessIterator(const ProcessFilter* filter)
: filter_(filter) {
-- int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_UID, getuid(),
-+ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_UID, static_cast<int>(getuid()),
- sizeof(struct kinfo_proc), 0 };
+ int mib[] = {
+- CTL_KERN, KERN_PROC, KERN_PROC_UID, getuid(), sizeof(struct kinfo_proc),
++ CTL_KERN, KERN_PROC, KERN_PROC_UID, static_cast<int>(getuid()), sizeof(struct kinfo_proc),
+ 0};
bool done = false;
int try_num = 1;
@@ -31,7 +31,7 @@ $NetBSD$
do {
size_t len = 0;
-@@ -30,7 +34,7 @@ ProcessIterator::ProcessIterator(const P
+@@ -31,7 +35,7 @@ ProcessIterator::ProcessIterator(const P
kinfo_procs_.resize(0);
done = true;
} else {
@@ -40,7 +40,7 @@ $NetBSD$
// Leave some spare room for process table growth (more could show up
// between when we check and now)
num_of_kinfo_proc += 16;
-@@ -46,7 +50,7 @@ ProcessIterator::ProcessIterator(const P
+@@ -47,7 +51,7 @@ ProcessIterator::ProcessIterator(const P
}
} else {
// Got the list, just make sure we're sized exactly right
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 715025bd35..9288106971 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/base/process/process_metrics.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/process/process_metrics.h
-@@ -38,7 +38,7 @@
+@@ -39,7 +39,7 @@
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
@@ -15,7 +15,7 @@ $NetBSD$
#include <string>
#include <utility>
#include <vector>
-@@ -48,7 +48,7 @@
+@@ -49,7 +49,7 @@
namespace base {
@@ -24,16 +24,16 @@ $NetBSD$
// Minor and major page fault counts since the process creation.
// Both counts are process-wide, and exclude child processes.
//
-@@ -113,7 +113,7 @@ class BASE_EXPORT ProcessMetrics {
- // convenience wrapper for CreateProcessMetrics().
- static std::unique_ptr<ProcessMetrics> CreateCurrentProcessMetrics();
+@@ -87,7 +87,7 @@ struct ProcessMemoryInfo {
+ #endif // BUILDFLAG(IS_APPLE)
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- // 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;
-@@ -147,7 +147,7 @@ class BASE_EXPORT ProcessMetrics {
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
+- BUILDFLAG(IS_FUCHSIA)
++ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+ uint64_t rss_anon_bytes = 0;
+ uint64_t vm_swap_bytes = 0;
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ||
+@@ -179,7 +179,7 @@ class BASE_EXPORT ProcessMetrics {
base::expected<TimeDelta, ProcessCPUUsageError> GetCumulativeCPUUsage();
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
@@ -42,16 +42,16 @@ $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
-@@ -192,7 +192,7 @@ class BASE_EXPORT ProcessMetrics {
+@@ -224,7 +224,7 @@ class BASE_EXPORT ProcessMetrics {
int GetOpenFdSoftLimit() const;
#endif // BUILDFLAG(IS_POSIX)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- // Bytes of swap as reported by /proc/[pid]/status.
- uint64_t GetVmSwapBytes() const;
-
-@@ -213,7 +213,7 @@ class BASE_EXPORT ProcessMetrics {
+ // Minor and major page fault count as reported by /proc/[pid]/stat.
+ // Returns true for success.
+ bool GetPageFaultCounts(PageFaultCounts* counts) const;
+@@ -242,7 +242,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)
-@@ -235,12 +235,10 @@ class BASE_EXPORT ProcessMetrics {
+@@ -264,12 +264,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_;
@@ -74,7 +74,7 @@ $NetBSD$
// Same thing for idle wakeups.
TimeTicks last_idle_wakeups_time_;
uint64_t last_absolute_idle_wakeups_;
-@@ -281,7 +279,7 @@ BASE_EXPORT void IncreaseFdLimitTo(unsig
+@@ -310,7 +308,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) || \
@@ -83,7 +83,7 @@ $NetBSD$
// Data about system-wide memory consumption. Values are in KB. Available on
// Windows, Mac, Linux, Android and Chrome OS.
//
-@@ -316,7 +314,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
+@@ -345,7 +343,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
@@ -92,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
-@@ -331,7 +329,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
+@@ -360,7 +358,7 @@ struct BASE_EXPORT SystemMemoryInfoKB {
#endif
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -101,7 +101,7 @@ $NetBSD$
int buffers = 0;
int cached = 0;
int active_anon = 0;
-@@ -368,7 +366,7 @@ BASE_EXPORT bool GetSystemMemoryInfo(Sys
+@@ -397,7 +395,7 @@ BASE_EXPORT bool GetSystemMemoryInfo(Sys
// BUILDFLAG(IS_FUCHSIA)
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
@@ -110,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.
-@@ -563,7 +561,7 @@ class BASE_EXPORT SystemMetrics {
+@@ -591,7 +589,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 b36a9acf88..e30fa5526a 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,13 +4,13 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-24 16:42:30.000000000 +0000
+++ src/3rdparty/chromium/base/process/process_metrics_freebsd.cc
-@@ -3,19 +3,37 @@
+@@ -3,18 +3,37 @@
// found in the LICENSE file.
#include "base/process/process_metrics.h"
-+#include "base/notreached.h"
++#include "base/notimplemented.h"
#include <stddef.h>
+#include <sys/types.h>
@@ -41,13 +41,12 @@ $NetBSD$
+}
-ProcessMetrics::ProcessMetrics(ProcessHandle process)
-- : process_(process),
-- last_cpu_(0) {}
+- : process_(process), last_cpu_(0) {}
+ProcessMetrics::ProcessMetrics(ProcessHandle process) : process_(process) {}
// static
std::unique_ptr<ProcessMetrics> ProcessMetrics::CreateProcessMetrics(
-@@ -23,21 +41,53 @@ std::unique_ptr<ProcessMetrics> ProcessM
+@@ -22,22 +41,54 @@ std::unique_ptr<ProcessMetrics> ProcessM
return WrapUnique(new ProcessMetrics(process));
}
@@ -63,12 +62,13 @@ $NetBSD$
+ struct kinfo_proc *pp;
+ int nproc;
-- if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0)
+- if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) {
- return base::unexpected(ProcessCPUUsageError::kSystemError);
+ if (kd == nullptr) {
+ return base::unexpected(ProcessUsageError::kSystemError);
-+ }
-+
+ }
+
+- return base::ok(double{info.ki_pctcpu} / FSCALE * 100.0);
+ if ((pp = kvm_getprocs(kd, KERN_PROC_PID, process_, &nproc)) == nullptr) {
+ kvm_close(kd);
+ return base::unexpected(ProcessUsageError::kProcessNotFound);
@@ -79,8 +79,8 @@ $NetBSD$
+ } else {
+ kvm_close(kd);
+ return base::unexpected(ProcessUsageError::kProcessNotFound);
-
-- return base::ok(double{info.ki_pctcpu} / FSCALE * 100.0);
++ }
++
+ kvm_close(kd);
+ return memory_info;
}
@@ -110,8 +110,8 @@ $NetBSD$
}
size_t GetSystemCommitCharge() {
-@@ -63,4 +113,228 @@ size_t GetSystemCommitCharge() {
- return mem_total - (mem_free*pagesize) - (mem_inactive*pagesize);
+@@ -66,4 +117,117 @@ size_t GetSystemCommitCharge() {
+ return mem_total - (mem_free * pagesize) - (mem_inactive * pagesize);
}
+int64_t GetNumberOfThreads(ProcessHandle process) {
@@ -194,60 +194,6 @@ $NetBSD$
+ return total_count;
+}
+
-+size_t ProcessMetrics::GetResidentSetSize() const {
-+ kvm_t *kd = kvm_open(nullptr, "/dev/null", nullptr, O_RDONLY, "kvm_open");
-+
-+ if (kd == nullptr)
-+ return 0;
-+
-+ struct kinfo_proc *pp;
-+ int nproc;
-+
-+ if ((pp = kvm_getprocs(kd, KERN_PROC_PID, process_, &nproc)) == nullptr) {
-+ kvm_close(kd);
-+ return 0;
-+ }
-+
-+ size_t rss;
-+
-+ if (nproc > 0) {
-+ rss = pp->ki_rssize << GetPageShift();
-+ } else {
-+ rss = 0;
-+ }
-+
-+ kvm_close(kd);
-+ return rss;
-+}
-+
-+uint64_t ProcessMetrics::GetVmSwapBytes() const {
-+ kvm_t *kd = kvm_open(nullptr, "/dev/null", nullptr, O_RDONLY, "kvm_open");
-+
-+ if (kd == nullptr)
-+ return 0;
-+
-+ struct kinfo_proc *pp;
-+ int nproc;
-+
-+ if ((pp = kvm_getprocs(kd, KERN_PROC_PID, process_, &nproc)) == nullptr) {
-+ kvm_close(kd);
-+ return 0;
-+ }
-+
-+ size_t swrss;
-+
-+ if (nproc > 0) {
-+ swrss = pp->ki_swrss > pp->ki_rssize
-+ ? (pp->ki_swrss - pp->ki_rssize) << GetPageShift()
-+ : 0;
-+ } else {
-+ swrss = 0;
-+ }
-+
-+ kvm_close(kd);
-+ return swrss;
-+}
-+
+int ProcessMetrics::GetIdleWakeupsPerSecond() {
+ NOTIMPLEMENTED();
+ return 0;
@@ -280,62 +226,5 @@ $NetBSD$
+SystemDiskInfo::SystemDiskInfo(const SystemDiskInfo& other) = default;
+
+SystemDiskInfo& SystemDiskInfo::operator=(const SystemDiskInfo&) = default;
-+
-+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));
-+ res.Set("reads_merged", static_cast<double>(reads_merged));
-+ res.Set("sectors_read", static_cast<double>(sectors_read));
-+ res.Set("read_time", static_cast<double>(read_time));
-+ res.Set("writes", static_cast<double>(writes));
-+ res.Set("writes_merged", static_cast<double>(writes_merged));
-+ res.Set("sectors_written", static_cast<double>(sectors_written));
-+ res.Set("write_time", static_cast<double>(write_time));
-+ res.Set("io", static_cast<double>(io));
-+ res.Set("io_time", static_cast<double>(io_time));
-+ res.Set("weighted_io_time", static_cast<double>(weighted_io_time));
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
-+}
-+
-+Value::Dict SystemMemoryInfoKB::ToDict() const {
-+ Value::Dict res;
-+ res.Set("total", total);
-+ res.Set("free", free);
-+ res.Set("available", available);
-+ res.Set("buffers", buffers);
-+ res.Set("cached", cached);
-+ 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("reclaimable", reclaimable);
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
-+}
-+
-+Value::Dict VmStatInfo::ToDict() const {
-+ Value::Dict res;
-+ // TODO(crbug.com/1334256): Make base::Value able to hold uint64_t and remove
-+ // casts below.
-+ res.Set("pswpin", static_cast<int>(pswpin));
-+ res.Set("pswpout", static_cast<int>(pswpout));
-+ res.Set("pgmajfault", static_cast<int>(pgmajfault));
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
-+}
+
} // namespace base
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 9f9c1a3507..5e70ed4c51 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 2025-05-08 12:01:57.637816950 +0000
+--- src/3rdparty/chromium/base/process/process_metrics_netbsd.cc.orig 2025-11-03 16:55:48.177199198 +0000
+++ src/3rdparty/chromium/base/process/process_metrics_netbsd.cc
-@@ -0,0 +1,175 @@
+@@ -0,0 +1,173 @@
+// 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.
@@ -20,15 +20,44 @@ $NetBSD$
+#include <sys/sysctl.h>
+#include <sys/vmmeter.h>
+
++#include "base/files/dir_reader_posix.h" // DirReaderPosix
++#include "base/process/internal_linux.h" // GetProcPidDir()
+#include "base/memory/ptr_util.h"
+#include "base/types/expected.h"
+#include "base/values.h"
-+#include "base/notreached.h"
++#include "base/notimplemented.h"
+
+namespace base {
+
+ProcessMetrics::ProcessMetrics(ProcessHandle process) : process_(process) {}
+
++base::expected<ProcessMemoryInfo, ProcessUsageError>
++ProcessMetrics::GetMemoryInfo() const {
++ ProcessMemoryInfo memory_info;
++ struct kinfo_proc2 info;
++ size_t length = sizeof(struct kinfo_proc2);
++
++ int mib[] = { CTL_KERN, KERN_PROC2, KERN_PROC_PID, process_,
++ sizeof(struct kinfo_proc2), 1 };
++
++ if (process_ == 0) {
++ return base::unexpected(ProcessUsageError::kSystemError);
++ }
++
++ if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) {
++ return base::unexpected(ProcessUsageError::kSystemError);
++ }
++
++ if (length == 0) {
++ return base::unexpected(ProcessUsageError::kProcessNotFound);
++ }
++
++ memory_info.resident_set_bytes =
++ checked_cast<uint64_t>(info.p_vm_rssize * getpagesize());
++
++ return memory_info;
++}
++
+base::expected<TimeDelta, ProcessCPUUsageError>
+ProcessMetrics::GetCumulativeCPUUsage() {
+ struct kinfo_proc2 info;
@@ -38,10 +67,18 @@ $NetBSD$
+ int mib[] = { CTL_KERN, KERN_PROC2, KERN_PROC_PID, process_,
+ sizeof(struct kinfo_proc2), 1 };
+
++ 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);
++ }
++
+ tv.tv_sec = info.p_rtime_sec;
+ tv.tv_usec = info.p_rtime_usec;
+
@@ -71,11 +108,27 @@ $NetBSD$
+
+ pagesize = checked_cast<size_t>(getpagesize());
+
-+ return mem_total - (mem_free*pagesize) - (mem_inactive*pagesize);
++ return mem_total - (mem_free * pagesize) - (mem_inactive * pagesize);
+}
+
+int ProcessMetrics::GetOpenFdCount() const {
-+ return -1;
++ // Use /proc/<pid>/fd to count the number of entries there.
++ FilePath fd_path = internal::GetProcPidDir(process_).Append("fd");
++
++ DirReaderPosix dir_reader(fd_path.value().c_str());
++ if (!dir_reader.IsValid()) {
++ return -1;
++ }
++
++ int total_count = 0;
++ for (; dir_reader.Next();) {
++ const char* name = dir_reader.name();
++ if (strcmp(name, ".") != 0 && strcmp(name, "..") != 0) {
++ ++total_count;
++ }
++ }
++
++ return total_count;
+}
+
+int ProcessMetrics::GetOpenFdSoftLimit() const {
@@ -83,13 +136,13 @@ $NetBSD$
+// return GetMaxFds();
+}
+
-+uint64_t ProcessMetrics::GetVmSwapBytes() const {
++bool ProcessMetrics::GetPageFaultCounts(PageFaultCounts* counts) const {
+ NOTIMPLEMENTED();
-+ return 0;
++ return false;
+}
+
+bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo) {
-+ NOTIMPLEMENTED_LOG_ONCE();
++ NOTIMPLEMENTED();
+ return false;
+}
+
@@ -108,39 +161,6 @@ $NetBSD$
+ return 0;
+}
+
-+Value::Dict SystemMemoryInfoKB::ToDict() const {
-+ Value::Dict res;
-+ res.Set("total", total);
-+ res.Set("free", free);
-+ res.Set("available", available);
-+ res.Set("buffers", buffers);
-+ res.Set("cached", cached);
-+ 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("reclaimable", reclaimable);
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
-+}
-+
-+Value::Dict VmStatInfo::ToDict() const {
-+ Value::Dict res;
-+ res.Set("pswpin", static_cast<int>(pswpin));
-+ res.Set("pswpout", static_cast<int>(pswpout));
-+ res.Set("pgmajfault", static_cast<int>(pgmajfault));
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
-+}
-+
+SystemDiskInfo::SystemDiskInfo() {
+ reads = 0;
+ reads_merged = 0;
@@ -159,26 +179,4 @@ $NetBSD$
+
+SystemDiskInfo& SystemDiskInfo::operator=(const SystemDiskInfo&) = default;
+
-+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));
-+ res.Set("reads_merged", static_cast<double>(reads_merged));
-+ res.Set("sectors_read", static_cast<double>(sectors_read));
-+ res.Set("read_time", static_cast<double>(read_time));
-+ res.Set("writes", static_cast<double>(writes));
-+ res.Set("writes_merged", static_cast<double>(writes_merged));
-+ res.Set("sectors_written", static_cast<double>(sectors_written));
-+ res.Set("write_time", static_cast<double>(write_time));
-+ res.Set("io", static_cast<double>(io));
-+ res.Set("io_time", static_cast<double>(io_time));
-+ res.Set("weighted_io_time", static_cast<double>(weighted_io_time));
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
-+}
-+
+} // namespace base
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 4683ec7b75..9a6fd23e78 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/base/process/process_metrics_openbsd.cc.orig 2025-10-24 16:42:30.000000000 +0000
+++ src/3rdparty/chromium/base/process/process_metrics_openbsd.cc
-@@ -6,74 +6,85 @@
+@@ -6,73 +6,85 @@
#include <stddef.h>
#include <stdint.h>
@@ -20,7 +20,7 @@ $NetBSD$
#include "base/memory/ptr_util.h"
#include "base/types/expected.h"
+#include "base/values.h"
-+#include "base/notreached.h"
++#include "base/notimplemented.h"
namespace base {
@@ -33,8 +33,8 @@ $NetBSD$
+ 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 };
+- int mib[] = {
+- CTL_KERN, KERN_PROC, KERN_PROC_PID, pid, sizeof(struct kinfo_proc), 0};
+ size_t length = sizeof(struct kinfo_proc);
- if (sysctl(mib, std::size(mib), NULL, &length, NULL, 0) < 0) {
@@ -114,8 +114,7 @@ $NetBSD$
}
-ProcessMetrics::ProcessMetrics(ProcessHandle process)
-- : process_(process),
-- last_cpu_(0) {}
+- : process_(process), last_cpu_(0) {}
+// static
+std::unique_ptr<ProcessMetrics> ProcessMetrics::CreateProcessMetrics(
+ ProcessHandle process) {
@@ -123,20 +122,20 @@ $NetBSD$
+}
size_t GetSystemCommitCharge() {
- int mib[] = { CTL_VM, VM_METER };
+ int mib[] = {CTL_VM, VM_METER};
- int pagesize;
+ size_t pagesize;
struct vmtotal vmtotal;
unsigned long mem_total, mem_free, mem_inactive;
size_t len = sizeof(vmtotal);
-@@ -85,9 +96,115 @@ size_t GetSystemCommitCharge() {
+@@ -85,9 +97,60 @@ size_t GetSystemCommitCharge() {
mem_free = vmtotal.t_free;
mem_inactive = vmtotal.t_vm - vmtotal.t_avm;
- pagesize = getpagesize();
+ pagesize = checked_cast<size_t>(getpagesize());
- return mem_total - (mem_free*pagesize) - (mem_inactive*pagesize);
+ return mem_total - (mem_free * pagesize) - (mem_inactive * pagesize);
}
+int ProcessMetrics::GetOpenFdCount() const {
@@ -153,7 +152,7 @@ $NetBSD$
+}
+
+bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo) {
-+ NOTIMPLEMENTED_LOG_ONCE();
++ NOTIMPLEMENTED();
+ return false;
+}
+
@@ -172,39 +171,6 @@ $NetBSD$
+ return 0;
+}
+
-+Value::Dict SystemMemoryInfoKB::ToDict() const {
-+ Value::Dict res;
-+ res.Set("total", total);
-+ res.Set("free", free);
-+ res.Set("available", available);
-+ res.Set("buffers", buffers);
-+ res.Set("cached", cached);
-+ 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("reclaimable", reclaimable);
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
-+}
-+
-+Value::Dict VmStatInfo::ToDict() const {
-+ Value::Dict res;
-+ res.Set("pswpin", static_cast<int>(pswpin));
-+ res.Set("pswpout", static_cast<int>(pswpout));
-+ res.Set("pgmajfault", static_cast<int>(pgmajfault));
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
-+}
-+
+SystemDiskInfo::SystemDiskInfo() {
+ reads = 0;
+ reads_merged = 0;
@@ -222,27 +188,5 @@ $NetBSD$
+SystemDiskInfo::SystemDiskInfo(const SystemDiskInfo&) = default;
+
+SystemDiskInfo& SystemDiskInfo::operator=(const SystemDiskInfo&) = default;
-+
-+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));
-+ res.Set("reads_merged", static_cast<double>(reads_merged));
-+ res.Set("sectors_read", static_cast<double>(sectors_read));
-+ res.Set("read_time", static_cast<double>(read_time));
-+ res.Set("writes", static_cast<double>(writes));
-+ res.Set("writes_merged", static_cast<double>(writes_merged));
-+ res.Set("sectors_written", static_cast<double>(sectors_written));
-+ res.Set("write_time", static_cast<double>(write_time));
-+ res.Set("io", static_cast<double>(io));
-+ res.Set("io_time", static_cast<double>(io_time));
-+ res.Set("weighted_io_time", static_cast<double>(weighted_io_time));
-+
-+ NOTIMPLEMENTED();
-+
-+ return res;
-+}
+
} // namespace base
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_synchronization_cancelable__event.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_synchronization_cancelable__event.h
new file mode 100644
index 0000000000..b4aa0a5196
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_synchronization_cancelable__event.h
@@ -0,0 +1,26 @@
+$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/synchronization/cancelable_event.h.orig 2025-11-14 07:55:10.000000000 +0000
++++ src/3rdparty/chromium/base/synchronization/cancelable_event.h
+@@ -11,7 +11,7 @@
+
+ #if BUILDFLAG(IS_WIN)
+ #include <windows.h>
+-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ #include <semaphore.h>
+ #else
+ #include "base/synchronization/waitable_event.h"
+@@ -49,7 +49,7 @@ class BASE_EXPORT CancelableEvent {
+
+ #if BUILDFLAG(IS_WIN)
+ using NativeHandle = HANDLE;
+-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ using NativeHandle = sem_t;
+ #else
+ using NativeHandle = WaitableEvent;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_syslog__logging.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_syslog__logging.cc
index 0a4214c895..bc1463b1ee 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_syslog__logging.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_syslog__logging.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/syslog_logging.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/base/syslog_logging.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/syslog_logging.cc
@@ -17,7 +17,7 @@
#include "base/strings/string_util.h"
@@ -15,10 +15,10 @@ $NetBSD$
// <syslog.h> defines LOG_INFO, LOG_WARNING macros that could conflict with
// base::LOG_INFO, base::LOG_WARNING.
#include <syslog.h>
-@@ -149,7 +149,7 @@ EventLogMessage::~EventLogMessage() {
-
- if (user_sid != nullptr)
+@@ -151,7 +151,7 @@ EventLogMessage::~EventLogMessage() {
+ if (user_sid != nullptr) {
::LocalFree(user_sid);
+ }
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
const char kEventSource[] = "chrome";
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_test_test__file__util__linux.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_test_test__file__util__linux.cc
index d98be2ec9b..2e3b046e10 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_test_test__file__util__linux.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_test_test__file__util__linux.cc
@@ -4,15 +4,16 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/test/test_file_util_linux.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/base/test/test_file_util_linux.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/test/test_file_util_linux.cc
-@@ -54,8 +54,10 @@ bool EvictFileFromSystemCache(const File
- return false;
- if (fdatasync(fd.get()) != 0)
+@@ -56,9 +56,11 @@ bool EvictFileFromSystemCache(const File
+ if (fdatasync(fd.get()) != 0) {
return false;
+ }
+#if !BUILDFLAG(IS_BSD)
- if (posix_fadvise(fd.get(), 0, 0, POSIX_FADV_DONTNEED) != 0)
+ if (posix_fadvise(fd.get(), 0, 0, POSIX_FADV_DONTNEED) != 0) {
return false;
+ }
+#endif
return true;
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_threading_hang__watcher.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_threading_hang__watcher.cc
deleted file mode 100644
index 0e14334bf1..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_threading_hang__watcher.cc
+++ /dev/null
@@ -1,17 +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/base/threading/hang_watcher.cc.orig 2024-12-17 17:58:49.000000000 +0000
-+++ src/3rdparty/chromium/base/threading/hang_watcher.cc
-@@ -352,7 +352,7 @@ void HangWatcher::InitializeOnMainThread
-
- bool enable_hang_watcher = base::FeatureList::IsEnabled(kEnableHangWatcher);
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_BSD)
- if (is_zygote_child) {
- enable_hang_watcher =
- enable_hang_watcher &&
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 8f245c67ef..4ac3f0b097 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,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/threading/platform_thread_posix.cc
-@@ -77,11 +77,11 @@ void* ThreadFunc(void* params) {
- if (!thread_params->joinable)
+@@ -79,11 +79,11 @@ void* ThreadFunc(void* params) {
base::DisallowSingleton();
+ }
-#if PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC)
+#if PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) && !BUILDFLAG(IS_BSD)
@@ -20,7 +20,7 @@ $NetBSD$
#if BUILDFLAG(IS_APPLE)
PlatformThread::SetCurrentThreadRealtimePeriodValue(
delegate->GetRealtimePeriod());
-@@ -265,6 +265,8 @@ PlatformThreadId PlatformThreadBase::Cur
+@@ -270,6 +270,8 @@ PlatformThreadId PlatformThreadBase::Cur
return reinterpret_cast<int32_t>(pthread_self());
#elif BUILDFLAG(IS_POSIX) && BUILDFLAG(IS_AIX)
return pthread_self();
@@ -29,7 +29,7 @@ $NetBSD$
#elif BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_AIX)
return reinterpret_cast<int64_t>(pthread_self());
#endif
-@@ -355,7 +357,7 @@ void PlatformThreadBase::Detach(Platform
+@@ -363,7 +365,7 @@ void PlatformThreadBase::Detach(Platform
// static
bool PlatformThreadBase::CanChangeThreadType(ThreadType from, ThreadType to) {
@@ -38,7 +38,7 @@ $NetBSD$
return false;
#else
if (from >= to) {
-@@ -376,6 +378,9 @@ void SetCurrentThreadTypeImpl(ThreadType
+@@ -384,6 +386,9 @@ void SetCurrentThreadTypeImpl(ThreadType
MessagePumpType pump_type_hint) {
#if BUILDFLAG(IS_NACL)
NOTIMPLEMENTED();
@@ -46,9 +46,9 @@ $NetBSD$
+#elif BUILDFLAG(IS_BSD)
+ NOTIMPLEMENTED();
#else
- if (internal::SetCurrentThreadTypeForPlatform(thread_type, pump_type_hint))
+ if (internal::SetCurrentThreadTypeForPlatform(thread_type, pump_type_hint)) {
return;
-@@ -398,7 +403,7 @@ void SetCurrentThreadTypeImpl(ThreadType
+@@ -407,7 +412,7 @@ void SetCurrentThreadTypeImpl(ThreadType
// static
ThreadPriorityForTest PlatformThreadBase::GetCurrentThreadPriorityForTest() {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_time_time__now__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_time_time__now__posix.cc
new file mode 100644
index 0000000000..2763281bda
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_time_time__now__posix.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/time/time_now_posix.cc.orig 2025-11-14 07:55:10.000000000 +0000
++++ src/3rdparty/chromium/base/time/time_now_posix.cc
+@@ -27,7 +27,7 @@
+ #endif
+
+ // NaCl doesn't support CLOCK_MONOTONIC_COARSE.
+-#if BUILDFLAG(IS_NACL)
++#if BUILDFLAG(IS_NACL) || BUILDFLAG(IS_BSD)
+ #define TIMETICKS_LOW_RESOLUTION_CLOCK CLOCK_MONOTONIC
+ #else
+ #define TIMETICKS_LOW_RESOLUTION_CLOCK CLOCK_MONOTONIC_COARSE
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 acd5f3bdc7..a816309a95 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,12 +4,12 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/trace_event/process_memory_dump.cc
@@ -143,7 +143,7 @@ std::optional<size_t> ProcessMemoryDump:
-
- for (size_t i = 0; i < page_count; i++)
+ 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/42050620): Implement counting resident bytes.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_tracing_trace__time.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_tracing_trace__time.cc
index eb635c69b3..531a02e706 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_tracing_trace__time.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_base_tracing_trace__time.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/base/tracing/trace_time.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/base/tracing/trace_time.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/base/tracing/trace_time.cc
-@@ -8,13 +8,19 @@
+@@ -8,12 +8,18 @@
#include "build/build_config.h"
#include "third_party/perfetto/include/perfetto/base/time.h"
@@ -16,8 +16,7 @@ $NetBSD$
+#define CLOCK_BOOTTIME CLOCK_MONOTONIC
+#endif
+
- namespace base {
- namespace tracing {
+ namespace base::tracing {
int64_t TraceBootTicksNow() {
// On Windows and Mac, TRACE_TIME_TICKS_NOW() behaves like boottime already.
@@ -26,11 +25,4 @@ $NetBSD$
+ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
struct timespec ts;
int res = clock_gettime(CLOCK_BOOTTIME, &ts);
- if (res != -1)
-@@ -24,4 +30,4 @@ int64_t TraceBootTicksNow() {
- }
-
- } // namespace tracing
--} // namespace base
-\ No newline at end of file
-+} // namespace base
+ if (res != -1) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_BUILDCONFIG.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_BUILDCONFIG.gn
index 796c8402df..68f3a5a74d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_BUILDCONFIG.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_BUILDCONFIG.gn
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/build/config/BUILDCONFIG.gn.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/build/config/BUILDCONFIG.gn.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/build/config/BUILDCONFIG.gn
@@ -136,7 +136,8 @@ declare_args() {
is_official_build = false
@@ -16,7 +16,7 @@ $NetBSD$
(current_cpu != "s390x" && current_cpu != "s390" &&
current_cpu != "ppc64" && current_cpu != "ppc" &&
current_cpu != "mips" && current_cpu != "mips64" &&
-@@ -235,6 +236,16 @@ if (host_toolchain == "") {
+@@ -247,6 +248,16 @@ if (host_toolchain == "") {
host_toolchain = "//build/toolchain/aix:$host_cpu"
} else if (host_os == "zos") {
host_toolchain = "//build/toolchain/zos:$host_cpu"
@@ -33,7 +33,7 @@ $NetBSD$
} else {
assert(false, "Unsupported host_os: $host_os")
}
-@@ -278,6 +289,8 @@ if (target_os == "android") {
+@@ -293,6 +304,8 @@ if (target_os == "android") {
_default_toolchain = "//build/toolchain/aix:$target_cpu"
} else if (target_os == "zos") {
_default_toolchain = "//build/toolchain/zos:$target_cpu"
@@ -42,7 +42,7 @@ $NetBSD$
} else {
assert(false, "Unsupported target_os: $target_os")
}
-@@ -312,7 +325,12 @@ is_android = current_os == "android"
+@@ -327,7 +340,12 @@ is_android = current_os == "android"
is_chromeos = current_os == "chromeos"
is_fuchsia = current_os == "fuchsia"
is_ios = current_os == "ios"
@@ -55,4 +55,4 @@ $NetBSD$
+is_bsd = current_os == "openbsd" || current_os == "freebsd" || current_os == "netbsd"
is_mac = current_os == "mac"
is_nacl = current_os == "nacl"
- is_win = current_os == "win" || current_os == "winuwp"
+ is_watchos = current_os == "watchos"
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 ce6f2786be..cea230ae44 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/build/config/compiler/BUILD.gn.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/build/config/compiler/BUILD.gn
-@@ -205,7 +205,7 @@ declare_args() {
+@@ -204,7 +204,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() {
-@@ -262,13 +262,16 @@ config("default_include_dirs") {
+@@ -261,13 +261,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 ---------------------------------------------------------------------
-@@ -556,6 +559,10 @@ config("compiler") {
+@@ -568,6 +571,10 @@ config("compiler") {
}
}
@@ -44,7 +44,7 @@ $NetBSD$
# Linux-specific compiler flags setup.
# ------------------------------------
if (use_gold) {
-@@ -617,7 +624,7 @@ config("compiler") {
+@@ -635,7 +642,7 @@ config("compiler") {
ldflags += [ "-Wl,-z,keep-text-section-prefix" ]
}
@@ -53,25 +53,25 @@ $NetBSD$
cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ]
if (save_reproducers_on_lld_crash && use_lld) {
ldflags += [
-@@ -1287,7 +1294,7 @@ config("compiler_cpu_abi") {
+@@ -1305,7 +1312,7 @@ config("compiler_cpu_abi") {
]
}
} else if (current_cpu == "arm") {
-- if (is_clang && !is_android && !is_nacl &&
-+ if (is_clang && !is_android && !is_nacl && !is_bsd &&
- !(is_chromeos_lacros && is_chromeos_device)) {
+- if (is_clang && !is_android && !is_nacl && !is_chromeos_device) {
++ if (is_clang && !is_android && !is_nacl && !is_chromeos_device && !is_bsd) {
cflags += [ "--target=arm-linux-gnueabihf" ]
ldflags += [ "--target=arm-linux-gnueabihf" ]
-@@ -1305,7 +1312,7 @@ config("compiler_cpu_abi") {
+ }
+@@ -1322,7 +1329,7 @@ config("compiler_cpu_abi") {
cflags += [ "-mtune=$arm_tune" ]
}
} else if (current_cpu == "arm64") {
- if (is_clang && !is_android && !is_nacl && !is_fuchsia &&
+ if (is_clang && !is_android && !is_nacl && !is_fuchsia && !is_bsd &&
- !(is_chromeos_lacros && is_chromeos_device)) {
+ !is_chromeos_device) {
cflags += [ "--target=aarch64-linux-gnu" ]
ldflags += [ "--target=aarch64-linux-gnu" ]
-@@ -1640,7 +1647,7 @@ config("compiler_deterministic") {
+@@ -1657,7 +1664,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,7 +80,7 @@ $NetBSD$
# TODO(https://crbug.com/1231236): Use -ffile-compilation-dir= here.
cflags += [
"-Xclang",
-@@ -1698,7 +1705,7 @@ config("compiler_deterministic") {
+@@ -1715,7 +1722,7 @@ config("compiler_deterministic") {
}
config("clang_revision") {
@@ -89,7 +89,7 @@ $NetBSD$
current_os != "zos") {
update_args = [
"--print-revision",
-@@ -2208,7 +2215,7 @@ config("default_warnings") {
+@@ -2216,7 +2223,7 @@ config("default_warnings") {
"-Wenum-compare-conditional",
]
@@ -98,7 +98,7 @@ $NetBSD$
cflags_cc += [
# TODO(crbug.com/41486292): Fix and re-enable.
"-Wno-c++11-narrowing-const-reference",
-@@ -2961,7 +2968,7 @@ config("afdo_optimize_size") {
+@@ -2994,7 +3001,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.
-@@ -2988,7 +2995,7 @@ config("afdo") {
+@@ -3021,7 +3028,7 @@ config("afdo") {
cflags += [ "-Wno-backend-plugin" ]
inputs = [ _clang_sample_profile ]
}
@@ -116,7 +116,7 @@ $NetBSD$
cflags = [ "-fauto-profile=${auto_profile_path}" ]
inputs = [ auto_profile_path ]
}
-@@ -3165,7 +3172,7 @@ config("symbols") {
+@@ -3198,7 +3205,7 @@ config("symbols") {
cflags += [ "-gomit-unreferenced-methods" ]
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_linux_libdrm_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_linux_libdrm_BUILD.gn
new file mode 100644
index 0000000000..12b24dd895
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_config_linux_libdrm_BUILD.gn
@@ -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/build/config/linux/libdrm/BUILD.gn.orig 2025-11-14 07:55:10.000000000 +0000
++++ src/3rdparty/chromium/build/config/linux/libdrm/BUILD.gn
+@@ -15,7 +15,7 @@ declare_args() {
+ }
+
+ if (use_system_libdrm) {
+- assert(!is_linux, "System libdrm is not supported in linux")
++# assert(!is_linux, "System libdrm is not supported in linux")
+ pkg_config("libdrm_config") {
+ packages = [ "libdrm" ]
+ }
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_linux_unbundle_libevent.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_linux_unbundle_libevent.gn
deleted file mode 100644
index 4cd0af0692..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_build_linux_unbundle_libevent.gn
+++ /dev/null
@@ -1,21 +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/build/linux/unbundle/libevent.gn.orig 2024-12-17 17:58:49.000000000 +0000
-+++ src/3rdparty/chromium/build/linux/unbundle/libevent.gn
-@@ -9,7 +9,12 @@ shim_headers("libevent_shim") {
- headers = [ "event.h" ]
- }
-
-+config("system_libevent") {
-+ defines = [ "USE_SYSTEM_LIBEVENT=1" ]
-+}
-+
- source_set("libevent") {
- deps = [ ":libevent_shim" ]
- libs = [ "event" ]
-+ public_configs = [ ":system_libevent" ]
- }
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_BUILD.gn
index 8f72a4033d..bf8db6f6d3 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_BUILD.gn
@@ -4,19 +4,19 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/BUILD.gn.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/BUILD.gn.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/BUILD.gn
-@@ -6980,6 +6980,13 @@ static_library("browser") {
+@@ -6751,6 +6751,13 @@ static_library("browser") {
+ [ "//third_party/webrtc/modules/desktop_capture:pipewire_config" ]
}
- }
-+ if (is_bsd) {
-+ sources -= [
-+ "metrics/bluetooth_metrics_provider.cc",
-+ "metrics/bluetooth_metrics_provider.h",
-+ ]
-+ }
++ if (is_bsd) {
++ sources -= [
++ "metrics/bluetooth_metrics_provider.cc",
++ "metrics/bluetooth_metrics_provider.h",
++ ]
++ }
+
- if (is_linux && use_dbus) {
- sources += [
- "dbus_memory_pressure_evaluator_linux.cc",
+ if (use_dbus) {
+ sources += [
+ "dbus_memory_pressure_evaluator_linux.cc",
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 1e2728701d..f0d867a7b0 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,16 +4,16 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/extensions/BUILD.gn
-@@ -1496,6 +1496,10 @@ source_set("extensions") {
- deps += [ "//chrome/services/printing/public/mojom" ]
- }
+@@ -1398,6 +1398,10 @@ source_set("extensions") {
+ deps += [ "//chrome/services/printing/public/mojom" ]
+ }
-+ if (is_bsd) {
-+ sources -= [ "api/image_writer_private/removable_storage_provider_linux.cc" ]
-+ }
++ if (is_bsd) {
++ sources -= [ "api/image_writer_private/removable_storage_provider_linux.cc" ]
++ }
+
- if (enable_pdf) {
- deps += [
- "//chrome/browser/pdf",
+ if (enable_pdf) {
+ 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
deleted file mode 100644
index 4eb509e43d..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_api__browser__context__keyed__service__factories.cc
+++ /dev/null
@@ -1,26 +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/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
-@@ -41,7 +41,7 @@
- #include "pdf/buildflags.h"
- #include "printing/buildflags/buildflags.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/extensions/api/system_indicator/system_indicator_manager_factory.h"
- #endif
-
-@@ -117,7 +117,7 @@ void EnsureApiBrowserContextKeyedService
- extensions::SettingsPrivateEventRouterFactory::GetInstance();
- extensions::SettingsOverridesAPI::GetFactoryInstance();
- extensions::SidePanelService::GetFactoryInstance();
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- extensions::SystemIndicatorManagerFactory::GetInstance();
- #endif
- extensions::TabGroupsEventRouterFactory::GetInstance();
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.cc
index f5e932d751..154e5e3637 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.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/enterprise_reporting_private/enterprise_reporting_private_api.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc
-@@ -32,7 +32,7 @@
+@@ -40,7 +40,7 @@
#include "components/reporting/util/statusor.h"
#endif
@@ -15,8 +15,17 @@ $NetBSD$
#include <optional>
#include "base/strings/string_util.h"
-@@ -149,7 +149,7 @@ api::enterprise_reporting_private::Conte
- return info;
+@@ -157,7 +157,7 @@ api::enterprise_reporting_private::Conte
+ }
+
+ bool AllowClientCertificateReportingForUsers() {
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ return base::FeatureList::IsEnabled(
+ enterprise_signals::features::kAllowClientCertificateReportingForUsers);
+ #else
+@@ -170,7 +170,7 @@ bool IsProfilePrefManaged(Profile* profi
+ return pref && pref->IsManaged();
}
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
@@ -24,7 +33,7 @@ $NetBSD$
device_signals::SignalsAggregationRequest CreateAggregationRequest(
device_signals::SignalName signal_name) {
-@@ -210,7 +210,7 @@ EnterpriseReportingPrivateGetDeviceIdFun
+@@ -232,7 +232,7 @@ EnterpriseReportingPrivateGetDeviceIdFun
// getPersistentSecret
@@ -33,7 +42,7 @@ $NetBSD$
EnterpriseReportingPrivateGetPersistentSecretFunction::
EnterpriseReportingPrivateGetPersistentSecretFunction() = default;
-@@ -636,7 +636,7 @@ void EnterpriseReportingPrivateEnqueueRe
+@@ -672,7 +672,7 @@ void EnterpriseReportingPrivateEnqueueRe
}
#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_messaging_launch__context__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_messaging_launch__context__posix.cc
index 062afc91b9..f5b16add3b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_messaging_launch__context__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_extensions_api_messaging_launch__context__posix.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/messaging/launch_context_posix.cc.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/extensions/api/messaging/launch_context_posix.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/extensions/api/messaging/launch_context_posix.cc
-@@ -86,7 +86,7 @@ std::optional<LaunchContext::ProcessStat
+@@ -84,7 +84,7 @@ std::optional<LaunchContext::ProcessStat
- // 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)
+ options.current_directory = command_line.GetProgram().DirName();
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Don't use no_new_privs mode, e.g. in case the host needs to use sudo.
options.allow_new_privs = true;
#endif
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 e4a8019722..8f14369d34 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc
-@@ -288,7 +288,11 @@ bool ChromeRuntimeAPIDelegate::GetPlatfo
+@@ -293,7 +293,11 @@ bool ChromeRuntimeAPIDelegate::GetPlatfo
} else if (strcmp(os, "linux") == 0) {
info->os = extensions::api::runtime::PlatformOs::kLinux;
} else if (strcmp(os, "openbsd") == 0) {
@@ -17,5 +17,5 @@ $NetBSD$
+ } else if (strcmp(os, "netbsd") == 0) {
+ info->os = extensions::api::runtime::PlatformOs::kLinux;
} else {
- NOTREACHED_IN_MIGRATION() << "Platform not supported: " << os;
- return false;
+ NOTREACHED() << "Platform not supported: " << os;
+ }
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 0bd05612f5..d88e051807 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,14 +4,14 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/extensions/api/tabs/tabs_api.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/extensions/api/tabs/tabs_api.cc
-@@ -886,7 +886,7 @@ ExtensionFunction::ResponseAction Window
- // minimized.
+@@ -925,7 +925,7 @@ ExtensionFunction::ResponseAction Window
+ // created as minimized.
// 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) {
+ if (new_window->initial_show_state() ==
+ ui::mojom::WindowShowState::kMinimized) {
new_window->window()->Minimize();
- }
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_gcm_gcm__profile__service__factory.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_gcm_gcm__profile__service__factory.cc
index ec95634886..5d6cad4ca7 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_gcm_gcm__profile__service__factory.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_gcm_gcm__profile__service__factory.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/gcm/gcm_profile_service_factory.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/gcm/gcm_profile_service_factory.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/gcm/gcm_profile_service_factory.cc
-@@ -89,7 +89,7 @@ GCMProfileServiceFactory::ScopedTestingF
+@@ -91,7 +91,7 @@ GCMProfileServiceFactory::ScopedTestingF
// static
GCMProfileService* GCMProfileServiceFactory::GetForProfile(
content::BrowserContext* profile) {
@@ -15,8 +15,8 @@ $NetBSD$
// On desktop, incognito profiles are checked with IsIncognitoProfile().
// It's possible for non-incognito profiles to also be off-the-record.
bool is_profile_supported =
-@@ -132,7 +132,7 @@ GCMProfileServiceFactory::~GCMProfileSer
- KeyedService* GCMProfileServiceFactory::BuildServiceInstanceFor(
+@@ -134,7 +134,7 @@ std::unique_ptr<KeyedService>
+ GCMProfileServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const {
Profile* profile = Profile::FromBrowserContext(context);
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_gcm_instance__id_instance__id__profile__service__factory.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_gcm_instance__id_instance__id__profile__service__factory.cc
index 98b53c2884..49d870512c 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_gcm_instance__id_instance__id__profile__service__factory.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_gcm_instance__id_instance__id__profile__service__factory.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/gcm/instance_id/instance_id_profile_service_factory.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/gcm/instance_id/instance_id_profile_service_factory.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/gcm/instance_id/instance_id_profile_service_factory.cc
@@ -16,7 +16,7 @@ namespace instance_id {
// static
@@ -15,8 +15,8 @@ $NetBSD$
// On desktop, the guest profile is actually the primary OTR profile of
// the "regular" guest profile. The regular guest profile is never used
// directly by users. Also, user are not able to create child OTR profiles
-@@ -64,7 +64,7 @@ InstanceIDProfileServiceFactory::~Instan
- KeyedService* InstanceIDProfileServiceFactory::BuildServiceInstanceFor(
+@@ -65,7 +65,7 @@ std::unique_ptr<KeyedService>
+ InstanceIDProfileServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const {
Profile* profile = Profile::FromBrowserContext(context);
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_net_profile__network__context__service.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_net_profile__network__context__service.cc
index e690f4e0fc..b11ff4a8b5 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_net_profile__network__context__service.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_net_profile__network__context__service.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/net/profile_network_context_service.cc.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/net/profile_network_context_service.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/net/profile_network_context_service.cc
-@@ -140,7 +140,7 @@
- #include "chromeos/startup/browser_params_proxy.h"
+@@ -134,7 +134,7 @@
+ #include "extensions/common/constants.h"
#endif
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
@@ -15,7 +15,7 @@ $NetBSD$
#include "chrome/browser/enterprise/client_certificates/certificate_provisioning_service_factory.h"
#include "components/enterprise/client_certificates/core/certificate_provisioning_service.h"
#include "components/enterprise/client_certificates/core/client_certificates_service.h"
-@@ -260,7 +260,7 @@ void UpdateCookieSettings(Profile* profi
+@@ -261,7 +261,7 @@ void UpdateCookieSettings(Profile* profi
});
}
@@ -24,10 +24,10 @@ $NetBSD$
std::unique_ptr<net::ClientCertStore> GetWrappedCertStore(
Profile* profile,
std::unique_ptr<net::ClientCertStore> platform_store) {
-@@ -986,7 +986,7 @@ ProfileNetworkContextService::CreateClie
- store = std::make_unique<ClientCertStoreLacros>(
- std::move(certificate_provider), cert_db_initializer, std::move(store));
- #endif // BUILDFLAG(IS_CHROMEOS_LACROS)
+@@ -1202,7 +1202,7 @@ ProfileNetworkContextService::CreateClie
+ std::make_unique<net::ClientCertStoreNSS>(
+ base::BindRepeating(&CreateCryptoModuleBlockingPasswordDelegate,
+ kCryptoModulePasswordClientAuth));
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return GetWrappedCertStore(profile_, std::move(store));
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 6df263fe3c..3f93c500cd 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,9 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/net/system_network_context_manager.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/net/system_network_context_manager.cc
-@@ -102,7 +102,7 @@
-
- // 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"
-@@ -146,7 +146,7 @@ SystemNetworkContextManager* g_system_ne
+@@ -135,7 +135,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 +15,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;
-@@ -154,7 +154,7 @@ bool g_network_service_will_allow_gssapi
+@@ -143,7 +143,7 @@ bool g_network_service_will_allow_gssapi
const char* kGssapiDesiredPref =
#if BUILDFLAG(IS_CHROMEOS)
prefs::kKerberosEnabled;
@@ -33,7 +24,7 @@ $NetBSD$
prefs::kReceivedHttpAuthNegotiateHeader;
#endif
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-@@ -200,7 +200,7 @@ network::mojom::HttpAuthDynamicParamsPtr
+@@ -189,7 +189,7 @@ network::mojom::HttpAuthDynamicParamsPtr
auth_dynamic_params->basic_over_http_enabled =
local_state->GetBoolean(prefs::kBasicAuthOverHttpEnabled);
@@ -42,7 +33,7 @@ $NetBSD$
auth_dynamic_params->delegate_by_kdc_policy =
local_state->GetBoolean(prefs::kAuthNegotiateDelegateByKdcPolicy);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS)
-@@ -215,7 +215,7 @@ network::mojom::HttpAuthDynamicParamsPtr
+@@ -204,7 +204,7 @@ network::mojom::HttpAuthDynamicParamsPtr
local_state->GetString(prefs::kAuthAndroidNegotiateAccountType);
#endif // BUILDFLAG(IS_ANDROID)
@@ -51,7 +42,7 @@ $NetBSD$
auth_dynamic_params->allow_gssapi_library_load =
local_state->GetBoolean(kGssapiDesiredPref);
#endif // BUILDFLAG(IS_CHROMEOS)
-@@ -225,7 +225,7 @@ network::mojom::HttpAuthDynamicParamsPtr
+@@ -214,7 +214,7 @@ network::mojom::HttpAuthDynamicParamsPtr
void OnNewHttpAuthDynamicParams(
network::mojom::HttpAuthDynamicParamsPtr& params) {
@@ -60,7 +51,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
-@@ -267,11 +267,11 @@ NetworkSandboxState IsNetworkSandboxEnab
+@@ -256,11 +256,11 @@ NetworkSandboxState IsNetworkSandboxEnab
if (g_previously_failed_to_launch_sandboxed_service) {
return NetworkSandboxState::kDisabledBecauseOfFailedLaunch;
}
@@ -74,7 +65,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 ||
-@@ -287,7 +287,7 @@ NetworkSandboxState IsNetworkSandboxEnab
+@@ -276,7 +276,7 @@ NetworkSandboxState IsNetworkSandboxEnab
}
#endif // BUILDFLAG(IS_WIN)
@@ -83,7 +74,7 @@ $NetBSD$
if (local_state &&
local_state->HasPrefPath(prefs::kNetworkServiceSandboxEnabled)) {
return local_state->GetBoolean(prefs::kNetworkServiceSandboxEnabled)
-@@ -517,7 +517,7 @@ void SystemNetworkContextManager::Delete
+@@ -520,7 +520,7 @@ void SystemNetworkContextManager::Delete
g_system_network_context_manager = nullptr;
}
@@ -92,7 +83,7 @@ $NetBSD$
SystemNetworkContextManager::GssapiLibraryLoadObserver::
GssapiLibraryLoadObserver(SystemNetworkContextManager* owner)
: owner_(owner) {}
-@@ -575,7 +575,7 @@ SystemNetworkContextManager::SystemNetwo
+@@ -578,7 +578,7 @@ SystemNetworkContextManager::SystemNetwo
pref_change_registrar_.Add(prefs::kAllHttpAuthSchemesAllowedForOrigins,
auth_pref_callback);
@@ -101,7 +92,7 @@ $NetBSD$
pref_change_registrar_.Add(prefs::kAuthNegotiateDelegateByKdcPolicy,
auth_pref_callback);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS)
-@@ -589,7 +589,7 @@ SystemNetworkContextManager::SystemNetwo
+@@ -592,7 +592,7 @@ SystemNetworkContextManager::SystemNetwo
auth_pref_callback);
#endif // BUILDFLAG(IS_ANDROID)
@@ -110,16 +101,16 @@ $NetBSD$
pref_change_registrar_.Add(kGssapiDesiredPref, auth_pref_callback);
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-@@ -660,7 +660,7 @@ void SystemNetworkContextManager::Regist
- registry->RegisterBooleanPref(prefs::kKerberosEnabled, false);
- #endif // BUILDFLAG(IS_CHROMEOS_LACROS)
+@@ -657,7 +657,7 @@ void SystemNetworkContextManager::Regist
+ registry->RegisterStringPref(prefs::kAuthNegotiateDelegateAllowlist,
+ std::string());
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
registry->RegisterBooleanPref(prefs::kAuthNegotiateDelegateByKdcPolicy,
false);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS)
-@@ -685,11 +685,11 @@ void SystemNetworkContextManager::Regist
+@@ -682,11 +682,11 @@ void SystemNetworkContextManager::Regist
registry->RegisterListPref(prefs::kExplicitlyAllowedNetworkPorts);
@@ -133,7 +124,7 @@ $NetBSD$
registry->RegisterBooleanPref(prefs::kReceivedHttpAuthNegotiateHeader, false);
#endif // BUILDFLAG(IS_LINUX)
-@@ -742,7 +742,7 @@ void SystemNetworkContextManager::OnNetw
+@@ -739,7 +739,7 @@ void SystemNetworkContextManager::OnNetw
OnNewHttpAuthDynamicParams(http_auth_dynamic_params);
network_service->ConfigureHttpAuthPrefs(std::move(http_auth_dynamic_params));
@@ -142,7 +133,7 @@ $NetBSD$
gssapi_library_loader_observer_.Install(network_service);
#endif // BUILDFLAG(IS_LINUX)
-@@ -969,7 +969,7 @@ bool SystemNetworkContextManager::IsNetw
+@@ -958,7 +958,7 @@ bool SystemNetworkContextManager::IsNetw
break;
}
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 b16c8f4240..b0928a6d12 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,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/prefs/browser_prefs.cc
-@@ -313,7 +313,7 @@
- #include "components/user_notes/user_notes_prefs.h"
+@@ -318,7 +318,7 @@
+ #include "components/ntp_tiles/custom_links_manager_impl.h"
#endif // BUILDFLAG(IS_ANDROID)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
@@ -15,7 +15,7 @@ $NetBSD$
#include "chrome/browser/ui/webui/whats_new/whats_new_ui.h"
#endif
-@@ -491,18 +491,18 @@
+@@ -488,18 +488,18 @@
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -37,7 +37,7 @@ $NetBSD$
#include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h"
#endif
-@@ -537,7 +537,7 @@
+@@ -534,7 +534,7 @@
#include "chrome/browser/sessions/session_service_log.h"
#endif
@@ -46,16 +46,16 @@ $NetBSD$
#include "ui/color/system_theme.h"
#endif
-@@ -1678,7 +1678,7 @@ void RegisterLocalState(PrefRegistrySimp
+@@ -1746,7 +1746,7 @@ void RegisterLocalState(PrefRegistrySimp
on_device_translation::RegisterLocalStatePrefs(registry);
- #endif // BUILDFLAG(IS_ANDROID)
+ #endif // BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION)
-#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
+@@ -1917,7 +1917,7 @@ void RegisterLocalState(PrefRegistrySimp
#endif // BUILDFLAG(ENABLE_PDF)
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
@@ -64,7 +64,7 @@ $NetBSD$
registry->RegisterBooleanPref(prefs::kChromeForTestingAllowed, true);
#endif
-@@ -2213,12 +2213,12 @@ void RegisterProfilePrefs(user_prefs::Pr
+@@ -2282,12 +2282,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_certificate__manager_certificate__manager__handler.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc
index 58affe7df0..793aa3aa62 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.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/certificate_manager/certificate_manager_handler.cc.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/ui/webui/certificate_manager/certificate_manager_handler.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/ui/webui/certificate_manager/certificate_manager_handler.cc
-@@ -154,7 +154,7 @@ CertificateManagerPageHandler::GetCertSo
- "distrusted_certs",
- cert_verifier::mojom::CertificateTrust::kDistrusted);
+@@ -221,7 +221,7 @@ CertificateManagerPageHandler::GetCertSo
+ CERTIFICATE_TRUST_TYPE_DISTRUSTED,
+ profile_, &remote_client_);
break;
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc
index 5239c0a5ac..a105571653 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_client__cert__sources.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/certificate_manager/client_cert_sources.cc.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/ui/webui/certificate_manager/client_cert_sources.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/ui/webui/certificate_manager/client_cert_sources.cc
-@@ -43,7 +43,7 @@
+@@ -54,7 +54,7 @@
#include "net/ssl/client_cert_store_mac.h"
#endif // BUILDFLAG(IS_MAC)
@@ -15,16 +15,43 @@ $NetBSD$
#include "chrome/browser/enterprise/client_certificates/certificate_provisioning_service_factory.h"
#include "components/enterprise/client_certificates/core/certificate_provisioning_service.h"
#include "components/enterprise/client_certificates/core/client_certificates_service.h"
-@@ -191,7 +191,7 @@ std::unique_ptr<ClientCertStoreLoader> C
+@@ -174,7 +174,7 @@ class ClientCertStoreFactoryMac : public
+ };
#endif
+
+-#if !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_LINUX)
++#if !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD)
+ std::unique_ptr<ClientCertStoreLoader> CreatePlatformClientCertLoader(
+ Profile* profile) {
+ #if BUILDFLAG(IS_WIN)
+@@ -189,7 +189,7 @@ std::unique_ptr<ClientCertStoreLoader> C
}
+ #endif
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// ClientCertStore implementation that always returns an empty list. The
// CertificateProvisioningService implementation expects to wrap a platform
// cert store, but here we only want to get results from the provisioning
-@@ -673,7 +673,7 @@ CreatePlatformClientCertSource(
+@@ -347,7 +347,7 @@ class ClientCertSource : public Certific
+ std::optional<net::CertificateList> certs_;
+ };
+
+-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // ChromeOS currently can use either Kcer or NSS for listing client certs, and
+ // Linux uses NSS only. This interface provides an abstraction to hide that
+ // from WritableClientCertSource. Currently this class only handles reading
+@@ -1078,7 +1078,7 @@ CreatePlatformClientCertSource(
+ mojo::Remote<certificate_manager_v2::mojom::CertificateManagerPage>*
+ remote_client,
+ Profile* profile) {
+-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ return std::make_unique<WritableClientCertSource>(remote_client, profile);
+ #else
+ return std::make_unique<ClientCertSource>(
+@@ -1086,7 +1086,7 @@ CreatePlatformClientCertSource(
#endif
}
@@ -33,3 +60,12 @@ $NetBSD$
std::unique_ptr<CertificateManagerPageHandler::CertSource>
CreateProvisionedClientCertSource(Profile* profile) {
return std::make_unique<ClientCertSource>(
+@@ -1135,7 +1135,7 @@ bool ClientCertManagementAccessControls:
+
+ return client_cert_policy_ == ClientCertificateManagementPermission::kAll;
+ }
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ ClientCertManagementAccessControls::ClientCertManagementAccessControls(
+ Profile* profile) {}
+
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__configs.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__configs.cc
index d931782dae..bc1017705c 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__configs.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__configs.cc
@@ -4,32 +4,79 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/ui/webui/chrome_web_ui_configs.cc.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/ui/webui/chrome_web_ui_configs.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/ui/webui/chrome_web_ui_configs.cc
-@@ -77,7 +77,7 @@
- #include "chrome/browser/ui/webui/certificate_manager/certificate_manager_ui.h"
- #endif // BUILDFLAG(CHROME_ROOT_STORE_CERT_MANAGEMENT_UI)
+@@ -137,26 +137,26 @@
+ #include "chrome/browser/ui/webui/conflicts/conflicts_ui.h"
+ #endif // BUILDFLAG(IS_WIN)
-#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/app_settings/web_app_settings_ui.h"
+ #include "chrome/browser/ui/webui/browser_switch/browser_switch_ui.h"
#include "chrome/browser/ui/webui/whats_new/whats_new_ui.h"
- #endif
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
+- BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/ui/webui/sandbox/sandbox_internals_ui.h"
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ||
+ // BUILDFLAG(IS_ANDROID)
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/ui/webui/connectors_internals/connectors_internals_ui.h"
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
+ // BUILDFLAG(IS_CHROMEOS)
-@@ -148,7 +148,7 @@ void RegisterChromeWebUIConfigs() {
- map.AddWebUIConfig(std::make_unique<WebuiGalleryUIConfig>());
- #endif // !BUILDFLAG(IS_ANDROID)
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/ui/webui/discards/discards_ui.h"
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
+ // BUILDFLAG(IS_CHROMEOS)
+@@ -184,7 +184,7 @@
+ #include "chrome/browser/ui/webui/signin/signin_error_ui.h"
+ #endif // !BUILDFLAG(IS_CHROMEOS) && !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/on_device_translation_internals/on_device_translation_internals_ui.h"
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+
+@@ -318,7 +318,7 @@ void RegisterChromeWebUIConfigs() {
+ map.AddWebUIConfig(std::make_unique<WebUIJsErrorUIConfig>());
+ #endif // BUILDFLAG(IS_ANDROID)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OPENBSD)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
map.AddWebUIConfig(std::make_unique<LinuxProxyConfigUI>());
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ||
// BUILDFLAG(IS_OPENBSD)
-@@ -165,7 +165,7 @@ void RegisterChromeWebUIConfigs() {
- map.AddWebUIConfig(std::make_unique<CertificateManagerUIConfig>());
- #endif // BUILDFLAG(CHROME_ROOT_STORE_CERT_MANAGEMENT_UI)
+@@ -343,7 +343,7 @@ void RegisterChromeWebUIConfigs() {
+ map.AddWebUIConfig(std::make_unique<ConflictsUIConfig>());
+ #endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ map.AddWebUIConfig(std::make_unique<BrowserSwitchUIConfig>());
+ map.AddWebUIConfig(std::make_unique<WebAppSettingsUIConfig>());
map.AddWebUIConfig(std::make_unique<WhatsNewUIConfig>());
+@@ -351,13 +351,13 @@ void RegisterChromeWebUIConfigs() {
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
+- BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ map.AddWebUIConfig(std::make_unique<SandboxInternalsUIConfig>());
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ||
+ // BUILDFLAG(IS_ANDROID)
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ map.AddWebUIConfig(
+ std::make_unique<enterprise_connectors::ConnectorsInternalsUIConfig>());
+ map.AddWebUIConfig(std::make_unique<DiscardsUIConfig>());
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 b8f1d9275c..b818af9ba0 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,23 +4,43 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
-@@ -180,7 +180,7 @@
- #include "chrome/browser/ui/webui/chromeos/chrome_url_disabled/chrome_url_disabled_ui.h"
+@@ -118,16 +118,16 @@
#endif
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/ui/webui/webui_js_error/webui_js_error_ui.h"
+ #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"
+ #endif
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
+- BUILDFLAG(IS_ANDROID)
++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/ui/webui/sandbox/sandbox_internals_ui.h"
#endif
-@@ -205,7 +205,7 @@
+-#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
+@@ -408,7 +408,7 @@ base::RefCountedMemory* ChromeWebUIContr
+ return NewTabPageUI::GetFaviconResourceBytes(scale_factor);
+ }
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (page_url.host_piece() == chrome::kChromeUIWhatsNewHost) {
+ return WhatsNewUI::GetFaviconResourceBytes(scale_factor);
+ }
+@@ -442,7 +442,7 @@ base::RefCountedMemory* ChromeWebUIContr
+ }
+
#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
+ if (page_url.host_piece() == commerce::kChromeUICompareHost) {
+ return commerce::ProductSpecificationsUI::GetFaviconResourceBytes(
+ scale_factor);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_internals_user__education_user__education__internals__page__handler__impl.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_internals_user__education_user__education__internals__page__handler__impl.cc
deleted file mode 100644
index c4699614e5..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_internals_user__education_user__education__internals__page__handler__impl.cc
+++ /dev/null
@@ -1,35 +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/chrome/browser/ui/webui/internals/user_education/user_education_internals_page_handler_impl.cc.orig 2025-09-25 11:10:42.000000000 +0000
-+++ src/3rdparty/chromium/chrome/browser/ui/webui/internals/user_education/user_education_internals_page_handler_impl.cc
-@@ -41,7 +41,7 @@
- #include "ui/base/l10n/l10n_util.h"
- #include "ui/base/webui/resource_path.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/ui/browser_navigator.h"
- #include "chrome/browser/ui/browser_navigator_params.h"
- #include "net/base/url_util.h"
-@@ -81,7 +81,7 @@ user_education::NewBadgeRegistry* GetNew
- }
-
- whats_new::WhatsNewRegistry* GetWhatsNewRegistry() {
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- return g_browser_process->GetFeatures()->whats_new_registry();
- #else
- return nullptr;
-@@ -765,7 +765,7 @@ void UserEducationInternalsPageHandlerIm
- }
-
- void UserEducationInternalsPageHandlerImpl::LaunchWhatsNewStaging() {
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- GURL url = net::AppendQueryParameter(GURL(chrome::kChromeUIWhatsNewURL),
- "staging", "true");
- NavigateParams params(profile_, url, ui::PAGE_TRANSITION_TYPED);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_interstitials_interstitial__ui.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_interstitials_interstitial__ui.cc
index 8f13df5654..d169df1c06 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_interstitials_interstitial__ui.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_interstitials_interstitial__ui.cc
@@ -4,32 +4,32 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/browser/ui/webui/interstitials/interstitial_ui.cc.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/ui/webui/interstitials/interstitial_ui.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/ui/webui/interstitials/interstitial_ui.cc
-@@ -71,7 +71,7 @@
+@@ -74,7 +74,7 @@
#include "components/security_interstitials/content/captive_portal_blocking_page.h"
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
#include "chrome/browser/supervised_user/supervised_user_verification_controller_client.h"
- #include "chrome/browser/supervised_user/supervised_user_verification_page.h"
- #endif
-@@ -378,7 +378,7 @@ std::unique_ptr<EnterpriseWarnPage> Crea
- kRequestUrl));
+ #include "chrome/browser/supervised_user/supervised_user_verification_page_blocked_sites.h"
+ #include "chrome/browser/supervised_user/supervised_user_verification_page_youtube.h"
+@@ -407,7 +407,7 @@ std::unique_ptr<EnterpriseWarnPage> Crea
}
+ #endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- std::unique_ptr<SupervisedUserVerificationPage>
- CreateSupervisedUserVerificationPage(content::WebContents* web_contents,
- bool is_main_frame) {
-@@ -594,7 +594,7 @@ void InterstitialHTMLSource::StartDataRe
+ std::unique_ptr<SupervisedUserVerificationPageForYouTube>
+ CreateSupervisedUserVerificationPageForYouTube(
+ content::WebContents* web_contents,
+@@ -634,7 +634,7 @@ void InterstitialHTMLSource::StartDataRe
interstitial_delegate = CreateInsecureFormPage(web_contents);
} else if (path_without_query == "/https_only") {
interstitial_delegate = CreateHttpsOnlyModePage(web_contents);
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
} else if (path_without_query == "/supervised-user-verify") {
- interstitial_delegate = CreateSupervisedUserVerificationPage(
+ interstitial_delegate = CreateSupervisedUserVerificationPageForYouTube(
web_contents, /*is_main_frame=*/true);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.cc
index 66065db159..9d9ebba776 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.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_constants.cc.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_constants.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_constants.cc
-@@ -88,12 +88,12 @@ const char kProfileReportingBrowser[] =
- const char kProfileReportingExtension[] = "profileReportingExtension";
+@@ -89,12 +89,12 @@ const char kProfileReportingExtension[]
const char kProfileReportingPolicy[] = "profileReportingPolicy";
+ const char kProfileReportingLearnMore[] = "profileReportingLearnMore";
-#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__constants.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.h
index b8f46c968f..3539731ef2 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.h
@@ -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_constants.h.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_constants.h.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_constants.h
-@@ -8,14 +8,14 @@
+@@ -7,14 +7,14 @@
+
#include "build/build_config.h"
- #include "build/chromeos_buildflags.h"
-#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 773a4156af..2853912220 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,7 +4,7 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_handler.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_handler.cc
@@ -58,7 +58,7 @@
#include "ui/base/l10n/l10n_util.h"
@@ -15,16 +15,25 @@ $NetBSD$
#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)
-@@ -365,7 +365,7 @@ void ManagementUIHandler::AddReportingIn
+@@ -359,7 +359,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)
+ auto device_signal_data = GetDeviceSignalGrantedMessage();
+ if (!device_signal_data.empty()) {
+ report_sources->Append(std::move(device_signal_data));
+@@ -381,7 +381,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();
-@@ -557,7 +557,7 @@ policy::PolicyService* ManagementUIHandl
+ auto device_signal_data = GetDeviceSignalGrantedMessage();
+ if (!device_signal_data.empty()) {
+ report_sources->Append(std::move(device_signal_data));
+@@ -567,7 +567,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 c017f8c34b..318efa2649 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,9 +4,9 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_handler.h.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_handler.h
-@@ -31,7 +31,7 @@ namespace policy {
+@@ -30,7 +30,7 @@ namespace policy {
class PolicyService;
} // namespace policy
@@ -15,12 +15,12 @@ $NetBSD$
namespace device_signals {
class UserPermissionService;
} // namespace device_signals
-@@ -72,7 +72,7 @@ class ManagementUIHandler : public conte
+@@ -71,7 +71,7 @@ class ManagementUIHandler : public conte
base::Value::List GetManagedWebsitesInfo(Profile* profile) const;
base::Value::List GetApplicationsInfo(Profile* profile) const;
virtual policy::PolicyService* GetPolicyService();
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
virtual device_signals::UserPermissionService* GetUserPermissionService();
+ base::Value::Dict GetDeviceSignalGrantedMessage();
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
-
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 b592e5d44b..a3c6f71833 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,18 +4,18 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
-@@ -144,7 +144,7 @@
- #include "chrome/browser/ui/chrome_pages.h"
+@@ -137,7 +137,7 @@
+ #include "chrome/browser/ui/webui/settings/system_handler.h"
#endif
--#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS)
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !BUILDFLAG(IS_CHROMEOS_LACROS)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "ui/display/screen.h"
#endif
-@@ -163,7 +163,7 @@
+@@ -156,7 +156,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
-@@ -287,7 +287,7 @@ void AddA11yStrings(content::WebUIDataSo
+@@ -281,7 +281,7 @@ void AddA11yStrings(content::WebUIDataSo
{"focusHighlightLabel",
IDS_SETTINGS_ACCESSIBILITY_FOCUS_HIGHLIGHT_DESCRIPTION},
#endif
@@ -33,7 +33,7 @@ $NetBSD$
{"overscrollHistoryNavigationTitle",
IDS_SETTINGS_OVERSCROLL_HISTORY_NAVIGATION_TITLE},
{"overscrollHistoryNavigationSubtitle",
-@@ -412,7 +412,7 @@ void AddAppearanceStrings(content::WebUI
+@@ -581,7 +581,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},
@@ -42,21 +42,21 @@ $NetBSD$
{"gtkTheme", IDS_SETTINGS_GTK_THEME},
{"useGtkTheme", IDS_SETTINGS_USE_GTK_THEME},
{"qtTheme", IDS_SETTINGS_QT_THEME},
-@@ -420,7 +420,7 @@ void AddAppearanceStrings(content::WebUI
+@@ -589,7 +589,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)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
{"showWindowDecorations", IDS_SHOW_WINDOW_DECORATIONS},
#endif
#if BUILDFLAG(IS_MAC)
-@@ -448,7 +448,7 @@ void AddAppearanceStrings(content::WebUI
+@@ -613,7 +613,7 @@ void AddAppearanceStrings(content::WebUI
+ html_source->AddBoolean("toolbarPinningEnabled",
+ features::IsToolbarPinningEnabled());
- // 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)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
bool show_custom_chrome_frame = ui::OzonePlatform::GetInstance()
->GetPlatformRuntimeProperties()
.supports_server_side_window_decorations;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_signin_profile__picker__handler.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_signin_profile__picker__handler.cc
index 3cbacb4d24..0621741edb 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_signin_profile__picker__handler.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_browser_ui_webui_signin_profile__picker__handler.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/signin/profile_picker_handler.cc.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/chrome/browser/ui/webui/signin/profile_picker_handler.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/browser/ui/webui/signin/profile_picker_handler.cc
-@@ -209,7 +209,7 @@ base::Value::Dict CreateProfileEntry(con
-
+@@ -164,7 +164,7 @@ base::Value::Dict CreateProfileEntry(con
+ IDS_PROFILE_PICKER_PROFILE_CARD_LABEL, local_profile_name);
if (AccountInfo::IsManaged(entry->GetHostedDomain())) {
profile_entry.Set("avatarBadge", "cr:domain");
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
@@ -15,12 +15,3 @@ $NetBSD$
} else if (base::FeatureList::IsEnabled(
supervised_user::kShowKiteForSupervisedUsers) &&
entry->IsSupervised()) {
-@@ -1222,7 +1222,7 @@ void ProfilePickerHandler::BeginFirstWeb
- }
-
- void ProfilePickerHandler::MaybeUpdateGuestMode() {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
- if (!base::FeatureList::IsEnabled(
- supervised_user::kHideGuestModeForSupervisedUsers)) {
- return;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__paths.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__paths.cc
index bd6ceab185..d2351c58e8 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__paths.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_chrome__paths.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/common/chrome_paths.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/common/chrome_paths.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/chrome_paths.cc
@@ -30,7 +30,7 @@
#include "base/apple/foundation_util.h"
@@ -33,7 +33,7 @@ $NetBSD$
#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -225,7 +225,7 @@ bool PathProvider(int key, base::FilePat
+@@ -221,7 +221,7 @@ bool PathProvider(int key, base::FilePat
}
break;
case chrome::DIR_DEFAULT_DOWNLOADS_SAFE:
@@ -42,16 +42,16 @@ $NetBSD$
if (!GetUserDownloadsDirectorySafe(&cur)) {
return false;
}
-@@ -539,7 +539,7 @@ bool PathProvider(int key, base::FilePat
- return false;
- }
+@@ -527,7 +527,7 @@ bool PathProvider(int key, base::FilePat
break;
+ }
+ #endif
-#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_OPENBSD)
+#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC)
case chrome::DIR_POLICY_FILES: {
cur = base::FilePath(policy::kPolicyPath);
break;
-@@ -550,7 +550,7 @@ bool PathProvider(int key, base::FilePat
+@@ -538,7 +538,7 @@ bool PathProvider(int key, base::FilePat
#if BUILDFLAG(IS_CHROMEOS_ASH) || \
((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) && \
BUILDFLAG(CHROMIUM_BRANDING)) || \
@@ -60,7 +60,7 @@ $NetBSD$
case chrome::DIR_USER_EXTERNAL_EXTENSIONS: {
if (!base::PathService::Get(chrome::DIR_USER_DATA, &cur)) {
return false;
-@@ -559,7 +559,7 @@ bool PathProvider(int key, base::FilePat
+@@ -547,7 +547,7 @@ bool PathProvider(int key, base::FilePat
break;
}
#endif
@@ -69,7 +69,7 @@ $NetBSD$
case chrome::DIR_STANDALONE_EXTERNAL_EXTENSIONS: {
cur = base::FilePath(kFilepathSinglePrefExtensions);
break;
-@@ -621,6 +621,9 @@ bool PathProvider(int key, base::FilePat
+@@ -599,6 +599,9 @@ bool PathProvider(int key, base::FilePat
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
cur = base::FilePath(
FILE_PATH_LITERAL("/etc/opt/chrome/native-messaging-hosts"));
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 b82b84a6dd..f7c1d54a60 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,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/chrome_switches.cc
-@@ -886,14 +886,14 @@ const char kAllowNaClSocketAPI[] = "allo
+@@ -888,7 +888,7 @@ const char kAllowNaClSocketAPI[] = "allo
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -15,7 +15,8 @@ $NetBSD$
const char kEnableNewAppMenuIcon[] = "enable-new-app-menu-icon";
// Causes the browser to launch directly in guest mode.
- const char kGuest[] = "guest";
+@@ -906,7 +906,7 @@ const char kGlicAlwaysOpenFre[] = "glic-
+ const char kGlicFreURL[] = "glic-fre-url";
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
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 c16a453b70..84759ad8b2 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,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/chrome_switches.h
-@@ -275,12 +275,12 @@ extern const char kAllowNaClSocketAPI[];
+@@ -275,7 +275,7 @@ extern const char kAllowNaClSocketAPI[];
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
@@ -14,6 +14,9 @@ $NetBSD$
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
extern const char kEnableNewAppMenuIcon[];
extern const char kGuest[];
+ extern const char kForceNtpMobilePromo[];
+@@ -288,7 +288,7 @@ extern const char kGlicAlwaysOpenFre[];
+ extern const char kGlicFreURL[];
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_extensions_permissions_chrome__permission__message__rules.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_extensions_permissions_chrome__permission__message__rules.cc
index 61fbde32fb..10f7c3584f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_extensions_permissions_chrome__permission__message__rules.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_extensions_permissions_chrome__permission__message__rules.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/common/extensions/permissions/chrome_permission_message_rules.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/chrome/common/extensions/permissions/chrome_permission_message_rules.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
-@@ -287,7 +287,7 @@ int GetEnterpriseReportingPrivatePermiss
- #endif
+@@ -280,7 +280,7 @@ class USBDevicesFormatter : public Chrom
+ int GetEnterpriseReportingPrivatePermissionMessageId() {
#if BUILDFLAG(IS_WIN)
return IDS_EXTENSION_PROMPT_WARNING_ENTERPRISE_REPORTING_PRIVATE_ENABLED_WIN;
-#elif BUILDFLAG(IS_LINUX) or BUILDFLAG(IS_MAC)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_media_cdm__host__file__path.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_media_cdm__host__file__path.cc
index 10d6594797..ff2a398dfe 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_media_cdm__host__file__path.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_media_cdm__host__file__path.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/common/media/cdm_host_file_path.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/chrome/common/media/cdm_host_file_path.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/media/cdm_host_file_path.cc
@@ -90,7 +90,7 @@ void AddCdmHostFilePaths(
cdm_host_file_paths->emplace_back(chrome_framework_path,
@@ -14,4 +14,4 @@ $NetBSD$
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
base::FilePath chrome_exe_dir;
- if (!base::PathService::Get(base::DIR_EXE, &chrome_exe_dir))
+ if (!base::PathService::Get(base::DIR_EXE, &chrome_exe_dir)) {
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 64c67a1e68..d188e708e2 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,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/media/cdm_registration.cc
@@ -33,7 +33,7 @@
#if BUILDFLAG(ENABLE_WIDEVINE)
@@ -15,8 +15,8 @@ $NetBSD$
#include "base/native_library.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/media/component_widevine_cdm_hint_file_linux.h"
-@@ -86,7 +86,7 @@ void ReportLacrosUMA(LacrosBundledWidevi
-
+@@ -52,7 +52,7 @@ using Robustness = content::CdmInfo::Rob
+ #if BUILDFLAG(ENABLE_WIDEVINE)
#if (BUILDFLAG(BUNDLE_WIDEVINE_CDM) || \
BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)) && \
- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
@@ -24,30 +24,39 @@ $NetBSD$
// Create a CdmInfo for a Widevine CDM, using |version|, |cdm_library_path|, and
// |capability|.
std::unique_ptr<content::CdmInfo> CreateWidevineCdmInfo(
-@@ -185,7 +185,7 @@ std::unique_ptr<content::CdmInfo> GetAsh
- #endif // BUILDFLAG(IS_CHROMEOS_LACROS)
+@@ -97,7 +97,7 @@ std::unique_ptr<content::CdmInfo> Create
+ // BUILDFLAG(IS_CHROMEOS))
- #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)
+ #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, CDM registration is handled by Component
+ // Update (as the CDM can be loaded only when needed).
+@@ -121,7 +121,7 @@ std::unique_ptr<content::CdmInfo> GetBun
+ // (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 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
+ // CDM if there is not a new version available for download.) If there is one
+@@ -163,7 +163,7 @@ void AddSoftwareSecureWidevine(std::vect
/*supports_sub_key_systems=*/false, kWidevineCdmDisplayName,
kWidevineCdmType, base::Version(), base::FilePath());
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #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
+ // The Widevine CDM on Linux/ChromeOS needs to be registered (and loaded)
+ // before the zygote is locked down. The CDM can be found from the version
+ // bundled with Chrome (if BUNDLE_WIDEVINE_CDM = true) and/or the version
+@@ -388,7 +388,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))
+- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
++ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || 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_pref__names.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_common_pref__names.h
index f2d0124ee4..169a42ab3c 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,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/pref_names.h
-@@ -1379,7 +1379,7 @@ inline constexpr char kUseAshProxy[] = "
+@@ -1340,7 +1340,7 @@ inline constexpr char kUseAshProxy[] = "
// TODO(crbug.com/40118868): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
@@ -15,7 +15,7 @@ $NetBSD$
// Linux specific preference on whether we should match the system theme.
inline constexpr char kSystemTheme[] = "extensions.theme.system_theme";
#endif
-@@ -1552,7 +1552,7 @@ inline constexpr char kShowUpdatePromoti
+@@ -1517,7 +1517,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";
-@@ -2159,7 +2159,7 @@ inline constexpr char kDownloadDefaultDi
+@@ -2135,7 +2135,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
-@@ -2602,14 +2602,14 @@ inline constexpr char kMediaStorageIdSal
+@@ -2630,14 +2630,14 @@ inline constexpr char kMediaStorageIdSal
inline constexpr char kMediaCdmOriginData[] = "media.cdm.origin_data";
#endif // BUILDFLAG(IS_WIN)
@@ -50,16 +50,16 @@ $NetBSD$
// Records whether the user has seen an HTTP auth "negotiate" header.
inline constexpr char kReceivedHttpAuthNegotiateHeader[] =
"net.received_http_auth_negotiate_headers";
-@@ -2687,7 +2687,7 @@ inline constexpr char kAmbientAuthentica
- inline constexpr char kBasicAuthOverHttpEnabled[] =
- "auth.basic_over_http_enabled";
+@@ -2729,7 +2729,7 @@ inline constexpr char kIsolatedWebAppIns
+ inline constexpr char kIsolatedWebAppPendingInitializationCount[] =
+ "profile.isolated_web_app.install.pending_initialization_count";
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Boolean that specifies whether OK-AS-DELEGATE flag from KDC is respected
// along with kAuthNegotiateDelegateAllowlist.
inline constexpr char kAuthNegotiateDelegateByKdcPolicy[] =
-@@ -3228,7 +3228,7 @@ inline constexpr char kDeviceWeeklySched
+@@ -3253,7 +3253,7 @@ inline constexpr char kDeviceWeeklySched
#endif // BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \
@@ -68,7 +68,7 @@ $NetBSD$
// 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
+@@ -3845,7 +3845,7 @@ inline constexpr char kScreenCaptureWith
inline constexpr char kSandboxExternalProtocolBlocked[] =
"profile.sandbox_external_protocol_blocked";
@@ -77,7 +77,7 @@ $NetBSD$
// Boolean that indicates if system notifications are allowed to be used in
// place of Chrome notifications.
inline constexpr char kAllowSystemNotifications[] =
-@@ -4094,7 +4094,7 @@ inline constexpr char kLensDesktopNTPSea
+@@ -4041,7 +4041,7 @@ inline constexpr char kLensDesktopNTPSea
"policy.lens_desktop_ntp_search_enabled";
#endif
@@ -86,7 +86,7 @@ $NetBSD$
// 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
+@@ -4135,7 +4135,7 @@ inline constexpr char kPrintingOAuth2Aut
"printing.oauth2_authorization_servers";
#endif
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 7875b7193d..a9b8fa6bb2 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,19 +4,15 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/webui_url_constants.cc
-@@ -212,21 +212,21 @@ base::span<const base::cstring_view> Chr
+@@ -207,18 +207,18 @@ 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,
- #endif
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ kChromeUIConnectorsInternalsHost,
kChromeUIDiscardsHost,
#endif
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
@@ -32,12 +28,3 @@ $NetBSD$
kChromeUISandboxHost,
#endif
#if BUILDFLAG(IS_WIN)
-@@ -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,
- #endif
- 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 1a97e87b45..e85e3b521c 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,21 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/common/webui_url_constants.h
-@@ -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)
- inline constexpr char kChromeUIWebUIJsErrorHost[] = "webuijserror";
- inline constexpr char kChromeUIWebUIJsErrorURL[] = "chrome://webuijserror/";
- #endif
+@@ -511,18 +511,18 @@ inline constexpr char kChromeUIOsUrlAppU
+ #endif // BUILDFLAG(IS_CHROMEOS)
#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)
inline constexpr char kChromeUIConnectorsInternalsHost[] =
"connectors-internals";
#endif
@@ -35,7 +28,7 @@ $NetBSD$
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
+@@ -534,11 +534,11 @@ inline constexpr char kChromeUILinuxProx
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -44,15 +37,12 @@ $NetBSD$
inline constexpr char kChromeUISandboxHost[] = "sandbox";
#endif
- // 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_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
-+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || 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)
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
+@@ -560,7 +560,7 @@ inline constexpr char kChromeUIProfilePi
inline constexpr char kChromeUIProfilePickerUrl[] = "chrome://profile-picker/";
#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_test_chromedriver_key__converter__unittest.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_test_chromedriver_key__converter__unittest.cc
index 3aabbc0116..e8a3278f24 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_test_chromedriver_key__converter__unittest.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_chrome_test_chromedriver_key__converter__unittest.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/chrome/test/chromedriver/key_converter_unittest.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/chrome/test/chromedriver/key_converter_unittest.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/chrome/test/chromedriver/key_converter_unittest.cc
-@@ -251,7 +251,7 @@ TEST(KeyConverter, ToggleModifiers) {
+@@ -252,7 +252,7 @@ TEST(KeyConverter, ToggleModifiers) {
CheckEventsReleaseModifiers(keys, key_events);
}
@@ -15,12 +15,12 @@ $NetBSD$
// Fails on bots: crbug.com/174962
#define MAYBE_AllEnglishKeyboardSymbols DISABLED_AllEnglishKeyboardSymbols
#else
-@@ -308,7 +308,7 @@ TEST(KeyConverter, AllEnglishKeyboardTex
+@@ -310,7 +310,7 @@ TEST(KeyConverter, AllEnglishKeyboardTex
TEST(KeyConverter, AllSpecialWebDriverKeysOnEnglishKeyboard) {
ui::ScopedKeyboardLayout keyboard_layout(ui::KEYBOARD_LAYOUT_ENGLISH_US);
- const char kTextForKeys[] = {
+ const auto kTextForKeys = std::to_array<char>({
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- 0, 0, 0, 0, '\t', 0, '\r', '\r', 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, '\t', 0, '\r', '\r', 0, 0, 0, 0, 0,
#else
- 0, 0, 0, 0, 0, 0, '\r', '\r', 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, '\r', '\r', 0, 0, 0, 0, 0,
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_browser_autofill__optimization__guide.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_browser_autofill__optimization__guide.cc
deleted file mode 100644
index 5acc255783..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_browser_autofill__optimization__guide.cc
+++ /dev/null
@@ -1,17 +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/components/autofill/core/browser/autofill_optimization_guide.cc.orig 2025-09-25 11:10:42.000000000 +0000
-+++ src/3rdparty/chromium/components/autofill/core/browser/autofill_optimization_guide.cc
-@@ -186,7 +186,7 @@ void AutofillOptimizationGuide::OnDidPar
- }
-
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- if (has_credit_card_field &&
- !personal_data_manager->payments_data_manager()
- .GetServerCreditCards()
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_browser_payments__data__manager.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_browser_payments__data__manager.cc
deleted file mode 100644
index 0c39b629a6..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_browser_payments__data__manager.cc
+++ /dev/null
@@ -1,17 +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/components/autofill/core/browser/payments_data_manager.cc.orig 2025-09-25 11:10:42.000000000 +0000
-+++ src/3rdparty/chromium/components/autofill/core/browser/payments_data_manager.cc
-@@ -1054,7 +1054,7 @@ bool PaymentsDataManager::ShouldShowCard
- // The feature is only for Linux, Windows, Mac, and Fuchsia.
- // 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) || \
- BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_FUCHSIA)
- // This option should only be shown for users that have not enabled the Sync
- // Feature and that have server credit cards available.
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 2c4aa717a5..9924c14083 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,23 +4,14 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/components/autofill/core/common/autofill_payments_features.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/autofill/core/common/autofill_payments_features.cc
-@@ -8,7 +8,7 @@
+@@ -304,7 +304,7 @@ BASE_FEATURE(kAutofillSyncEwalletAccount
+ #endif // BUILDFLAG(IS_ANDROID)
- 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/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) || \
- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// The new user consent UI is fully launched on MacOS, Windows and Linux.
return true;
+ #else
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.h
deleted file mode 100644
index f5769dfcef..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.h
+++ /dev/null
@@ -1,17 +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/components/autofill/core/common/autofill_payments_features.h.orig 2025-09-25 11:10:42.000000000 +0000
-+++ src/3rdparty/chromium/components/autofill/core/common/autofill_payments_features.h
-@@ -14,7 +14,7 @@ namespace autofill::features {
-
- // All features in alphabetical order.
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- COMPONENT_EXPORT(AUTOFILL)
- BASE_DECLARE_FEATURE(kAutofillEnableAmountExtractionDesktop);
- #endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.cc
index 1e0691b1d2..e6bc7f4604 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/autofill/core/common/autofill_prefs.cc.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/components/autofill/core/common/autofill_prefs.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/autofill/core/common/autofill_prefs.cc
-@@ -118,7 +118,7 @@ void RegisterProfilePrefs(user_prefs::Pr
+@@ -102,7 +102,7 @@ void RegisterProfilePrefs(user_prefs::Pr
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -14,4 +14,22 @@ $NetBSD$
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
registry->RegisterBooleanPref(prefs::kAutofillPredictionImprovementsEnabled,
false);
- #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
+ registry->RegisterBooleanPref(
+@@ -294,7 +294,7 @@ bool IsFacilitatedPaymentsEwalletEnabled
+ }
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ void SetAutofillBnplEnabled(PrefService* prefs, bool value) {
+ prefs->SetBoolean(kAutofillBnplEnabled, value);
+ }
+@@ -303,7 +303,7 @@ void SetAutofillBnplEnabled(PrefService*
+
+ bool IsAutofillBnplEnabled(const PrefService* prefs) {
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ return prefs->GetBoolean(kAutofillBnplEnabled);
+ #else
+ return false;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.h
index 73079a68e2..fd260dd37a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.h
@@ -4,9 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/autofill/core/common/autofill_prefs.h.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/components/autofill/core/common/autofill_prefs.h.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/autofill/core/common/autofill_prefs.h
-@@ -73,7 +73,7 @@ inline constexpr char kAutofillPaymentCv
+@@ -26,7 +26,7 @@ namespace autofill::prefs {
+ inline constexpr std::string_view kAutofillAblationSeedPref =
+ "autofill.ablation_seed";
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ // Boolean that is true if BNPL on Autofill is enabled.
+ inline constexpr char kAutofillBnplEnabled[] = "autofill.bnpl_enabled";
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
+@@ -80,7 +80,7 @@ inline constexpr char kAutofillPaymentCv
inline constexpr char kAutofillPaymentCardBenefits[] =
"autofill.payment_card_benefits";
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -15,3 +24,12 @@ $NetBSD$
// Boolean that controls improved autofill filling predictions. When enabled,
// the autofill functionality is enhanced with adopting user data to
// the form being filled in, which is triggered by the user via an extra
+@@ -235,7 +235,7 @@ void SetFacilitatedPaymentsEwallet(PrefS
+ bool IsFacilitatedPaymentsEwalletEnabled(const PrefService* prefs);
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ void SetAutofillBnplEnabled(PrefService* prefs, bool value);
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ||
+ // BUILDFLAG(IS_CHROMEOS)
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 4b92ff8869..b4c1dab2d8 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,19 +4,28 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/commerce/core/commerce_feature_list.cc
-@@ -168,7 +168,7 @@ BASE_FEATURE(kPriceInsights,
+@@ -157,7 +157,7 @@ BASE_FEATURE(kPriceInsights,
"PriceInsights",
base::FEATURE_DISABLED_BY_DEFAULT);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS)
-+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_IOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD)
BASE_FEATURE(kPriceInsightsRegionLaunched,
"PriceInsightsRegionLaunched",
base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -246,7 +246,7 @@ const base::FeatureParam<bool> kDiscount
- &kEnableDiscountInfoApi, kDiscountOnShoppyPageParam, false};
+@@ -218,7 +218,7 @@ BASE_FEATURE(kEnableDiscountInfoApi,
+ const char kDiscountOnShoppyPageParam[] = "discount-on-shoppy-page";
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ const base::FeatureParam<bool> kDiscountOnShoppyPage{
+ &kEnableDiscountInfoApi, kDiscountOnShoppyPageParam, true};
+ #else
+@@ -227,7 +227,7 @@ const base::FeatureParam<bool> kDiscount
+ #endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
@@ -24,7 +33,16 @@ $NetBSD$
BASE_FEATURE(kEnableDiscountInfoApiRegionLaunched,
"EnableDiscountInfoApiRegionLaunched",
base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -281,7 +281,7 @@ const base::FeatureParam<bool> kDeleteAl
+@@ -242,7 +242,7 @@ const char kMerchantWideBehaviorParam[]
+ const char kNonMerchantWideBehaviorParam[] = "non-merchant-wide-behavior";
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ BASE_FEATURE(kDiscountDialogAutoPopupBehaviorSetting,
+ "DiscountDialogAutoPopupBehaviorSetting",
+ base::FEATURE_ENABLED_BY_DEFAULT);
+@@ -283,7 +283,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_constrained__window_constrained__window__views.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_constrained__window_constrained__window__views.cc
index 412f93225e..ed2c5ce409 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_constrained__window_constrained__window__views.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_constrained__window_constrained__window__views.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/constrained_window/constrained_window_views.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/components/constrained_window/constrained_window_views.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/constrained_window/constrained_window_views.cc
-@@ -372,7 +372,7 @@ bool SupportsGlobalScreenCoordinates() {
+@@ -375,7 +375,7 @@ bool SupportsGlobalScreenCoordinates() {
}
bool PlatformClipsChildrenToViewport() {
--#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return true;
#else
return false;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.cc
index 4e935b4475..dc8fb2abb3 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/device_signals/core/common/signals_features.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/components/device_signals/core/common/signals_features.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/device_signals/core/common/signals_features.cc
-@@ -50,7 +50,7 @@ bool IsNewFunctionEnabled(NewEvFunction
- }
+@@ -11,7 +11,7 @@ BASE_FEATURE(kAllowClientCertificateRepo
+ base::FEATURE_ENABLED_BY_DEFAULT);
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
-- BUILDFLAG(IS_CHROMEOS_ASH)
-+ BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Enables the triggering of device signals consent dialog when conditions met
// This feature also requires UnmanagedDeviceSignalsConsentFlowEnabled policy to
// be enabled
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.h
index 313bd787f3..c268912f6c 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.h
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/device_signals/core/common/signals_features.h.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/components/device_signals/core/common/signals_features.h.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/device_signals/core/common/signals_features.h
-@@ -31,7 +31,7 @@ enum class NewEvFunction { kFileSystemIn
- bool IsNewFunctionEnabled(NewEvFunction new_ev_function);
+@@ -14,7 +14,7 @@ namespace enterprise_signals::features {
+ BASE_DECLARE_FEATURE(kAllowClientCertificateReportingForUsers);
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
-- BUILDFLAG(IS_CHROMEOS_ASH)
-+ BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
+- BUILDFLAG(IS_CHROMEOS)
++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
BASE_DECLARE_FEATURE(kDeviceSignalsConsentDialog);
// Returns true if device signals consent dialog has been enabled for
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_event__constants.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_event__constants.cc
index 7daf3d18cc..1573df0d1d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_event__constants.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_feature__engagement_public_event__constants.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/feature_engagement/public/event_constants.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/components/feature_engagement/public/event_constants.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/feature_engagement/public/event_constants.cc
@@ -11,7 +11,7 @@ namespace feature_engagement {
namespace events {
@@ -14,4 +14,4 @@ $NetBSD$
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
const char kNewTabOpened[] = "new_tab_opened";
const char kSixthTabOpened[] = "sixth_tab_opened";
- const char kTabGroupCreated[] = "tab_group_created";
+ const char kReadingListItemAdded[] = "reading_list_item_added";
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 996f525b00..bf1964256c 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,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/feature_engagement/public/feature_constants.cc
-@@ -18,7 +18,7 @@ BASE_FEATURE(kIPHDemoMode, "IPH_DemoMode
+@@ -19,7 +19,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) || \
@@ -15,16 +15,16 @@ $NetBSD$
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
BASE_FEATURE(kEsbDownloadRowPromoFeature,
"EsbDownloadRowPromo",
-@@ -639,7 +639,7 @@ BASE_FEATURE(kDefaultBrowserTriggerCrite
+@@ -668,7 +668,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(kIPHAutofillCreditCardBenefitFeature,
- "IPH_AutofillCreditCardBenefit",
+ BASE_FEATURE(kIPHAutofillCardInfoRetrievalSuggestionFeature,
+ "IPH_AutofillCardInfoRetrievalSuggestion",
base::FEATURE_DISABLED_BY_DEFAULT);
-@@ -776,7 +776,7 @@ BASE_FEATURE(kIPHScalableIphGamingFeatur
+@@ -811,7 +811,7 @@ BASE_FEATURE(kIPHScalableIphGamingFeatur
base::FEATURE_DISABLED_BY_DEFAULT);
#endif
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 0986410c3d..609e466353 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,41 +4,32 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/feature_engagement/public/feature_constants.h
-@@ -20,7 +20,7 @@ BASE_DECLARE_FEATURE(kIPHDemoMode);
- BASE_DECLARE_FEATURE(kIPHDummyFeature);
+@@ -27,7 +27,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDe
+ FEATURE_CONSTANTS_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)
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
- BASE_DECLARE_FEATURE(kEsbDownloadRowPromoFeature);
+ FEATURE_CONSTANTS_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) ||
-- // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
-+ // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
-
- // All the features declared for Android below that are also used in Java,
- // should also be declared in:
-@@ -258,7 +258,7 @@ BASE_DECLARE_FEATURE(kDefaultBrowserTrig
+@@ -296,7 +296,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kDefau
#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_DECLARE_FEATURE(kIPHAutofillCreditCardBenefitFeature);
- BASE_DECLARE_FEATURE(kIPHAutofillDisabledVirtualCardSuggestionFeature);
- BASE_DECLARE_FEATURE(kIPHAutofillExternalAccountProfileSuggestionFeature);
-@@ -309,7 +309,7 @@ BASE_DECLARE_FEATURE(kIPHScalableIphHelp
- BASE_DECLARE_FEATURE(kIPHScalableIphGamingFeature);
+ FEATURE_CONSTANTS_DECLARE_FEATURE(
+ kIPHAutofillCardInfoRetrievalSuggestionFeature);
+ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHAutofillCreditCardBenefitFeature);
+@@ -353,7 +353,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHSc
+ FEATURE_CONSTANTS_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);
+ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDesktopPWAsLinkCapturingLaunch);
+ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDesktopPWAsLinkCapturingLaunchAppInTab);
#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 72c2f166a8..5b9eb759d4 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,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/feature_engagement/public/feature_list.cc
@@ -165,7 +165,7 @@ const base::Feature* const kAllFeatures[
- &kIPHiOSLensOverlayEntrypointTipFeature,
+ &kIPHiOSReminderNotificationsOverflowMenuBubbleFeature,
#endif // BUILDFLAG(IS_IOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
@@ -15,21 +15,21 @@ $NetBSD$
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
&kEsbDownloadRowPromoFeature,
#endif
-@@ -230,7 +230,7 @@ const base::Feature* const kAllFeatures[
+@@ -237,7 +237,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)
+ &kIPHAutofillCardInfoRetrievalSuggestionFeature,
&kIPHAutofillCreditCardBenefitFeature,
&kIPHAutofillDisabledVirtualCardSuggestionFeature,
- &kIPHAutofillExternalAccountProfileSuggestionFeature,
-@@ -281,7 +281,7 @@ const base::Feature* const kAllFeatures[
+@@ -290,7 +290,7 @@ const base::Feature* const kAllFeatures[
&kIPHScalableIphGamingFeature,
- #endif // BUILDFLAG(IS_CHROMEOS_ASH)
+ #endif // BUILDFLAG(IS_CHROMEOS)
-#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,
+ &kIPHDesktopPWAsLinkCapturingLaunchAppInTab,
#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 8e9270d641..68143e392b 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,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/feature_engagement/public/feature_list.h
-@@ -288,7 +288,7 @@ DEFINE_VARIATION_PARAM(kIPHHomeCustomiza
+@@ -291,7 +291,7 @@ DEFINE_VARIATION_PARAM(kIPHiOSReminderNo
#endif // BUILDFLAG(IS_IOS)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
@@ -15,7 +15,7 @@ $NetBSD$
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
DEFINE_VARIATION_PARAM(kEsbDownloadRowPromoFeature, "EsbDownloadRowPromo");
#endif
-@@ -389,7 +389,7 @@ DEFINE_VARIATION_PARAM(kIPHTabGroupsSave
+@@ -402,7 +402,7 @@ DEFINE_VARIATION_PARAM(kIPHTabGroupsSave
// BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \
@@ -24,39 +24,39 @@ $NetBSD$
DEFINE_VARIATION_PARAM(kIPHAutofillCreditCardBenefitFeature,
"IPH_AutofillCreditCardBenefit");
-@@ -481,7 +481,7 @@ DEFINE_VARIATION_PARAM(kIPHScalableIphHe
+@@ -496,7 +496,7 @@ DEFINE_VARIATION_PARAM(kIPHScalableIphHe
DEFINE_VARIATION_PARAM(kIPHScalableIphGamingFeature, "IPH_ScalableIphGaming");
- #endif // BUILDFLAG(IS_CHROMEOS_ASH)
+ #endif // BUILDFLAG(IS_CHROMEOS)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
DEFINE_VARIATION_PARAM(kIPHDesktopPWAsLinkCapturingLaunch,
"IPH_DesktopPWAsLinkCapturingLaunch");
- DEFINE_VARIATION_PARAM(kIPHToolbarManagementButtonFeature,
-@@ -646,7 +646,7 @@ constexpr flags_ui::FeatureEntry::Featur
- VARIATION_ENTRY(kIPHHomeCustomizationMenuFeature),
- VARIATION_ENTRY(kIPHiOSLensOverlayEntrypointTipFeature),
+ DEFINE_VARIATION_PARAM(kIPHDesktopPWAsLinkCapturingLaunchAppInTab,
+@@ -662,7 +662,7 @@ inline constexpr flags_ui::FeatureEntry:
+ VARIATION_ENTRY(kIPHiOSDefaultBrowserBannerPromoFeature),
+ VARIATION_ENTRY(kIPHiOSReminderNotificationsOverflowMenuBubbleFeature),
#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),
-@@ -701,7 +701,7 @@ constexpr flags_ui::FeatureEntry::Featur
+@@ -722,7 +722,7 @@ inline constexpr flags_ui::FeatureEntry:
// 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)
VARIATION_ENTRY(kIPHAutofillCreditCardBenefitFeature),
+ VARIATION_ENTRY(kIPHAutofillCardInfoRetrievalSuggestionFeature),
VARIATION_ENTRY(kIPHAutofillDisabledVirtualCardSuggestionFeature),
- VARIATION_ENTRY(kIPHAutofillExternalAccountProfileSuggestionFeature),
-@@ -753,7 +753,7 @@ constexpr flags_ui::FeatureEntry::Featur
+@@ -774,7 +774,7 @@ inline constexpr flags_ui::FeatureEntry:
VARIATION_ENTRY(kIPHScalableIphGamingFeature),
- #endif // BUILDFLAG(IS_CHROMEOS_ASH)
+ #endif // BUILDFLAG(IS_CHROMEOS)
-#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),
+ VARIATION_ENTRY(kIPHDesktopPWAsLinkCapturingLaunchAppInTab),
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_flags__ui_flags__state.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_flags__ui_flags__state.cc
index 9c5c468e1d..47a7ac9013 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_flags__ui_flags__state.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_flags__ui_flags__state.cc
@@ -4,12 +4,12 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/flags_ui/flags_state.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/components/flags_ui/flags_state.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/flags_ui/flags_state.cc
-@@ -755,7 +755,7 @@ unsigned short FlagsState::GetCurrentPla
+@@ -761,7 +761,7 @@ unsigned short FlagsState::GetCurrentPla
+ return kOsWin;
+ #elif BUILDFLAG(IS_CHROMEOS)
return kOsCrOS;
- #elif BUILDFLAG(IS_CHROMEOS_LACROS)
- return kOsLacros;
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_OPENBSD)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return kOsLinux;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_live__caption_caption__util.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_live__caption_caption__util.cc
index 60ffcfcb72..865ba45db1 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_live__caption_caption__util.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_live__caption_caption__util.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/live_caption/caption_util.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/components/live_caption/caption_util.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/live_caption/caption_util.cc
-@@ -139,7 +139,7 @@ std::string GetCaptionSettingsUrl() {
+@@ -136,7 +136,7 @@ bool IsLiveCaptionFeatureSupported() {
+ std::string GetCaptionSettingsUrl() {
+ #if BUILDFLAG(IS_CHROMEOS)
return "chrome://os-settings/audioAndCaptions";
- #endif // BUILDFLAG(IS_CHROMEOS)
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return "chrome://settings/captions";
- #endif // BUILDFLAG(IS_LINUX)
-
+ #elif BUILDFLAG(IS_WIN)
+ return base::win::GetVersion() >= base::win::Version::WIN10
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_media__router_common_providers_cast_channel_cast__message__util.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_media__router_common_providers_cast_channel_cast__message__util.cc
index 437f06a753..ee39932a90 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_media__router_common_providers_cast_channel_cast__message__util.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_media__router_common_providers_cast_channel_cast__message__util.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/providers/cast/channel/cast_message_util.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/components/media_router/common/providers/cast/channel/cast_message_util.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/media_router/common/providers/cast/channel/cast_message_util.cc
-@@ -169,7 +169,7 @@ int GetVirtualConnectPlatformValue() {
+@@ -168,7 +168,7 @@ int GetVirtualConnectPlatformValue() {
return 4;
- #elif BUILDFLAG(IS_CHROMEOS_ASH)
+ #elif BUILDFLAG(IS_CHROMEOS)
return 5;
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return 6;
#else
return 0;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_metrics_metrics__log.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_metrics_metrics__log.cc
index eddef0bfd4..44b7e900f0 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_metrics_metrics__log.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_metrics_metrics__log.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/metrics/metrics_log.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/components/metrics/metrics_log.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/metrics/metrics_log.cc
-@@ -56,7 +56,7 @@
+@@ -61,7 +61,7 @@
#include "base/win/current_module.h"
#endif
@@ -15,7 +15,7 @@ $NetBSD$
#include "base/environment.h"
#include "base/nix/xdg_util.h"
#endif
-@@ -146,7 +146,7 @@ void RecordCurrentTime(
+@@ -157,7 +157,7 @@ void RecordCurrentTime(
}
}
@@ -24,16 +24,16 @@ $NetBSD$
metrics::SystemProfileProto::OS::XdgSessionType ToProtoSessionType(
base::nix::SessionType session_type) {
switch (session_type) {
-@@ -415,7 +415,7 @@ void MetricsLog::RecordCoreSystemProfile
+@@ -435,7 +435,7 @@ void MetricsLog::RecordCoreSystemProfile
// OperatingSystemVersion refers to the ChromeOS release version.
- #if BUILDFLAG(IS_CHROMEOS_ASH)
+ #if BUILDFLAG(IS_CHROMEOS)
os->set_kernel_version(base::SysInfo::KernelVersion());
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Linux operating system version is copied over into kernel version to be
// consistent.
os->set_kernel_version(base::SysInfo::OperatingSystemVersion());
-@@ -432,7 +432,7 @@ void MetricsLog::RecordCoreSystemProfile
+@@ -452,7 +452,7 @@ void MetricsLog::RecordCoreSystemProfile
os->set_build_number(base::SysInfo::GetIOSBuildNumber());
#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_neterror_resources_neterror.js b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_neterror_resources_neterror.js
deleted file mode 100644
index f5b8cb9ccb..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_neterror_resources_neterror.js
+++ /dev/null
@@ -1,17 +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/components/neterror/resources/neterror.js.orig 2024-12-17 17:58:49.000000000 +0000
-+++ src/3rdparty/chromium/components/neterror/resources/neterror.js
-@@ -142,7 +142,7 @@ function detailsButtonClick() {
-
- let primaryControlOnLeft = true;
- // clang-format off
--// <if expr="is_macosx or is_ios or is_linux or is_chromeos or is_android">
-+// <if expr="is_macosx or is_ios or is_posix or is_chromeos or is_android">
- // clang-format on
- primaryControlOnLeft = false;
- // </if>
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_os__crypt_async_common_encryptor.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_os__crypt_async_common_encryptor.cc
deleted file mode 100644
index 8c2246262d..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_os__crypt_async_common_encryptor.cc
+++ /dev/null
@@ -1,17 +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/components/os_crypt/async/common/encryptor.cc.orig 2025-09-25 11:10:42.000000000 +0000
-+++ src/3rdparty/chromium/components/os_crypt/async/common/encryptor.cc
-@@ -277,7 +277,7 @@ std::optional<std::string> Encryptor::De
- // or not encryption worked or not, and certainly not advisable to recommend
- // a re-encryption of this potentially invalid data.
- // TODO(crbug.com/365712505): Remove this fallback.
--#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE) && \
-+#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD) && \
- !(BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)) || \
- BUILDFLAG(IS_FUCHSIA)
- if (plaintext == string_data) {
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 1bac5a552b..db17fac1ed 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,27 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/os_crypt/sync/os_crypt.h
-@@ -14,7 +14,7 @@
- #include "build/build_config.h"
+@@ -16,7 +16,7 @@
#include "build/chromecast_buildflags.h"
+ #include "crypto/subtle_passkey.h"
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
class KeyStorageLinux;
#endif // BUILDFLAG(IS_LINUX)
-@@ -23,7 +23,7 @@ class PrefRegistrySimple;
- class PrefService;
- #endif // BUILDFLAG(IS_WIN)
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_APPLE)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD)
- namespace crypto {
- class SymmetricKey;
- }
-@@ -36,7 +36,7 @@ struct Config;
+@@ -32,7 +32,7 @@ struct Config;
// Temporary interface due to OSCrypt refactor. See OSCryptImpl for descriptions
// of what each function does.
namespace OSCrypt {
@@ -33,7 +24,7 @@ $NetBSD$
COMPONENT_EXPORT(OS_CRYPT)
void SetConfig(std::unique_ptr<os_crypt::Config> config);
#endif // BUILDFLAG(IS_LINUX)
-@@ -81,7 +81,7 @@ COMPONENT_EXPORT(OS_CRYPT) void UseMockK
+@@ -77,7 +77,7 @@ COMPONENT_EXPORT(OS_CRYPT) void UseMockK
COMPONENT_EXPORT(OS_CRYPT) void SetLegacyEncryptionForTesting(bool legacy);
COMPONENT_EXPORT(OS_CRYPT) void ResetStateForTesting();
#endif // BUILDFLAG(IS_WIN)
@@ -42,7 +33,7 @@ $NetBSD$
COMPONENT_EXPORT(OS_CRYPT)
void UseMockKeyStorageForTesting(
base::OnceCallback<std::unique_ptr<KeyStorageLinux>()>
-@@ -108,7 +108,7 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCrypt
+@@ -111,7 +111,7 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCrypt
// Returns singleton instance of OSCryptImpl.
static OSCryptImpl* GetInstance();
@@ -51,7 +42,7 @@ $NetBSD$
// Set the configuration of OSCryptImpl.
// This method, or SetRawEncryptionKey(), must be called before using
// EncryptString() and DecryptString().
-@@ -200,7 +200,7 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCrypt
+@@ -203,7 +203,7 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCrypt
void ResetStateForTesting();
#endif
@@ -60,8 +51,8 @@ $NetBSD$
// For unit testing purposes, inject methods to be used.
// |storage_provider_factory| provides the desired |KeyStorage|
// implementation. If the provider returns |nullptr|, a hardcoded password
-@@ -225,13 +225,13 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCrypt
- crypto::SymmetricKey* GetEncryptionKey();
+@@ -227,13 +227,13 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCrypt
+ bool DeriveKey();
#endif // BUILDFLAG(IS_APPLE)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_APPLE)
@@ -73,6 +64,6 @@ $NetBSD$
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Returns a cached string of "peanuts". Is thread-safe.
- crypto::SymmetricKey* GetPasswordV10();
+ static constexpr size_t kDerivedKeyBytes = 16;
+ crypto::SubtlePassKey MakeCryptoPassKey();
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 27552946b3..018a37479e 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,9 +4,9 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/components/password_manager/core/browser/features/password_features.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/password_manager/core/browser/features/password_features.cc
-@@ -41,7 +41,7 @@ BASE_FEATURE(kClearUndecryptablePassword
+@@ -35,7 +35,7 @@ BASE_FEATURE(kClearUndecryptablePassword
BASE_FEATURE(kClearUndecryptablePasswordsOnSync,
"ClearUndecryptablePasswordsInSync",
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS) || \
@@ -15,8 +15,8 @@ $NetBSD$
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
-@@ -92,7 +92,7 @@ BASE_FEATURE(kPasswordManualFallbackAvai
- "PasswordManualFallbackAvailable",
+@@ -107,7 +107,7 @@ BASE_FEATURE(kReuseDetectionBasedOnPassw
+ "ReuseDetectionBasedOnPasswordHashes",
base::FEATURE_DISABLED_BY_DEFAULT);
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
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 492540d817..7d0fb804d9 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,11 +4,11 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/components/password_manager/core/browser/features/password_features.h.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/password_manager/core/browser/features/password_features.h
-@@ -93,7 +93,7 @@ BASE_DECLARE_FEATURE(kPasswordManagerLog
- // Enables triggering password suggestions through the context menu.
- BASE_DECLARE_FEATURE(kPasswordManualFallbackAvailable);
+@@ -108,7 +108,7 @@ BASE_DECLARE_FEATURE(kPasswordManualFall
+ // Detects password reuse based on hashed password values.
+ BASE_DECLARE_FEATURE(kReuseDetectionBasedOnPasswordHashes);
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
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 fba849827f..5c52e91e25 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,18 +4,18 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/components/password_manager/core/browser/password_manager.cc.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/3rdparty/chromium/components/password_manager/core/browser/password_manager.cc
-@@ -414,7 +414,7 @@ void PasswordManager::RegisterProfilePre
- prefs::kAutofillableCredentialsAccountStoreLoginDatabase, false);
- #endif // BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS)
+@@ -471,7 +471,7 @@ void PasswordManager::RegisterProfilePre
+ false);
+ #endif
registry->RegisterBooleanPref(prefs::kPasswordSharingEnabled, true);
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
registry->RegisterIntegerPref(prefs::kRelaunchChromeBubbleDismissedCounter,
0);
#endif
-@@ -427,7 +427,7 @@ void PasswordManager::RegisterProfilePre
+@@ -484,7 +484,7 @@ void PasswordManager::RegisterProfilePre
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__client.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__client.h
index 70ec67a065..d92fc293aa 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__client.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__client.h
@@ -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_manager_client.h.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/components/password_manager/core/browser/password_manager_client.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/components/password_manager/core/browser/password_manager_client.h
-@@ -30,7 +30,7 @@
+@@ -31,7 +31,7 @@
#include "net/cert/cert_status_flags.h"
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -15,12 +15,12 @@ $NetBSD$
#include "base/i18n/rtl.h"
#include "components/password_manager/core/browser/password_cross_domain_confirmation_popup_controller.h"
#include "ui/gfx/geometry/rect_f.h"
-@@ -545,7 +545,7 @@ class PasswordManagerClient {
+@@ -549,7 +549,7 @@ class PasswordManagerClient {
CredentialsCallback callback);
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
-
// Shows the bubble with the details of the `form`.
virtual void OpenPasswordDetailsBubble(
+ const password_manager::PasswordForm& form) = 0;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.cc
index d0dcfe5ec0..db0c2e0bb0 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.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/stub_password_manager_client.cc.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/components/password_manager/core/browser/stub_password_manager_client.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/components/password_manager/core/browser/stub_password_manager_client.cc
-@@ -187,7 +187,7 @@ version_info::Channel StubPasswordManage
+@@ -199,7 +199,7 @@ version_info::Channel StubPasswordManage
}
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -14,4 +14,4 @@ $NetBSD$
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
void StubPasswordManagerClient::OpenPasswordDetailsBubble(
const password_manager::PasswordForm& form) {}
-
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ||
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.h
index 835c511c10..bf95bb6481 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.h
@@ -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/stub_password_manager_client.h.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/components/password_manager/core/browser/stub_password_manager_client.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/components/password_manager/core/browser/stub_password_manager_client.h
-@@ -75,7 +75,7 @@ class StubPasswordManagerClient : public
+@@ -77,7 +77,7 @@ class StubPasswordManagerClient : public
MockPasswordFeatureManager* GetPasswordFeatureManager();
version_info::Channel GetChannel() const override;
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
@@ -14,4 +14,4 @@ $NetBSD$
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
void OpenPasswordDetailsBubble(
const password_manager::PasswordForm& form) override;
- std::unique_ptr<
+ #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ||
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_browser_policy__pref__mapping__test.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_browser_policy__pref__mapping__test.cc
index 7d0bfb24a2..0b1069de79 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_browser_policy__pref__mapping__test.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_browser_policy__pref__mapping__test.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/policy/core/browser/policy_pref_mapping_test.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/components/policy/core/browser/policy_pref_mapping_test.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/components/policy/core/browser/policy_pref_mapping_test.cc
-@@ -411,7 +411,7 @@ class PolicyTestCase {
- const std::string os("chromeos_lacros");
+@@ -408,7 +408,7 @@ class PolicyTestCase {
+ const std::string os("chromeos_ash");
#elif BUILDFLAG(IS_IOS)
const std::string os("ios");
-#elif BUILDFLAG(IS_LINUX)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__util.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__util.cc
index 5ab26e0cb1..71554f2643 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__util.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__util.cc
@@ -4,44 +4,41 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/policy/core/common/cloud/cloud_policy_util.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/components/policy/core/common/cloud/cloud_policy_util.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/components/policy/core/common/cloud/cloud_policy_util.cc
@@ -20,7 +20,7 @@
+ #include "base/win/wincred_shim.h"
#endif
- #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || \
-- BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_FUCHSIA)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
#include <pwd.h>
#include <sys/types.h>
#include <unistd.h>
-@@ -35,10 +35,15 @@
+@@ -35,7 +35,12 @@
#import <SystemConfiguration/SCDynamicStoreCopySpecific.h>
#endif
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include <limits.h> // For HOST_NAME_MAX
#endif
-
++
+#if BUILDFLAG(IS_FREEBSD) || BUILDFLAG(IS_NETBSD)
+#include <sys/param.h>
+#define HOST_NAME_MAX MAXHOSTNAMELEN
+#endif
-+
- #include <algorithm>
- #include <utility>
-@@ -88,7 +93,7 @@ namespace em = enterprise_management;
+@@ -83,7 +83,7 @@ namespace policy {
+ namespace em = enterprise_management;
std::string GetMachineName() {
- #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || \
-- BUILDFLAG(IS_FUCHSIA)
-+ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
char hostname[HOST_NAME_MAX];
if (gethostname(hostname, HOST_NAME_MAX) == 0) // Success.
return hostname;
-@@ -145,7 +150,7 @@ std::string GetMachineName() {
+@@ -139,7 +139,7 @@ std::string GetMachineName() {
std::string GetOSVersion() {
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_APPLE) || \
@@ -50,7 +47,7 @@ $NetBSD$
return base::SysInfo::OperatingSystemVersion();
#elif BUILDFLAG(IS_WIN)
base::win::OSInfo::VersionNumber version_number =
-@@ -168,7 +173,7 @@ std::string GetOSArchitecture() {
+@@ -161,7 +161,7 @@ std::string GetOSArchitecture() {
}
std::string GetOSUsername() {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_common_policy__loader__common.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_common_policy__loader__common.cc
index e8b88870b9..85171dafe6 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_common_policy__loader__common.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_policy_core_common_policy__loader__common.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/policy/core/common/policy_loader_common.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/components/policy/core/common/policy_loader_common.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/components/policy/core/common/policy_loader_common.cc
@@ -46,7 +46,7 @@ const char* kSensitivePolicies[] = {
key::kDefaultSearchProviderEnabled,
@@ -13,9 +13,9 @@ $NetBSD$
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
key::kAutoOpenFileTypes,
+ key::kEnterpriseSearchAggregatorSettings,
key::kHomepageIsNewTabPage,
- key::kPasswordProtectionChangePasswordURL,
-@@ -56,7 +56,7 @@ const char* kSensitivePolicies[] = {
+@@ -57,7 +57,7 @@ const char* kSensitivePolicies[] = {
key::kSafeBrowsingAllowlistDomains,
key::kSiteSearchSettings,
#endif
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 6e49b3e44f..a7c88847b9 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,12 +4,12 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/components/safe_browsing/content/common/file_type_policies_unittest.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/components/safe_browsing/content/common/file_type_policies_unittest.cc
-@@ -148,7 +148,7 @@ TEST_F(FileTypePoliciesTest, UnpackResou
+@@ -146,7 +146,7 @@ TEST_F(FileTypePoliciesTest, UnpackResou
+ EXPECT_EQ(142, file_type.uma_value());
+ EXPECT_FALSE(file_type.is_archive());
EXPECT_EQ(DownloadFileType::FULL_PING, file_type.ping_setting());
- // 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)
EXPECT_EQ(DownloadFileType::ALLOW_ON_USER_GESTURE,
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
deleted file mode 100644
index 273e1afa48..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_safe__browsing_core_common_features.cc
+++ /dev/null
@@ -1,17 +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/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
-@@ -237,7 +237,7 @@ BASE_FEATURE(kRippleForEnhancedProtectio
- BASE_FEATURE(kSafeBrowsingAsyncRealTimeCheck,
- "SafeBrowsingAsyncRealTimeCheck",
- #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)
- base::FEATURE_ENABLED_BY_DEFAULT
- #else
- base::FEATURE_DISABLED_BY_DEFAULT
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_search__engines_search__engine__choice_search__engine__choice__service.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_search__engines_search__engine__choice_search__engine__choice__service.cc
deleted file mode 100644
index ce458582b3..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_search__engines_search__engine__choice_search__engine__choice__service.cc
+++ /dev/null
@@ -1,17 +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/components/search_engines/search_engine_choice/search_engine_choice_service.cc.orig 2024-12-17 17:58:49.000000000 +0000
-+++ src/3rdparty/chromium/components/search_engines/search_engine_choice/search_engine_choice_service.cc
-@@ -613,7 +613,7 @@ void SearchEngineChoiceService::Register
-
- int SearchEngineChoiceService::GetCountryIdInternal() {
- // `country_codes::kCountryIDAtInstall` may not be set yet.
--#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // On Android, ChromeOS and Linux, `country_codes::kCountryIDAtInstall` is
- // computed asynchronously using platform-specific signals, and may not be
- // available yet.
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 791c8bc26c..4c4198f1a2 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/components/search_engines/template_url_service.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/components/search_engines/template_url_service.cc
-@@ -3060,7 +3060,7 @@ bool TemplateURLService::MatchesDefaultS
- std::unique_ptr<EnterpriseSiteSearchManager>
- TemplateURLService::GetEnterpriseSiteSearchManager(PrefService* prefs) {
+@@ -3229,7 +3229,7 @@ bool TemplateURLService::MatchesDefaultS
+ std::unique_ptr<EnterpriseSearchManager>
+ TemplateURLService::GetEnterpriseSearchManager(PrefService* prefs) {
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- return base::FeatureList::IsEnabled(omnibox::kSiteSearchSettingsPolicy)
- ? std::make_unique<EnterpriseSiteSearchManager>(
- prefs, base::BindRepeating(
+ return std::make_unique<EnterpriseSearchManager>(
+ prefs, base::BindRepeating(&TemplateURLService::EnterpriseSearchChanged,
+ base::Unretained(this)));
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_security__interstitials_content_utils.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_security__interstitials_content_utils.cc
index 7cd522ec10..71f5da46df 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_security__interstitials_content_utils.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_security__interstitials_content_utils.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/security_interstitials/content/utils.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/components/security_interstitials/content/utils.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/components/security_interstitials/content/utils.cc
-@@ -38,7 +38,7 @@ void LaunchDateAndTimeSettings() {
+@@ -37,7 +37,7 @@ void LaunchDateAndTimeSettings() {
#if BUILDFLAG(IS_ANDROID)
JNIEnv* env = base::android::AttachCurrentThread();
Java_DateAndTimeSettingsHelper_openDateAndTimeSettings(env);
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
struct ClockCommand {
const char* const pathname;
const char* const argument;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_services_on__device__translation_sandbox__hook.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_services_on__device__translation_sandbox__hook.cc
new file mode 100644
index 0000000000..1a4a39629a
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_services_on__device__translation_sandbox__hook.cc
@@ -0,0 +1,48 @@
+$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/services/on_device_translation/sandbox_hook.cc.orig 2025-11-14 07:55:10.000000000 +0000
++++ src/3rdparty/chromium/components/services/on_device_translation/sandbox_hook.cc
+@@ -7,12 +7,15 @@
+ #include "components/services/on_device_translation/translate_kit_client.h"
+ #include "sandbox/linux/syscall_broker/broker_command.h"
+
++#if !BUILDFLAG(IS_BSD)
+ using sandbox::syscall_broker::BrokerFilePermission;
+ using sandbox::syscall_broker::MakeBrokerCommandSet;
++#endif
+
+ namespace on_device_translation {
+ namespace {
+
++#if !BUILDFLAG(IS_BSD)
+ // Gets the file permissions required by the TranslateKit
+ std::vector<BrokerFilePermission> GetOnDeviceTranslationFilePermissions() {
+ std::vector<BrokerFilePermission> permissions{
+@@ -21,6 +24,7 @@ std::vector<BrokerFilePermission> GetOnD
+ };
+ return permissions;
+ }
++#endif
+
+ } // namespace
+
+@@ -29,6 +33,7 @@ bool OnDeviceTranslationSandboxHook(
+ // Call `TranslateKitClient::Get()` to load libtranslatekit.so
+ TranslateKitClient::Get();
+
++#if !BUILDFLAG(IS_BSD)
+ auto* instance = sandbox::policy::SandboxLinux::GetInstance();
+ instance->StartBrokerProcess(MakeBrokerCommandSet({
+ sandbox::syscall_broker::COMMAND_OPEN,
+@@ -36,6 +41,7 @@ bool OnDeviceTranslationSandboxHook(
+ GetOnDeviceTranslationFilePermissions(),
+ options);
+ instance->EngageNamespaceSandboxIfPossible();
++#endif
+
+ return true;
+ }
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_services_on__device__translation_sandbox__hook.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_services_on__device__translation_sandbox__hook.h
new file mode 100644
index 0000000000..9d8d241330
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_services_on__device__translation_sandbox__hook.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/components/services/on_device_translation/sandbox_hook.h.orig 2025-11-14 07:55:10.000000000 +0000
++++ src/3rdparty/chromium/components/services/on_device_translation/sandbox_hook.h
+@@ -5,7 +5,13 @@
+ #ifndef COMPONENTS_SERVICES_ON_DEVICE_TRANSLATION_SANDBOX_HOOK_H_
+ #define COMPONENTS_SERVICES_ON_DEVICE_TRANSLATION_SANDBOX_HOOK_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 on_device_translation {
+
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_storage__monitor_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_storage__monitor_BUILD.gn
index 8ceafbfc2c..4e2b2af01c 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_storage__monitor_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_storage__monitor_BUILD.gn
@@ -4,23 +4,23 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/storage_monitor/BUILD.gn.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/components/storage_monitor/BUILD.gn.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/components/storage_monitor/BUILD.gn
-@@ -75,7 +75,7 @@ static_library("storage_monitor") {
+@@ -72,7 +72,7 @@ jumbo_static_library("storage_monitor")
deps += [ "//services/device/public/mojom" ]
}
- } else if (is_linux || is_chromeos_lacros) {
+ } else if (is_linux) {
- if (use_udev) {
+ if (use_udev && !is_bsd) {
sources += [
"mtab_watcher_linux.cc",
"mtab_watcher_linux.h",
-@@ -180,7 +180,7 @@ source_set("unit_tests") {
+@@ -178,7 +178,7 @@ source_set("unit_tests") {
"storage_monitor_chromeos_unittest.cc",
]
}
-- } else if (is_linux || is_chromeos_lacros) {
-+ } else if ((is_linux || is_chromeos_lacros) && !is_bsd) {
+- } else if (is_linux) {
++ } else if (is_linux && !is_bsd) {
if (use_udev) {
sources += [ "storage_monitor_linux_unittest.cc" ]
}
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
deleted file mode 100644
index c06aca5fc6..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__service.cc
+++ /dev/null
@@ -1,17 +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/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
-@@ -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 (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 d87097d597..770dd86059 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,18 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/components/supervised_user/core/common/features.cc
-@@ -67,7 +67,7 @@ BASE_FEATURE(kUpdatedSupervisedUserExten
+@@ -68,7 +68,7 @@ BASE_FEATURE(kUpdatedSupervisedUserExten
"UpdatedSupervisedUserExtensionApprovalStrings",
- base::FEATURE_DISABLED_BY_DEFAULT);
+ base::FEATURE_ENABLED_BY_DEFAULT);
-#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
+ base::FEATURE_ENABLED_BY_DEFAULT);
+@@ -83,7 +83,7 @@ bool IsSupervisedUserSkipParentApprovalT
#if BUILDFLAG(IS_CHROMEOS)
return base::FeatureList::IsEnabled(
kEnableSupervisedUserSkipParentApprovalToInstallExtensions);
@@ -24,12 +24,13 @@ $NetBSD$
bool skipParentApprovalEnabled = base::FeatureList::IsEnabled(
kEnableSupervisedUserSkipParentApprovalToInstallExtensions);
bool permissionExtensionsForSupervisedUsersEnabled =
-@@ -107,13 +107,13 @@ BASE_FEATURE(kSupervisedUserProfileSigni
- "SupervisedUserProfileSigninIPH",
+@@ -104,14 +104,14 @@ BASE_FEATURE(kCustomProfileStringsForSup
+ "CustomProfileStringsForSupervisedUsers",
base::FEATURE_DISABLED_BY_DEFAULT);
-#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(kShowKiteForSupervisedUsers,
"ShowKiteForSupervisedUsers",
base::FEATURE_DISABLED_BY_DEFAULT);
@@ -37,15 +38,24 @@ $NetBSD$
-#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
+ BASE_FEATURE(kForceSafeSearchForUnauthenticatedSupervisedUsers,
"ForceSafeSearchForUnauthenticatedSupervisedUsers",
+ base::FEATURE_ENABLED_BY_DEFAULT);
+@@ -121,7 +121,7 @@ BASE_FEATURE(kForceSafeSearchForUnauthen
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(kForceSupervisedUserReauthenticationForYouTube,
- "ForceSupervisedUserReauthenticationForYouTube",
- base::FEATURE_DISABLED_BY_DEFAULT);
+ BASE_FEATURE(kEnableSupervisedUserVersionSignOutDialog,
+ "EnableSupervisedUserVersionSignOutDialog",
+ base::FEATURE_ENABLED_BY_DEFAULT);
+@@ -141,7 +141,7 @@ BASE_FEATURE(kExemptYouTubeInfrastructur
+ // kUncredentialedFilteringFallbackForSupervisedUsers and
+ // kWaitUntilAccessTokenAvailableForClassifyUrl flags, by inlining the
+ // platform #defines.
+-#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(kUncredentialedFilteringFallbackForSupervisedUsers,
+ "UncredentialedFilteringFallbackForSupervisedUsers",
+ base::FEATURE_ENABLED_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 1392f653ea..a2b37607fc 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,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/components/supervised_user/core/common/features.h
-@@ -25,7 +25,7 @@ BASE_DECLARE_FEATURE(
+@@ -30,7 +30,7 @@ BASE_DECLARE_FEATURE(
// Applies new informative strings during the parental extension approval flow.
BASE_DECLARE_FEATURE(kUpdatedSupervisedUserExtensionApprovalStrings);
@@ -15,7 +15,7 @@ $NetBSD$
BASE_DECLARE_FEATURE(kEnableExtensionsPermissionsForSupervisedUsersOnDesktop);
#endif
-@@ -59,11 +59,11 @@ BASE_DECLARE_FEATURE(kSupervisedUserProf
+@@ -60,7 +60,7 @@ BASE_DECLARE_FEATURE(kCustomProfileStrin
// Displays a Family Link kite badge on the supervised user avatar in various
// surfaces.
@@ -24,17 +24,12 @@ $NetBSD$
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
+@@ -68,7 +68,7 @@ BASE_DECLARE_FEATURE(kShowKiteForSupervi
// 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);
+ // Uses supervised user strings on the signout dialog.
+ BASE_DECLARE_FEATURE(kEnableSupervisedUserVersionSignOutDialog);
+
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_common_pref__names.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_common_pref__names.h
index c87ff820e1..404dfae95d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_common_pref__names.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_supervised__user_core_common_pref__names.h
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/supervised_user/core/common/pref_names.h.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/components/supervised_user/core/common/pref_names.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/components/supervised_user/core/common/pref_names.h
-@@ -137,7 +137,7 @@ inline constexpr char kFirstTimeIntersti
- "profile.managed.banner_state";
+@@ -129,7 +129,7 @@ inline constexpr char kDefaultSupervised
+ "profile.managed.default_filtering_behavior";
#if BUILDFLAG(ENABLE_EXTENSIONS)
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_sync__device__info_local__device__info__util.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_sync__device__info_local__device__info__util.cc
index 906ae78306..1372f67af9 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_sync__device__info_local__device__info__util.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_components_sync__device__info_local__device__info__util.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/components/sync_device_info/local_device_info_util.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/components/sync_device_info/local_device_info_util.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/components/sync_device_info/local_device_info_util.cc
-@@ -85,7 +85,7 @@ void OnMachineStatisticsLoaded(LocalDevi
+@@ -84,7 +84,7 @@ void OnMachineStatisticsLoaded(LocalDevi
sync_pb::SyncEnums::DeviceType GetLocalDeviceType() {
#if BUILDFLAG(IS_CHROMEOS)
return sync_pb::SyncEnums_DeviceType_TYPE_CROS;
@@ -15,16 +15,16 @@ $NetBSD$
return sync_pb::SyncEnums_DeviceType_TYPE_LINUX;
#elif BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS)
switch (ui::GetDeviceFormFactor()) {
-@@ -110,7 +110,7 @@ DeviceInfo::OsType GetLocalDeviceOSType(
+@@ -107,7 +107,7 @@ sync_pb::SyncEnums::DeviceType GetLocalD
+ DeviceInfo::OsType GetLocalDeviceOSType() {
+ #if BUILDFLAG(IS_CHROMEOS)
return DeviceInfo::OsType::kChromeOsAsh;
- #elif BUILDFLAG(IS_CHROMEOS_LACROS)
- return DeviceInfo::OsType::kChromeOsLacros;
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return DeviceInfo::OsType::kLinux;
#elif BUILDFLAG(IS_ANDROID)
return DeviceInfo::OsType::kAndroid;
-@@ -129,7 +129,7 @@ DeviceInfo::OsType GetLocalDeviceOSType(
+@@ -126,7 +126,7 @@ DeviceInfo::OsType GetLocalDeviceOSType(
DeviceInfo::FormFactor GetLocalDeviceFormFactor() {
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
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 c8e32d1106..4087c870a1 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,23 +4,23 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/components/viz/service/display_embedder/software_output_surface.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/components/viz/service/display_embedder/software_output_surface.cc
@@ -115,7 +115,7 @@ void SoftwareOutputSurface::SwapBuffersC
+ base::TimeTicks now = base::TimeTicks::Now();
+ base::TimeDelta interval_to_next_refresh =
now.SnappedToNextTick(refresh_timebase_, refresh_interval_) - now;
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
if (needs_swap_size_notifications_)
client_->DidSwapWithSize(pixel_size);
#endif
-@@ -144,7 +144,7 @@ gfx::OverlayTransform SoftwareOutputSurf
+@@ -142,7 +142,7 @@ gfx::OverlayTransform SoftwareOutputSurf
+ return gfx::OVERLAY_TRANSFORM_NONE;
+ }
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
void SoftwareOutputSurface::SetNeedsSwapSizeNotifications(
bool needs_swap_size_notifications) {
needs_swap_size_notifications_ = needs_swap_size_notifications;
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 cf9726fac8..73e17f4067 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,23 +4,23 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/components/viz/service/display_embedder/software_output_surface.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/components/viz/service/display_embedder/software_output_surface.h
-@@ -44,7 +44,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputS
+@@ -41,7 +41,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputS
+ UpdateVSyncParametersCallback callback) override;
+ void SetDisplayTransformHint(gfx::OverlayTransform transform) override {}
gfx::OverlayTransform GetDisplayTransform() override;
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
void SetNeedsSwapSizeNotifications(
bool needs_swap_size_notifications) override;
#endif
-@@ -64,7 +64,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputS
+@@ -59,7 +59,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputS
+ base::TimeTicks refresh_timebase_;
+ base::TimeDelta refresh_interval_ = BeginFrameArgs::DefaultInterval();
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
bool needs_swap_size_notifications_ = false;
#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_app_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_app_BUILD.gn
index b3e83cac89..7eecf0865f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_app_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_app_BUILD.gn
@@ -4,18 +4,17 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/app/BUILD.gn.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/content/app/BUILD.gn.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/app/BUILD.gn
-@@ -96,9 +96,9 @@ source_set("content_main_runner_app") {
- "//chromeos/startup:constants",
- ]
- }
+@@ -90,7 +90,10 @@ source_set("content_main_runner_app") {
+ "//third_party/tflite:buildflags",
+ "//tools/v8_context_snapshot:buildflags",
+ ]
- if (build_tflite_with_xnnpack) {
-- deps += [ "//third_party/cpuinfo" ]
-- }
-+# if (build_tflite_with_xnnpack) {
-+# deps += [ "//third_party/cpuinfo" ]
-+# }
++ if (is_bsd) {
++ deps += [ "//skia" ]
++ }
++ if (!is_bsd && build_tflite_with_xnnpack) {
+ deps += [ "//third_party/cpuinfo" ]
+ }
}
-
- source_set("app") {
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 e66fe87c10..0e999131ff 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-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/content/app/content_main_runner_impl.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/app/content_main_runner_impl.cc
-@@ -147,18 +147,20 @@
+@@ -142,18 +142,20 @@
#include "content/browser/posix_file_descriptor_info_impl.h"
#include "content/public/common/content_descriptors.h"
@@ -28,8 +28,8 @@ $NetBSD$
+#endif
#include "third_party/boringssl/src/include/openssl/crypto.h"
- #if BUILDFLAG(IS_CHROMEOS_LACROS)
-@@ -189,11 +191,15 @@
+ #if BUILDFLAG(ENABLE_PPAPI)
+@@ -179,11 +181,15 @@
#include "content/public/common/zygote/zygote_handle.h"
#include "content/zygote/zygote_main.h"
#include "media/base/media_switches.h"
@@ -46,7 +46,7 @@ $NetBSD$
#if BUILDFLAG(IS_ANDROID)
#include "base/system/sys_info.h"
-@@ -406,7 +412,7 @@ void InitializeZygoteSandboxForBrowserPr
+@@ -386,7 +392,7 @@ void InitializeZygoteSandboxForBrowserPr
}
#endif // BUILDFLAG(USE_ZYGOTE)
@@ -55,7 +55,7 @@ $NetBSD$
#if BUILDFLAG(ENABLE_PPAPI)
// Loads the (native) libraries but does not initialize them (i.e., does not
-@@ -444,7 +450,10 @@ void PreloadLibraryCdms() {
+@@ -424,7 +430,10 @@ void PreloadLibraryCdms() {
void PreSandboxInit() {
// Ensure the /dev/urandom is opened.
@@ -66,7 +66,7 @@ $NetBSD$
// May use sysinfo(), sched_getaffinity(), and open various /sys/ and /proc/
// files.
-@@ -456,9 +465,16 @@ void PreSandboxInit() {
+@@ -436,9 +445,16 @@ void PreSandboxInit() {
// https://boringssl.googlesource.com/boringssl/+/HEAD/SANDBOXING.md
CRYPTO_pre_sandbox_init();
@@ -83,7 +83,7 @@ $NetBSD$
#if BUILDFLAG(ENABLE_PPAPI)
// Ensure access to the Pepper plugins before the sandbox is turned on.
-@@ -772,7 +788,7 @@ NO_STACK_PROTECTOR int RunOtherNamedProc
+@@ -750,7 +766,7 @@ NO_STACK_PROTECTOR int RunOtherNamedProc
unregister_thread_closure = base::HangWatcher::RegisterThread(
base::HangWatcher::ThreadType::kMainThread);
bool start_hang_watcher_now;
@@ -92,7 +92,7 @@ $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.
-@@ -882,7 +898,7 @@ int ContentMainRunnerImpl::Initialize(Co
+@@ -863,7 +879,7 @@ int ContentMainRunnerImpl::Initialize(Co
base::GlobalDescriptors::kBaseDescriptor);
#endif // !BUILDFLAG(IS_ANDROID)
@@ -101,7 +101,7 @@ $NetBSD$
g_fds->Set(kCrashDumpSignal,
kCrashDumpSignal + base::GlobalDescriptors::kBaseDescriptor);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ||
-@@ -1069,6 +1085,18 @@ int ContentMainRunnerImpl::Initialize(Co
+@@ -1050,6 +1066,18 @@ int ContentMainRunnerImpl::Initialize(Co
process_type == switches::kZygoteProcess) {
PreSandboxInit();
}
@@ -120,7 +120,7 @@ $NetBSD$
#endif
delegate_->SandboxInitialized(process_type);
-@@ -1170,6 +1198,11 @@ NO_STACK_PROTECTOR int ContentMainRunner
+@@ -1151,6 +1179,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 328603db72..c5ea17dd07 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,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/BUILD.gn.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/content/browser/BUILD.gn.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/browser/BUILD.gn
-@@ -2438,6 +2438,14 @@ jumbo_source_set("browser") {
+@@ -2529,6 +2529,14 @@ jumbo_source_set("browser") {
]
}
@@ -19,9 +19,9 @@ $NetBSD$
+ }
+
if (is_linux || is_chromeos) {
- sources += [
- "child_process_launcher_helper_linux.cc",
-@@ -2483,6 +2491,15 @@ jumbo_source_set("browser") {
+ sources -=
+ [ "file_system_access/file_path_watcher/file_path_watcher_stub.cc" ]
+@@ -2576,6 +2584,15 @@ jumbo_source_set("browser") {
deps += [ "//media/mojo/mojom/stable:stable_video_decoder" ]
}
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
index 13a6ef6dbf..f46cd5a0a6 100644
--- 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
@@ -4,9 +4,9 @@ $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.orig 2025-11-03 16:55:48.288759789 +0000
+++ src/3rdparty/chromium/content/browser/file_system_access/file_path_watcher/file_path_watcher_bsd.cc
-@@ -0,0 +1,55 @@
+@@ -0,0 +1,60 @@
+// 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.
@@ -61,4 +61,9 @@ $NetBSD$
+FilePathWatcher::FilePathWatcher()
+ : FilePathWatcher(std::make_unique<FilePathWatcherImpl>()) {}
+
++// static
++size_t FilePathWatcher::GetQuotaLimitImpl() {
++ return std::numeric_limits<size_t>::max();
++}
++
+} // namespace content
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 71de7ea288..780966007b 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/content/browser/gpu/compositor_util.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/browser/gpu/compositor_util.cc
-@@ -153,7 +153,7 @@ std::vector<GpuFeatureData> GetGpuFeatur
+@@ -152,7 +152,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::kAcceleratedVideoDecodeLinux) ||
#endif // BUILDFLAG(IS_LINUX)
command_line.HasSwitch(switches::kDisableAcceleratedVideoDecode)),
-@@ -165,7 +165,7 @@ std::vector<GpuFeatureData> GetGpuFeatur
+@@ -164,7 +164,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::kAcceleratedVideoEncodeLinux)),
#else
command_line.HasSwitch(switches::kDisableAcceleratedVideoEncode)),
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 bbc68c1554..4240c0f6d7 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,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/browser/gpu/gpu_process_host.cc
-@@ -248,7 +248,7 @@ static const char* const kSwitchNames[]
+@@ -246,7 +246,7 @@ static const char* const kSwitchNames[]
#if BUILDFLAG(IS_WIN)
sandbox::policy::switches::kAllowThirdPartyModules,
#endif
@@ -16,14 +16,14 @@ $NetBSD$
#endif
#if BUILDFLAG(IS_WIN)
@@ -275,6 +275,7 @@ static const char* const kSwitchNames[]
- switches::kEnableLowEndDeviceMode,
switches::kDisableSkiaGraphite,
+ switches::kDisableSkiaGraphitePrecompilation,
switches::kDisableLowEndDeviceMode,
+ switches::kDisableUnveil,
switches::kProfilingAtStart,
switches::kProfilingFile,
switches::kProfilingFlush,
-@@ -302,7 +303,7 @@ static const char* const kSwitchNames[]
+@@ -303,7 +304,7 @@ static const char* const kSwitchNames[]
switches::kOzoneDumpFile,
switches::kEnableNativeGpuMemoryBuffers,
#endif
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 518ae54bd9..da983ffc30 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/content/browser/media/media_keys_listener_manager_impl.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/browser/media/media_keys_listener_manager_impl.cc
-@@ -333,7 +333,7 @@ void MediaKeysListenerManagerImpl::Start
+@@ -332,7 +332,7 @@ void MediaKeysListenerManagerImpl::Start
return;
}
--#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)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
// 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_delegated__frame__host.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_delegated__frame__host.cc
index 0abbfa564c..e217c3a9b0 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_delegated__frame__host.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_delegated__frame__host.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/renderer_host/delegated_frame_host.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/content/browser/renderer_host/delegated_frame_host.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/browser/renderer_host/delegated_frame_host.cc
-@@ -318,7 +318,7 @@ void DelegatedFrameHost::EmbedSurface(
+@@ -334,7 +334,7 @@ void DelegatedFrameHost::EmbedSurface(
if (!primary_surface_id ||
primary_surface_id->local_surface_id() != local_surface_id_) {
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// On Windows and Linux, we would like to produce new content as soon as
// possible or the OS will create an additional black gutter. Until we can
// block resize on surface synchronization on these platforms, we will not
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl.h
index c78f3d807c..672c1313b3 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl.h
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/renderer_host/render_process_host_impl.h.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/content/browser/renderer_host/render_process_host_impl.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/browser/renderer_host/render_process_host_impl.h
-@@ -102,7 +102,7 @@
+@@ -101,7 +101,7 @@
#include "media/fuchsia_media_codec_provider_impl.h"
#endif
@@ -15,16 +15,7 @@ $NetBSD$
#include "content/browser/child_thread_type_switcher_linux.h"
#include "media/mojo/mojom/video_encode_accelerator.mojom.h"
#endif
-@@ -617,7 +617,7 @@ class CONTENT_EXPORT RenderProcessHostIm
- // Sets this RenderProcessHost to be guest only. For Testing only.
- void SetForGuestsOnlyForTesting();
-
--#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_BSD)
- // Launch the zygote early in the browser startup.
- static void EarlyZygoteLaunch();
- #endif // BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_MAC)
-@@ -982,7 +982,7 @@ class CONTENT_EXPORT RenderProcessHostIm
+@@ -994,7 +994,7 @@ class CONTENT_EXPORT RenderProcessHostIm
std::unique_ptr<service_manager::BinderRegistry> binders_;
mojo::Receiver<mojom::ChildProcessHost> receiver_{this};
@@ -33,7 +24,7 @@ $NetBSD$
mojo::Remote<media::mojom::VideoEncodeAcceleratorProviderFactory>
video_encode_accelerator_factory_remote_;
ChildThreadTypeSwitcher child_thread_type_switcher_;
-@@ -1230,7 +1230,7 @@ class CONTENT_EXPORT RenderProcessHostIm
+@@ -1245,7 +1245,7 @@ class CONTENT_EXPORT RenderProcessHostIm
// if the request isn't handled on the IO thread.
void OnBindHostReceiver(mojo::GenericPendingReceiver receiver);
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 dd41252be9..94cb9e68c9 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,18 +4,18 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_aura.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -121,7 +121,7 @@
#include "ui/gfx/gdi_util.h"
- #endif
+ #endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#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"
-@@ -484,7 +484,7 @@ gfx::NativeViewAccessible RenderWidgetHo
+@@ -478,7 +478,7 @@ gfx::NativeViewAccessible RenderWidgetHo
return ToBrowserAccessibilityWin(manager->GetBrowserAccessibilityRoot())
->GetCOM();
@@ -24,7 +24,7 @@ $NetBSD$
ui::BrowserAccessibilityManager* manager =
host()->GetOrCreateRootBrowserAccessibilityManager();
if (manager && manager->GetBrowserAccessibilityRoot())
-@@ -1745,7 +1745,7 @@ bool RenderWidgetHostViewAura::ShouldDoL
+@@ -1867,7 +1867,7 @@ bool RenderWidgetHostViewAura::ShouldDoL
return host() && host()->delegate() && host()->delegate()->ShouldDoLearning();
}
@@ -33,16 +33,16 @@ $NetBSD$
bool RenderWidgetHostViewAura::SetCompositionFromExistingText(
const gfx::Range& range,
const std::vector<ui::ImeTextSpan>& ui_ime_text_spans) {
-@@ -2654,7 +2654,7 @@ bool RenderWidgetHostViewAura::NeedsInpu
+@@ -2843,7 +2843,7 @@ bool RenderWidgetHostViewAura::NeedsInpu
}
bool RenderWidgetHostViewAura::NeedsMouseCapture() {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return NeedsInputGrab();
#else
return false;
-@@ -2838,7 +2838,7 @@ void RenderWidgetHostViewAura::ForwardKe
+@@ -3027,7 +3027,7 @@ void RenderWidgetHostViewAura::ForwardKe
if (!target_host)
return;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_jank__monitor__impl.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_jank__monitor__impl.cc
index 75ed0f9955..ab7419c7e3 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_jank__monitor__impl.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_jank__monitor__impl.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/scheduler/responsiveness/jank_monitor_impl.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/content/browser/scheduler/responsiveness/jank_monitor_impl.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/browser/scheduler/responsiveness/jank_monitor_impl.cc
-@@ -340,7 +340,7 @@ void JankMonitorImpl::ThreadExecutionSta
+@@ -337,7 +337,7 @@ void JankMonitorImpl::ThreadExecutionSta
// in context menus, among others). Simply ignore the mismatches for now.
// See https://crbug.com/929813 for the details of why the mismatch
// happens.
--#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) && \
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)) && \
- BUILDFLAG(IS_OZONE)
+-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE)
task_execution_metadata_.clear();
#endif
+ return;
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 b62c320acf..74219dfeb9 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/content/browser/utility_process_host.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/browser/utility_process_host.cc
-@@ -62,7 +62,7 @@
+@@ -63,7 +63,7 @@
#include "content/browser/v8_snapshot_files.h"
#endif
@@ -15,16 +15,7 @@ $NetBSD$
#include "base/files/file_util.h"
#include "base/files/scoped_file.h"
#include "base/pickle.h"
-@@ -75,7 +75,7 @@
- #include "services/network/public/mojom/network_service.mojom.h"
- #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)
- #include "base/task/sequenced_task_runner.h"
- #include "components/viz/host/gpu_client.h"
- #include "media/capture/capture_switches.h"
-@@ -86,7 +86,7 @@ namespace content {
+@@ -91,7 +91,7 @@ namespace content {
namespace {
@@ -33,34 +24,16 @@ $NetBSD$
base::ScopedFD PassNetworkContextParentDirs(
std::vector<base::FilePath> network_context_parent_dirs) {
base::Pickle pickle;
-@@ -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
-@@ -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,
+@@ -321,7 +321,7 @@ bool UtilityProcessHost::StartProcess()
network::switches::kTestThirdPartyCookiePhaseout,
+ network::switches::kDisableSharedDictionaryStorageCleanupForTesting,
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()
+@@ -353,7 +353,7 @@ bool UtilityProcessHost::StartProcess()
switches::kMuteAudio,
switches::kUseFileForFakeAudioCapture,
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FREEBSD) || \
@@ -69,7 +42,7 @@ $NetBSD$
switches::kAlsaInputDevice,
switches::kAlsaOutputDevice,
#endif
-@@ -409,7 +409,7 @@ bool UtilityProcessHost::StartProcess()
+@@ -416,7 +416,7 @@ bool UtilityProcessHost::StartProcess()
file_data_->files_to_preload.merge(GetV8SnapshotFilesToPreload(*cmd_line));
#endif // BUILDFLAG(IS_POSIX)
@@ -78,14 +51,7 @@ $NetBSD$
// The network service should have access to the parent directories
// necessary for its usage.
if (sandbox_type_ == sandbox::mojom::Sandbox::kNetwork) {
-@@ -420,13 +420,13 @@ bool UtilityProcessHost::StartProcess()
- }
- #endif // BUILDFLAG(IS_LINUX)
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
- // Pass `kVideoCaptureUseGpuMemoryBuffer` flag to video capture service only
- // when the video capture use GPU memory buffer enabled.
+@@ -433,7 +433,7 @@ bool UtilityProcessHost::StartProcess()
if (metrics_name_ == video_capture::mojom::VideoCaptureService::Name_) {
bool pass_gpu_buffer_flag =
switches::IsVideoCaptureUseGpuMemoryBufferEnabled();
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
deleted file mode 100644
index e2e05a87f9..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__process__host.h
+++ /dev/null
@@ -1,26 +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/content/browser/utility_process_host.h.orig 2025-05-29 01:27:28.000000000 +0000
-+++ src/3rdparty/chromium/content/browser/utility_process_host.h
-@@ -33,7 +33,7 @@ namespace base {
- class Thread;
- } // namespace base
-
--#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)
- namespace viz {
- class GpuClient;
- } // namespace viz
-@@ -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 46f23c8dcb..fe8fd09764 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,24 +4,18 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/content/browser/utility_process_host_receiver_bindings.cc.orig 2025-10-02 00:36:39.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"
+@@ -10,7 +10,7 @@
#include "content/public/common/content_client.h"
+ #include "media/media_buildflags.h"
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck
#include "content/browser/font_service.h" // nogncheck
#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)
- #include "components/viz/host/gpu_client.h"
- #include "content/public/browser/gpu_client.h"
- #endif
-@@ -24,13 +24,13 @@ namespace content {
+@@ -24,7 +24,7 @@ namespace content {
void UtilityProcessHost::BindHostReceiver(
mojo::GenericPendingReceiver receiver) {
@@ -30,10 +24,3 @@ $NetBSD$
if (auto font_receiver = receiver.As<font_service::mojom::FontService>()) {
ConnectToFontService(std::move(font_receiver));
return;
- }
- #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 (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_utility__sandbox__delegate.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__sandbox__delegate.cc
index 199f34471a..c6bdf4306d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__sandbox__delegate.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_utility__sandbox__delegate.cc
@@ -4,31 +4,55 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/utility_sandbox_delegate.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/browser/utility_sandbox_delegate.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/browser/utility_sandbox_delegate.cc
-@@ -67,10 +67,10 @@ UtilitySandboxedProcessLauncherDelegate:
+@@ -77,7 +77,7 @@ UtilitySandboxedProcessLauncherDelegate:
#if BUILDFLAG(IS_FUCHSIA)
sandbox_type_ == sandbox::mojom::Sandbox::kVideoCapture ||
#endif
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
- sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoDecoding ||
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoDecoding ||
sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoEncoding ||
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
- #if BUILDFLAG(IS_CHROMEOS_ASH)
-@@ -126,10 +126,10 @@ ZygoteCommunication* UtilitySandboxedPro
+@@ -90,14 +90,14 @@ UtilitySandboxedProcessLauncherDelegate:
+ #endif // BUILDFLAG(ENABLE_CROS_LIBASSISTANT)
+ #endif // BUILDFLAG(IS_CHROMEOS)
+ #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ sandbox_type_ == sandbox::mojom::Sandbox::kScreenAI ||
+ sandbox_type_ == sandbox::mojom::Sandbox::kPrintBackend ||
+ #endif
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ sandbox_type_ == sandbox::mojom::Sandbox::kVideoEffects ||
+ #endif
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ sandbox_type_ == sandbox::mojom::Sandbox::kOnDeviceTranslation ||
+ #endif
+ sandbox_type_ == sandbox::mojom::Sandbox::kAudio ||
+@@ -143,7 +143,7 @@ ZygoteCommunication* UtilitySandboxedPro
// process upon startup.
if (sandbox_type_ == sandbox::mojom::Sandbox::kNetwork ||
sandbox_type_ == sandbox::mojom::Sandbox::kOnDeviceModelExecution ||
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
- sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoDecoding ||
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoDecoding ||
sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoEncoding ||
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
- #if BUILDFLAG(IS_CHROMEOS_ASH)
+@@ -157,11 +157,11 @@ ZygoteCommunication* UtilitySandboxedPro
+ #endif // BUILDFLAG(IS_CHROMEOS)
+ sandbox_type_ == sandbox::mojom::Sandbox::kAudio ||
+ #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ sandbox_type_ == sandbox::mojom::Sandbox::kPrintBackend ||
+ sandbox_type_ == sandbox::mojom::Sandbox::kScreenAI ||
+ #endif
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ sandbox_type_ == sandbox::mojom::Sandbox::kVideoEffects ||
+ sandbox_type_ == sandbox::mojom::Sandbox::kOnDeviceTranslation ||
+ #endif // BUILDFLAG(IS_LINUX)
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 adf1b245df..e0faadbee1 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,41 +4,14 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/content/browser/webui/web_ui_main_frame_observer.cc.orig 2025-10-02 00:36:39.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"
- #include "content/public/browser/web_ui_controller.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "base/feature_list.h"
- #include "base/functional/callback_helpers.h"
- #include "base/logging.h"
-@@ -31,7 +31,7 @@ namespace content {
-
- namespace {
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // Remove the pieces of the URL we don't want to send back with the error
- // reports. In particular, do not send query or fragments as those can have
- // privacy-sensitive information in them.
-@@ -55,7 +55,7 @@ WebUIMainFrameObserver::WebUIMainFrameOb
-
- WebUIMainFrameObserver::~WebUIMainFrameObserver() = default;
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- void WebUIMainFrameObserver::OnDidAddMessageToConsole(
- RenderFrameHost* source_frame,
- blink::mojom::ConsoleMessageLevel log_level,
-@@ -167,7 +167,7 @@ void WebUIMainFrameObserver::ReadyToComm
-
- // 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)
- MaybeEnableWebUIJavaScriptErrorReporting(navigation_handle);
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
- }
+@@ -47,7 +47,7 @@ std::string RedactURL(const GURL& url) {
+ bool IsWebUIJavaScriptErrorReportingSupported() {
+ #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)
+ return false;
+-#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ return true;
+ #else
+ return base::FeatureList::IsEnabled(features::kWebUIJSErrorReportingExtended);
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
deleted file mode 100644
index eae99bc5eb..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.h
+++ /dev/null
@@ -1,26 +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/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/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)
- // On official Google builds, capture and report JavaScript error messages on
- // WebUI surfaces back to Google. This allows us to fix JavaScript errors and
- // exceptions.
-@@ -60,7 +60,7 @@ class CONTENT_EXPORT WebUIMainFrameObser
- void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override;
-
- private:
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- void MaybeEnableWebUIJavaScriptErrorReporting(
- NavigationHandle* navigation_handle);
-
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_zygote__host_zygote__host__impl__linux.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_zygote__host_zygote__host__impl__linux.cc
index 7eb7cab0dc..96b208d819 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_zygote__host_zygote__host__impl__linux.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_browser_zygote__host_zygote__host__impl__linux.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/browser/zygote_host/zygote_host_impl_linux.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/content/browser/zygote_host/zygote_host_impl_linux.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/browser/zygote_host/zygote_host_impl_linux.cc
-@@ -19,8 +19,10 @@
- #include "build/chromeos_buildflags.h"
+@@ -23,8 +23,10 @@
+ #include "build/build_config.h"
#include "content/common/zygote/zygote_commands_linux.h"
#include "content/common/zygote/zygote_communication_linux.h"
+#if !BUILDFLAG(IS_BSD)
@@ -17,7 +17,7 @@ $NetBSD$
#include "sandbox/linux/services/credentials.h"
#include "sandbox/linux/services/namespace_sandbox.h"
#include "sandbox/linux/suid/client/setuid_sandbox_host.h"
-@@ -38,6 +40,7 @@ namespace content {
+@@ -42,6 +44,7 @@ namespace content {
namespace {
@@ -25,7 +25,7 @@ $NetBSD$
// Receive a fixed message on fd and return the sender's PID.
// Returns true if the message received matches the expected message.
bool ReceiveFixedMessage(int fd,
-@@ -60,6 +63,7 @@ bool ReceiveFixedMessage(int fd,
+@@ -64,6 +67,7 @@ bool ReceiveFixedMessage(int fd,
return false;
return true;
}
@@ -33,7 +33,7 @@ $NetBSD$
} // namespace
-@@ -69,9 +73,13 @@ ZygoteHost* ZygoteHost::GetInstance() {
+@@ -73,9 +77,13 @@ ZygoteHost* ZygoteHost::GetInstance() {
}
ZygoteHostImpl::ZygoteHostImpl()
@@ -47,7 +47,7 @@ $NetBSD$
sandbox_binary_(),
zygote_pids_lock_(),
zygote_pids_() {}
-@@ -84,6 +92,7 @@ ZygoteHostImpl* ZygoteHostImpl::GetInsta
+@@ -88,6 +96,7 @@ ZygoteHostImpl* ZygoteHostImpl::GetInsta
}
void ZygoteHostImpl::Init(const base::CommandLine& command_line) {
@@ -55,7 +55,7 @@ $NetBSD$
if (command_line.HasSwitch(sandbox::policy::switches::kNoSandbox)) {
return;
}
-@@ -138,6 +147,7 @@ void ZygoteHostImpl::Init(const base::Co
+@@ -142,6 +151,7 @@ void ZygoteHostImpl::Init(const base::Co
"you can try using --"
<< sandbox::policy::switches::kNoSandbox << ".";
}
@@ -63,7 +63,7 @@ $NetBSD$
}
void ZygoteHostImpl::AddZygotePid(pid_t pid) {
-@@ -162,6 +172,7 @@ pid_t ZygoteHostImpl::LaunchZygote(
+@@ -166,6 +176,7 @@ pid_t ZygoteHostImpl::LaunchZygote(
base::CommandLine* cmd_line,
base::ScopedFD* control_fd,
base::FileHandleMappingVector additional_remapped_fds) {
@@ -71,7 +71,7 @@ $NetBSD$
int fds[2];
CHECK_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC, 0, fds));
CHECK(base::UnixDomainSocket::EnableReceiveProcessId(fds[0]));
-@@ -230,9 +241,12 @@ pid_t ZygoteHostImpl::LaunchZygote(
+@@ -234,9 +245,12 @@ pid_t ZygoteHostImpl::LaunchZygote(
AddZygotePid(pid);
return pid;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_child_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_child_BUILD.gn
index 1dc4b01f2b..48da5e60f4 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_child_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_child_BUILD.gn
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/child/BUILD.gn.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/content/child/BUILD.gn.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/child/BUILD.gn
-@@ -130,6 +130,13 @@ target(link_target_type, "child") {
+@@ -143,6 +143,13 @@ target(link_target_type, "child") {
]
}
@@ -19,4 +19,4 @@ $NetBSD$
+
if (is_win) {
sources += [
- "dwrite_font_proxy/dwrite_font_proxy_init_impl_win.cc",
+ "child_process_sandbox_support_impl_win.cc",
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 2252395059..45a9b33699 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/content/common/BUILD.gn.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/common/BUILD.gn
-@@ -402,18 +402,27 @@ jumbo_source_set("common") {
+@@ -400,18 +400,27 @@ jumbo_source_set("common") {
}
-
+
if (is_linux || is_chromeos) {
- sources += [
- "gpu_pre_sandbox_hook_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 05e0e35461..01208a7a87 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/content/common/features.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/common/features.cc
-@@ -145,7 +145,7 @@ BASE_FEATURE(kEnableBackForwardCacheForO
- base::FEATURE_ENABLED_BY_DEFAULT);
+@@ -127,7 +127,7 @@ BASE_FEATURE(kEmbeddingRequiresOptIn,
+ base::FEATURE_DISABLED_BY_DEFAULT);
// Enables error reporting for JS errors inside DevTools frontend host
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -15,12 +15,3 @@ $NetBSD$
BASE_FEATURE(kEnableDevToolsJsErrorReporting,
"EnableDevToolsJsErrorReporting",
base::FEATURE_DISABLED_BY_DEFAULT);
-@@ -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.
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kHandleChildThreadTypeChangesInBrowser,
- "HandleChildThreadTypeChangesInBrowser",
- base::FEATURE_ENABLED_BY_DEFAULT);
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 ae77e8adc0..bcd06489bb 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,23 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/common/features.h.orig 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/content/common/features.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/common/features.h
-@@ -34,7 +34,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE(kDoc
- CONTENT_EXPORT BASE_DECLARE_FEATURE(kEnableBackForwardCacheForScreenReader);
- CONTENT_EXPORT BASE_DECLARE_FEATURE(
- kEnableBackForwardCacheForOngoingSubframeNavigation);
+@@ -28,7 +28,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE(kCom
+ CONTENT_EXPORT BASE_DECLARE_FEATURE(kCommittedOriginTracking);
+ CONTENT_EXPORT BASE_DECLARE_FEATURE(kCriticalClientHint);
+ CONTENT_EXPORT BASE_DECLARE_FEATURE(kDocumentPolicyNegotiation);
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#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(kEmbeddingRequiresOptIn);
-@@ -76,7 +76,7 @@ CONTENT_EXPORT extern const base::Featur
- CONTENT_EXPORT BASE_DECLARE_FEATURE(kGpuInfoCollectionSeparatePrefetch);
- #endif
- CONTENT_EXPORT BASE_DECLARE_FEATURE(kGroupNIKByJoiningOrigin);
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- CONTENT_EXPORT BASE_DECLARE_FEATURE(kHandleChildThreadTypeChangesInBrowser);
- #endif
- #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 7955d4961d..f3b30f3294 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,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/gpu/gpu_main.cc
@@ -95,10 +95,14 @@
#include "sandbox/win/src/sandbox.h"
@@ -31,16 +31,16 @@ $NetBSD$
bool StartSandboxLinux(gpu::GpuWatchdogThread*,
const gpu::GPUInfo*,
const gpu::GpuPreferences&);
-@@ -175,7 +179,7 @@ class ContentSandboxHelper : public gpu:
- bool EnsureSandboxInitialized(gpu::GpuWatchdogThread* watchdog_thread,
+@@ -177,7 +181,7 @@ class ContentSandboxHelper : public gpu:
const gpu::GPUInfo* gpu_info,
const gpu::GpuPreferences& gpu_prefs) override {
+ GPU_STARTUP_TRACE_EVENT("gpu_main::EnsureSandboxInitialized");
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
return StartSandboxLinux(watchdog_thread, gpu_info, gpu_prefs);
#elif BUILDFLAG(IS_WIN)
return StartSandboxWindows(sandbox_info_);
-@@ -285,7 +289,7 @@ int GpuMain(MainFunctionParams parameter
+@@ -298,7 +302,7 @@ int GpuMain(MainFunctionParams parameter
std::make_unique<base::SingleThreadTaskExecutor>(
gpu_preferences.message_pump_type);
}
@@ -49,7 +49,7 @@ $NetBSD$
#error "Unsupported Linux platform."
#elif BUILDFLAG(IS_MAC)
// Cross-process CoreAnimation requires a CFRunLoop to function at all, and
-@@ -308,7 +312,8 @@ int GpuMain(MainFunctionParams parameter
+@@ -324,7 +328,8 @@ int GpuMain(MainFunctionParams parameter
base::PlatformThread::SetName("CrGpuMain");
mojo::InterfaceEndpointClient::SetThreadNameSuffixForMetrics("GpuMain");
@@ -59,7 +59,7 @@ $NetBSD$
// Thread type delegate of the process should be registered before
// thread type change below for the main thread and for thread pool in
// ChildProcess constructor.
-@@ -439,7 +443,7 @@ int GpuMain(MainFunctionParams parameter
+@@ -457,7 +462,7 @@ int GpuMain(MainFunctionParams parameter
namespace {
@@ -68,12 +68,12 @@ $NetBSD$
bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdog_thread,
const gpu::GPUInfo* gpu_info,
const gpu::GpuPreferences& gpu_prefs) {
-@@ -479,7 +483,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogT
+@@ -497,7 +502,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogT
sandbox_options.accelerated_video_encode_enabled =
!gpu_prefs.disable_accelerated_video_encode;
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Video decoding of many video streams can use thousands of FDs as well as
- // Exo clients like Lacros.
+ // Exo clients.
// See https://crbug.com/1417237
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_browser_service__process__host.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_browser_service__process__host.cc
deleted file mode 100644
index 02ee7b749b..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_public_browser_service__process__host.cc
+++ /dev/null
@@ -1,17 +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/content/public/browser/service_process_host.cc.orig 2025-09-25 11:10:42.000000000 +0000
-+++ src/3rdparty/chromium/content/public/browser/service_process_host.cc
-@@ -70,7 +70,7 @@ ServiceProcessHost::Options::WithPreload
-
- ServiceProcessHost::Options& ServiceProcessHost::Options::WithGpuClient(
- base::PassKey<ServiceProcessHostGpuClient> passkey) {
--#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)
- allow_gpu_client = true;
- #endif
- return *this;
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 42fae53924..ae5d1ce322 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,18 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/public/common/content_features.cc
-@@ -61,7 +61,7 @@ BASE_FEATURE(kAudioServiceLaunchOnStartu
+@@ -72,7 +72,7 @@ BASE_FEATURE(kAudioServiceLaunchOnStartu
+ base::FEATURE_DISABLED_BY_DEFAULT);
// Runs the audio service in a separate process.
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
-- (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS))
-+ (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS) || 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)
BASE_FEATURE(kAudioServiceOutOfProcess,
"AudioServiceOutOfProcess",
- // TODO(crbug.com/1052397): Remove !IS_CHROMEOS_LACROS once lacros
-@@ -1226,9 +1226,9 @@ BASE_FEATURE(kWebAssemblyTiering,
+ base::FEATURE_ENABLED_BY_DEFAULT);
+@@ -1238,9 +1238,9 @@ BASE_FEATURE(kWebAssemblyTiering,
// Enable WebAssembly trap handler.
#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \
@@ -27,7 +27,7 @@ $NetBSD$
defined(ARCH_CPU_ARM64))
BASE_FEATURE(kWebAssemblyTrapHandler,
"WebAssemblyTrapHandler",
-@@ -1268,7 +1268,11 @@ BASE_FEATURE(kWebUICodeCache,
+@@ -1296,7 +1296,11 @@ BASE_FEATURE(kWebUIJSErrorReportingExten
// 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 2bfe760026..ddeed6a12f 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/content/public/common/content_switches.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/public/common/content_switches.cc
-@@ -350,6 +350,8 @@ const char kEnableIsolatedWebAppsInRende
+@@ -342,6 +342,8 @@ const char kEnableIsolatedWebAppsInRende
// builds.
const char kEnableLogging[] = "enable-logging";
@@ -15,12 +15,12 @@ $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.
-@@ -978,7 +980,7 @@ const char kPreventResizingContentsForTe
+@@ -956,7 +958,7 @@ const char kPreventResizingContentsForTe
+ "prevent-resizing-contents-for-testing";
+ #endif
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Allows sending text-to-speech requests to speech-dispatcher, a common
// Linux speech service. Because it's buggy, the user must explicitly
// enable it so that visiting a random webpage can't cause instability.
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 034176c292..0000b94432 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/content/public/common/content_switches.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/public/common/content_switches.h
-@@ -110,6 +110,7 @@ CONTENT_EXPORT extern const char kEnable
+@@ -108,6 +108,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,12 +14,12 @@ $NetBSD$
CONTENT_EXPORT extern const char kEnableNetworkInformationDownlinkMax[];
CONTENT_EXPORT extern const char kEnableCanvas2DLayers[];
CONTENT_EXPORT extern const char kEnablePluginPlaceholderTesting[];
-@@ -268,7 +269,7 @@ CONTENT_EXPORT extern const char kPreven
+@@ -264,7 +265,7 @@ CONTENT_EXPORT extern const char kRender
+ CONTENT_EXPORT extern const char kPreventResizingContentsForTesting[];
+ #endif
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
CONTENT_EXPORT extern const char kEnableSpeechDispatcher[];
- CONTENT_EXPORT extern const char kLLVMProfileFile[];
#endif
+
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_renderer_render__thread__impl.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_renderer_render__thread__impl.cc
index 89bface6e1..0920ace004 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_renderer_render__thread__impl.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_renderer_render__thread__impl.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/renderer/render_thread_impl.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/content/renderer/render_thread_impl.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/renderer/render_thread_impl.cc
-@@ -203,6 +203,8 @@
+@@ -211,6 +211,8 @@
#if BUILDFLAG(IS_APPLE)
#include <malloc/malloc.h>
@@ -15,25 +15,25 @@ $NetBSD$
#else
#include <malloc.h>
#endif
-@@ -942,7 +944,7 @@ media::GpuVideoAcceleratorFactories* Ren
+@@ -1043,7 +1045,7 @@ media::GpuVideoAcceleratorFactories* Ren
kGpuStreamIdMedia, kGpuStreamPriorityMedia);
const bool enable_video_decode_accelerator =
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- base::FeatureList::IsEnabled(media::kVaapiVideoDecodeLinux) &&
+ base::FeatureList::IsEnabled(media::kAcceleratedVideoDecodeLinux) &&
#endif // BUILDFLAG(IS_LINUX)
!cmd_line->HasSwitch(switches::kDisableAcceleratedVideoDecode) &&
-@@ -951,7 +953,7 @@ media::GpuVideoAcceleratorFactories* Ren
+@@ -1052,7 +1054,7 @@ media::GpuVideoAcceleratorFactories* Ren
gpu::kGpuFeatureStatusEnabled);
const bool enable_video_encode_accelerator =
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- base::FeatureList::IsEnabled(media::kVaapiVideoEncodeLinux) &&
+ base::FeatureList::IsEnabled(media::kAcceleratedVideoEncodeLinux) &&
#else
!cmd_line->HasSwitch(switches::kDisableAcceleratedVideoEncode) &&
-@@ -1741,7 +1743,7 @@ std::unique_ptr<CodecFactory> RenderThre
+@@ -1845,7 +1847,7 @@ RenderThreadImpl::CreateMediaMojoCodecFa
bool enable_video_encode_accelerator) {
mojo::PendingRemote<media::mojom::VideoEncodeAcceleratorProvider>
vea_provider;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.cc
index 734cc25bf8..1363f7305b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/renderer/renderer_blink_platform_impl.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/content/renderer/renderer_blink_platform_impl.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/renderer/renderer_blink_platform_impl.cc
-@@ -127,7 +127,7 @@
+@@ -129,7 +129,7 @@
#if BUILDFLAG(IS_MAC)
#include "content/child/child_process_sandbox_support_impl_mac.h"
@@ -31,21 +31,21 @@ $NetBSD$
mojo::PendingRemote<font_service::mojom::FontService> font_service;
RenderThreadImpl::current()->BindHostReceiver(
font_service.InitWithNewPipeAndPassReceiver());
-@@ -223,7 +223,7 @@ RendererBlinkPlatformImpl::RendererBlink
- #endif
+@@ -224,7 +224,7 @@ RendererBlinkPlatformImpl::RendererBlink
}
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
if (sandboxEnabled()) {
#if BUILDFLAG(IS_MAC)
sandbox_support_ = std::make_unique<WebSandboxSupportMac>();
-@@ -284,7 +284,7 @@ void RendererBlinkPlatformImpl::SetThrea
- #endif
+@@ -288,7 +288,7 @@ void RendererBlinkPlatformImpl::SetThrea
blink::WebSandboxSupport* RendererBlinkPlatformImpl::GetSandboxSupport() {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
return sandbox_support_.get();
#else
// These platforms do not require sandbox support.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.h
index 50203b5d00..d05cfc3cd6 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.h
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/renderer/renderer_blink_platform_impl.h.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/content/renderer/renderer_blink_platform_impl.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/renderer/renderer_blink_platform_impl.h
-@@ -254,7 +254,7 @@ class CONTENT_EXPORT RendererBlinkPlatfo
- void Collect3DContextInformation(blink::Platform::GraphicsInfo* gl_info,
+@@ -264,7 +264,7 @@ class CONTENT_EXPORT RendererBlinkPlatfo
const gpu::GPUInfo& gpu_info) const;
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
std::unique_ptr<blink::WebSandboxSupport> sandbox_support_;
#endif
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 379058a3d1..63085f45d6 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/content/utility/services.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/utility/services.cc
-@@ -76,7 +76,7 @@
+@@ -78,7 +78,7 @@
extern sandbox::TargetServices* g_utility_target_services;
#endif // BUILDFLAG(IS_WIN)
@@ -15,32 +15,16 @@ $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"
-@@ -104,7 +104,7 @@ extern sandbox::TargetServices* g_utilit
- #endif // BUILDFLAG(IS_CHROMEOS_ASH) && (BUILDFLAG(USE_VAAPI) ||
+@@ -106,7 +106,7 @@ extern sandbox::TargetServices* g_utilit
+ #endif // BUILDFLAG(IS_CHROMEOS) && (BUILDFLAG(USE_VAAPI) ||
// BUILDFLAG(USE_V4L2_CODEC))
--#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)) && \
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)) && \
+-#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && \
(BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
#include "content/common/features.h"
#include "media/mojo/services/stable_video_decoder_factory_process_service.h" // nogncheck
-@@ -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"
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ||
- // BUILDFLAG(IS_CHROMEOS_ASH)
-@@ -246,7 +246,7 @@ auto RunAudio(mojo::PendingReceiver<audi
+@@ -242,7 +242,7 @@ auto RunAudio(mojo::PendingReceiver<audi
<< "task_policy_set TASK_QOS_POLICY";
#endif
@@ -49,26 +33,17 @@ $NetBSD$
auto* command_line = base::CommandLine::ForCurrentProcess();
if (sandbox::policy::SandboxTypeFromCommandLine(*command_line) ==
sandbox::mojom::Sandbox::kNoSandbox) {
-@@ -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)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
- #if BUILDFLAG(IS_CHROMEOS_ASH)
- {
- #else
-@@ -399,7 +399,7 @@ auto RunOOPArcVideoAcceleratorFactorySer
- #endif // BUILDFLAG(IS_CHROMEOS_ASH) && (BUILDFLAG(USE_VAAPI) ||
- // BUILDFLAG(USE_V4L2_CODEC))
+@@ -388,7 +388,7 @@ auto RunOOPArcVideoAcceleratorFactorySer
+ #endif // BUILDFLAG(IS_CHROMEOS) && \
+ // (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
--#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)) && \
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)) && \
+-#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && \
(BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
auto RunStableVideoDecoderFactoryProcessService(
mojo::PendingReceiver<
-@@ -410,7 +410,7 @@ auto RunStableVideoDecoderFactoryProcess
- #endif // (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)) &&
+@@ -399,7 +399,7 @@ auto RunStableVideoDecoderFactoryProcess
+ #endif // (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) &&
// (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -76,26 +51,17 @@ $NetBSD$
auto RunVideoEncodeAcceleratorProviderFactory(
mojo::PendingReceiver<media::mojom::VideoEncodeAcceleratorProviderFactory>
receiver) {
-@@ -433,7 +433,7 @@ void RegisterIOThreadServices(mojo::Serv
+@@ -422,7 +422,7 @@ void RegisterIOThreadServices(mojo::Serv
// loop of type IO that can get notified when pipes have data.
services.Add(RunNetworkService);
--#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)) && \
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)) && \
- (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
- if (base::FeatureList::IsEnabled(
- features::kRunStableVideoDecoderFactoryProcessServiceOnIOThread)) {
-@@ -491,7 +491,7 @@ void RegisterMainThreadServices(mojo::Se
- #endif // BUILDFLAG(IS_CHROMEOS_ASH) && (BUILDFLAG(USE_VAAPI) ||
- // BUILDFLAG(USE_V4L2_CODEC))
-
--#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)) && \
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)) && \
+-#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && \
(BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
- if (!base::FeatureList::IsEnabled(
- features::kRunStableVideoDecoderFactoryProcessServiceOnIOThread)) {
-@@ -500,7 +500,7 @@ void RegisterMainThreadServices(mojo::Se
- #endif // (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)) &&
+ services.Add(RunStableVideoDecoderFactoryProcessService);
+ #endif // (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) &&
+@@ -477,7 +477,7 @@ void RegisterMainThreadServices(mojo::Se
+ #endif // BUILDFLAG(IS_CHROMEOS) && \
// (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC))
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.cc
index a4934e0ccc..b869a5f0ad 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/utility/utility_blink_platform_with_sandbox_support_impl.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/content/utility/utility_blink_platform_with_sandbox_support_impl.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/utility/utility_blink_platform_with_sandbox_support_impl.cc
@@ -9,7 +9,7 @@
@@ -13,9 +13,9 @@ $NetBSD$
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "content/child/child_process_sandbox_support_impl_linux.h"
- #endif
-
-@@ -17,7 +17,7 @@ namespace content {
+ #elif BUILDFLAG(IS_WIN)
+ #include "content/child/child_process_sandbox_support_impl_win.h"
+@@ -19,7 +19,7 @@ namespace content {
UtilityBlinkPlatformWithSandboxSupportImpl::
UtilityBlinkPlatformWithSandboxSupportImpl() {
@@ -24,12 +24,12 @@ $NetBSD$
mojo::PendingRemote<font_service::mojom::FontService> font_service;
UtilityThread::Get()->BindHostReceiver(
font_service.InitWithNewPipeAndPassReceiver());
-@@ -35,7 +35,7 @@ UtilityBlinkPlatformWithSandboxSupportIm
-
+@@ -40,7 +40,7 @@ UtilityBlinkPlatformWithSandboxSupportIm
blink::WebSandboxSupport*
UtilityBlinkPlatformWithSandboxSupportImpl::GetSandboxSupport() {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
return sandbox_support_.get();
#else
return nullptr;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.h
index fe5034e31a..fdfaf32678 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.h
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/content/utility/utility_blink_platform_with_sandbox_support_impl.h.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/content/utility/utility_blink_platform_with_sandbox_support_impl.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/utility/utility_blink_platform_with_sandbox_support_impl.h
-@@ -33,7 +33,7 @@ class UtilityBlinkPlatformWithSandboxSup
- blink::WebSandboxSupport* GetSandboxSupport() override;
+@@ -34,7 +34,7 @@ class UtilityBlinkPlatformWithSandboxSup
private:
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
std::unique_ptr<blink::WebSandboxSupport> sandbox_support_;
#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 bf644694a1..d3f8801198 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,46 +4,56 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/content/utility/utility_main.cc
-@@ -38,7 +38,7 @@
- #include "services/screen_ai/buildflags/buildflags.h"
+@@ -38,18 +38,22 @@
#include "services/tracing/public/cpp/trace_startup.h"
+ #include "services/video_effects/public/cpp/buildflags.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"
-@@ -48,7 +48,9 @@
+ #include "content/child/sandboxed_process_thread_type_handler.h"
++#if !BUILDFLAG(IS_BSD)
+ #include "content/common/gpu_pre_sandbox_hook_linux.h"
++#endif
+ #include "content/public/common/content_descriptor_keys.h"
#include "content/utility/speech/speech_recognition_sandbox_hook_linux.h"
#include "gpu/config/gpu_info_collector.h"
+ #include "media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.h"
#include "media/gpu/sandbox/hardware_video_encoding_sandbox_hook_linux.h"
+#if !BUILDFLAG(IS_BSD)
#include "sandbox/policy/linux/sandbox_linux.h"
+#endif
#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
-@@ -60,7 +62,7 @@
- #endif
- #endif
+ #include "services/screen_ai/buildflags/buildflags.h"
+@@ -68,7 +72,12 @@
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
- #include "media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.h"
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -75,7 +77,7 @@
- #endif // BUILDFLAG(IS_CHROMEOS_ASH)
+-#if BUILDFLAG(ENABLE_VIDEO_EFFECTS) && BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_BSD)
++#include "sandbox/policy/sandbox.h"
++#include "content/common/gpu_pre_sandbox_hook_bsd.h"
++#endif
++
++#if BUILDFLAG(ENABLE_VIDEO_EFFECTS) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
+ #include "services/video_effects/video_effects_sandbox_hook_linux.h" // nogncheck
+ #endif // BUILDFLAG(ENABLE_VIDEO_EFFECTS) && BUILDFLAG(IS_LINUX)
- #if (BUILDFLAG(ENABLE_SCREEN_AI_SERVICE) && \
-- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)))
-+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)))
- #include "services/screen_ai/public/cpp/utilities.h" // nogncheck
- #include "services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.h" // nogncheck
- #endif
-@@ -103,7 +105,7 @@ namespace content {
+@@ -103,7 +112,7 @@
+ sandbox::TargetServices* g_utility_target_services = nullptr;
+ #endif // BUILDFLAG(IS_WIN)
+
+-#if BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION) && BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
+ #include "components/services/on_device_translation/sandbox_hook.h"
+ #endif // BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION) && BUILDFLAG(IS_LINUX)
+
+@@ -111,7 +120,7 @@ namespace content {
namespace {
@@ -52,27 +62,7 @@ $NetBSD$
std::vector<std::string> GetNetworkContextsParentDirectories() {
base::MemoryMappedFile::Region region;
base::ScopedFD read_pipe_fd = base::FileDescriptorStore::GetInstance().TakeFD(
-@@ -130,9 +132,10 @@ std::vector<std::string> GetNetworkConte
- return dirs;
- }
-
-+#if !BUILDFLAG(IS_BSD)
- bool ShouldUseAmdGpuPolicy(sandbox::mojom::Sandbox sandbox_type) {
- const bool obtain_gpu_info =
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
- sandbox_type == sandbox::mojom::Sandbox::kHardwareVideoDecoding ||
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
- sandbox_type == sandbox::mojom::Sandbox::kHardwareVideoEncoding;
-@@ -147,6 +150,7 @@ bool ShouldUseAmdGpuPolicy(sandbox::mojo
-
- return false;
- }
-+#endif
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-
- #if BUILDFLAG(IS_WIN)
-@@ -246,7 +250,8 @@ int UtilityMain(MainFunctionParams param
+@@ -251,7 +261,8 @@ int UtilityMain(MainFunctionParams param
}
#endif
@@ -82,8 +72,8 @@ $NetBSD$
// 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
- }
+@@ -259,7 +270,7 @@ int UtilityMain(MainFunctionParams param
+ SandboxedProcessThreadTypeHandler::Create();
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -91,16 +81,32 @@ $NetBSD$
// Initializes the sandbox before any threads are created.
// TODO(jorgelo): move this after GTK initialization when we enable a strict
// Seccomp-BPF policy.
-@@ -305,7 +309,7 @@ int UtilityMain(MainFunctionParams param
+@@ -295,7 +306,7 @@ int UtilityMain(MainFunctionParams param
+ base::BindOnce(&speech::SpeechRecognitionPreSandboxHook);
+ #endif
+ break;
+-#if BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION) && BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
+ case sandbox::mojom::Sandbox::kOnDeviceTranslation:
+ pre_sandbox_hook = base::BindOnce(
+ &on_device_translation::OnDeviceTranslationSandboxHook);
+@@ -311,13 +322,13 @@ int UtilityMain(MainFunctionParams param
+ #else
+ NOTREACHED();
+ #endif
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
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)
+ pre_sandbox_hook =
+ base::BindOnce(&video_effects::VideoEffectsPreSandboxHook);
+ break;
+ #endif // BUILDFLAG(IS_LINUX)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
case sandbox::mojom::Sandbox::kHardwareVideoDecoding:
pre_sandbox_hook =
base::BindOnce(&media::HardwareVideoDecodingPreSandboxHook);
-@@ -332,6 +336,7 @@ int UtilityMain(MainFunctionParams param
+@@ -344,6 +355,7 @@ int UtilityMain(MainFunctionParams param
default:
break;
}
@@ -108,7 +114,7 @@ $NetBSD$
if (!sandbox::policy::IsUnsandboxedSandboxType(sandbox_type) &&
(parameters.zygote_child || !pre_sandbox_hook.is_null())) {
sandbox_options.use_amd_specific_policies =
-@@ -339,6 +344,11 @@ int UtilityMain(MainFunctionParams param
+@@ -351,6 +363,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_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 71e03c57ee..37e7536c22 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,9 +4,9 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/extensions/browser/api/api_browser_context_keyed_service_factories.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/extensions/browser/api/api_browser_context_keyed_service_factories.cc
-@@ -126,7 +126,7 @@ void EnsureApiBrowserContextKeyedService
+@@ -132,7 +132,7 @@ void EnsureApiBrowserContextKeyedService
#endif
MessageService::GetFactoryInstance();
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \
@@ -14,4 +14,4 @@ $NetBSD$
+ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
NetworkingPrivateEventRouterFactory::GetInstance();
#endif
- OffscreenDocumentManager::GetFactory();
+ PrinterProviderAPIFactory::GetInstance();
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_browser_api_networking__private_networking__private__delegate__factory.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_browser_api_networking__private_networking__private__delegate__factory.cc
index b3bd430f4e..238c009344 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_browser_api_networking__private_networking__private__delegate__factory.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_browser_api_networking__private_networking__private__delegate__factory.cc
@@ -4,23 +4,32 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/extensions/browser/api/networking_private/networking_private_delegate_factory.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/extensions/browser/api/networking_private/networking_private_delegate_factory.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/extensions/browser/api/networking_private/networking_private_delegate_factory.cc
-@@ -14,7 +14,7 @@
+@@ -12,7 +12,7 @@
+
+ #if BUILDFLAG(IS_CHROMEOS)
#include "extensions/browser/api/networking_private/networking_private_chromeos.h"
- #elif BUILDFLAG(IS_CHROMEOS_LACROS)
- #include "extensions/browser/api/networking_private/networking_private_lacros.h"
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "extensions/browser/api/networking_private/networking_private_linux.h"
#elif BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
#include "components/wifi/wifi_service.h"
-@@ -67,7 +67,7 @@ NetworkingPrivateDelegateFactory::BuildS
+@@ -63,7 +63,7 @@ NetworkingPrivateDelegateFactory::BuildS
+ std::unique_ptr<NetworkingPrivateDelegate> delegate;
+ #if BUILDFLAG(IS_CHROMEOS)
delegate = std::make_unique<NetworkingPrivateChromeOS>(browser_context);
- #elif BUILDFLAG(IS_CHROMEOS_LACROS)
- delegate = std::make_unique<NetworkingPrivateLacros>(browser_context);
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
delegate = std::make_unique<NetworkingPrivateLinux>();
#elif BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
std::unique_ptr<wifi::WiFiService> wifi_service(wifi::WiFiService::Create());
+@@ -74,7 +74,7 @@ NetworkingPrivateDelegateFactory::BuildS
+ #endif
+
+ #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || \
+- BUILDFLAG(IS_MAC)
++ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ if (ui_factory_) {
+ delegate->set_ui_delegate(ui_factory_->CreateDelegate());
+ }
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_browser_api_web__request_web__request__resource__type.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_browser_api_web__request_web__request__resource__type.cc
new file mode 100644
index 0000000000..5114035f9b
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_browser_api_web__request_web__request__resource__type.cc
@@ -0,0 +1,44 @@
+$NetBSD$
+
+Revert to 6.9.3 version until work out why gcc12 doesn't like it
+
+--- src/3rdparty/chromium/extensions/browser/api/web_request/web_request_resource_type.cc.orig 2025-10-02 13:36:39.000000000 +1300
++++ src/3rdparty/chromium/extensions/browser/api/web_request/web_request_resource_type.cc 2025-09-25 23:10:42.000000000 +1200
+@@ -2,9 +2,13 @@
+ // Use of this source code is governed by a BSD-style license that can be
+ // found in the LICENSE file.
+
++#ifdef UNSAFE_BUFFERS_BUILD
++// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
++#pragma allow_unsafe_buffers
++#endif
++
+ #include "extensions/browser/api/web_request/web_request_resource_type.h"
+
+-#include <array>
+ #include <string_view>
+
+ #include "base/check_op.h"
+@@ -16,11 +20,10 @@
+
+ namespace {
+
+-struct ResourceTypes {
++constexpr struct {
+ const char* const name;
+ const WebRequestResourceType type;
+-};
+-constexpr auto kResourceTypes = std::to_array<ResourceTypes>({
++} kResourceTypes[] = {
+ {"main_frame", WebRequestResourceType::MAIN_FRAME},
+ {"sub_frame", WebRequestResourceType::SUB_FRAME},
+ {"stylesheet", WebRequestResourceType::STYLESHEET},
+@@ -36,7 +39,7 @@
+ {"webtransport", WebRequestResourceType::WEB_TRANSPORT},
+ {"webbundle", WebRequestResourceType::WEBBUNDLE},
+ {"other", WebRequestResourceType::OTHER},
+-});
++};
+
+ constexpr size_t kResourceTypesLength = std::size(kResourceTypes);
+
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_common_api___permission__features.json b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_common_api___permission__features.json
index 9127bbe890..b40042996d 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_common_api___permission__features.json
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_common_api___permission__features.json
@@ -4,18 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/extensions/common/api/_permission_features.json.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/extensions/common/api/_permission_features.json.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/extensions/common/api/_permission_features.json
@@ -138,7 +138,7 @@
{
"channel": "stable",
"extension_types": ["platform_app"],
-- "platforms": ["chromeos", "lacros", "win", "mac", "linux"],
-+ "platforms": ["chromeos", "lacros", "win", "mac", "linux", "openbsd", "freebsd", "netbsd"],
+- "platforms": ["chromeos", "win", "mac", "linux"],
++ "platforms": ["chromeos", "win", "mac", "linux", "openbsd", "freebsd", "netbsd"],
"allowlist": [
"1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // http://crbug.com/387169
"A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE", // http://crbug.com/387169
-@@ -432,7 +432,7 @@
+@@ -423,7 +423,7 @@
}, {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app", "platform_app"],
@@ -24,12 +24,12 @@ $NetBSD$
"allowlist": [
"0DE0F05680A4A056BCEC864ED8DDA84296F82B40", // http://crbug.com/434651
"1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // http://crbug.com/293683
-@@ -476,7 +476,7 @@
+@@ -467,7 +467,7 @@
"networkingPrivate": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app", "platform_app"],
-- "platforms": ["chromeos", "lacros", "mac", "win", "linux", "fuchsia"],
-+ "platforms": ["chromeos", "lacros", "mac", "win", "linux", "fuchsia", "openbsd", "freebsd", "netbsd"],
+- "platforms": ["chromeos", "mac", "win", "linux", "fuchsia"],
++ "platforms": ["chromeos", "mac", "win", "linux", "fuchsia", "openbsd", "freebsd", "netbsd"],
"allowlist": [
// DO NOT ADD ANY MORE ENTRIES HERE.
// networkingPrivate is being migrated to networking.onc.
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 87716deab6..22cdd323b4 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,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/extensions/common/command.cc.orig 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/extensions/common/command.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/extensions/common/command.cc
-@@ -286,7 +286,7 @@ std::string Command::CommandPlatform() {
- return values::kKeybindingPlatformMac;
+@@ -116,7 +116,7 @@ std::string Command::CommandPlatform() {
+ return ui::kKeybindingPlatformMac;
#elif BUILDFLAG(IS_CHROMEOS)
- return values::kKeybindingPlatformChromeOs;
+ return ui::kKeybindingPlatformChromeOs;
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- return values::kKeybindingPlatformLinux;
+ return ui::kKeybindingPlatformLinux;
#elif BUILDFLAG(IS_FUCHSIA)
// TODO(crbug.com/40220501): Change this once we decide what string should be
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_renderer_bindings_api__binding__util.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_renderer_bindings_api__binding__util.cc
index 8180d1ceeb..a9b788114c 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_renderer_bindings_api__binding__util.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_renderer_bindings_api__binding__util.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/extensions/renderer/bindings/api_binding_util.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/extensions/renderer/bindings/api_binding_util.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/extensions/renderer/bindings/api_binding_util.cc
-@@ -133,7 +133,7 @@ std::string GetPlatformString() {
- return "lacros";
- #elif BUILDFLAG(IS_CHROMEOS_ASH) && !BUILDFLAG(IS_CHROMEOS_LACROS)
+@@ -129,7 +129,7 @@ void InvalidateContext(v8::Local<v8::Con
+ std::string GetPlatformString() {
+ #if BUILDFLAG(IS_CHROMEOS)
return "chromeos";
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc
index 5de05cbf7a..624db4a999 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc
@@ -45,7 +45,7 @@ void ShellRuntimeAPIDelegate::OpenURL(co
bool ShellRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) {
- #if BUILDFLAG(IS_CHROMEOS_ASH)
+ #if BUILDFLAG(IS_CHROMEOS)
info->os = api::runtime::PlatformOs::kCros;
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
info->os = api::runtime::PlatformOs::kLinux;
#endif
return true;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_shell__browser__main__parts.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_shell__browser__main__parts.cc
index c0b8faee29..4a12a8cab4 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_shell__browser__main__parts.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_extensions_shell_browser_shell__browser__main__parts.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/extensions/shell/browser/shell_browser_main_parts.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/extensions/shell/browser/shell_browser_main_parts.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/extensions/shell/browser/shell_browser_main_parts.cc
-@@ -150,7 +150,7 @@ void ShellBrowserMainParts::PostCreateMa
+@@ -137,7 +137,7 @@ void ShellBrowserMainParts::PostCreateMa
switches::kAppShellAllowRoaming)) {
network_controller_->SetCellularAllowRoaming(true);
}
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// app_shell doesn't need GTK, so the fake input method context can work.
// See crbug.com/381852 and revision fb69f142.
// TODO(michaelpg): Verify this works for target environments.
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 12a9c8260f..a343f11912 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,23 +4,23 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/extensions/shell/browser/shell_extensions_api_client.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/extensions/shell/browser/shell_extensions_api_client.cc
-@@ -20,7 +20,7 @@
+@@ -18,7 +18,7 @@
+ #include "extensions/shell/browser/shell_virtual_keyboard_delegate.h"
+ #include "extensions/shell/browser/shell_web_view_guest_delegate.h"
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "extensions/shell/browser/api/file_system/shell_file_system_delegate.h"
#endif
-@@ -58,7 +58,7 @@ ShellExtensionsAPIClient::CreateDisplayI
+@@ -54,7 +54,7 @@ ShellExtensionsAPIClient::CreateDisplayI
+ return std::make_unique<ShellDisplayInfoProvider>();
+ }
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
FileSystemDelegate* ShellExtensionsAPIClient::GetFileSystemDelegate() {
if (!file_system_delegate_)
file_system_delegate_ = std::make_unique<ShellFileSystemDelegate>();
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 962d57a0ad..6088f89f67 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,23 +4,22 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/extensions/shell/browser/shell_extensions_api_client.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/extensions/shell/browser/shell_extensions_api_client.h
-@@ -36,7 +36,7 @@ class ShellExtensionsAPIClient : public
+@@ -34,14 +34,14 @@ class ShellExtensionsAPIClient : public
+ content::BrowserContext* browser_context) const override;
+ std::unique_ptr<DisplayInfoProvider> CreateDisplayInfoProvider()
const override;
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
FileSystemDelegate* GetFileSystemDelegate() override;
#endif
MessagingDelegate* GetMessagingDelegate() override;
-@@ -45,7 +45,7 @@ class ShellExtensionsAPIClient : public
+ FeedbackPrivateDelegate* GetFeedbackPrivateDelegate() override;
+
private:
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
std::unique_ptr<FileSystemDelegate> file_system_delegate_;
#endif
std::unique_ptr<MessagingDelegate> messaging_delegate_;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__context__state.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__context__state.cc
index 57f7629a34..94dd685543 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__context__state.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__context__state.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/gpu/command_buffer/service/shared_context_state.cc.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/gpu/command_buffer/service/shared_context_state.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/gpu/command_buffer/service/shared_context_state.cc
-@@ -56,7 +56,7 @@
+@@ -67,7 +67,7 @@
#include "gpu/vulkan/vulkan_implementation.h"
#include "gpu/vulkan/vulkan_util.h"
@@ -15,7 +15,7 @@ $NetBSD$
#include "gpu/command_buffer/service/external_semaphore_pool.h"
#endif
-@@ -287,7 +287,7 @@ SharedContextState::SharedContextState(
+@@ -393,7 +393,7 @@ SharedContextState::SharedContextState(
if (gr_context_type_ == GrContextType::kVulkan) {
if (vk_context_provider_) {
#if BUILDFLAG(ENABLE_VULKAN) && \
@@ -24,8 +24,8 @@ $NetBSD$
external_semaphore_pool_ = std::make_unique<ExternalSemaphorePool>(this);
#endif
use_virtualized_gl_contexts_ = false;
-@@ -320,7 +320,7 @@ SharedContextState::~SharedContextState(
- transfer_cache_.reset();
+@@ -430,7 +430,7 @@ SharedContextState::~SharedContextState(
+ }
#if BUILDFLAG(ENABLE_VULKAN) && \
- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_WIN))
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 79a1c69ace..e388cd03a9 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc
-@@ -142,7 +142,7 @@ bool IsFormatSupported(viz::SharedImageF
- } // namespace
+@@ -168,7 +168,7 @@ bool IsFormatSupported(viz::SharedImageF
- constexpr SharedImageUsageSet kSupportedUsage =
+ SharedImageUsageSet SupportedUsage() {
+ SharedImageUsageSet supported_usage =
-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_DAWN)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DAWN)
- SHARED_IMAGE_USAGE_WEBGPU_READ | SHARED_IMAGE_USAGE_WEBGPU_WRITE |
- SHARED_IMAGE_USAGE_WEBGPU_SWAP_CHAIN_TEXTURE |
- SHARED_IMAGE_USAGE_WEBGPU_STORAGE_TEXTURE |
+ SHARED_IMAGE_USAGE_WEBGPU_READ | SHARED_IMAGE_USAGE_WEBGPU_WRITE |
+ SHARED_IMAGE_USAGE_WEBGPU_SWAP_CHAIN_TEXTURE |
+ SHARED_IMAGE_USAGE_WEBGPU_STORAGE_TEXTURE |
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_shared__image__manager.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_shared__image__manager.cc
index 4f7da34226..0e935f0387 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_shared__image__manager.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_shared__image__manager.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/shared_image_manager.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/shared_image_manager.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/gpu/command_buffer/service/shared_image/shared_image_manager.cc
-@@ -550,7 +550,7 @@ bool SharedImageManager::SupportsScanout
+@@ -756,7 +756,7 @@ bool SharedImageManager::SupportsScanout
return true;
#elif BUILDFLAG(IS_ANDROID)
return base::AndroidHardwareBufferCompat::IsSupportAvailable();
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- return ui::OzonePlatform::GetInstance()
- ->GetPlatformRuntimeProperties()
- .supports_native_pixmaps;
+ // We are in the process of tightening scanout support on Ozone to be guarded
+ // by overlays being supported rather than merely native pixmaps being
+ // supported, as native pixmap support doesn't always imply that those native
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_webgpu__decoder__impl.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_webgpu__decoder__impl.cc
index 28a83c5efc..52e5677c8e 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_webgpu__decoder__impl.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_command__buffer_service_webgpu__decoder__impl.cc
@@ -4,18 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/gpu/command_buffer/service/webgpu_decoder_impl.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/gpu/command_buffer/service/webgpu_decoder_impl.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/gpu/command_buffer/service/webgpu_decoder_impl.cc
-@@ -1390,7 +1390,7 @@ WGPUFuture WebGPUDecoderImpl::RequestAda
- force_fallback_adapter = true;
- }
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (!shared_context_state_->GrContextIsVulkan() &&
- !shared_context_state_->IsGraphiteDawnVulkan() &&
- use_webgpu_adapter_ != WebGPUAdapterName::kOpenGLES) {
-@@ -2075,7 +2075,7 @@ WebGPUDecoderImpl::AssociateMailboxDawn(
+@@ -1752,7 +1752,7 @@ wgpu::Adapter WebGPUDecoderImpl::CreateP
+ backend_types = {wgpu::BackendType::D3D12};
+ #elif BUILDFLAG(IS_MAC)
+ backend_types = {wgpu::BackendType::Metal};
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (shared_context_state_->GrContextIsVulkan() ||
+ shared_context_state_->IsGraphiteDawnVulkan()) {
+ backend_types = {wgpu::BackendType::Vulkan};
+@@ -1994,7 +1994,7 @@ WebGPUDecoderImpl::AssociateMailboxDawn(
}
#if !BUILDFLAG(IS_WIN) && !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_APPLE) && \
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_config_gpu__control__list.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_config_gpu__control__list.cc
index aabff53264..962e3908a9 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_config_gpu__control__list.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_config_gpu__control__list.cc
@@ -4,18 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/gpu/config/gpu_control_list.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/gpu/config/gpu_control_list.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/gpu/config/gpu_control_list.cc
-@@ -277,7 +277,7 @@ bool GpuControlList::More::GLVersionInfo
- GpuControlList::GLType GpuControlList::More::GetDefaultGLType() {
- #if BUILDFLAG(IS_CHROMEOS)
- return kGLTypeGL;
--#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_OPENBSD)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- return kGLTypeGL;
- #elif BUILDFLAG(IS_MAC)
- return kGLTypeGL;
-@@ -848,7 +848,7 @@ GpuControlList::OsType GpuControlList::G
+@@ -831,7 +831,7 @@ GpuControlList::OsType GpuControlList::G
return kOsAndroid;
#elif BUILDFLAG(IS_FUCHSIA)
return kOsFuchsia;
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 595a571386..75bfad9aa2 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,9 +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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/gpu/config/gpu_finch_features.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/gpu/config/gpu_finch_features.cc
-@@ -148,7 +148,8 @@ const base::FeatureParam<std::string>
+@@ -154,7 +154,8 @@ BASE_FEATURE(kAllowHardwareBufferUsageFl
// DefaultEnableGpuRasterization has launched on Mac, Windows, ChromeOS,
// Android and Linux.
#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || \
@@ -16,12 +16,3 @@ $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_config_gpu__info__collector.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_config_gpu__info__collector.cc
index ced2e57e00..190d5bd0e7 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_config_gpu__info__collector.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_gpu_config_gpu__info__collector.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/gpu/config/gpu_info_collector.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/gpu/config/gpu_info_collector.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/gpu/config/gpu_info_collector.cc
-@@ -362,7 +362,7 @@ void ReportWebGPUAdapterMetrics(dawn::na
+@@ -358,7 +358,7 @@ void ReportWebGPUAdapterMetrics(dawn::na
+ }
+
void ReportWebGPUSupportMetrics(dawn::native::Instance* instance) {
- static BASE_FEATURE(kCollectWebGPUSupportMetrics,
- "CollectWebGPUSupportMetrics",
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ static BASE_FEATURE(kCollectWebGPUSupportMetrics,
+ "CollectWebGPUSupportMetrics",
base::FEATURE_DISABLED_BY_DEFAULT);
- #else
- base::FEATURE_ENABLED_BY_DEFAULT);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_headless_lib_browser_headless__browser__main__parts__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_headless_lib_browser_headless__browser__main__parts__posix.cc
index 80cf6f9be6..3510a05e64 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_headless_lib_browser_headless__browser__main__parts__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_headless_lib_browser_headless__browser__main__parts__posix.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_browser_main_parts_posix.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/headless/lib/browser/headless_browser_main_parts_posix.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/headless/lib/browser/headless_browser_main_parts_posix.cc
-@@ -21,13 +21,13 @@
+@@ -27,7 +27,7 @@
#include "content/public/browser/browser_thread.h"
#include "headless/lib/browser/headless_browser_impl.h"
@@ -15,14 +15,7 @@ $NetBSD$
#include "base/command_line.h"
#include "components/os_crypt/sync/key_storage_config_linux.h"
#include "components/os_crypt/sync/os_crypt.h"
- #include "headless/public/switches.h"
-
--#if defined(USE_DBUS)
-+#if defined(USE_DBUS) && !BUILDFLAG(IS_BSD)
- #include "device/bluetooth/dbus/bluez_dbus_manager.h"
- #endif
-
-@@ -161,7 +161,7 @@ class BrowserShutdownHandler {
+@@ -167,7 +167,7 @@ class BrowserShutdownHandler {
} // namespace
@@ -31,15 +24,15 @@ $NetBSD$
constexpr char kProductName[] = "HeadlessChrome";
#endif
-@@ -169,9 +169,9 @@ void HeadlessBrowserMainParts::PostCreat
+@@ -175,9 +175,9 @@ void HeadlessBrowserMainParts::PostCreat
BrowserShutdownHandler::Install(base::BindOnce(
&HeadlessBrowserImpl::ShutdownWithExitCode, browser_->GetWeakPtr()));
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
--#if defined(USE_DBUS)
-+#if defined(USE_DBUS) && !BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(USE_DBUS)
++#if BUILDFLAG(USE_DBUS) && !BUILDFLAG(IS_BSD)
bluez::BluezDBusManager::Initialize(/*system_bus=*/nullptr);
#endif
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 b8ac2b4273..6ee51c9c5e 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,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/media/base/media_switches.cc
-@@ -21,7 +21,7 @@
+@@ -20,7 +20,7 @@
#include "ui/gl/gl_features.h"
#include "ui/gl/gl_utils.h"
@@ -15,7 +15,7 @@ $NetBSD$
#include "base/cpu.h"
#endif
-@@ -61,7 +61,7 @@ const char kReportVp9AsAnUnsupportedMime
+@@ -60,7 +60,7 @@ const char kReportVp9AsAnUnsupportedMime
"report-vp9-as-an-unsupported-mime-type";
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FREEBSD) || \
@@ -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.
-@@ -377,7 +377,7 @@ BASE_FEATURE(kUseSCContentSharingPicker,
+@@ -373,7 +373,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",
-@@ -387,6 +387,31 @@ BASE_FEATURE(kPulseaudioLoopbackForCast,
+@@ -383,6 +383,31 @@ BASE_FEATURE(kPulseaudioLoopbackForCast,
BASE_FEATURE(kPulseaudioLoopbackForScreenShare,
"PulseaudioLoopbackForScreenShare",
base::FEATURE_DISABLED_BY_DEFAULT);
@@ -65,7 +65,7 @@ $NetBSD$
#endif // BUILDFLAG(IS_LINUX)
// When enabled, MediaCapabilities will check with GPU Video Accelerator
-@@ -688,7 +713,7 @@ BASE_FEATURE(kFileDialogsBlockPictureInP
+@@ -630,7 +655,7 @@ BASE_FEATURE(kFileDialogsBlockPictureInP
#endif // !BUILDFLAG(IS_ANDROID)
// Show toolbar button that opens dialog for controlling media sessions.
@@ -74,7 +74,7 @@ $NetBSD$
BASE_FEATURE(kGlobalMediaControls,
"GlobalMediaControls",
base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -712,7 +737,7 @@ BASE_FEATURE(kGlobalMediaControlsUpdated
+@@ -654,7 +679,7 @@ BASE_FEATURE(kGlobalMediaControlsUpdated
#if !BUILDFLAG(IS_ANDROID)
// If enabled, users can request Media Remoting without fullscreen-in-tab.
@@ -83,7 +83,7 @@ $NetBSD$
BASE_FEATURE(kMediaRemotingWithoutFullscreen,
"MediaRemotingWithoutFullscreen",
base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -725,7 +750,7 @@ BASE_FEATURE(kMediaRemotingWithoutFullsc
+@@ -667,7 +692,7 @@ BASE_FEATURE(kMediaRemotingWithoutFullsc
// Show picture-in-picture button in Global Media Controls.
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
@@ -92,34 +92,25 @@ $NetBSD$
BASE_FEATURE(kGlobalMediaControlsPictureInPicture,
"GlobalMediaControlsPictureInPicture",
base::FEATURE_ENABLED_BY_DEFAULT);
-@@ -757,7 +782,7 @@ BASE_FEATURE(kUnifiedAutoplay,
+@@ -699,7 +724,7 @@ BASE_FEATURE(kUnifiedAutoplay,
"UnifiedAutoplay",
base::FEATURE_ENABLED_BY_DEFAULT);
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Enable vaapi video decoding on linux. This is already enabled by default on
- // chromeos, but needs an experiment on linux.
- BASE_FEATURE(kVaapiVideoDecodeLinux,
-@@ -860,7 +885,7 @@ BASE_FEATURE(kVSyncMjpegDecoding,
+ // Enable vaapi/v4l2 video decoding on linux. This is already enabled by default
+ // on chromeos, but needs an experiment on linux.
+ BASE_FEATURE(kAcceleratedVideoDecodeLinux,
+@@ -808,7 +833,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 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(kLiveTranslate,
- "LiveTranslate",
- base::FEATURE_ENABLED_BY_DEFAULT
-@@ -1505,7 +1530,7 @@ BASE_FEATURE(kUseGTFOOutOfProcessVideoDe
+ // Enable H264 temporal layer encoding with V4L2 HW encoder on ChromeOS.
+ BASE_FEATURE(kV4L2H264TemporalLayerHWEncoding,
+ "V4L2H264TemporalLayerHWEncoding",
+@@ -1379,7 +1404,7 @@ BASE_FEATURE(kUseGTFOOutOfProcessVideoDe
base::FEATURE_DISABLED_BY_DEFAULT);
#endif // BUILDFLAG(ALLOW_OOP_VIDEO_DECODER)
@@ -128,7 +119,7 @@ $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,
+@@ -1463,7 +1488,7 @@ BASE_FEATURE(kRecordWebAudioEngagement,
"RecordWebAudioEngagement",
base::FEATURE_ENABLED_BY_DEFAULT);
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 ae153e33d3..d5745df94f 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,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/media/base/media_switches.h
@@ -44,7 +44,7 @@ MEDIA_EXPORT extern const char kDisableB
MEDIA_EXPORT extern const char kReportVp9AsAnUnsupportedMimeType[];
@@ -15,7 +15,7 @@ $NetBSD$
MEDIA_EXPORT extern const char kAlsaInputDevice[];
MEDIA_EXPORT extern const char kAlsaOutputDevice[];
#endif
-@@ -331,13 +331,26 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kPlatf
+@@ -324,13 +324,26 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kMedia
MEDIA_EXPORT BASE_DECLARE_FEATURE(kPlaybackSpeedButton);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kPreloadMediaEngagementData);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kPreloadMetadataSuspend);
@@ -44,25 +44,25 @@ $NetBSD$
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
+@@ -344,7 +357,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kSuspe
+ MEDIA_EXPORT BASE_DECLARE_FEATURE(kUnifiedAutoplay);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseAndroidOverlayForSecureOnly);
- MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseDecoderStreamForWebRTC);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseFakeDeviceForMediaStream);
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiVideoDecodeLinux);
- MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiVideoDecodeLinuxGL);
- MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiVideoEncodeLinux);
-@@ -373,7 +386,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapi
+ MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoDecodeLinux);
+ MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoDecodeLinuxGL);
+ MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoEncodeLinux);
+@@ -366,7 +379,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(kV4L2FlatStatefulVideoDecoder);
MEDIA_EXPORT BASE_DECLARE_FEATURE(kV4L2H264TemporalLayerHWEncoding);
#endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-@@ -513,7 +526,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseOu
+ MEDIA_EXPORT BASE_DECLARE_FEATURE(kVideoBlitColorAccuracy);
+@@ -497,7 +510,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseOu
MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseGTFOOutOfProcessVideoDecoding);
#endif // BUILDFLAG(ALLOW_OOP_VIDEO_DECODER)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_user__input__monitor__unittest.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_user__input__monitor__unittest.cc
deleted file mode 100644
index 6b338c1ea8..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_base_user__input__monitor__unittest.cc
+++ /dev/null
@@ -1,35 +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/user_input_monitor_unittest.cc.orig 2024-12-17 17:58:49.000000000 +0000
-+++ src/3rdparty/chromium/media/base/user_input_monitor_unittest.cc
-@@ -13,7 +13,7 @@
- #include "build/build_config.h"
- #include "testing/gtest/include/gtest/gtest.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include "base/files/file_descriptor_watcher_posix.h"
- #endif
-
-@@ -49,7 +49,7 @@ class UserInputMonitorTest : public test
- } // namespace
-
- TEST_F(UserInputMonitorTest, CreatePlatformSpecific) {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- base::test::TaskEnvironment task_environment(
- base::test::TaskEnvironment::MainThreadType::IO);
- #else
-@@ -72,7 +72,7 @@ TEST_F(UserInputMonitorTest, CreatePlatf
- }
-
- TEST_F(UserInputMonitorTest, CreatePlatformSpecificWithMapping) {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- base::test::TaskEnvironment task_environment(
- base::test::TaskEnvironment::MainThreadType::IO);
- #else
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 9c6a16c1a6..8ad9de9413 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/media/base/video_frame.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/media/base/video_frame.cc
-@@ -88,7 +88,7 @@ std::string VideoFrame::StorageTypeToStr
+@@ -92,7 +92,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
-@@ -103,7 +103,7 @@ std::string VideoFrame::StorageTypeToStr
+@@ -106,7 +106,7 @@ std::string VideoFrame::StorageTypeToStr
// static
bool VideoFrame::IsStorageTypeMappable(VideoFrame::StorageType storage_type) {
return
@@ -24,8 +24,8 @@ $NetBSD$
// This is not strictly needed but makes explicit that, at VideoFrame
// level, DmaBufs are not mappable from userspace.
storage_type != VideoFrame::STORAGE_DMABUFS &&
-@@ -401,7 +401,7 @@ VideoFrame::CreateFrameForGpuMemoryBuffe
- : shared_image->GetStrideForVideoFrame(i);
+@@ -420,7 +420,7 @@ VideoFrame::CreateFrameForGpuMemoryBuffe
+ plane_size.width() * VideoFrame::BytesPerElement(*format, plane);
}
uint64_t modifier = gfx::NativePixmapHandle::kNoModifier;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -33,7 +33,7 @@ $NetBSD$
bool is_native_buffer =
gpu_memory_buffer
? (gpu_memory_buffer->GetType() != gfx::SHARED_MEMORY_BUFFER)
-@@ -782,7 +782,7 @@ scoped_refptr<VideoFrame> VideoFrame::Wr
+@@ -938,7 +938,7 @@ scoped_refptr<VideoFrame> VideoFrame::Wr
return frame;
}
@@ -42,7 +42,7 @@ $NetBSD$
// static
scoped_refptr<VideoFrame> VideoFrame::WrapExternalDmabufs(
const VideoFrameLayout& layout,
-@@ -1489,7 +1489,7 @@ scoped_refptr<gpu::ClientSharedImage> Vi
+@@ -1623,7 +1623,7 @@ scoped_refptr<gpu::ClientSharedImage> Vi
return wrapped_frame_ ? wrapped_frame_->shared_image() : shared_image_;
}
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 9764396845..6cc3ba86c5 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,27 +4,27 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/media/base/video_frame.h
-@@ -50,7 +50,7 @@
- #include "base/apple/scoped_cftyperef.h"
- #endif // BUILDFLAG(IS_APPLE)
+@@ -42,7 +42,7 @@
+ #include "ui/gfx/geometry/size.h"
+ #include "ui/gfx/hdr_metadata.h"
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "base/files/scoped_file.h"
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -116,7 +116,7 @@ class MEDIA_EXPORT VideoFrame : public b
+@@ -88,7 +88,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.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // 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
-@@ -393,7 +393,7 @@ class MEDIA_EXPORT VideoFrame : public b
+ STORAGE_DMABUFS = 5, // Each plane is stored into a DmaBuf.
+ #endif
+ STORAGE_GPU_MEMORY_BUFFER = 6,
+@@ -435,7 +435,7 @@ class MEDIA_EXPORT VideoFrame : public b
ReleaseMailboxAndGpuMemoryBufferCB mailbox_holder_and_gmb_release_cb,
base::TimeDelta timestamp);
@@ -33,7 +33,7 @@ $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
-@@ -711,7 +711,7 @@ class MEDIA_EXPORT VideoFrame : public b
+@@ -745,7 +745,7 @@ class MEDIA_EXPORT VideoFrame : public b
// wait for the included sync point.
scoped_refptr<gpu::ClientSharedImage> shared_image() const;
@@ -42,12 +42,12 @@ $NetBSD$
// 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.
-@@ -953,7 +953,7 @@ class MEDIA_EXPORT VideoFrame : public b
+@@ -974,7 +974,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)
-
// 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
+ // the memory area represented by the last FD contains the remaining planes.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.cc
index 795e3ace82..4979b7a388 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_delegate.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_delegate.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_delegate.cc
-@@ -5,8 +5,10 @@
+@@ -10,8 +10,10 @@
#include "media/capture/video/linux/v4l2_capture_delegate.h"
#include <fcntl.h>
@@ -17,7 +17,7 @@ $NetBSD$
#include <poll.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
-@@ -29,17 +31,19 @@
+@@ -34,17 +36,19 @@
#include "media/capture/video/blob_utils.h"
#include "media/capture/video/linux/video_capture_device_linux.h"
@@ -38,7 +38,7 @@ $NetBSD$
// TODO(aleksandar.stojiljkovic): Wrap this with kernel version check once the
// format is introduced to kernel.
-@@ -49,6 +53,14 @@ using media::mojom::MeteringMode;
+@@ -54,6 +58,14 @@ using media::mojom::MeteringMode;
#define V4L2_PIX_FMT_INVZ v4l2_fourcc('I', 'N', 'V', 'Z')
#endif
@@ -53,7 +53,7 @@ $NetBSD$
namespace media {
namespace {
-@@ -268,7 +280,7 @@ bool V4L2CaptureDelegate::IsBlockedContr
+@@ -273,7 +285,7 @@ bool V4L2CaptureDelegate::IsBlockedContr
// static
bool V4L2CaptureDelegate::IsControllableControl(
int control_id,
@@ -62,7 +62,7 @@ $NetBSD$
const int special_control_id = GetControllingSpecialControl(control_id);
if (!special_control_id) {
// The control is not controlled by a special control thus the control is
-@@ -324,7 +336,7 @@ V4L2CaptureDelegate::V4L2CaptureDelegate
+@@ -329,7 +341,7 @@ V4L2CaptureDelegate::V4L2CaptureDelegate
is_capturing_(false),
timeout_count_(0),
rotation_(rotation) {
@@ -71,16 +71,16 @@ $NetBSD$
use_gpu_buffer_ = switches::IsVideoCaptureUseGpuMemoryBufferEnabled();
#endif // BUILDFLAG(IS_LINUX)
}
-@@ -451,7 +463,7 @@ void V4L2CaptureDelegate::AllocateAndSta
+@@ -456,7 +468,7 @@ void V4L2CaptureDelegate::AllocateAndSta
client_->OnStarted();
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
if (use_gpu_buffer_) {
- v4l2_gpu_helper_ = std::make_unique<V4L2CaptureDelegateGpuHelper>(
- std::move(gmb_support_test_));
-@@ -801,7 +813,7 @@ void V4L2CaptureDelegate::SetGPUEnvironm
+ v4l2_gpu_helper_ = std::make_unique<V4L2CaptureDelegateGpuHelper>();
+ }
+@@ -800,7 +812,7 @@ base::WeakPtr<V4L2CaptureDelegate> V4L2C
V4L2CaptureDelegate::~V4L2CaptureDelegate() = default;
@@ -89,7 +89,7 @@ $NetBSD$
int num_retries = 0;
for (; DoIoctl(request, argp) < 0 && num_retries < kMaxIOCtrlRetries;
++num_retries) {
-@@ -811,7 +823,7 @@ bool V4L2CaptureDelegate::RunIoctl(int r
+@@ -810,7 +822,7 @@ bool V4L2CaptureDelegate::RunIoctl(int r
return num_retries != kMaxIOCtrlRetries;
}
@@ -98,7 +98,7 @@ $NetBSD$
return HANDLE_EINTR(v4l2_->ioctl(device_fd_.get(), request, argp));
}
-@@ -822,6 +834,7 @@ bool V4L2CaptureDelegate::IsControllable
+@@ -821,6 +833,7 @@ bool V4L2CaptureDelegate::IsControllable
}
void V4L2CaptureDelegate::ReplaceControlEventSubscriptions() {
@@ -106,7 +106,7 @@ $NetBSD$
constexpr uint32_t kControlIds[] = {V4L2_CID_AUTO_EXPOSURE_BIAS,
V4L2_CID_AUTO_WHITE_BALANCE,
V4L2_CID_BRIGHTNESS,
-@@ -849,6 +862,7 @@ void V4L2CaptureDelegate::ReplaceControl
+@@ -848,6 +861,7 @@ void V4L2CaptureDelegate::ReplaceControl
<< ", {type = V4L2_EVENT_CTRL, id = " << control_id << "}";
}
}
@@ -114,7 +114,7 @@ $NetBSD$
}
mojom::RangePtr V4L2CaptureDelegate::RetrieveUserControlRange(int control_id) {
-@@ -1029,7 +1043,11 @@ void V4L2CaptureDelegate::DoCapture() {
+@@ -1028,7 +1042,11 @@ void V4L2CaptureDelegate::DoCapture() {
pollfd device_pfd = {};
device_pfd.fd = device_fd_.get();
@@ -126,7 +126,7 @@ $NetBSD$
const int result =
HANDLE_EINTR(v4l2_->poll(&device_pfd, 1, kCaptureTimeoutMs));
-@@ -1049,6 +1067,12 @@ void V4L2CaptureDelegate::DoCapture() {
+@@ -1048,6 +1066,12 @@ void V4L2CaptureDelegate::DoCapture() {
// in older kernels, and stopping and starting the stream gets the camera
// out of this bad state. Upgrading the kernel is difficult so this is our
// way out for now.
@@ -139,7 +139,7 @@ $NetBSD$
DLOG(WARNING) << "Restarting camera stream";
if (!StopStream() || !StartStream())
return;
-@@ -1056,6 +1080,7 @@ void V4L2CaptureDelegate::DoCapture() {
+@@ -1055,6 +1079,7 @@ void V4L2CaptureDelegate::DoCapture() {
FROM_HERE,
base::BindOnce(&V4L2CaptureDelegate::DoCapture, GetWeakPtr()));
return;
@@ -147,7 +147,7 @@ $NetBSD$
} else if (timeout_count_ >= kContinuousTimeoutLimit) {
SetErrorState(
VideoCaptureError::kV4L2MultipleContinuousTimeoutsWhileReadPolling,
-@@ -1067,6 +1092,7 @@ void V4L2CaptureDelegate::DoCapture() {
+@@ -1066,6 +1091,7 @@ void V4L2CaptureDelegate::DoCapture() {
timeout_count_ = 0;
}
@@ -155,7 +155,7 @@ $NetBSD$
// Dequeue events if the driver has filled in some.
if (device_pfd.revents & POLLPRI) {
bool controls_changed = false;
-@@ -1102,6 +1128,7 @@ void V4L2CaptureDelegate::DoCapture() {
+@@ -1099,6 +1125,7 @@ void V4L2CaptureDelegate::DoCapture() {
client_->OnCaptureConfigurationChanged();
}
}
@@ -163,7 +163,7 @@ $NetBSD$
// Deenqueue, send and reenqueue a buffer if the driver has filled one in.
if (device_pfd.revents & POLLIN) {
-@@ -1155,7 +1182,7 @@ void V4L2CaptureDelegate::DoCapture() {
+@@ -1152,7 +1179,7 @@ void V4L2CaptureDelegate::DoCapture() {
// workable on Linux.
// See http://crbug.com/959919.
@@ -172,7 +172,7 @@ $NetBSD$
if (use_gpu_buffer_) {
v4l2_gpu_helper_->OnIncomingCapturedData(
client_.get(), buffer_tracker->start(),
-@@ -1228,7 +1255,7 @@ void V4L2CaptureDelegate::SetErrorState(
+@@ -1226,7 +1253,7 @@ void V4L2CaptureDelegate::SetErrorState(
client_->OnError(error, from_here, reason);
}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.h
index 640ff81693..f316d2c256 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.h
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_delegate.h.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_delegate.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_delegate.h
-@@ -23,7 +23,7 @@
+@@ -22,7 +22,7 @@
#include "media/capture/video/linux/v4l2_capture_device_impl.h"
#include "media/capture/video/video_capture_device.h"
@@ -15,7 +15,7 @@ $NetBSD$
#include <sys/videoio.h>
#else
#include <linux/videodev2.h>
-@@ -35,7 +35,7 @@ class Location;
+@@ -34,7 +34,7 @@ class Location;
namespace media {
@@ -24,16 +24,16 @@ $NetBSD$
class V4L2CaptureDelegateGpuHelper;
#endif // BUILDFLAG(IS_LINUX)
-@@ -86,7 +86,7 @@ class CAPTURE_EXPORT V4L2CaptureDelegate
+@@ -85,7 +85,7 @@ class CAPTURE_EXPORT V4L2CaptureDelegate
static bool IsBlockedControl(int control_id);
static bool IsControllableControl(
int control_id,
- const base::RepeatingCallback<int(int, void*)>& do_ioctl);
+ const base::RepeatingCallback<int(unsigned int, void*)>& do_ioctl);
- void SetGPUEnvironmentForTesting(
- std::unique_ptr<gpu::GpuMemoryBufferSupport> gmb_support);
-@@ -100,10 +100,10 @@ class CAPTURE_EXPORT V4L2CaptureDelegate
+ private:
+ friend class V4L2CaptureDelegateTest;
+@@ -96,10 +96,10 @@ class CAPTURE_EXPORT V4L2CaptureDelegate
// device file descriptor or (re)starting streaming, can fail but works after
// retrying (https://crbug.com/670262). Returns false if the |request| ioctl
// fails too many times.
@@ -46,7 +46,7 @@ $NetBSD$
// Check whether the control is controllable (and not changed automatically).
bool IsControllableControl(int control_id);
-@@ -133,7 +133,7 @@ class CAPTURE_EXPORT V4L2CaptureDelegate
+@@ -129,7 +129,7 @@ class CAPTURE_EXPORT V4L2CaptureDelegate
const base::Location& from_here,
const std::string& reason);
@@ -55,7 +55,7 @@ $NetBSD$
// Systems which describe a "color space" usually map that to one or more of
// {primary, matrix, transfer, range}. BuildColorSpaceFromv4l2() will use the
// matched value as first priority. Otherwise, if there is no best matching
-@@ -167,7 +167,7 @@ class CAPTURE_EXPORT V4L2CaptureDelegate
+@@ -163,7 +163,7 @@ class CAPTURE_EXPORT V4L2CaptureDelegate
// Clockwise rotation in degrees. This value should be 0, 90, 180, or 270.
int rotation_;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_ffmpeg_scripts_robo__lib_config.py b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_ffmpeg_scripts_robo__lib_config.py
index 09214f9ade..abeadcbbf2 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_ffmpeg_scripts_robo__lib_config.py
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_ffmpeg_scripts_robo__lib_config.py
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/ffmpeg/scripts/robo_lib/config.py.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/media/ffmpeg/scripts/robo_lib/config.py.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/media/ffmpeg/scripts/robo_lib/config.py
-@@ -55,19 +55,13 @@ class RoboConfiguration:
+@@ -56,19 +56,13 @@ class RoboConfiguration:
self._llvm_path = os.path.join(self.chrome_src(), "third_party",
"llvm-build", "Release+Asserts", "bin")
@@ -25,8 +25,8 @@ $NetBSD$
- shell.log(f"On sushi branch: {self.sushi_branch_name()}")
# Filename that we'll ask generate_gn.py to write git commands to.
- # TODO: Should this use script_directory, or stay with ffmpeg? As long as
-@@ -186,9 +180,9 @@ class RoboConfiguration:
+ # TODO: Should this use script_directory, or stay with ffmpeg? As long
+@@ -187,9 +181,9 @@ class RoboConfiguration:
if re.match(r"i.86", platform.machine()):
self._host_architecture = "ia32"
@@ -38,7 +38,7 @@ $NetBSD$
self._host_architecture = "arm64"
elif platform.machine() == "mips32":
self._host_architecture = "mipsel"
-@@ -223,6 +217,12 @@ class RoboConfiguration:
+@@ -224,6 +218,12 @@ class RoboConfiguration:
elif platform.system() == "Windows" or "CYGWIN_NT" in platform.system(
):
self._host_operating_system = "win"
@@ -51,7 +51,7 @@ $NetBSD$
else:
raise ValueError(f"Unsupported platform: {platform.system()}")
-@@ -231,8 +231,8 @@ class RoboConfiguration:
+@@ -232,8 +232,8 @@ class RoboConfiguration:
wd = os.getcwd()
# Walk up the tree until we find src/AUTHORS
while wd != "/":
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_buffer__validation.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_buffer__validation.cc
index 5514c324f7..2108685071 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_buffer__validation.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_buffer__validation.cc
@@ -4,49 +4,32 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/gpu/buffer_validation.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/gpu/buffer_validation.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/media/gpu/buffer_validation.cc
-@@ -16,7 +16,7 @@
+@@ -15,7 +15,7 @@
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/gpu_memory_buffer.h"
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #include <drm_fourcc.h>
#include <sys/types.h>
#include <unistd.h>
-@@ -29,7 +29,7 @@
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+@@ -23,7 +23,7 @@
namespace media {
- namespace {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- #ifndef I915_FORMAT_MOD_4_TILED_MTL_MC_CCS
- // TODO(b/271455200): Remove this definition once drm_fourcc.h contains it.
- /*
-@@ -55,7 +55,7 @@ bool IsIntelMediaCompressedModifier(uint
- } // namespace
-
bool GetFileSize(const int fd, size_t* size) {
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
if (fd < 0) {
VLOG(1) << "Invalid file descriptor";
return false;
-@@ -109,14 +109,14 @@ bool VerifyGpuMemoryBufferHandle(
+@@ -77,7 +77,7 @@ bool VerifyGpuMemoryBufferHandle(
VLOG(1) << "Unsupported: " << pixel_format;
return false;
}
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- const uint64_t modifier = gmb_handle.native_pixmap_handle.modifier;
- const bool is_intel_media_compressed_buffer =
- IsIntelMediaCompressedModifier(modifier);
- const bool is_intel_media_compression_enabled =
- #if BUILDFLAG(IS_CHROMEOS)
- base::FeatureList::IsEnabled(features::kEnableIntelMediaCompression);
--#elif BUILDFLAG(IS_LINUX)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- false;
- #endif
-
+ const size_t num_planes = media::VideoFrame::NumPlanes(pixel_format);
+ if (num_planes != gmb_handle.native_pixmap_handle.planes.size() ||
+ num_planes == 0) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_gpu__video__encode__accelerator__factory.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_gpu__video__encode__accelerator__factory.cc
index ca5c75213e..8d2421a2ef 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_gpu__video__encode__accelerator__factory.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_gpu_gpu__video__encode__accelerator__factory.cc
@@ -4,14 +4,23 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/gpu/gpu_video_encode_accelerator_factory.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/gpu/gpu_video_encode_accelerator_factory.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/media/gpu/gpu_video_encode_accelerator_factory.cc
-@@ -119,7 +119,7 @@ std::vector<VEAFactoryFunction> GetVEAFa
+@@ -118,7 +118,7 @@ std::vector<VEAFactoryFunction> GetVEAFa
return vea_factory_functions;
#if BUILDFLAG(USE_VAAPI)
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (base::FeatureList::IsEnabled(kVaapiVideoEncodeLinux))
+ if (base::FeatureList::IsEnabled(kAcceleratedVideoEncodeLinux)) {
vea_factory_functions.push_back(base::BindRepeating(&CreateVaapiVEA));
- #else
+ }
+@@ -126,7 +126,7 @@ std::vector<VEAFactoryFunction> GetVEAFa
+ vea_factory_functions.push_back(base::BindRepeating(&CreateVaapiVEA));
+ #endif
+ #elif BUILDFLAG(USE_V4L2_CODEC)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (base::FeatureList::IsEnabled(kAcceleratedVideoEncodeLinux)) {
+ vea_factory_functions.push_back(base::BindRepeating(&CreateV4L2VEA));
+ }
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 4527067113..d07ca4e932 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,27 +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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/media/video/gpu_memory_buffer_video_frame_pool.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/media/video/gpu_memory_buffer_video_frame_pool.cc
-@@ -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
+@@ -644,7 +644,7 @@ void GpuMemoryBufferVideoFramePool::Pool
}
- bool is_software_backed_video_frame = !video_frame->HasTextures();
+ bool is_software_backed_video_frame = !video_frame->HasSharedImage();
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
is_software_backed_video_frame &= !video_frame->HasDmaBufs();
#endif
-@@ -1104,7 +1104,7 @@ scoped_refptr<VideoFrame> GpuMemoryBuffe
+@@ -1054,7 +1054,7 @@ scoped_refptr<VideoFrame> GpuMemoryBuffe
media::IOSurfaceIsWebGPUCompatible(handle.io_surface.get());
#endif
@@ -33,3 +24,12 @@ $NetBSD$
is_webgpu_compatible =
handle.native_pixmap_handle.supports_zero_copy_webgpu_import;
#endif
+@@ -1225,7 +1225,7 @@ GpuMemoryBufferVideoFramePool::PoolImpl:
+ si_usage |= gpu::SHARED_IMAGE_USAGE_SCANOUT;
+ }
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ // TODO(crbug.com/40194712): Always add the flag once the
+ // OzoneImageBacking is by default turned on.
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter.cc
index 9b18edbc7e..4f8bbda991 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter.cc
@@ -4,23 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/video/video_encode_accelerator_adapter.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/media/video/video_encode_accelerator_adapter.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/media/video/video_encode_accelerator_adapter.cc
-@@ -154,7 +154,7 @@ VideoEncodeAccelerator::Config SetUpVeaC
- if (is_rgb)
- config.input_format = PIXEL_FORMAT_I420;
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- if (format != PIXEL_FORMAT_I420 ||
- !VideoFrame::IsStorageTypeMappable(storage_type)) {
- // ChromeOS/Linux hardware video encoders supports I420 on-memory
-@@ -479,7 +479,7 @@ void VideoEncodeAcceleratorAdapter::Init
- SetUpVeaConfig(profile_, options_, format, first_frame->storage_type(),
- supported_rc_modes_, required_encoder_type_);
+@@ -463,7 +463,7 @@ void VideoEncodeAcceleratorAdapter::Init
+ auto format = PIXEL_FORMAT_I420;
+ auto storage_type = VideoEncodeAccelerator::Config::StorageType::kShmem;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Linux/ChromeOS require a special configuration to use dmabuf storage.
- // We need to keep sending frames the same way the first frame was sent.
- // Other platforms will happily mix GpuMemoryBuffer storage with regular
+ // We need to keep sending frames with the same storage type.
+ // Other platforms will happily mix GpuMemoryBuffer storage with shared-mem
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter__test.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter__test.cc
index 88ff607e53..3254af4eaa 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter__test.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter__test.cc
@@ -4,14 +4,41 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/media/video/video_encode_accelerator_adapter_test.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/media/video/video_encode_accelerator_adapter_test.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/media/video/video_encode_accelerator_adapter_test.cc
-@@ -461,7 +461,7 @@ TEST_P(VideoEncodeAcceleratorAdapterTest
+@@ -260,7 +260,7 @@ TEST_F(VideoEncodeAcceleratorAdapterTest
+ });
+
+ VideoPixelFormat expected_input_format = PIXEL_FORMAT_I420;
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ expected_input_format = PIXEL_FORMAT_NV12;
+ #endif
+ vea()->SetEncodingCallback(base::BindLambdaForTesting(
+@@ -369,7 +369,7 @@ TEST_F(VideoEncodeAcceleratorAdapterTest
+ });
+
+ VideoPixelFormat expected_input_format = PIXEL_FORMAT_I420;
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ expected_input_format = PIXEL_FORMAT_NV12;
+ #endif
+
+@@ -467,7 +467,7 @@ TEST_P(VideoEncodeAcceleratorAdapterTest
CreateGreenFrame(large_size, pixel_format, base::Milliseconds(2));
VideoPixelFormat expected_input_format = PIXEL_FORMAT_I420;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- if (pixel_format != PIXEL_FORMAT_I420 || !small_frame->IsMappable())
expected_input_format = PIXEL_FORMAT_NV12;
#endif
+ const gfx::ColorSpace expected_color_space =
+@@ -674,7 +674,7 @@ TEST_F(VideoEncodeAcceleratorAdapterTest
+ });
+
+ VideoPixelFormat expected_input_format = PIXEL_FORMAT_I420;
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ expected_input_format = PIXEL_FORMAT_NV12;
+ #endif
+ vea()->SetEncodingCallback(base::BindLambdaForTesting(
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 6280e64218..79f8ac1895 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/mojo/public/tools/bindings/mojom.gni.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/mojo/public/tools/bindings/mojom.gni
-@@ -776,6 +776,21 @@ template("mojom") {
+@@ -787,6 +787,21 @@ template("mojom") {
enabled_features += [ "is_apple" ]
}
@@ -25,6 +25,6 @@ $NetBSD$
+ enabled_features += [ "is_bsd" ]
+ }
+
- action(parser_target_name) {
- allow_remote = true
-
+ action_outputs = []
+ foreach(base_path, output_file_base_paths) {
+ filename = get_path_info(base_path, "file")
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_disk__cache_simple_simple__file__tracker.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_disk__cache_simple_simple__file__tracker.cc
index e2e87dcbaa..833c99152f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_disk__cache_simple_simple__file__tracker.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_disk__cache_simple_simple__file__tracker.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/net/disk_cache/simple/simple_file_tracker.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/net/disk_cache/simple/simple_file_tracker.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/net/disk_cache/simple/simple_file_tracker.cc
-@@ -35,7 +35,17 @@ void RecordFileDescripterLimiterOp(FileD
- } // namespace
+@@ -37,7 +37,17 @@ bool SimpleFileTracker::TrackedFiles::In
+ }
SimpleFileTracker::SimpleFileTracker(int file_limit)
+#if defined(OS_OPENBSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_socket_socket__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_socket_socket__posix.cc
deleted file mode 100644
index 653351c021..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_net_socket_socket__posix.cc
+++ /dev/null
@@ -1,17 +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/net/socket/socket_posix.cc.orig 2024-12-17 17:58:49.000000000 +0000
-+++ src/3rdparty/chromium/net/socket/socket_posix.cc
-@@ -516,7 +516,7 @@ void SocketPosix::ReadCompleted() {
- }
-
- int SocketPosix::DoWrite(IOBuffer* buf, int buf_len) {
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
- // Disable SIGPIPE for this write. Although Chromium globally disables
- // SIGPIPE, the net stack may be used in other consumers which do not do
- // this. MSG_NOSIGNAL is a Linux-only API. On OS X, this is a setsockopt on
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_pdf_pdfium_pdfium__engine.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_pdf_pdfium_pdfium__engine.cc
index b4222efc46..1aa05381be 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_pdf_pdfium_pdfium__engine.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_pdf_pdfium_pdfium__engine.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/pdf/pdfium/pdfium_engine.cc.orig 2024-11-21 04:36:37.000000000 +0000
-+++ src/3rdparty/chromium/pdf/pdfium/pdfium_engine.cc
-@@ -85,7 +85,7 @@
- #include "gin/public/cppgc.h"
+--- src/3rdparty/chromium//pdf/pdfium/pdfium_engine.cc.orig 2025-10-02 00:36:39.000000000 +0000
++++ src/3rdparty/chromium//pdf/pdfium/pdfium_engine.cc
+@@ -108,7 +108,7 @@
+ #include "ui/accessibility/ax_features.mojom-features.h"
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
@@ -15,7 +15,7 @@ $NetBSD$
#include "pdf/pdfium/pdfium_font_linux.h"
#endif
-@@ -525,7 +525,7 @@ void InitializeSDK(bool enable_v8,
+@@ -541,7 +541,7 @@ void InitializeSDK(bool enable_v8,
FPDF_InitLibraryWithConfig(&config);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_backend_print__backend__cups.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_backend_print__backend__cups.cc
index 2d5153bebe..a7fea2c63a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_backend_print__backend__cups.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_printing_backend_print__backend__cups.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/printing/backend/print_backend_cups.cc.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/printing/backend/print_backend_cups.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/printing/backend/print_backend_cups.cc
-@@ -33,7 +33,7 @@
+@@ -29,7 +29,7 @@
#include "printing/mojom/print.mojom.h"
#include "url/gurl.h"
@@ -15,7 +15,7 @@ $NetBSD$
#include "base/feature_list.h"
#include "printing/backend/cups_connection.h"
#include "printing/backend/print_backend_cups_ipp.h"
-@@ -63,7 +63,7 @@ int CaptureCupsDestCallback(void* data,
+@@ -59,7 +59,7 @@ int CaptureCupsDestCallback(void* data,
return 1; // Keep going.
}
@@ -23,8 +23,8 @@ $NetBSD$
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
// This may be removed when Amazon Linux 2 reaches EOL (30 Jun 2025).
bool AreNewerCupsFunctionsAvailable() {
- return cupsFindDestDefault && cupsFindDestSupported && ippValidateAttributes;
-@@ -291,7 +291,7 @@ bool PrintBackendCUPS::IsValidPrinter(co
+ return cupsFindDestDefault && cupsFindDestSupported && cupsUserAgent &&
+@@ -292,7 +292,7 @@ bool PrintBackendCUPS::IsValidPrinter(co
#if !BUILDFLAG(IS_CHROMEOS)
scoped_refptr<PrintBackend> PrintBackend::CreateInstanceImpl(
const std::string& locale) {
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 eab66d5623..b17c6333d6 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,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/printing/printing_features.cc.orig 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/printing/printing_features.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/printing/printing_features.cc
@@ -21,7 +21,7 @@ BASE_FEATURE(kAddPrinterViaPrintscanmgr,
- base::FEATURE_DISABLED_BY_DEFAULT);
+ base::FEATURE_ENABLED_BY_DEFAULT);
#endif // BUILDFLAG(IS_CHROMEOS)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
@@ -15,3 +15,12 @@ $NetBSD$
// Use the CUPS IPP printing backend instead of the original CUPS backend that
// calls the deprecated PPD API.
BASE_FEATURE(kCupsIppPrintingBackend,
+@@ -69,7 +69,7 @@ BASE_FEATURE(kUseXpsForPrintingFromPdf,
+ // out-of-process.
+ BASE_FEATURE(kEnableOopPrintDrivers,
+ "EnableOopPrintDrivers",
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ base::FEATURE_ENABLED_BY_DEFAULT
+ #else
+ base::FEATURE_DISABLED_BY_DEFAULT
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_linux_services_init__process__reaper.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_linux_services_init__process__reaper.cc
index 46afdb8850..0605f36867 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_linux_services_init__process__reaper.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_linux_services_init__process__reaper.cc
@@ -4,17 +4,17 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/sandbox/linux/services/init_process_reaper.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/sandbox/linux/services/init_process_reaper.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/sandbox/linux/services/init_process_reaper.cc
-@@ -2,6 +2,7 @@
- // Use of this source code is governed by a BSD-style license that can be
- // found in the LICENSE file.
+@@ -7,6 +7,7 @@
+ #pragma allow_unsafe_libc_calls
+ #endif
+#if 0
#include "sandbox/linux/services/init_process_reaper.h"
#include <signal.h>
-@@ -100,3 +101,4 @@ bool CreateInitProcessReaper(base::OnceC
+@@ -105,3 +106,4 @@ bool CreateInitProcessReaper(base::OnceC
}
} // namespace sandbox.
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 fb8578f6af..82adbdbd8f 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,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/sandbox/policy/features.cc.orig 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/sandbox/policy/features.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/sandbox/policy/features.cc
@@ -20,9 +20,13 @@ namespace sandbox::policy::features {
// (Only causes an effect when feature kNetworkServiceInProcess is disabled.)
@@ -21,12 +21,12 @@ $NetBSD$
// Enables a fine-grained seccomp-BPF syscall filter for the network service.
// Only has an effect if IsNetworkSandboxEnabled() returns true.
// If the network service sandbox is enabled and |kNetworkServiceSyscallFilter|
-@@ -134,7 +138,7 @@ BASE_FEATURE(kSpectreVariant2Mitigation,
+@@ -135,7 +139,7 @@ BASE_FEATURE(kSpectreVariant2Mitigation,
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)
- // Enabling the kNetworkServiceSandbox feature automatically enables Spectre
- // variant 2 mitigations in the network service. This can lead to performance
- // regressions, so enabling this feature will turn off the Spectre Variant 2
+ // Increase the renderer sandbox memory limit. As of 2023, there are no limits
+ // on macOS, and a 1TiB limit on Windows. There are reports of users bumping
+ // into the limit. This increases the limit by 2x compared to the default
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 e09401d9d8..a5ebf4cc3e 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,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/sandbox/policy/features.h.orig 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/sandbox/policy/features.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/sandbox/policy/features.h
@@ -18,7 +18,7 @@ namespace sandbox::policy::features {
#if defined(TOOLKIT_QT) || (!BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_FUCHSIA))
@@ -21,6 +21,6 @@ $NetBSD$
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- SANDBOX_POLICY_EXPORT BASE_DECLARE_FEATURE(
- kForceDisableSpectreVariant2MitigationInNetworkService);
+ SANDBOX_POLICY_EXPORT BASE_DECLARE_FEATURE(kHigherRendererMemoryLimit);
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_mojom_sandbox.mojom b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_mojom_sandbox.mojom
index 1d73bc3501..4f93e4c123 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_mojom_sandbox.mojom
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_mojom_sandbox.mojom
@@ -4,21 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/sandbox/policy/mojom/sandbox.mojom.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/sandbox/policy/mojom/sandbox.mojom.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/sandbox/policy/mojom/sandbox.mojom
-@@ -81,6 +81,15 @@ enum Sandbox {
- [EnableIf=is_fuchsia]
- kVideoCapture,
+@@ -74,6 +74,12 @@ enum Sandbox {
+ // Minimally privileged sandbox on Fuchsia.
+ [EnableIf=is_fuchsia] kVideoCapture,
-+ [EnableIf=is_openbsd]
-+ kVideoCapture,
++ [EnableIf=is_openbsd] kVideoCapture,
+
-+ [EnableIf=is_netbsd]
-+ kVideoCapture,
++ [EnableIf=is_netbsd] kVideoCapture,
+
-+ [EnableIf=is_freebsd]
-+ kVideoCapture,
++ [EnableIf=is_freebsd] kVideoCapture,
+
// Allows access to file contents and Windows APIs for parsing icons from PE
// files.
- [EnableIf=is_win]
+ [EnableIf=is_win] kIconReader,
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 cbbc832f04..9d5aba669b 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,37 +4,51 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/sandbox/policy/sandbox_type.cc
-@@ -38,7 +38,7 @@ bool IsUnsandboxedSandboxType(Sandbox sa
+@@ -39,7 +39,7 @@ constexpr char kPpapiSandbox[] = "ppapi"
#endif
- case Sandbox::kAudio:
- return false;
+
+ #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ constexpr char kPrintBackendSandbox[] = "print_backend";
+ constexpr char kScreenAISandbox[] = "screen_ai";
+ #endif
+@@ -57,18 +57,18 @@ constexpr char kWindowsSystemProxyResolv
+ constexpr char kMirroringSandbox[] = "mirroring";
+ #endif // BUILDFLAG(IS_MAC)
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ constexpr char kVideoEffectsSandbox[] = "video_effects";
+ #endif
+
-#if BUILDFLAG(IS_FUCHSIA)
+#if BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- case Sandbox::kVideoCapture:
- return false;
- #endif
-@@ -62,7 +62,7 @@ bool IsUnsandboxedSandboxType(Sandbox sa
- #if BUILDFLAG(IS_MAC)
- case Sandbox::kMirroring:
+ constexpr char kVideoCaptureSandbox[] = "video_capture";
#endif
+
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
- case Sandbox::kHardwareVideoDecoding:
+ constexpr char kHardwareVideoDecodingSandbox[] = "hardware_video_decoding";
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
- #if BUILDFLAG(IS_CHROMEOS_ASH)
-@@ -73,7 +73,7 @@ bool IsUnsandboxedSandboxType(Sandbox sa
- case Sandbox::kLibassistant:
- #endif // BUILDFLAG(ENABLE_CROS_LIBASSISTANT)
- #endif // // BUILDFLAG(IS_CHROMEOS_ASH)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) | BUILDFLAG(IS_BSD)
- case Sandbox::kZygoteIntermediateSandbox:
- case Sandbox::kHardwareVideoEncoding:
- #endif
-@@ -131,7 +131,7 @@ void SetCommandLineFlagsForSandboxType(b
- #endif
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ constexpr char kHardwareVideoEncodingSandbox[] = "hardware_video_encoding";
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+
+@@ -81,7 +81,7 @@ constexpr char kLibassistantSandbox[] =
+ #endif // BUILDFLAG(ENABLE_CROS_LIBASSISTANT)
+ #endif // BUILDFLAG(IS_CHROMEOS_ASH)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ constexpr char kOnDeviceTranslationSandbox[] = "on_device_translation";
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
+
+@@ -143,7 +143,7 @@ void SetCommandLineFlagsForSandboxType(b
+ case Sandbox::kCdm:
case Sandbox::kPrintCompositor:
case Sandbox::kAudio:
-#if BUILDFLAG(IS_FUCHSIA)
@@ -42,7 +56,7 @@ $NetBSD$
case Sandbox::kVideoCapture:
#endif
#if BUILDFLAG(IS_WIN)
-@@ -142,10 +142,10 @@ void SetCommandLineFlagsForSandboxType(b
+@@ -154,10 +154,10 @@ void SetCommandLineFlagsForSandboxType(b
case Sandbox::kMediaFoundationCdm:
case Sandbox::kWindowsSystemProxyResolver:
#endif // BUILDFLAG(IS_WIN)
@@ -55,7 +69,26 @@ $NetBSD$
case Sandbox::kHardwareVideoEncoding:
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_CHROMEOS_ASH)
-@@ -171,7 +171,7 @@ void SetCommandLineFlagsForSandboxType(b
+@@ -172,15 +172,15 @@ void SetCommandLineFlagsForSandboxType(b
+ case Sandbox::kMirroring:
+ #endif // BUILDFLAG(IS_MAC)
+ #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ case Sandbox::kPrintBackend:
+ case Sandbox::kScreenAI:
+ #endif
+ case Sandbox::kSpeechRecognition:
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ case Sandbox::kVideoEffects:
+ #endif
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ case Sandbox::kOnDeviceTranslation:
+ #endif
+ DCHECK(command_line->GetSwitchValueASCII(switches::kProcessType) ==
+@@ -190,7 +190,7 @@ void SetCommandLineFlagsForSandboxType(b
switches::kServiceSandboxType,
StringFromUtilitySandboxType(sandbox_type));
break;
@@ -64,7 +97,7 @@ $NetBSD$
case Sandbox::kZygoteIntermediateSandbox:
break;
#endif
-@@ -211,7 +211,7 @@ sandbox::mojom::Sandbox SandboxTypeFromC
+@@ -230,7 +230,7 @@ sandbox::mojom::Sandbox SandboxTypeFromC
return Sandbox::kUtility;
}
@@ -73,30 +106,51 @@ $NetBSD$
// Intermediate process gains a sandbox later.
if (process_type == switches::kZygoteProcessType)
return Sandbox::kZygoteIntermediateSandbox;
-@@ -259,7 +259,7 @@ std::string StringFromUtilitySandboxType
- return switches::kUtilitySandbox;
+@@ -272,7 +272,7 @@ std::string StringFromUtilitySandboxType
+ return kUtilitySandbox;
case Sandbox::kAudio:
- return switches::kAudioSandbox;
+ return kAudioSandbox;
-#if BUILDFLAG(IS_FUCHSIA)
+#if BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
case Sandbox::kVideoCapture:
- return switches::kVideoCaptureSandbox;
+ return kVideoCaptureSandbox;
+ #endif
+@@ -283,17 +283,17 @@ std::string StringFromUtilitySandboxType
+ case Sandbox::kSpeechRecognition:
+ return kSpeechRecognitionSandbox;
+ #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ case Sandbox::kPrintBackend:
+ return kPrintBackendSandbox;
+ case Sandbox::kScreenAI:
+ return kScreenAISandbox;
+ #endif
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ case Sandbox::kVideoEffects:
+ return kVideoEffectsSandbox;
#endif
-@@ -291,11 +291,11 @@ std::string StringFromUtilitySandboxType
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ case Sandbox::kOnDeviceTranslation:
+ return kOnDeviceTranslationSandbox;
+ #endif
+@@ -313,11 +313,11 @@ std::string StringFromUtilitySandboxType
case Sandbox::kMirroring:
- return switches::kMirroringSandbox;
+ return kMirroringSandbox;
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
case Sandbox::kHardwareVideoDecoding:
- return switches::kHardwareVideoDecodingSandbox;
+ return kHardwareVideoDecodingSandbox;
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
case Sandbox::kHardwareVideoEncoding:
- return switches::kHardwareVideoEncodingSandbox;
+ return kHardwareVideoEncodingSandbox;
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-@@ -314,7 +314,7 @@ std::string StringFromUtilitySandboxType
+@@ -336,7 +336,7 @@ std::string StringFromUtilitySandboxType
// The following are not utility processes so should not occur.
case Sandbox::kRenderer:
case Sandbox::kGpu:
@@ -104,23 +158,46 @@ $NetBSD$
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
case Sandbox::kZygoteIntermediateSandbox:
#endif
- NOTREACHED_IN_MIGRATION();
-@@ -389,15 +389,15 @@ sandbox::mojom::Sandbox UtilitySandboxTy
- if (sandbox_string == switches::kVideoEffectsSandbox) {
+ NOTREACHED();
+@@ -414,7 +414,7 @@ sandbox::mojom::Sandbox UtilitySandboxTy
+ return Sandbox::kSpeechRecognition;
+ }
+ #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
+- BUILDFLAG(IS_WIN)
++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
+ if (sandbox_string == kPrintBackendSandbox) {
+ return Sandbox::kPrintBackend;
+ }
+@@ -422,27 +422,27 @@ sandbox::mojom::Sandbox UtilitySandboxTy
+ return Sandbox::kScreenAI;
+ }
+ #endif
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ if (sandbox_string == kVideoEffectsSandbox) {
return Sandbox::kVideoEffects;
}
+ #endif
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
+ if (sandbox_string == kOnDeviceTranslationSandbox) {
+ return Sandbox::kOnDeviceTranslation;
+ }
+ #endif
-#if BUILDFLAG(IS_FUCHSIA)
+#if BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- if (sandbox_string == switches::kVideoCaptureSandbox)
+ if (sandbox_string == kVideoCaptureSandbox) {
return Sandbox::kVideoCapture;
+ }
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
- if (sandbox_string == switches::kHardwareVideoDecodingSandbox)
+ if (sandbox_string == kHardwareVideoDecodingSandbox) {
return Sandbox::kHardwareVideoDecoding;
+ }
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- if (sandbox_string == switches::kHardwareVideoEncodingSandbox)
+ if (sandbox_string == kHardwareVideoEncodingSandbox) {
return Sandbox::kHardwareVideoEncoding;
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+ }
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_switches.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_switches.cc
index 4eaac8397b..a1e8ccf39b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_switches.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_switches.cc
@@ -4,22 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/sandbox/policy/switches.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/sandbox/policy/switches.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/sandbox/policy/switches.cc
-@@ -54,10 +54,10 @@ const char kWindowsSystemProxyResolverSa
- const char kMirroringSandbox[] = "mirroring";
- #endif // BUILDFLAG(IS_MAC)
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
- const char kHardwareVideoDecodingSandbox[] = "hardware_video_decoding";
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- const char kHardwareVideoEncodingSandbox[] = "hardware_video_encoding";
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-
-@@ -96,7 +96,9 @@ const char kGpuSandboxFailuresFatal[] =
+@@ -38,7 +38,9 @@ const char kGpuSandboxFailuresFatal[] =
// Meant to be used as a browser-level switch for testing purposes only.
const char kNoSandbox[] = "no-sandbox";
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_switches.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_switches.h
index 18498ab4f4..0a7a89303a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_switches.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_sandbox_policy_switches.h
@@ -4,22 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/sandbox/policy/switches.h.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/sandbox/policy/switches.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/sandbox/policy/switches.h
-@@ -57,10 +57,10 @@ SANDBOX_POLICY_EXPORT extern const char
- SANDBOX_POLICY_EXPORT extern const char kMirroringSandbox[];
- #endif // BUILDFLAG(IS_MAC)
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)
- SANDBOX_POLICY_EXPORT extern const char kHardwareVideoDecodingSandbox[];
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- SANDBOX_POLICY_EXPORT extern const char kHardwareVideoEncodingSandbox[];
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-
-@@ -81,7 +81,8 @@ SANDBOX_POLICY_EXPORT extern const char
+@@ -23,7 +23,8 @@ SANDBOX_POLICY_EXPORT extern const char
SANDBOX_POLICY_EXPORT extern const char kGpuSandboxAllowSysVShm[];
SANDBOX_POLICY_EXPORT extern const char kGpuSandboxFailuresFatal[];
SANDBOX_POLICY_EXPORT extern const char kNoSandbox[];
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_serial_BUILD.gn b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_serial_BUILD.gn
index c79de605eb..76a073d6cc 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_serial_BUILD.gn
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_serial_BUILD.gn
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/services/device/serial/BUILD.gn.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/services/device/serial/BUILD.gn.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/services/device/serial/BUILD.gn
-@@ -5,7 +5,7 @@
- import("//build/config/chromeos/ui_mode.gni")
+@@ -4,7 +4,7 @@
+
import("//build/config/features.gni")
-if (is_win || ((is_linux || is_chromeos) && use_udev) || is_mac) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_time__zone__monitor_time__zone__monitor__linux.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_time__zone__monitor_time__zone__monitor__linux.cc
index fe1fb09b5a..9a078906ed 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_time__zone__monitor_time__zone__monitor__linux.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_device_time__zone__monitor_time__zone__monitor__linux.cc
@@ -4,17 +4,19 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/services/device/time_zone_monitor/time_zone_monitor_linux.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/services/device/time_zone_monitor/time_zone_monitor_linux.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/services/device/time_zone_monitor/time_zone_monitor_linux.cc
-@@ -136,7 +136,11 @@ class TimeZoneMonitorLinuxImpl
+@@ -131,9 +131,13 @@ class TimeZoneMonitorLinuxImpl
// false positives are harmless, assuming the false positive rate is
// reasonable.
- const char* const kFilesToWatch[] = {
+ const auto kFilesToWatch = std::to_array<const char*>({
+#if BUILDFLAG(IS_BSD)
+ "@PKG_SYSCONFBASE@/localtime",
+#else
- "/etc/localtime", "/etc/timezone", "/etc/TZ",
+ "/etc/localtime",
+ "/etc/timezone",
+ "/etc/TZ",
+#endif
- };
+ });
for (size_t index = 0; index < std::size(kFilesToWatch); ++index) {
file_path_watchers_.push_back(std::make_unique<base::FilePathWatcher>());
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_network__service.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_network__service.cc
index 781dcc2fc2..a2e1431320 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_network__service.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_network_network__service.cc
@@ -4,18 +4,23 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/services/network/network_service.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/services/network/network_service.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/services/network/network_service.cc
-@@ -99,7 +99,7 @@
+@@ -98,11 +98,11 @@
#include "third_party/boringssl/src/include/openssl/cpu.h"
#endif
--#if (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)) || \
-+#if ((BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)) || BUILDFLAG(IS_BSD)) || \
- BUILDFLAG(IS_CHROMEOS_LACROS)
-
+-#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !BUILDFLAG(IS_CASTOS)
#include "components/os_crypt/sync/key_storage_config_linux.h"
-@@ -977,7 +977,7 @@ void NetworkService::SetExplicitlyAllowe
+ #endif
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "services/network/network_change_notifier_passive_factory.h"
+ #endif
+
+@@ -981,7 +981,7 @@ void NetworkService::SetExplicitlyAllowe
net::SetExplicitlyAllowedPorts(ports);
}
@@ -24,7 +29,7 @@ $NetBSD$
void NetworkService::SetGssapiLibraryLoadObserver(
mojo::PendingRemote<mojom::GssapiLibraryLoadObserver>
gssapi_library_load_observer) {
-@@ -1059,7 +1059,7 @@ NetworkService::CreateHttpAuthHandlerFac
+@@ -1063,7 +1063,7 @@ NetworkService::CreateHttpAuthHandlerFac
);
}
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 a5d66d5533..a04ca59c47 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,10 +4,10 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/services/on_device_model/on_device_model_service.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/services/on_device_model/on_device_model_service.h
-@@ -27,6 +27,10 @@ namespace ml {
- class OnDeviceModelInternalImpl;
+@@ -31,6 +31,10 @@ class OnDeviceModelInternalImpl;
+ class TsHolder;
}
+#if BUILDFLAG(IS_BSD)
@@ -17,7 +17,7 @@ $NetBSD$
namespace on_device_model {
class COMPONENT_EXPORT(ON_DEVICE_MODEL) OnDeviceModelService
-@@ -40,7 +44,7 @@ class COMPONENT_EXPORT(ON_DEVICE_MODEL)
+@@ -44,7 +48,7 @@ class COMPONENT_EXPORT(ON_DEVICE_MODEL)
// Must be called in the service's process after the run loop finished.
[[nodiscard]] static bool Shutdown();
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc
index 70f0e5d5f6..8bfe5a852f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/services/resource_coordinator/memory_instrumentation/queued_request_dispatcher.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/services/resource_coordinator/memory_instrumentation/queued_request_dispatcher.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/services/resource_coordinator/memory_instrumentation/queued_request_dispatcher.cc
@@ -54,7 +54,7 @@ uint32_t CalculatePrivateFootprintKb(con
uint32_t shared_resident_kb) {
@@ -23,8 +23,8 @@ $NetBSD$
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
os_dump->private_footprint_swap_kb =
internal_os_dump.platform_private_footprint->vm_swap_bytes / 1024;
- #endif
-@@ -219,7 +219,7 @@ void QueuedRequestDispatcher::SetUpAndDi
+ os_dump->mappings_count = internal_os_dump.mappings_count;
+@@ -220,7 +220,7 @@ void QueuedRequestDispatcher::SetUpAndDi
// On most platforms each process can dump data about their own process
// so ask each process to do so Linux is special see below.
@@ -33,7 +33,7 @@ $NetBSD$
request->pending_responses.insert({client_info.pid, ResponseType::kOSDump});
client->RequestOSMemoryDump(request->memory_map_option(),
{base::kNullProcessId},
-@@ -234,7 +234,7 @@ void QueuedRequestDispatcher::SetUpAndDi
+@@ -235,7 +235,7 @@ void QueuedRequestDispatcher::SetUpAndDi
// In some cases, OS stats can only be dumped from a privileged process to
// get around to sandboxing/selinux restrictions (see crbug.com/461788).
@@ -42,7 +42,7 @@ $NetBSD$
std::vector<base::ProcessId> pids;
mojom::ClientProcess* browser_client = nullptr;
base::ProcessId browser_client_pid = base::kNullProcessId;
-@@ -280,7 +280,7 @@ void QueuedRequestDispatcher::SetUpAndDi
+@@ -281,7 +281,7 @@ void QueuedRequestDispatcher::SetUpAndDi
const OsCallback& os_callback) {
// On Linux, OS stats can only be dumped from a privileged process to
// get around to sandboxing/selinux restrictions (see crbug.com/461788).
@@ -51,7 +51,7 @@ $NetBSD$
mojom::ClientProcess* browser_client = nullptr;
base::ProcessId browser_client_pid = 0;
for (const auto& client_info : clients) {
-@@ -330,7 +330,7 @@ QueuedRequestDispatcher::FinalizeVmRegio
+@@ -331,7 +331,7 @@ QueuedRequestDispatcher::FinalizeVmRegio
// each client process provides 1 OS dump, % the case where the client is
// disconnected mid dump.
OSMemDumpMap& extra_os_dumps = response.second.os_dumps;
@@ -60,7 +60,7 @@ $NetBSD$
for (auto& kv : extra_os_dumps) {
auto pid = kv.first == base::kNullProcessId ? original_pid : kv.first;
DCHECK(results.find(pid) == results.end());
-@@ -391,7 +391,7 @@ void QueuedRequestDispatcher::Finalize(Q
+@@ -392,7 +392,7 @@ void QueuedRequestDispatcher::Finalize(Q
// crash). In the latter case (OS_LINUX) we expect the full map to come
// from the browser process response.
OSMemDumpMap& extra_os_dumps = response.second.os_dumps;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h
index 9774ad0a1d..5611c5a9e6 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h
@@ -4,20 +4,20 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics.h.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics.h
-@@ -53,7 +53,7 @@ class COMPONENT_EXPORT(
- mojom::RawOSMemDump*);
- static std::vector<mojom::VmRegionPtr> GetProcessMemoryMaps(base::ProcessId);
+@@ -57,7 +57,7 @@ class COMPONENT_EXPORT(
+ static std::vector<mojom::VmRegionPtr> GetProcessMemoryMaps(
+ base::ProcessHandle);
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
static void SetProcSmapsForTesting(FILE*);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ||
// BUILDFLAG(IS_ANDROID)
-@@ -70,7 +70,7 @@ class COMPONENT_EXPORT(
- static std::vector<mojom::VmRegionPtr> GetProcessModules(base::ProcessId);
- #endif
+@@ -79,7 +79,7 @@ class COMPONENT_EXPORT(
+ GetMemoryInfo(base::ProcessHandle handle);
+ #endif // !BUILDFLAG(IS_APPLE)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_video__capture_video__capture__service__impl.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_video__capture_video__capture__service__impl.cc
deleted file mode 100644
index c0b268da98..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_video__capture_video__capture__service__impl.cc
+++ /dev/null
@@ -1,44 +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/services/video_capture/video_capture_service_impl.cc.orig 2024-11-21 04:36:37.000000000 +0000
-+++ src/3rdparty/chromium/services/video_capture/video_capture_service_impl.cc
-@@ -41,7 +41,7 @@
- #include "services/video_capture/lacros/device_factory_adapter_lacros.h"
- #endif // BUILDFLAG(IS_CHROMEOS_LACROS)
-
--#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 "media/capture/video/video_capture_gpu_channel_host.h"
- #include "services/viz/public/cpp/gpu/context_provider_command_buffer.h"
-@@ -109,7 +109,7 @@ class VideoCaptureServiceImpl::GpuDepend
- this};
- };
-
--#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)
- // Intended usage of this class is to create viz::Gpu in utility process and
- // connect to viz::GpuClient of browser process, which will call to Gpu service.
- // Also, this class holds the viz::ContextProvider to listen and monitor Gpu
-@@ -306,7 +306,7 @@ void VideoCaptureServiceImpl::LazyInitia
- if (!gpu_dependencies_context_)
- gpu_dependencies_context_ = std::make_unique<GpuDependenciesContext>();
-
--#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 BUILDFLAG(IS_CHROMEOS_ASH)
- {
- #else
-@@ -421,7 +421,7 @@ void VideoCaptureServiceImpl::OnGpuInfoU
- }
- #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)
- void VideoCaptureServiceImpl::SetVizGpu(std::unique_ptr<viz::Gpu> viz_gpu) {
- viz_gpu_ = std::move(viz_gpu);
- }
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_video__capture_video__capture__service__impl.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_video__capture_video__capture__service__impl.h
deleted file mode 100644
index 73b9039dcb..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_video__capture_video__capture__service__impl.h
+++ /dev/null
@@ -1,35 +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/services/video_capture/video_capture_service_impl.h.orig 2024-11-21 04:36:37.000000000 +0000
-+++ src/3rdparty/chromium/services/video_capture/video_capture_service_impl.h
-@@ -26,7 +26,7 @@
- #include "services/video_capture/ash/video_capture_device_factory_ash.h"
- #endif // BUILDFLAG(IS_CHROMEOS_ASH)
-
--#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 "services/viz/public/cpp/gpu/gpu.h"
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ||
- // BUILDFLAG(IS_CHROMEOS_ASH)
-@@ -70,7 +70,7 @@ class VideoCaptureServiceImpl : public m
- #if BUILDFLAG(IS_WIN)
- void OnGpuInfoUpdate(const CHROME_LUID& luid) override;
- #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)
- void SetVizGpu(std::unique_ptr<viz::Gpu> viz_gpu);
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ||
- // BUILDFLAG(IS_CHROMEOS_ASH)
-@@ -107,7 +107,7 @@ class VideoCaptureServiceImpl : public m
- factory_receivers_ash_;
- #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)
- class VizGpuContextProvider;
- std::unique_ptr<VizGpuContextProvider> viz_gpu_context_provider_;
- std::unique_ptr<viz::Gpu> viz_gpu_;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_video__effects_video__effects__sandbox__hook__linux.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_video__effects_video__effects__sandbox__hook__linux.cc
new file mode 100644
index 0000000000..dacee023fa
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_video__effects_video__effects__sandbox__hook__linux.cc
@@ -0,0 +1,33 @@
+$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/video_effects/video_effects_sandbox_hook_linux.cc.orig 2025-11-14 07:55:10.000000000 +0000
++++ src/3rdparty/chromium/services/video_effects/video_effects_sandbox_hook_linux.cc
+@@ -6,7 +6,13 @@
+
+ #include <dlfcn.h>
+
++#include "build/build_config.h"
++
++#if BUILDFLAG(IS_BSD)
++#include "sandbox/policy/sandbox.h"
++#else
+ #include "sandbox/policy/linux/sandbox_linux.h"
++#endif
+ #include "services/on_device_model/ml/chrome_ml_holder.h"
+
+ namespace video_effects {
+@@ -29,8 +35,10 @@ bool VideoEffectsPreSandboxHook(
+ DVLOG(1) << "Successfully opened Chrome ML shared library.";
+ }
+
++#if !BUILDFLAG(IS_BSD)
+ auto* instance = sandbox::policy::SandboxLinux::GetInstance();
+ instance->EngageNamespaceSandboxIfPossible();
++#endif
+ return true;
+ }
+
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_video__effects_video__effects__sandbox__hook__linux.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_video__effects_video__effects__sandbox__hook__linux.h
new file mode 100644
index 0000000000..f4292a4f5e
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_services_video__effects_video__effects__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/video_effects/video_effects_sandbox_hook_linux.h.orig 2025-11-14 07:55:10.000000000 +0000
++++ src/3rdparty/chromium/services/video_effects/video_effects_sandbox_hook_linux.h
+@@ -5,7 +5,13 @@
+ #ifndef SERVICES_VIDEO_EFFECTS_VIDEO_EFFECTS_SANDBOX_HOOK_LINUX_H_
+ #define SERVICES_VIDEO_EFFECTS_VIDEO_EFFECTS_SANDBOX_HOOK_LINUX_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 video_effects {
+
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_skia_ext_platform__canvas.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_skia_ext_platform__canvas.h
deleted file mode 100644
index 0fa35621a5..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_skia_ext_platform__canvas.h
+++ /dev/null
@@ -1,17 +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/skia/ext/platform_canvas.h.orig 2024-12-17 17:58:49.000000000 +0000
-+++ src/3rdparty/chromium/skia/ext/platform_canvas.h
-@@ -58,7 +58,7 @@ SK_API HDC GetNativeDrawingContext(SkCan
-
- #elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || \
- defined(__sun) || defined(ANDROID) || defined(__APPLE__) || \
-- defined(__Fuchsia__)
-+ defined(__Fuchsia__) || defined(__NetBSD__)
- // Construct a canvas from the given memory region. The memory is not cleared
- // first. @data must be, at least, @height * StrideForWidth(@width) bytes.
- SK_API std::unique_ptr<SkCanvas> CreatePlatformCanvasWithPixels(
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.h
index 39d2728015..d5dc4f00b6 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.h
@@ -4,15 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h
-@@ -35,7 +35,8 @@
+@@ -35,7 +35,7 @@
#if defined(__ELF__) && !defined(__OpenBSD__) && !defined(__QNX__) && \
!defined(__native_client__) && !defined(__asmjs__) && \
!defined(__wasm__) && !defined(__HAIKU__) && !defined(__sun) && \
-- !defined(__VXWORKS__) && !defined(__hexagon__)
-+ !defined(__VXWORKS__) && !defined(__hexagon__) && !defined(__FreeBSD__) && \
-+ !defined(__NetBSD__)
+- !defined(__VXWORKS__) && !defined(__hexagon__) && !defined(__XTENSA__)
++ !defined(__VXWORKS__) && !defined(__hexagon__) && !defined(__XTENSA__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
#define ABSL_HAVE_ELF_MEM_IMAGE 1
#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_common_system__utils__linux.cpp b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_common_system__utils__linux.cpp
index 562db45506..66ef7bf31e 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_common_system__utils__linux.cpp
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_common_system__utils__linux.cpp
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/angle/src/common/system_utils_linux.cpp.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/third_party/angle/src/common/system_utils_linux.cpp.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/angle/src/common/system_utils_linux.cpp
-@@ -15,8 +15,15 @@
+@@ -17,8 +17,15 @@
#include <array>
@@ -22,7 +22,7 @@ $NetBSD$
std::string GetExecutablePath()
{
// We cannot use lstat to get the size of /proc/self/exe as it always returns 0
-@@ -32,6 +39,7 @@ std::string GetExecutablePath()
+@@ -34,6 +41,7 @@ std::string GetExecutablePath()
path[result] = '\0';
return path;
}
@@ -30,10 +30,10 @@ $NetBSD$
std::string GetExecutableDirectory()
{
-@@ -56,6 +64,12 @@ void SetCurrentThreadName(const char *na
- {
+@@ -59,6 +67,12 @@ void SetCurrentThreadName(const char *na
// There's a 15-character (16 including '\0') limit. If the name is too big (and ERANGE is
- // returned), just ignore the name.
+ // returned), name will be ignored.
+ ASSERT(strlen(name) < 16);
+#if ANGLE_PLATFORM_OPENBSD
+ pthread_set_name_np(pthread_self(), name);
+#elif ANGLE_PLATFORM_NETBSD
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_compiler_translator_SymbolTable__ESSL__autogen.cpp b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_compiler_translator_SymbolTable__ESSL__autogen.cpp
deleted file mode 100644
index 869e70fbeb..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_compiler_translator_SymbolTable__ESSL__autogen.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD$
-
-otherwise isnan and isinf are macros on NetBSD that are applied and
-mess this up
-
---- src/3rdparty/chromium/third_party/angle/src/compiler/translator/SymbolTable_ESSL_autogen.cpp.orig 2025-01-19 05:40:08.771794310 +0000
-+++ src/3rdparty/chromium/third_party/angle/src/compiler/translator/SymbolTable_ESSL_autogen.cpp
-@@ -9,6 +9,7 @@
- // SymbolTable_ESSL_autogen.cpp:
- // Compile-time initialized built-ins.
-
-+#include <cmath>
- #include "compiler/translator/SymbolTable.h"
-
- #include "angle_gl.h"
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 5ecae4af2f..d2fac5659e 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,19 +4,19 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/angle/src/libANGLE/Display.cpp
-@@ -60,7 +60,7 @@
+@@ -58,7 +58,7 @@
+ # include "libANGLE/renderer/gl/wgl/DisplayWGL.h"
+ # elif ANGLE_ENABLE_CGL
# include "libANGLE/renderer/gl/cgl/DisplayCGL.h"
- # elif ANGLE_ENABLE_EAGL
- # include "libANGLE/renderer/gl/eagl/DisplayEAGL.h"
-# elif defined(ANGLE_PLATFORM_LINUX)
+# 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_api.h"
-@@ -416,7 +416,7 @@ rx::DisplayImpl *CreateDisplayFromAttrib
- impl = new rx::DisplayEAGL(state);
+@@ -422,7 +422,7 @@ rx::DisplayImpl *CreateDisplayFromAttrib
+ impl = new rx::DisplayCGL(state);
break;
-# elif defined(ANGLE_PLATFORM_LINUX)
@@ -24,7 +24,7 @@ $NetBSD$
# if defined(ANGLE_USE_GBM)
if (platformType == 0)
{
-@@ -462,7 +462,7 @@ rx::DisplayImpl *CreateDisplayFromAttrib
+@@ -468,7 +468,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)
{
-@@ -513,7 +513,7 @@ rx::DisplayImpl *CreateDisplayFromAttrib
+@@ -519,7 +519,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())
{
-@@ -2112,7 +2112,7 @@ static ClientExtensions GenerateClientEx
+@@ -2139,7 +2139,7 @@ static ClientExtensions GenerateClientEx
extensions.platformWaylandEXT = true;
#endif
@@ -51,7 +51,7 @@ $NetBSD$
extensions.platformSurfacelessMESA = true;
#endif
-@@ -2158,7 +2158,7 @@ static ClientExtensions GenerateClientEx
+@@ -2186,7 +2186,7 @@ static ClientExtensions GenerateClientEx
extensions.x11Visual = true;
#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_formatutils.cpp b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_formatutils.cpp
deleted file mode 100644
index 09d182a7e6..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_formatutils.cpp
+++ /dev/null
@@ -1,17 +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/angle/src/libANGLE/formatutils.cpp.orig 2024-12-17 17:58:49.000000000 +0000
-+++ src/3rdparty/chromium/third_party/angle/src/libANGLE/formatutils.cpp
-@@ -1475,7 +1475,7 @@ static InternalFormatInfoMap BuildIntern
- AddYUVFormat(&map, GL_G8_B8R8_2PLANE_420_UNORM_ANGLE, true, 8, 8, 8, 0, 0, GL_G8_B8R8_2PLANE_420_UNORM_ANGLE, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::yuvInternalFormatANGLE>, RequireExt<&Extensions::yuvInternalFormatANGLE>, RequireExt<&Extensions::yuvInternalFormatANGLE>, NeverSupported, NeverSupported);
- AddYUVFormat(&map, GL_G8_B8_R8_3PLANE_420_UNORM_ANGLE, true, 8, 8, 8, 0, 0, GL_G8_B8_R8_3PLANE_420_UNORM_ANGLE, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::yuvInternalFormatANGLE>, RequireExt<&Extensions::yuvInternalFormatANGLE>, RequireExt<&Extensions::yuvInternalFormatANGLE>, NeverSupported, NeverSupported);
-
--#if defined(ANGLE_PLATFORM_LINUX)
-+#if defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_BSD)
- // From GL_OES_required_internalformat
- // The |shared| bit shouldn't be 2. But given this hits assertion when bits
- // are checked, it's fine to have this bit set as 2 as a workaround.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_public_platform_web__vector.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_public_platform_web__vector.h
deleted file mode 100644
index 8a663e4c52..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_public_platform_web__vector.h
+++ /dev/null
@@ -1,17 +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/blink/public/platform/web_vector.h.orig 2024-12-17 17:58:49.000000000 +0000
-+++ src/3rdparty/chromium/third_party/blink/public/platform/web_vector.h
-@@ -86,7 +86,7 @@ class WebVector {
- // The vector can be populated using reserve() and emplace_back().
- WebVector() = default;
-
--#if defined(ARCH_CPU_64_BITS)
-+#if defined(ARCH_CPU_64_BITS) || defined(__OpenBSD__)
- // Create a vector with |size| default-constructed elements. We define
- // a constructor with size_t otherwise we'd have a duplicate define.
- explicit WebVector(size_t size) : data_(size) {}
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 5ccaf7657e..a1c6ced95c 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
@@ -2,23 +2,23 @@ $NetBSD$
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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/core/css/properties/css_color_function_parser.cc
-@@ -394,7 +394,7 @@ void ColorFunctionParser::MakePerColorSp
- if (channel_types_[i] == ChannelType::kNone) {
+@@ -399,7 +399,7 @@ void ColorFunctionParser::MakePerColorSp
+ if (channels[i].has_value() && 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;
+ }
+
+@@ -414,7 +414,7 @@ void ColorFunctionParser::MakePerColorSp
+ if (!channels[i].has_value()) {
continue;
}
-- if (!isfinite(channels_[i].value())) {
-+ if (!std::isfinite(channels_[i].value())) {
- channels_[i].value() = channels_[i].value() > 0 ? 255.0 : 0;
- } else if (!IsRelativeColor()) {
+- 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) {
// 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_exported_web__view__impl.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_exported_web__view__impl.cc
index 63fd5c985f..6dabf9a2e4 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_exported_web__view__impl.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_exported_web__view__impl.cc
@@ -4,23 +4,23 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/blink/renderer/core/exported/web_view_impl.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/third_party/blink/renderer/core/exported/web_view_impl.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/core/exported/web_view_impl.cc
-@@ -428,7 +428,7 @@ SkFontHinting RendererPreferencesToSkiaH
+@@ -429,7 +429,7 @@ void RecordPrerenderActivationSignalDela
+ #if !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_WIN)
+ SkFontHinting RendererPreferencesToSkiaHinting(
const blink::RendererPreferences& prefs) {
- // TODO(crbug.com/1052397): Revisit 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
if (!prefs.should_antialias_text) {
// When anti-aliasing is off, GTK maps all non-zero hinting settings to
// 'Normal' hinting so we do the same. Otherwise, folks who have 'Slight'
-@@ -3415,7 +3415,7 @@ void WebViewImpl::UpdateFontRenderingFro
+@@ -3430,7 +3430,7 @@ void WebViewImpl::UpdateFontRenderingFro
+ gfx::FontRenderParams::SUBPIXEL_RENDERING_NONE);
+ WebFontRenderStyle::SetSubpixelPositioning(
renderer_preferences_.use_subpixel_positioning);
- // TODO(crbug.com/1052397): Revisit 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)) && \
- !BUILDFLAG(IS_ANDROID)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
if (!renderer_preferences_.system_font_family_name.empty()) {
WebFontRenderStyle::SetSystemFontFamily(blink::WebString::FromUTF8(
+ renderer_preferences_.system_font_family_name));
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_inspector_inspector__memory__agent.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_inspector_inspector__memory__agent.cc
index b7c8d8b1d4..088525f6b2 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_inspector_inspector__memory__agent.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_core_inspector_inspector__memory__agent.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/core/inspector/inspector_memory_agent.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/third_party/blink/renderer/core/inspector/inspector_memory_agent.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/core/inspector/inspector_memory_agent.cc
@@ -192,7 +192,7 @@ InspectorMemoryAgent::GetSamplingProfile
Vector<String> InspectorMemoryAgent::Symbolize(
- const WebVector<const void*>& addresses) {
+ const std::vector<const void*>& addresses) {
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// TODO(alph): Move symbolization to the client.
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 c119d9541e..c7d3ddc04e 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,23 +4,23 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/third_party/blink/renderer/core/scroll/scrollbar_theme_aura.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/core/scroll/scrollbar_theme_aura.cc
-@@ -148,7 +148,7 @@ bool ScrollbarThemeAura::SupportsDragSna
+@@ -147,7 +147,7 @@ bool ScrollbarThemeAura::SupportsDragSna
+ // Disable snapback on desktop Linux to better integrate with the desktop
+ // behavior. Typically, Linux apps do not implement scrollbar snapback (this
// is true for at least GTK and QT apps).
- // TODO(crbug.com/1052397): Revisit 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return false;
#else
return true;
-@@ -418,7 +418,7 @@ bool ScrollbarThemeAura::ShouldCenterOnT
+@@ -424,7 +424,7 @@ ScrollbarPart ScrollbarThemeAura::PartsT
+
+ bool ScrollbarThemeAura::ShouldCenterOnThumb(const Scrollbar& scrollbar,
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)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
if (event.button == WebPointerProperties::Button::kMiddle)
return true;
#endif
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_media_audio_audio__device__factory.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_media_audio_audio__device__factory.cc
index f054ae92a9..b37fc00241 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_media_audio_audio__device__factory.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_media_audio_audio__device__factory.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/blink/renderer/modules/media/audio/audio_device_factory.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/third_party/blink/renderer/modules/media/audio/audio_device_factory.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/modules/media/audio/audio_device_factory.cc
-@@ -35,7 +35,7 @@ namespace {
+@@ -34,7 +34,7 @@ namespace {
+ // Set when the default factory is overridden.
AudioDeviceFactory* g_factory_override = nullptr;
- #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
-- BUILDFLAG(IS_CHROMEOS_LACROS)
-+ BUILDFLAG(IS_CHROMEOS_LACROS) || 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)
// Due to driver deadlock issues on Windows (http://crbug/422522) there is a
// chance device authorization response is never received from the browser side.
// In this case we will time out, to avoid renderer hang forever waiting for
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__platform__data.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__platform__data.cc
deleted file mode 100644
index 474b44d976..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__platform__data.cc
+++ /dev/null
@@ -1,26 +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/blink/renderer/platform/fonts/font_platform_data.cc.orig 2024-12-17 17:58:49.000000000 +0000
-+++ src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_platform_data.cc
-@@ -54,7 +54,7 @@
- namespace blink {
- namespace {
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // Getting the system font render style takes a significant amount of time on
- // Linux because looking up fonts using fontconfig can be very slow. We fetch
- // the render style for each font family and text size, while it's very
-@@ -133,7 +133,7 @@ FontPlatformData::FontPlatformData(sk_sp
- style_ = WebFontRenderStyle::GetDefault();
- #if !BUILDFLAG(IS_WIN)
- WebFontRenderStyle system_style;
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- bool override_font_name_and_size =
- base::FeatureList::IsEnabled(kOptimizeLinuxFonts);
- #else
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc
index 6c07afd21d..d01068e909 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/skia/font_cache_skia.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/skia/font_cache_skia.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/skia/font_cache_skia.cc
@@ -65,7 +65,7 @@ AtomicString ToAtomicString(const SkStri
- return AtomicString::FromUTF8(str.c_str(), str.size());
+ return AtomicString::FromUTF8(std::string_view(str.begin(), str.end()));
}
-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_gpu_image__layer__bridge.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_gpu_image__layer__bridge.cc
index 58ea16bb20..48fd6faddd 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_gpu_image__layer__bridge.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_gpu_image__layer__bridge.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/gpu/image_layer_bridge.cc.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/gpu/image_layer_bridge.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/gpu/image_layer_bridge.cc
-@@ -49,7 +49,7 @@ scoped_refptr<StaticBitmapImage> MakeAcc
+@@ -48,7 +48,7 @@ scoped_refptr<StaticBitmapImage> MakeAcc
+
const auto paint_image = source->PaintImageForCurrentFrame();
- const auto image_info = paint_image.GetSkImageInfo().makeWH(
- source->Size().width(), source->Size().height());
+ const auto image_info = paint_image.GetSkImageInfo();
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// TODO(b/330865436): On Linux, CanvasResourceProvider doesn't always check
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_peerconnection_rtc__video__encoder__factory.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_peerconnection_rtc__video__encoder__factory.cc
index 32bf9ff1e3..abb94cd283 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_peerconnection_rtc__video__encoder__factory.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_peerconnection_rtc__video__encoder__factory.cc
@@ -4,20 +4,20 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/blink/renderer/platform/peerconnection/rtc_video_encoder_factory.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/third_party/blink/renderer/platform/peerconnection/rtc_video_encoder_factory.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/platform/peerconnection/rtc_video_encoder_factory.cc
-@@ -260,12 +260,12 @@ SupportedFormats GetSupportedFormatsInte
- supported_formats.scalability_modes.push_back(profile.scalability_modes);
+@@ -334,12 +334,12 @@ SupportedFormats GetSupportedFormatsInte
+ supported_formats.profiles.push_back(profile.profile);
supported_formats.sdp_formats.push_back(std::move(*format));
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#if BUILDFLAG(IS_WIN)
const bool kShouldAddH264Cbp =
base::FeatureList::IsEnabled(kMediaFoundationH264CbpEncoding) &&
profile.profile == media::VideoCodecProfile::H264PROFILE_BASELINE;
--#elif BUILDFLAG(IS_LINUX)
-+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
const bool kShouldAddH264Cbp =
profile.profile == media::VideoCodecProfile::H264PROFILE_BASELINE;
#endif
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 f359f6ba5f..fd51d54ddb 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,9 +4,9 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/third_party/blink/renderer/platform/runtime_enabled_features.json5.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/blink/renderer/platform/runtime_enabled_features.json5
-@@ -384,7 +384,7 @@
+@@ -427,7 +427,7 @@
name: "AppTitle",
status: "experimental",
origin_trial_feature_name: "AppTitle",
@@ -15,34 +15,34 @@ $NetBSD$
base_feature: "WebAppEnableAppTitle",
},
{
-@@ -1805,7 +1805,7 @@
- base_feature: "none",
- public: true,
- origin_trial_feature_name: "FedCmMultipleIdentityProviders",
+@@ -1599,7 +1599,7 @@
+ name: "DocumentIsolationPolicy",
+ status: "experimental",
+ origin_trial_feature_name: "DocumentIsolationPolicy",
- origin_trial_os: ["win", "mac", "linux", "chromeos"],
+ origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd", "netbsd"],
- origin_trial_allows_third_party: true,
+ base_feature: "none",
},
{
-@@ -1934,7 +1934,7 @@
- depends_on: ["FileSystemAccess"],
- status: "experimental",
- origin_trial_feature_name: "FileSystemObserver",
+@@ -1892,7 +1892,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,
},
{
- // The unobserve function of the FileSystemObserver.
-@@ -3156,7 +3156,7 @@
+@@ -3279,7 +3279,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"],
+- origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos", "android"],
++ origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos", "android", "openbsd", "freebsd", "netbsd"],
status: "experimental",
public: true,
base_feature_status: "enabled",
-@@ -3302,7 +3302,7 @@
+@@ -3416,7 +3416,7 @@
{
name: "PrivateNetworkAccessPermissionPrompt",
origin_trial_feature_name: "PrivateNetworkAccessPermissionPrompt",
@@ -51,7 +51,7 @@ $NetBSD$
status: "stable",
public: true,
base_feature: "none",
-@@ -4313,7 +4313,7 @@
+@@ -4478,7 +4478,7 @@
name: "UnrestrictedSharedArrayBuffer",
base_feature: "none",
origin_trial_feature_name: "UnrestrictedSharedArrayBuffer",
@@ -60,7 +60,7 @@ $NetBSD$
},
// Enables using policy-controlled feature "usb-unrestricted" to allow
// isolated context to access protected USB interface classes and to
-@@ -4460,7 +4460,7 @@
+@@ -4665,7 +4665,7 @@
{
name: "WebAppScopeExtensions",
origin_trial_feature_name: "WebAppScopeExtensions",
@@ -69,12 +69,12 @@ $NetBSD$
status: "experimental",
base_feature: "none",
},
-@@ -4503,7 +4503,7 @@
- status: "experimental",
- base_feature: "none",
- origin_trial_feature_name: "WebAppUrlHandling",
-- origin_trial_os: ["win", "mac", "linux"],
-+ origin_trial_os: ["win", "mac", "linux", "openbsd", "freebsd", "netbsd"],
- },
+@@ -4934,7 +4934,7 @@
{
- // WebAssembly JS Promise Integration,
+ name: "WebIdentityDigitalCredentials",
+ origin_trial_feature_name: "WebIdentityDigitalCredentials",
+- origin_trial_os: ["android", "win", "mac", "linux", "chromeos"],
++ origin_trial_os: ["android", "win", "mac", "linux", "chromeos", "openbsd", "freebsd", "netbsd"],
+ origin_trial_allows_third_party: true,
+ implied_by: ["WebIdentityDigitalCredentialsCreation"],
+ public: true,
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_build__config.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_build__config.h
index dc52376166..46758d0116 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_build__config.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_build__config.h
@@ -4,25 +4,25 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/perfetto/include/perfetto/base/build_config.h.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/third_party/perfetto/include/perfetto/base/build_config.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/perfetto/include/perfetto/base/build_config.h
@@ -27,6 +27,7 @@
#if defined(__ANDROID__)
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 1
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 0
+#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_BSD() 0
+ #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX_BUT_NOT_QNX() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WIN() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE() 0
- #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_MAC() 0
-@@ -38,6 +39,7 @@
+@@ -40,6 +41,7 @@
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE() 1
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 0
+#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_BSD() 0
+ #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX_BUT_NOT_QNX() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WIN() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WASM() 0
- #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FUCHSIA() 0
-@@ -51,9 +53,10 @@
+@@ -55,9 +57,10 @@
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_MAC() 1
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_IOS() 0
#endif
@@ -31,42 +31,46 @@ $NetBSD$
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 1
+#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_BSD() 1
+ #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX_BUT_NOT_QNX() 1
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WIN() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE() 0
- #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_MAC() 0
-@@ -64,6 +67,8 @@
+@@ -70,6 +73,7 @@
+ #elif defined(__QNXNTO__)
+ #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0
+ #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 1
++#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_BSD() 0
+ #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX_BUT_NOT_QNX() 0
+ #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WIN() 0
+ #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE() 0
+@@ -82,6 +86,7 @@
#elif defined(_WIN32)
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 0
+#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_BSD() 0
-+#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FREEBSD() 0
+ #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX_BUT_NOT_QNX() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WIN() 1
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE() 0
- #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_MAC() 0
-@@ -74,6 +79,8 @@
+@@ -94,6 +99,7 @@
#elif defined(__EMSCRIPTEN__)
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 0
+#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_BSD() 0
-+#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FREEBSD() 0
+ #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX_BUT_NOT_QNX() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WIN() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE() 0
- #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_MAC() 0
-@@ -87,6 +94,8 @@
+@@ -109,6 +115,7 @@
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_MAC() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_IOS() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 0
+#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_BSD() 0
-+#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FREEBSD() 0
+ #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX_BUT_NOT_QNX() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WIN() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WASM() 0
- #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FUCHSIA() 1
-@@ -94,6 +103,8 @@
+@@ -118,6 +125,7 @@
#elif defined(__native_client__)
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 0
+#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_BSD() 0
-+#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FREEBSD() 0
+ #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX_BUT_NOT_QNX() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WIN() 0
#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE() 0
- #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_MAC() 0
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_clock__snapshots.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_clock__snapshots.cc
new file mode 100644
index 0000000000..3eb1c1af0a
--- /dev/null
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_clock__snapshots.cc
@@ -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/third_party/perfetto/src/base/clock_snapshots.cc.orig 2025-11-14 07:55:10.000000000 +0000
++++ src/3rdparty/chromium/third_party/perfetto/src/base/clock_snapshots.cc
+@@ -27,6 +27,7 @@ ClockSnapshotVector CaptureClockSnapshot
+ #if !PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) && \
+ !PERFETTO_BUILDFLAG(PERFETTO_OS_WIN) && \
+ !PERFETTO_BUILDFLAG(PERFETTO_OS_NACL) && \
++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD) && \
+ !PERFETTO_BUILDFLAG(PERFETTO_OS_QNX)
+ struct {
+ clockid_t id;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_event__fd.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_event__fd.cc
index 823108b801..b0679fbe0a 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_event__fd.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_event__fd.cc
@@ -4,24 +4,24 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/perfetto/src/base/event_fd.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/third_party/perfetto/src/base/event_fd.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/perfetto/src/base/event_fd.cc
-@@ -22,7 +22,8 @@
- #if PERFETTO_BUILDFLAG(PERFETTO_OS_WIN)
- #include <Windows.h>
+@@ -24,7 +24,8 @@
#include <synchapi.h>
+ #elif PERFETTO_BUILDFLAG(PERFETTO_OS_QNX)
+ #include <unistd.h>
-#elif PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
+#elif (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && \
+ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \
PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
#include <sys/eventfd.h>
#include <unistd.h>
-@@ -57,7 +58,8 @@ void EventFd::Clear() {
+@@ -59,7 +60,8 @@ void EventFd::Clear() {
PERFETTO_DFATAL("EventFd::Clear()");
}
--#elif PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
-+#elif (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && \
+-#elif PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \
++#elif (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && \
+ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \
PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_periodic__task.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_periodic__task.cc
index 0ec28dc329..3f35b82f0f 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_periodic__task.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_periodic__task.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/perfetto/src/base/periodic_task.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/third_party/perfetto/src/base/periodic_task.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/perfetto/src/base/periodic_task.cc
@@ -24,7 +24,7 @@
#include "perfetto/base/time.h"
#include "perfetto/ext/base/file_utils.h"
--#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
-+#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \
+-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \
++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \
(PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) && __ANDROID_API__ >= 19)
#include <sys/timerfd.h>
#endif
@@ -19,8 +19,8 @@ $NetBSD$
}
ScopedPlatformHandle CreateTimerFd(const PeriodicTask::Args& args) {
--#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
-+#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \
+-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \
++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \
(PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) && __ANDROID_API__ >= 19)
ScopedPlatformHandle tfd(
timerfd_create(CLOCK_BOOTTIME, TFD_CLOEXEC | TFD_NONBLOCK));
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_string__utils.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_string__utils.cc
index 5d18738bd1..3dd82b8c40 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_string__utils.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_string__utils.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/perfetto/src/base/string_utils.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/third_party/perfetto/src/base/string_utils.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/perfetto/src/base/string_utils.cc
@@ -38,9 +38,10 @@ namespace base {
@@ -12,7 +12,7 @@ $NetBSD$
double StrToD(const char* nptr, char** endptr) {
-#if PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \
+#if (PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \
- PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
+ PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \
- PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE)
+ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE)) && \
+ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_subprocess__posix.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_subprocess__posix.cc
index a334d87c19..9f6526136b 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_subprocess__posix.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_subprocess__posix.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/perfetto/src/base/subprocess_posix.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/third_party/perfetto/src/base/subprocess_posix.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/perfetto/src/base/subprocess_posix.cc
@@ -35,7 +35,8 @@
#include <thread>
#include <tuple>
--#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
-+#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && \
+-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \
++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && \
+ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \
PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
#include <sys/prctl.h>
@@ -20,8 +20,8 @@ $NetBSD$
// Don't add any dynamic allocation in this function. This will be invoked
// under a fork(), potentially in a state where the allocator lock is held.
void __attribute__((noreturn)) ChildProcess(ChildProcessArgs* args) {
--#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
-+#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && \
+-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \
++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && \
+ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \
PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
// In no case we want a child process to outlive its parent process. This is
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_thread__task__runner.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_thread__task__runner.cc
index 560a301941..49fba4a015 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_thread__task__runner.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_thread__task__runner.cc
@@ -4,15 +4,15 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/perfetto/src/base/thread_task_runner.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/third_party/perfetto/src/base/thread_task_runner.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/perfetto/src/base/thread_task_runner.cc
@@ -27,8 +27,9 @@
#include "perfetto/ext/base/thread_utils.h"
#include "perfetto/ext/base/unix_task_runner.h"
--#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
+-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \
- PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
-+#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \
+ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)) && \
+ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)
#include <sys/prctl.h>
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_unix__socket.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_unix__socket.cc
index 624a4666cb..5b1dd09aeb 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_unix__socket.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_base_unix__socket.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/perfetto/src/base/unix_socket.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/third_party/perfetto/src/base/unix_socket.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/perfetto/src/base/unix_socket.cc
-@@ -44,7 +44,7 @@
+@@ -45,7 +45,7 @@
#include <unistd.h>
#endif
@@ -15,12 +15,12 @@ $NetBSD$
#include <sys/ucred.h>
#endif
-@@ -917,15 +917,27 @@ void UnixSocket::ReadPeerCredentialsPosi
- return;
- PERFETTO_CHECK(peer_cred_mode_ != SockPeerCredMode::kIgnore);
-
--#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
-+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
+@@ -976,15 +976,27 @@ void UnixSocket::ReadPeerCredentialsPosi
+ int res = getpeereid(fd, &peer_uid_, nullptr);
+ PERFETTO_CHECK(res == 0);
+ // There is no pid when obtaining peer credentials for QNX
+-#elif PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
++#elif !defined(__FreeBSD__) && !defined(__NetBSD__) && PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
+#if PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)
+ struct sockpeercred user_cred;
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 a8b3d804f8..f82d9d28a1 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/third_party/perfetto/src/base/utils.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/perfetto/src/base/utils.cc
-@@ -38,7 +39,8 @@
+@@ -38,7 +38,8 @@
#include <mach/vm_page_size.h>
#endif
--#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
-+#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && \
+-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \
++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && \
+ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \
PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
#include <sys/prctl.h>
-@@ -278,14 +280,22 @@ void Daemonize(std::function<int()> pare
+@@ -278,14 +279,22 @@ void Daemonize(std::function<int()> pare
std::string GetCurExecutablePath() {
std::string self_path;
@@ -41,12 +41,12 @@ $NetBSD$
#elif PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE)
uint32_t size = 0;
PERFETTO_CHECK(_NSGetExecutablePath(nullptr, &size));
-@@ -337,7 +347,8 @@ void AlignedFree(void* ptr) {
+@@ -337,7 +346,8 @@ void AlignedFree(void* ptr) {
}
bool IsSyncMemoryTaggingEnabled() {
--#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
-+#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && \
+-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \
++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && \
+ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \
PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
// Compute only once per lifetime of the process.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc
index 934f534342..d1d24cd523 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/perfetto/src/trace_processor/importers/ftrace/v4l2_tracker.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/third_party/perfetto/src/trace_processor/importers/ftrace/v4l2_tracker.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/perfetto/src/trace_processor/importers/ftrace/v4l2_tracker.cc
@@ -62,7 +62,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_
case FtraceEvent::kV4l2QbufFieldNumber: {
- V4l2QbufFtraceEvent::Decoder pb_evt(bytes.data, bytes.size);
+ V4l2QbufFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
- evt.device_minor = pb_evt.minor();
+ evt.device_minor = pb_evt.gminor();
@@ -17,7 +17,7 @@ $NetBSD$
evt.bytesused = pb_evt.bytesused();
@@ -103,7 +103,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_
case FtraceEvent::kV4l2DqbufFieldNumber: {
- V4l2DqbufFtraceEvent::Decoder pb_evt(bytes.data, bytes.size);
+ V4l2DqbufFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
- evt.device_minor = pb_evt.minor();
+ evt.device_minor = pb_evt.gminor();
@@ -26,7 +26,7 @@ $NetBSD$
evt.bytesused = pb_evt.bytesused();
@@ -149,7 +149,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_
case FtraceEvent::kVb2V4l2BufQueueFieldNumber: {
- Vb2V4l2BufQueueFtraceEvent::Decoder pb_evt(bytes.data, bytes.size);
+ Vb2V4l2BufQueueFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
- evt.device_minor = pb_evt.minor();
+ evt.device_minor = pb_evt.gminor();
@@ -35,7 +35,7 @@ $NetBSD$
evt.bytesused = std::nullopt;
@@ -180,7 +180,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_
case FtraceEvent::kVb2V4l2BufDoneFieldNumber: {
- Vb2V4l2BufDoneFtraceEvent::Decoder pb_evt(bytes.data, bytes.size);
+ Vb2V4l2BufDoneFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
- evt.device_minor = pb_evt.minor();
+ evt.device_minor = pb_evt.gminor();
@@ -44,7 +44,7 @@ $NetBSD$
evt.bytesused = std::nullopt;
@@ -211,7 +211,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_
case FtraceEvent::kVb2V4l2QbufFieldNumber: {
- Vb2V4l2QbufFtraceEvent::Decoder pb_evt(bytes.data, bytes.size);
+ Vb2V4l2QbufFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
- evt.device_minor = pb_evt.minor();
+ evt.device_minor = pb_evt.gminor();
@@ -53,7 +53,7 @@ $NetBSD$
evt.bytesused = std::nullopt;
@@ -242,7 +242,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_
case FtraceEvent::kVb2V4l2DqbufFieldNumber: {
- Vb2V4l2DqbufFtraceEvent::Decoder pb_evt(bytes.data, bytes.size);
+ Vb2V4l2DqbufFtraceEvent::Decoder pb_evt(bytes);
BufferEvent evt;
- evt.device_minor = pb_evt.minor();
+ evt.device_minor = pb_evt.gminor();
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
deleted file mode 100644
index 3831a70487..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_core_clock__snapshots.cc
+++ /dev/null
@@ -1,14 +0,0 @@
-$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_ipc_memfd.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_ipc_memfd.cc
index 7bf7d23196..e5fa80ea94 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_ipc_memfd.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_ipc_memfd.cc
@@ -4,15 +4,15 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/third_party/perfetto/src/tracing/ipc/memfd.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/third_party/perfetto/src/tracing/ipc/memfd.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/third_party/perfetto/src/tracing/ipc/memfd.cc
@@ -20,7 +20,8 @@
#define PERFETTO_MEMFD_ENABLED() \
PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \
-- PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX)
-+ (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && \
-+ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD))
+- PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX)
++ (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && \
++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD))
#if PERFETTO_MEMFD_ENABLED()
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 99135942c9..3b1ad70dac 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,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/tools/v8_context_snapshot/BUILD.gn
@@ -38,6 +38,26 @@ buildflag_header("buildflags") {
}
@@ -30,16 +30,16 @@ $NetBSD$
+}
+
+if (use_v8_context_snapshot) {
- if (v8_snapshot_toolchain == current_toolchain) {
- action("generate_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",
- ]
-+ if (target_os == "netbsd") {
-+ deps += [ ":run_paxctl_v8_context_snapshot_generator" ]
-+ }
+ action("generate_v8_context_snapshot") {
+ script = "//build/gn_run_binary.py"
- # TODO(sky): figure out why this doesn't work on android cross compile.
- # In the case of compiling for the snapshot `shlib_extension` is ".so"
+@@ -64,6 +84,9 @@ if (use_v8_context_snapshot) {
+ ":v8_context_snapshot_generator($v8_snapshot_toolchain)",
+ "//v8:run_mksnapshot_default",
+ ]
++ if (target_os == "netbsd") {
++ deps += [ ":run_paxctl_v8_context_snapshot_generator" ]
++ }
+
+ # TODO(sky): figure out why this doesn't work on android cross compile.
+ # In the case of compiling for the snapshot `shlib_extension` is ".so"
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_aura_screen__ozone.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_aura_screen__ozone.cc
index 8975dff3ae..3d8c9f80e9 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_aura_screen__ozone.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_aura_screen__ozone.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/aura/screen_ozone.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/ui/aura/screen_ozone.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/aura/screen_ozone.cc
@@ -107,7 +107,7 @@ display::Display ScreenOzone::GetPrimary
return platform_screen_->GetPrimaryDisplay();
}
--#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
ScreenOzone::ScreenSaverSuspenderOzone::ScreenSaverSuspenderOzone(
std::unique_ptr<ui::PlatformScreen::PlatformScreenSaverSuspender> suspender)
: suspender_(std::move(suspender)) {}
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_aura_screen__ozone.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_aura_screen__ozone.h
index 902076b556..f341630baf 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_aura_screen__ozone.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_aura_screen__ozone.h
@@ -4,23 +4,23 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/aura/screen_ozone.h.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/ui/aura/screen_ozone.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/aura/screen_ozone.h
-@@ -45,7 +45,7 @@ class AURA_EXPORT ScreenOzone : public d
+@@ -44,7 +44,7 @@ class AURA_EXPORT ScreenOzone : public d
display::Display GetDisplayMatching(
const gfx::Rect& match_rect) const override;
display::Display GetPrimaryDisplay() const override;
--#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
std::unique_ptr<display::Screen::ScreenSaverSuspender> SuspendScreenSaver()
override;
- #endif // BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
-@@ -74,7 +74,7 @@ class AURA_EXPORT ScreenOzone : public d
+ #endif // BUILDFLAG(IS_LINUX)
+@@ -68,7 +68,7 @@ class AURA_EXPORT ScreenOzone : public d
ui::PlatformScreen* platform_screen() { return platform_screen_.get(); }
private:
--#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
class ScreenSaverSuspenderOzone
: public display::Screen::ScreenSaverSuspender {
public:
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ime_init_input__method__initializer.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ime_init_input__method__initializer.cc
index 2f604acb25..6b16557bb7 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ime_init_input__method__initializer.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ime_init_input__method__initializer.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/base/ime/init/input_method_initializer.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/ui/base/ime/init/input_method_initializer.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/base/ime/init/input_method_initializer.cc
-@@ -10,7 +10,7 @@
- #include "build/chromeos_buildflags.h"
+@@ -9,7 +9,7 @@
+ #include "base/trace_event/trace_event.h"
+ #include "build/build_config.h"
- #if !BUILDFLAG(IS_CHROMEOS_ASH) && defined(USE_AURA) && \
-- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
-+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD))
+-#if defined(USE_AURA) && BUILDFLAG(IS_LINUX)
++#if defined(USE_AURA) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
#include "ui/base/ime/linux/fake_input_method_context.h"
#include "ui/base/ime/linux/linux_input_method_context_factory.h"
#elif BUILDFLAG(IS_WIN)
@@ -24,12 +24,12 @@ $NetBSD$
GetInputMethodContextFactoryForTest() =
base::BindRepeating([](LinuxInputMethodContextDelegate* delegate)
-> std::unique_ptr<LinuxInputMethodContext> {
-@@ -46,7 +46,7 @@ void InitializeInputMethodForTesting() {
+@@ -45,7 +45,7 @@ void InitializeInputMethodForTesting() {
+ }
void ShutdownInputMethodForTesting() {
- #if !BUILDFLAG(IS_CHROMEOS_ASH) && defined(USE_AURA) && \
-- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
-+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD))
+-#if defined(USE_AURA) && BUILDFLAG(IS_LINUX)
++#if defined(USE_AURA) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
// The function owns the factory (as a static variable that's returned by
// reference), so setting this to an empty factory will free the old one.
GetInputMethodContextFactoryForTest() = LinuxInputMethodContextFactory();
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__features.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__features.cc
index 59c2d99024..fa7128cbb2 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__features.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__features.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/base/ui_base_features.cc.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/ui/base/ui_base_features.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/base/ui_base_features.cc
-@@ -165,7 +165,7 @@ BASE_FEATURE(kWaylandTextInputV3,
+@@ -133,7 +133,7 @@ BASE_FEATURE(kWaylandUiScale,
base::FEATURE_DISABLED_BY_DEFAULT);
#endif // BUILDFLAG(IS_OZONE)
@@ -15,16 +15,16 @@ $NetBSD$
// If this feature is enabled, users not specify --ozone-platform-hint switch
// will get --ozone-platform-hint=auto treatment. https://crbug.com/40250220.
COMPONENT_EXPORT(UI_BASE_FEATURES)
-@@ -278,7 +278,7 @@ BASE_FEATURE(kUiCompositorScrollWithLaye
+@@ -228,7 +228,7 @@ BASE_FEATURE(kUiCompositorUsesLayerLists
// Enables the use of a touch fling curve that is based on the behavior of
// native apps on Windows.
--#if BUILDFLAG(IS_WIN) || \
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) || \
- (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_ASH) && \
- !BUILDFLAG(IS_CHROMEOS_LACROS))
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
BASE_FEATURE(kExperimentalFlingAnimation,
-@@ -389,7 +389,7 @@ bool IsForcedColorsEnabled() {
+ "ExperimentalFlingAnimation",
+ base::FEATURE_ENABLED_BY_DEFAULT);
+@@ -311,7 +311,7 @@ bool IsForcedColorsEnabled() {
// and Linux. This feature will be released for other platforms in later
// milestones.
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__features.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__features.h
index 20a75e8265..8df9785731 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__features.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_ui__base__features.h
@@ -4,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/base/ui_base_features.h.orig 2025-09-25 11:10:42.000000000 +0000
+--- src/3rdparty/chromium/ui/base/ui_base_features.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/base/ui_base_features.h
-@@ -146,7 +146,7 @@ COMPONENT_EXPORT(UI_BASE_FEATURES)
- BASE_DECLARE_FEATURE(kWaylandTextInputV3);
+@@ -129,7 +129,7 @@ COMPONENT_EXPORT(UI_BASE_FEATURES)
+ BASE_DECLARE_FEATURE(kWaylandUiScale);
#endif // BUILDFLAG(IS_OZONE)
-#if BUILDFLAG(IS_LINUX)
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 4315630001..3170d3a297 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,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.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";
+@@ -24,13 +24,13 @@ const char kDisableModalAnimations[] = "
+ const char kShowMacOverlayBorders[] = "show-mac-overlay-borders";
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
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 dea5d7a8f0..df72b5531c 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,10 +4,10 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.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[];
+@@ -22,11 +22,11 @@ COMPONENT_EXPORT(UI_BASE) extern const c
+ COMPONENT_EXPORT(UI_BASE) extern const char kShowMacOverlayBorders[];
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
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 435faaf8be..ef01a385ce 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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/ui/base/webui/web_ui_util.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/base/webui/web_ui_util.cc
-@@ -46,7 +46,7 @@ namespace {
+@@ -45,7 +45,7 @@ namespace {
constexpr float kMaxScaleFactor = 1000.0f;
std::string GetFontFamilyMd() {
@@ -15,12 +15,12 @@ $NetBSD$
return "Roboto, " + GetFontFamily();
#else
return GetFontFamily();
-@@ -223,7 +223,7 @@ std::string GetFontFamily() {
+@@ -220,7 +220,7 @@ void AppendWebUiCssTextDefaults(std::str
+ std::string GetFontFamily() {
+ std::string font_family = l10n_util::GetStringUTF8(IDS_WEB_FONT_FAMILY);
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
const base::CommandLine* cmdline = base::CommandLine::ForCurrentProcess();
if (!cmdline->HasSwitch(switches::kSingleProcess)) {
std::string font_name = ui::ResourceBundle::GetSharedInstance()
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_x_x11__shm__image__pool.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_x_x11__shm__image__pool.cc
index b3d43f97b5..60bf14d612 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_x_x11__shm__image__pool.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_base_x_x11__shm__image__pool.cc
@@ -4,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/base/x/x11_shm_image_pool.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/ui/base/x/x11_shm_image_pool.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/base/x/x11_shm_image_pool.cc
@@ -16,6 +16,7 @@
#include "base/functional/callback.h"
@@ -12,9 +12,9 @@ $NetBSD$
#include "base/strings/string_util.h"
+#include "base/system/sys_info.h"
#include "build/build_config.h"
- #include "build/chromeos_buildflags.h"
#include "net/base/url_util.h"
-@@ -45,10 +46,14 @@ constexpr float kShmResizeShrinkThreshol
+ #include "ui/events/platform/platform_event_dispatcher.h"
+@@ -44,10 +45,14 @@ constexpr float kShmResizeShrinkThreshol
1.0f / (kShmResizeThreshold * kShmResizeThreshold);
std::size_t MaxShmSegmentSizeImpl() {
@@ -29,10 +29,10 @@ $NetBSD$
}
std::size_t MaxShmSegmentSize() {
-@@ -57,14 +62,19 @@ std::size_t MaxShmSegmentSize() {
+@@ -56,14 +61,19 @@ std::size_t MaxShmSegmentSize() {
}
- #if !BUILDFLAG(IS_CHROMEOS_ASH)
+ #if !BUILDFLAG(IS_CHROMEOS)
+#if !BUILDFLAG(IS_BSD)
bool IsRemoteHost(const std::string& name) {
if (name.empty())
@@ -49,15 +49,15 @@ $NetBSD$
// MIT-SHM may be available on remote connetions, but it will be unusable. Do
// a best-effort check to see if the host is remote to disable the SHM
// codepath. It may be possible in contrived cases for there to be a
-@@ -93,6 +103,7 @@ bool ShouldUseMitShm(x11::Connection* co
+@@ -92,6 +102,7 @@ bool ShouldUseMitShm(x11::Connection* co
return false;
return true;
+#endif
}
- #endif
+ #endif // !BUILDFLAG(IS_CHROMEOS)
-@@ -183,7 +194,7 @@ bool XShmImagePool::Resize(const gfx::Si
+@@ -182,7 +193,7 @@ bool XShmImagePool::Resize(const gfx::Si
shmctl(state.shmid, IPC_RMID, nullptr);
return false;
}
@@ -66,7 +66,7 @@ $NetBSD$
// On Linux, a shmid can still be attached after IPC_RMID if otherwise
// kept alive. Detach before XShmAttach to prevent a memory leak in case
// the process dies.
-@@ -202,7 +213,7 @@ bool XShmImagePool::Resize(const gfx::Si
+@@ -201,7 +212,7 @@ bool XShmImagePool::Resize(const gfx::Si
return false;
state.shmseg = shmseg;
state.shmem_attached_to_server = true;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_compositor_compositor.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_compositor_compositor.cc
index 4e03da6233..7c7c7bcb6c 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_compositor_compositor.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_compositor_compositor.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/compositor/compositor.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/compositor/compositor.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/compositor/compositor.cc
-@@ -894,7 +894,7 @@ void Compositor::OnResume() {
+@@ -929,7 +929,7 @@ void Compositor::OnResume() {
obs.ResetIfActive();
}
-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11)
void Compositor::OnCompleteSwapWithNewSize(const gfx::Size& size) {
- for (auto& observer : observer_list_)
- observer.OnCompositingCompleteSwapWithNewSize(this, size);
+ observer_list_.Notify(
+ &CompositorObserver::OnCompositingCompleteSwapWithNewSize, this, size);
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_display_screen.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_display_screen.cc
index 6adf25a06c..4c6daccc55 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_display_screen.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_display_screen.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/display/screen.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/ui/display/screen.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/display/screen.cc
@@ -86,7 +86,7 @@ void Screen::SetDisplayForNewWindows(int
display_id_for_new_windows_ = display_id;
}
--#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
Screen::ScreenSaverSuspender::~ScreenSaverSuspender() = default;
std::unique_ptr<Screen::ScreenSaverSuspender> Screen::SuspendScreenSaver() {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_display_screen.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_display_screen.h
index f060a3f11a..efef12dabb 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_display_screen.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_display_screen.h
@@ -4,23 +4,23 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/display/screen.h.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/ui/display/screen.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/display/screen.h
@@ -140,7 +140,7 @@ class DISPLAY_EXPORT Screen {
// (both of which may or may not be `nearest_id`).
display::ScreenInfos GetScreenInfosNearestDisplay(int64_t nearest_id) const;
--#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Object which suspends the platform-specific screensaver for the duration of
// its existence.
class ScreenSaverSuspender {
-@@ -248,7 +248,7 @@ class DISPLAY_EXPORT Screen {
+@@ -243,7 +243,7 @@ class DISPLAY_EXPORT Screen {
int64_t display_id_for_new_windows_;
int64_t scoped_display_id_for_new_windows_ = display::kInvalidDisplayId;
--#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
uint32_t screen_saver_suspension_count_ = 0;
- #endif // BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX)
+ #endif // BUILDFLAG(IS_LINUX)
};
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_font__render__params.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_font__render__params.h
index 629ea7068e..d61481b1b3 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_font__render__params.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_font__render__params.h
@@ -4,23 +4,23 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gfx/font_render_params.h.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/ui/gfx/font_render_params.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/gfx/font_render_params.h
-@@ -115,7 +115,7 @@ GFX_EXPORT FontRenderParams GetFontRende
- const FontRenderParamsQuery& query,
- std::string* family_out);
+@@ -115,7 +115,7 @@ COMPONENT_EXPORT(GFX)
+ FontRenderParams GetFontRenderParams(const FontRenderParamsQuery& query,
+ std::string* family_out);
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
// Clears GetFontRenderParams()'s cache. Intended to be called by tests that are
// changing Fontconfig's configuration.
- GFX_EXPORT void ClearFontRenderParamsCacheForTest();
-@@ -125,7 +125,7 @@ GFX_EXPORT void ClearFontRenderParamsCac
- GFX_EXPORT float GetFontRenderParamsDeviceScaleFactor();
+ COMPONENT_EXPORT(GFX) void ClearFontRenderParamsCacheForTest();
+@@ -125,7 +125,7 @@ COMPONENT_EXPORT(GFX) void ClearFontRend
+ COMPONENT_EXPORT(GFX) float GetFontRenderParamsDeviceScaleFactor();
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
- BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)
+ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
// Sets the device scale factor for FontRenderParams to decide
// if it should enable subpixel positioning.
- GFX_EXPORT void SetFontRenderParamsDeviceScaleFactor(
+ COMPONENT_EXPORT(GFX)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.cc
index 96ca6bb608..98945b1d23 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gfx/gpu_memory_buffer.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/ui/gfx/gpu_memory_buffer.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/gfx/gpu_memory_buffer.cc
-@@ -63,7 +63,7 @@ GpuMemoryBufferHandle GpuMemoryBufferHan
- handle.region = region.Duplicate();
+@@ -108,7 +108,7 @@ GpuMemoryBufferHandle GpuMemoryBufferHan
+ handle.id = id;
handle.offset = offset;
handle.stride = stride;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)|| BUILDFLAG(IS_BSD)
handle.native_pixmap_handle = CloneHandleForIPC(native_pixmap_handle);
#elif BUILDFLAG(IS_APPLE)
handle.io_surface = io_surface;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.h
index d12af3ca12..34461f89d9 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.h
@@ -4,19 +4,19 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gfx/gpu_memory_buffer.h.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/ui/gfx/gpu_memory_buffer.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/gfx/gpu_memory_buffer.h
-@@ -15,7 +15,7 @@
+@@ -17,7 +17,7 @@
+ #include "ui/gfx/generic_shared_memory_id.h"
#include "ui/gfx/geometry/rect.h"
- #include "ui/gfx/gfx_export.h"
-#if BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "ui/gfx/native_pixmap_handle.h"
#elif BUILDFLAG(IS_APPLE)
#include "ui/gfx/mac/io_surface.h"
-@@ -76,7 +76,7 @@ struct GFX_EXPORT GpuMemoryBufferHandle
- base::UnsafeSharedMemoryRegion region;
+@@ -205,7 +205,7 @@ struct COMPONENT_EXPORT(GFX) GpuMemoryBu
+
uint32_t offset = 0;
uint32_t stride = 0;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_mojom_buffer__types__mojom__traits.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_mojom_buffer__types__mojom__traits.cc
deleted file mode 100644
index 3382d95df3..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_mojom_buffer__types__mojom__traits.cc
+++ /dev/null
@@ -1,26 +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/ui/gfx/mojom/buffer_types_mojom_traits.cc.orig 2024-12-17 17:58:49.000000000 +0000
-+++ src/3rdparty/chromium/ui/gfx/mojom/buffer_types_mojom_traits.cc
-@@ -33,7 +33,7 @@ gfx::mojom::GpuMemoryBufferPlatformHandl
- return gfx::mojom::GpuMemoryBufferPlatformHandle::NewSharedMemoryHandle(
- std::move(handle.region));
- case gfx::NATIVE_PIXMAP:
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
- return gfx::mojom::GpuMemoryBufferPlatformHandle::NewNativePixmapHandle(
- std::move(handle.native_pixmap_handle));
- #else
-@@ -115,7 +115,7 @@ bool StructTraits<gfx::mojom::GpuMemoryB
- out->type = gfx::SHARED_MEMORY_BUFFER;
- out->region = std::move(platform_handle->get_shared_memory_handle());
- return true;
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
- case gfx::mojom::GpuMemoryBufferPlatformHandleDataView::Tag::
- kNativePixmapHandle:
- out->type = gfx::NATIVE_PIXMAP;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.cc
index 36280c0268..cab364f3c6 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.cc
@@ -4,11 +4,20 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gfx/mojom/native_handle_types_mojom_traits.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/ui/gfx/mojom/native_handle_types_mojom_traits.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/gfx/mojom/native_handle_types_mojom_traits.cc
-@@ -8,11 +8,11 @@
+@@ -14,7 +14,7 @@
+ #include "ui/gfx/mac/io_surface.h"
+ #endif // BUILDFLAG(IS_APPLE)
- namespace mojo {
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
+ #include "ui/gfx/native_pixmap_handle.h"
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
+
+@@ -80,11 +80,11 @@ bool StructTraits<gfx::mojom::AHardwareB
+ }
+ #endif // BUILDFLAG(IS_ANDROID)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
@@ -20,7 +29,7 @@ $NetBSD$
return mojo::PlatformHandle(std::move(plane.fd));
#elif BUILDFLAG(IS_FUCHSIA)
return mojo::PlatformHandle(std::move(plane.vmo));
-@@ -28,7 +28,7 @@ bool StructTraits<
+@@ -100,7 +100,7 @@ bool StructTraits<
out->size = data.size();
mojo::PlatformHandle handle = data.TakeBufferHandle();
@@ -29,7 +38,7 @@ $NetBSD$
if (!handle.is_fd())
return false;
out->fd = handle.TakeFD();
-@@ -54,7 +54,7 @@ bool StructTraits<
+@@ -126,7 +126,7 @@ bool StructTraits<
gfx::mojom::NativePixmapHandleDataView,
gfx::NativePixmapHandle>::Read(gfx::mojom::NativePixmapHandleDataView data,
gfx::NativePixmapHandle* out) {
@@ -38,3 +47,21 @@ $NetBSD$
out->modifier = data.modifier();
out->supports_zero_copy_webgpu_import =
data.supports_zero_copy_webgpu_import();
+@@ -190,7 +190,7 @@ gfx::mojom::GpuMemoryBufferPlatformHandl
+ NOTREACHED();
+ #endif // BUILDFLAG(IS_APPLE)
+ case gfx::NATIVE_PIXMAP:
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
+ return Tag::kNativePixmapHandle;
+ #else
+ NOTREACHED();
+@@ -259,7 +259,7 @@ bool UnionTraits<gfx::mojom::GpuMemoryBu
+ }
+ return true;
+ #endif // BUILDFLAG(IS_APPLE)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
+ case Tag::kNativePixmapHandle:
+ handle->type = gfx::NATIVE_PIXMAP;
+ return data.ReadNativePixmapHandle(&handle->native_pixmap_handle);
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 b407339f53..690e65c895 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,27 +4,27 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/ui/gfx/mojom/native_handle_types_mojom_traits.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/gfx/mojom/native_handle_types_mojom_traits.h
-@@ -16,7 +16,7 @@
- #include "mojo/public/cpp/system/platform_handle.h"
+@@ -18,7 +18,7 @@
+ #include "ui/gfx/gpu_memory_buffer.h"
#include "ui/gfx/mojom/native_handle_types.mojom-shared.h"
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
#include "ui/gfx/native_pixmap_handle.h"
- #endif
-
-@@ -26,7 +26,7 @@
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
- namespace mojo {
+@@ -46,7 +46,7 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDL
+ };
+ #endif // BUILDFLAG(IS_ANDROID)
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
template <>
struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED_MOJOM_TRAITS)
StructTraits<gfx::mojom::NativePixmapPlaneDataView,
-@@ -54,13 +54,13 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDL
+@@ -74,13 +74,13 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDL
return pixmap_handle.planes;
}
@@ -40,3 +40,12 @@ $NetBSD$
static bool supports_zero_copy_webgpu_import(
const gfx::NativePixmapHandle& pixmap_handle) {
return pixmap_handle.supports_zero_copy_webgpu_import;
+@@ -159,7 +159,7 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDL
+ static PlatformHandle mach_port(gfx::GpuMemoryBufferHandle& handle);
+ #endif // BUILDFLAG(IS_APPLE)
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD)
+ static gfx::NativePixmapHandle& native_pixmap_handle(
+ gfx::GpuMemoryBufferHandle& handle) {
+ return handle.native_pixmap_handle;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_native__pixmap__handle.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_native__pixmap__handle.h
index 7a7531f34f..01f8e46dd7 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_native__pixmap__handle.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gfx_native__pixmap__handle.h
@@ -4,18 +4,18 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gfx/native_pixmap_handle.h.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/ui/gfx/native_pixmap_handle.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/gfx/native_pixmap_handle.h
@@ -14,7 +14,7 @@
+ #include "build/build_config.h"
#include "ui/gfx/buffer_types.h"
- #include "ui/gfx/gfx_export.h"
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
#include "base/files/scoped_file.h"
#endif
-@@ -34,7 +34,7 @@ struct GFX_EXPORT NativePixmapPlane {
+@@ -34,7 +34,7 @@ struct COMPONENT_EXPORT(GFX) NativePixma
NativePixmapPlane(int stride,
int offset,
uint64_t size
@@ -24,7 +24,7 @@ $NetBSD$
,
base::ScopedFD fd
#elif BUILDFLAG(IS_FUCHSIA)
-@@ -55,7 +55,7 @@ struct GFX_EXPORT NativePixmapPlane {
+@@ -55,7 +55,7 @@ struct COMPONENT_EXPORT(GFX) NativePixma
// This is necessary to map the buffers.
uint64_t size;
@@ -33,7 +33,7 @@ $NetBSD$
// File descriptor for the underlying memory object (usually dmabuf).
base::ScopedFD fd;
#elif BUILDFLAG(IS_FUCHSIA)
-@@ -78,7 +78,7 @@ struct GFX_EXPORT NativePixmapHandle {
+@@ -78,7 +78,7 @@ struct COMPONENT_EXPORT(GFX) NativePixma
std::vector<NativePixmapPlane> 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 85869dcba2..454a6e7c26 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,23 +4,23 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/gfx/native_widget_types.h
-@@ -104,7 +104,7 @@ class SkBitmap;
+@@ -101,7 +101,7 @@ class ViewAndroid;
+ #endif
+ class SkBitmap;
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
extern "C" {
struct _AtkObject;
using AtkObject = struct _AtkObject;
-@@ -219,7 +219,7 @@ using NativeViewAccessible = struct objc
+@@ -214,7 +214,7 @@ using NativeViewAccessible = id;
+ #else
+ using NativeViewAccessible = struct objc_object*;
#endif
- // 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)
+-#elif BUILDFLAG(IS_LINUX)
++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Linux doesn't have a native font type.
using NativeViewAccessible = AtkObject*;
#else
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_gl__switches.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_gl__switches.cc
index fe7efd3120..a7e75c5e05 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_gl__switches.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_gl_gl__switches.cc
@@ -4,32 +4,32 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/gl/gl_switches.cc.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/3rdparty/chromium/ui/gl/gl_switches.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/gl/gl_switches.cc
-@@ -12,7 +12,7 @@
+@@ -14,7 +14,7 @@
#include "base/android/build_info.h"
#endif
--#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && BUILDFLAG(ENABLE_VULKAN)
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_VULKAN)
+-#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)) && BUILDFLAG(ENABLE_VULKAN)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_ANDROID)) && BUILDFLAG(ENABLE_VULKAN)
#include <vulkan/vulkan_core.h>
#include "third_party/angle/src/gpu_info_util/SystemInfo.h" // nogncheck
#endif
-@@ -301,7 +301,7 @@ bool IsDefaultANGLEVulkan() {
- base::android::SDK_VERSION_Q)
+@@ -321,7 +321,7 @@ bool IsDefaultANGLEVulkan() {
return false;
+ }
#endif // BUILDFLAG(IS_ANDROID)
--#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && BUILDFLAG(ENABLE_VULKAN)
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_VULKAN)
+-#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)) && BUILDFLAG(ENABLE_VULKAN)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_VULKAN)
angle::SystemInfo system_info;
- if (!angle::GetSystemInfoVulkan(&system_info))
- return false;
-@@ -313,7 +313,7 @@ bool IsDefaultANGLEVulkan() {
-
- const auto& active_gpu = system_info.gpus[system_info.activeGPUIndex];
+ {
+ GPU_STARTUP_TRACE_EVENT("angle::GetSystemInfoVulkan");
+@@ -374,7 +374,7 @@ bool IsDefaultANGLEVulkan() {
+ }
+ #endif // BUILDFLAG(IS_ANDROID)
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Vulkan 1.1 is required.
- if (active_gpu.driverApiVersion < VK_VERSION_1_1)
- return false;
+ // AMDVLK driver is buggy, so disable Vulkan with AMDVLK for now.
+ // crbug.com/1340081
+ if (active_gpu.driverId == VK_DRIVER_ID_AMD_OPEN_SOURCE)
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 c85306f015..9bbbed6cb0 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,14 +4,14 @@ $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 2025-05-29 01:27:28.000000000 +0000
+--- src/3rdparty/chromium/ui/message_center/views/message_popup_view.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/message_center/views/message_popup_view.cc
-@@ -144,7 +144,7 @@ std::unique_ptr<views::Widget> MessagePo
+@@ -153,7 +153,7 @@ std::unique_ptr<views::Widget> MessagePo
+ views::Widget::InitParams::CLIENT_OWNS_WIDGET,
+ views::Widget::InitParams::TYPE_POPUP);
params.z_order = ui::ZOrderLevel::kFloatingWindow;
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Make the widget explicitly activatable as TYPE_POPUP is not activatable by
// default but we need focus for the inline reply textarea.
params.activatable = views::Widget::InitParams::Activatable::kYes;
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 7d8dab0c50..124f112d1a 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,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/native_theme/native_theme.h
-@@ -64,7 +64,7 @@ class NATIVE_THEME_EXPORT NativeTheme {
+@@ -61,7 +61,7 @@ class NATIVE_THEME_EXPORT NativeTheme {
+ // The part to be painted / sized.
+ enum Part {
kCheckbox,
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
kFrameTopArea,
#endif
kInnerSpinButton,
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 760eb0d42a..11f17f9f9d 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,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/native_theme/native_theme_base.cc
-@@ -241,7 +241,7 @@ void NativeThemeBase::Paint(cc::PaintCan
+@@ -239,7 +239,7 @@ void NativeThemeBase::Paint(cc::PaintCan
+ absl::get<ButtonExtraParams>(extra), color_scheme,
+ accent_color_opaque);
break;
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
case kFrameTopArea:
PaintFrameTopArea(canvas, state, rect,
absl::get<FrameTopAreaExtraParams>(extra),
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_native__theme_native__theme__features.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_native__theme_native__theme__features.cc
index dd36eba602..74b7172324 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_native__theme_native__theme__features.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_native__theme_native__theme__features.cc
@@ -4,23 +4,23 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/native_theme/native_theme_features.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/ui/native_theme/native_theme_features.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/native_theme/native_theme_features.cc
-@@ -65,7 +65,7 @@ bool IsOverlayScrollbarEnabled() {
+@@ -73,7 +73,7 @@ namespace ui {
- bool IsFluentScrollbarEnabled() {
+ bool IsFluentOverlayScrollbarEnabled() {
// Fluent scrollbars are only used for some OSes due to UI design guidelines.
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- return base::FeatureList::IsEnabled(features::kFluentScrollbar) ||
- IsFluentOverlayScrollbarEnabled();
+ return base::FeatureList::IsEnabled(features::kFluentOverlayScrollbar);
#else
-@@ -74,7 +74,7 @@ bool IsFluentScrollbarEnabled() {
- }
- bool IsFluentOverlayScrollbarEnabled() {
+ return false;
+@@ -82,7 +82,7 @@ bool IsFluentOverlayScrollbarEnabled() {
+
+ bool IsFluentScrollbarEnabled() {
// Fluent scrollbars are only used for some OSes due to UI design guidelines.
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- return base::FeatureList::IsEnabled(features::kFluentOverlayScrollbar);
+ return base::FeatureList::IsEnabled(features::kFluentScrollbar) ||
+ IsFluentOverlayScrollbarEnabled();
#else
- return false;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_common_features.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_common_features.cc
deleted file mode 100644
index 452a3c3fa3..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_common_features.cc
+++ /dev/null
@@ -1,17 +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/ui/ozone/common/features.cc.orig 2024-11-21 04:36:37.000000000 +0000
-+++ src/3rdparty/chromium/ui/ozone/common/features.cc
-@@ -30,7 +30,7 @@ BASE_FEATURE(kWaylandSurfaceSubmissionIn
- // enabled.
- BASE_FEATURE(kWaylandFractionalScaleV1,
- "WaylandFractionalScaleV1",
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- base::FEATURE_ENABLED_BY_DEFAULT
- #else
- base::FEATURE_DISABLED_BY_DEFAULT
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
deleted file mode 100644
index 88758cfcac..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_common_wayland__util.cc
+++ /dev/null
@@ -1,26 +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/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
-@@ -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/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
deleted file mode 100644
index fe0919bf19..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.cc
+++ /dev/null
@@ -1,17 +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/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
-@@ -284,7 +284,7 @@ void WaylandInputEmulate::EmulateUpdateD
- }
- #endif
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- void WaylandInputEmulate::ForceUseScreenCoordinatesOnce() {
- force_use_screen_coordinates_once_ = true;
- }
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
deleted file mode 100644
index 804ad1a8e5..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.h
+++ /dev/null
@@ -1,17 +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/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
-@@ -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)
- void ForceUseScreenCoordinatesOnce();
- #endif
-
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__connection.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__connection.cc
deleted file mode 100644
index 7f056c6100..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__connection.cc
+++ /dev/null
@@ -1,17 +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/ui/ozone/platform/wayland/host/wayland_connection.cc.orig 2025-09-25 11:10:42.000000000 +0000
-+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_connection.cc
-@@ -541,7 +541,7 @@ bool WaylandConnection::ShouldUseOverlay
- // isn't present on any non-exo Wayland compositors.
- bool should_use_overlay_delegation =
- IsWaylandOverlayDelegationEnabled() && !fractional_scale_manager_v1();
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Overlay delegation also requires a single-pixel-buffer protocol, which
- // allows creation of non-backed solid color buffers. Even though only video
- // overlays can be supported on Linux, these color buffers are still needed
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__input__method__context.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__input__method__context.cc
deleted file mode 100644
index dc376f078e..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__input__method__context.cc
+++ /dev/null
@@ -1,17 +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/ui/ozone/platform/wayland/host/wayland_input_method_context.cc.orig 2025-09-25 11:10:42.000000000 +0000
-+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_input_method_context.cc
-@@ -60,7 +60,7 @@ namespace {
- // Only enable the preedit string for sequence mode (i.e. when using dead keys
- // or the Compose key) on Linux ozone/wayland (see b/220370007).
- constexpr CharacterComposer::PreeditStringMode kPreeditStringMode =
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- CharacterComposer::PreeditStringMode::kAlwaysEnabled;
- #else
- CharacterComposer::PreeditStringMode::kHexModeOnly;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__popup.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__popup.cc
deleted file mode 100644
index 05585a9928..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__popup.cc
+++ /dev/null
@@ -1,17 +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/ui/ozone/platform/wayland/host/wayland_popup.cc.orig 2025-09-25 11:10:42.000000000 +0000
-+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_popup.cc
-@@ -34,7 +34,7 @@ WaylandPopup::WaylandPopup(PlatformWindo
- WaylandWindow* parent)
- : WaylandWindow(delegate, connection) {
- set_parent_window(parent);
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // TODO(crbug.com/330384470): Whether the popup appear depends on whether
- // anchor point is outside of the parent xdg_surface. On Mutter the popup will
- // not show when outside.
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__screen.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__screen.cc
deleted file mode 100644
index 4e15f190b1..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__screen.cc
+++ /dev/null
@@ -1,35 +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/ui/ozone/platform/wayland/host/wayland_screen.cc.orig 2025-09-25 11:10:42.000000000 +0000
-+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_screen.cc
-@@ -46,7 +46,7 @@
- #include "ui/ozone/platform/wayland/host/org_gnome_mutter_idle_monitor.h"
- #endif
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- #include "ui/linux/linux_ui.h"
- #endif
-
-@@ -133,7 +133,7 @@ WaylandScreen::WaylandScreen(WaylandConn
- tablet_state_ = connection_->GetTabletState();
- #endif
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (auto* linux_ui = ui::LinuxUi::instance()) {
- OnDeviceScaleFactorChanged();
- display_scale_factor_observer_.Observe(linux_ui);
-@@ -606,7 +606,7 @@ bool WaylandScreen::VerifyOutputStateCon
- return true;
- }
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- void WaylandScreen::OnDeviceScaleFactorChanged() {
- if (const auto* linux_ui = ui::LinuxUi::instance()) {
- const float new_font_scale = linux_ui->display_config().font_scale;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__screen.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__screen.h
deleted file mode 100644
index 5b05b50910..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__screen.h
+++ /dev/null
@@ -1,44 +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/ui/ozone/platform/wayland/host/wayland_screen.h.orig 2025-09-25 11:10:42.000000000 +0000
-+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_screen.h
-@@ -24,7 +24,7 @@
- #include "ui/ozone/platform/wayland/host/wayland_output.h"
- #include "ui/ozone/public/platform_screen.h"
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- #include "base/scoped_observation.h"
- #include "ui/linux/device_scale_factor_observer.h"
- #include "ui/linux/linux_ui.h"
-@@ -44,7 +44,7 @@ class OrgGnomeMutterIdleMonitor;
-
- // A PlatformScreen implementation for Wayland.
- class WaylandScreen : public PlatformScreen
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- ,
- public DeviceScaleFactorObserver
- #endif
-@@ -96,7 +96,7 @@ class WaylandScreen : public PlatformScr
- display::TabletState GetTabletState() const override;
- #endif
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // DeviceScaleFactorObserver:
- void OnDeviceScaleFactorChanged() override;
- #endif
-@@ -158,7 +158,7 @@ class WaylandScreen : public PlatformScr
- display::TabletState tablet_state_;
- #endif
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- float font_scale_ = 1.0f;
-
- base::ScopedObservation<ui::LinuxUi, DeviceScaleFactorObserver>
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__toplevel__window.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__toplevel__window.cc
deleted file mode 100644
index 68bb2d30f1..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__toplevel__window.cc
+++ /dev/null
@@ -1,17 +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/ui/ozone/platform/wayland/host/wayland_toplevel_window.cc.orig 2024-12-17 17:58:49.000000000 +0000
-+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_toplevel_window.cc
-@@ -629,7 +629,7 @@ void WaylandToplevelWindow::HandleToplev
- const bool did_active_change = is_active_ != window_states.is_activated;
- is_active_ = window_states.is_activated;
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // The tiled state affects the window geometry, so apply it here.
- if (window_states.tiled_edges != tiled_state_) {
- // This configure changes the decoration insets. We should adjust the
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__toplevel__window.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__toplevel__window.h
deleted file mode 100644
index 95d642ec70..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__toplevel__window.h
+++ /dev/null
@@ -1,17 +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/ui/ozone/platform/wayland/host/wayland_toplevel_window.h.orig 2024-12-17 17:58:49.000000000 +0000
-+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_toplevel_window.h
-@@ -262,7 +262,7 @@ class WaylandToplevelWindow : public Way
- // The display ID to switch to in case the state is `kFullscreen`.
- int64_t fullscreen_display_id_ = display::kInvalidDisplayId;
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Contains the current state of the tiled edges.
- WindowTiledEdges tiled_state_;
- #endif
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
deleted file mode 100644
index df89bf7ae6..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.cc
+++ /dev/null
@@ -1,50 +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/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
-@@ -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, AsWeakPtr(), async_cursor_));
-@@ -584,7 +584,7 @@ bool WaylandWindow::ShouldUseNativeFrame
- void WaylandWindow::SetCursor(scoped_refptr<PlatformCursor> platform_cursor) {
- DCHECK(platform_cursor);
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- auto async_cursor = WaylandAsyncCursor::FromPlatformCursor(platform_cursor);
-
- if (async_cursor_ == async_cursor) {
-@@ -795,7 +795,7 @@ std::string WaylandWindow::WindowStates:
- } else {
- base::TrimString(states, " ", &states);
- }
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- states += "; tiled_edges: ";
- std::string tiled = "";
- if (tiled_edges.left) {
-@@ -1283,12 +1283,12 @@ void WaylandWindow::UpdateCursorShape(sc
- cursor->bitmaps(), hotspot_in_dips,
- std::ceil(cursor->cursor_image_scale_factor()));
- }
--#if !BUILDFLAG(IS_LINUX)
-+#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD)
- cursor_ = cursor;
- #endif
- }
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- void WaylandWindow::OnCursorLoaded(scoped_refptr<WaylandAsyncCursor> cursor,
- scoped_refptr<BitmapCursor> bitmap_cursor) {
- if (HasPointerFocus() && async_cursor_ == cursor && bitmap_cursor) {
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
deleted file mode 100644
index ba7a5f2b6f..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.h
+++ /dev/null
@@ -1,44 +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/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
-@@ -41,7 +41,7 @@
- #include "ui/platform_window/platform_window_init_properties.h"
- #include "ui/platform_window/wm/wm_drag_handler.h"
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- #include "ui/ozone/platform/wayland/host/wayland_async_cursor.h"
- #endif
-
-@@ -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
-
-@@ -569,7 +569,7 @@ class WaylandWindow : public PlatformWin
-
- void UpdateCursorShape(scoped_refptr<BitmapCursor> cursor);
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- void OnCursorLoaded(scoped_refptr<WaylandAsyncCursor> cursor,
- scoped_refptr<BitmapCursor> bitmap_cursor);
- #endif
-@@ -638,7 +638,7 @@ class WaylandWindow : public PlatformWin
-
- wl::Object<zaura_surface> aura_surface_;
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // The current asynchronously loaded cursor (Linux specific).
- scoped_refptr<WaylandAsyncCursor> async_cursor_;
- #else
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_xdg__toplevel__wrapper__impl.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_xdg__toplevel__wrapper__impl.cc
deleted file mode 100644
index 83e53ba8c7..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_xdg__toplevel__wrapper__impl.cc
+++ /dev/null
@@ -1,17 +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/ui/ozone/platform/wayland/host/xdg_toplevel_wrapper_impl.cc.orig 2024-12-17 17:58:49.000000000 +0000
-+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/xdg_toplevel_wrapper_impl.cc
-@@ -322,7 +322,7 @@ void XDGToplevelWrapperImpl::OnToplevelC
- window_states.is_activated =
- CheckIfWlArrayHasValue(states, XDG_TOPLEVEL_STATE_ACTIVATED);
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (xdg_toplevel_get_version(toplevel) >=
- XDG_TOPLEVEL_STATE_TILED_LEFT_SINCE_VERSION) {
- // All four tiled states have the same since version, so it is enough to
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_ozone__platform__wayland.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_ozone__platform__wayland.cc
deleted file mode 100644
index 1bb861bd92..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_ozone__platform__wayland.cc
+++ /dev/null
@@ -1,51 +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/ui/ozone/platform/wayland/ozone_platform_wayland.cc.orig 2024-11-21 04:36:37.000000000 +0000
-+++ src/3rdparty/chromium/ui/ozone/platform/wayland/ozone_platform_wayland.cc
-@@ -66,13 +66,13 @@
- #include "ui/events/ozone/layout/stub/stub_keyboard_layout_engine.h"
- #endif
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- #include "ui/ozone/platform/wayland/host/wayland_cursor_factory.h"
- #else
- #include "ui/ozone/common/bitmap_cursor_factory.h"
- #endif
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- #include "ui/ozone/platform/wayland/host/linux_ui_delegate_wayland.h"
- #endif
-
-@@ -267,7 +267,7 @@ class OzonePlatformWayland : public Ozon
-
- buffer_manager_connector_ = std::make_unique<WaylandBufferManagerConnector>(
- connection_->buffer_manager_host());
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- cursor_factory_ = std::make_unique<WaylandCursorFactory>(connection_.get());
- #else
- cursor_factory_ = std::make_unique<BitmapCursorFactory>();
-@@ -277,7 +277,7 @@ class OzonePlatformWayland : public Ozon
-
- supported_buffer_formats_ =
- connection_->buffer_manager_host()->GetSupportedBufferFormats();
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- linux_ui_delegate_ =
- std::make_unique<LinuxUiDelegateWayland>(connection_.get());
- #endif
-@@ -514,7 +514,7 @@ class OzonePlatformWayland : public Ozon
- DrmRenderNodePathFinder path_finder_;
- #endif
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- std::unique_ptr<LinuxUiDelegateWayland> linux_ui_delegate_;
- #endif
- };
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_qt_qt.gni b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_qt_qt.gni
deleted file mode 100644
index a1a514a155..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_qt_qt.gni
+++ /dev/null
@@ -1,17 +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/ui/qt/qt.gni.orig 2024-12-17 17:58:49.000000000 +0000
-+++ src/3rdparty/chromium/ui/qt/qt.gni
-@@ -14,7 +14,7 @@ declare_args() {
-
- declare_args() {
- if (!use_sysroot && use_qt) {
-- moc_qt5_path = ""
-+ moc_qt5_path = "@QTDIR@/bin"
- }
- }
-
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 676870a173..74e6b8f6a9 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,8 +4,8 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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
+--- src/3rdparty/chromium/ui/views/controls//textfield/textfield.cc.orig 2025-10-02 00:36:39.000000000 +0000
++++ src/3rdparty/chromium/ui/views/controls//textfield/textfield.cc
@@ -85,7 +85,7 @@
#include "base/win/win_util.h"
#endif
@@ -15,7 +15,7 @@ $NetBSD$
#include "ui/base/ime/linux/text_edit_command_auralinux.h"
#include "ui/base/ime/text_input_flags.h"
#include "ui/linux/linux_ui.h"
-@@ -183,7 +183,7 @@ bool IsControlKeyModifier(int flags) {
+@@ -182,7 +182,7 @@ bool IsControlKeyModifier(int flags) {
// Control-modified key combination, but we cannot extend it to other platforms
// as Control has different meanings and behaviors.
// https://crrev.com/2580483002/#msg46
@@ -24,16 +24,16 @@ $NetBSD$
return flags & ui::EF_CONTROL_DOWN;
#else
return false;
-@@ -761,7 +761,7 @@ bool Textfield::OnKeyPressed(const ui::K
- if (!textfield)
+@@ -789,7 +789,7 @@ bool Textfield::OnKeyPressed(const ui::K
return handled;
+ }
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
auto* linux_ui = ui::LinuxUi::instance();
std::vector<ui::TextEditCommandAuraLinux> commands;
if (!handled && linux_ui &&
-@@ -944,7 +944,7 @@ void Textfield::AboutToRequestFocusFromT
+@@ -974,7 +974,7 @@ void Textfield::AboutToRequestFocusFromT
}
bool Textfield::SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) {
@@ -42,7 +42,7 @@ $NetBSD$
// Skip any accelerator handling that conflicts with custom keybindings.
auto* linux_ui = ui::LinuxUi::instance();
std::vector<ui::TextEditCommandAuraLinux> commands;
-@@ -1994,7 +1994,7 @@ bool Textfield::ShouldDoLearning() {
+@@ -2065,7 +2065,7 @@ bool Textfield::ShouldDoLearning() {
return false;
}
@@ -51,20 +51,21 @@ $NetBSD$
// TODO(crbug.com/41452689): Implement this method to support Korean IME
// reconversion feature on native text fields (e.g. find bar).
bool Textfield::SetCompositionFromExistingText(
-@@ -2500,14 +2500,14 @@ ui::TextEditCommand Textfield::GetComman
+@@ -2583,7 +2583,7 @@ ui::TextEditCommand Textfield::GetComman
#endif
return ui::TextEditCommand::DELETE_BACKWARD;
}
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Only erase by line break on Linux and ChromeOS.
- if (shift)
+ if (shift) {
return ui::TextEditCommand::DELETE_TO_BEGINNING_OF_LINE;
+@@ -2591,7 +2591,7 @@ ui::TextEditCommand Textfield::GetComman
#endif
return ui::TextEditCommand::DELETE_WORD_BACKWARD;
case ui::VKEY_DELETE:
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Only erase by line break on Linux and ChromeOS.
- if (shift && control)
+ if (shift && control) {
return ui::TextEditCommand::DELETE_TO_END_OF_LINE;
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 98323bc69c..ce73a2a183 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,14 +4,15 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/views/corewm/tooltip_aura.cc
-@@ -37,7 +37,7 @@ namespace {
+@@ -38,7 +38,8 @@ static constexpr int kTooltipMaxWidth =
+
+ // TODO(varkha): Update if native widget can be transparent on Linux.
bool CanUseTranslucentTooltipWidget() {
- // 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)
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
++
return false;
#else
return true;
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 c1d3398a2c..9688ad81d5 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,23 +4,23 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/views/focus/focus_manager.cc
-@@ -585,7 +585,7 @@ bool FocusManager::RedirectAcceleratorTo
+@@ -604,7 +604,7 @@ bool FocusManager::RedirectAcceleratorTo
+ return false;
+ }
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || 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
-@@ -602,7 +602,7 @@ bool FocusManager::RedirectAcceleratorTo
+@@ -619,7 +619,7 @@ bool FocusManager::RedirectAcceleratorTo
+ const bool accelerator_processed =
+ focus_manager->ProcessAccelerator(accelerator);
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Need to manually close the bubble widget on Linux. On Linux when the
// bubble is shown, the main widget remains active. Because of that when
// focus is set to the main widget to process accelerator, the main widget
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 ac348c057a..c150e01331 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,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/views/style/platform_style.cc
-@@ -17,7 +17,7 @@
+@@ -16,7 +16,7 @@
#include "ui/views/controls/focusable_border.h"
#include "ui/views/controls/scrollbar/scroll_bar_views.h"
@@ -15,16 +15,7 @@ $NetBSD$
#include "ui/views/controls/scrollbar/overlay_scroll_bar.h"
#endif
-@@ -50,7 +50,7 @@ const View::FocusBehavior PlatformStyle:
- // Linux clips bubble windows that extend outside their parent window
- // bounds.
- const bool PlatformStyle::kAdjustBubbleIfOffscreen =
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- false;
- #else
- true;
-@@ -59,7 +59,7 @@ const bool PlatformStyle::kAdjustBubbleI
+@@ -27,7 +27,7 @@ namespace views {
// static
std::unique_ptr<ScrollBar> PlatformStyle::CreateScrollBar(
ScrollBar::Orientation orientation) {
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_test_ui__controls__factory__desktop__aura__ozone.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_test_ui__controls__factory__desktop__aura__ozone.cc
index 25551ff12a..f4e94254c2 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_test_ui__controls__factory__desktop__aura__ozone.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_test_ui__controls__factory__desktop__aura__ozone.cc
@@ -4,11 +4,11 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/views/test/ui_controls_factory_desktop_aura_ozone.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/ui/views/test/ui_controls_factory_desktop_aura_ozone.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/views/test/ui_controls_factory_desktop_aura_ozone.cc
-@@ -296,7 +296,7 @@ void UpdateDisplaySync(const std::string
+@@ -237,7 +237,7 @@ bool SendMouseClick(MouseButton type, gf
+ window_hint);
}
- #endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__window__tree__host__platform__impl__interactive__uitest.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__window__tree__host__platform__impl__interactive__uitest.cc
deleted file mode 100644
index 238a16c8b1..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__window__tree__host__platform__impl__interactive__uitest.cc
+++ /dev/null
@@ -1,17 +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/ui/views/widget/desktop_aura/desktop_window_tree_host_platform_impl_interactive_uitest.cc.orig 2024-12-17 17:58:49.000000000 +0000
-+++ src/3rdparty/chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_platform_impl_interactive_uitest.cc
-@@ -23,7 +23,7 @@
- #include "ui/views/widget/widget_delegate.h"
- #include "ui/views/window/native_frame_view.h"
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- #include "ui/views/widget/desktop_aura/desktop_window_tree_host_linux.h"
- #include "ui/views/widget/desktop_aura/window_event_filter_linux.h"
- using DesktopWindowTreeHostPlatformImpl = views::DesktopWindowTreeHostLinux;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_widget.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_widget.cc
index 6990683ea5..fa9bbe058e 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_widget.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_widget_widget.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/views/widget/widget.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/ui/views/widget/widget.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/views/widget/widget.cc
-@@ -59,7 +59,7 @@
+@@ -63,7 +63,7 @@
#include "ui/views/window/custom_frame_view.h"
#include "ui/views/window/dialog_delegate.h"
@@ -15,12 +15,12 @@ $NetBSD$
#include "ui/linux/linux_ui.h"
#endif
-@@ -2194,7 +2194,7 @@ const ui::NativeTheme* Widget::GetNative
- if (parent_)
+@@ -2444,7 +2444,7 @@ const ui::NativeTheme* Widget::GetNative
return parent_->GetNativeTheme();
+ }
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- if (auto* linux_ui_theme = ui::LinuxUiTheme::GetForWindow(GetNativeWindow()))
+ if (auto* linux_ui_theme =
+ ui::LinuxUiTheme::GetForWindow(GetNativeWindow())) {
return linux_ui_theme->GetNativeTheme();
- #endif
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 795d566ffb..b9a5959f1f 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,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/views/window/custom_frame_view.cc
-@@ -268,7 +268,7 @@ int CustomFrameView::CaptionButtonY() co
+@@ -279,7 +279,7 @@ int CustomFrameView::NonClientTopBorderH
+ int CustomFrameView::CaptionButtonY() const {
+ // Maximized buttons start at window top so that even if their images aren't
// drawn flush with the screen edge, they still obey Fitts' Law.
- // 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 BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return FrameBorderThickness();
#else
return frame_->IsMaximized() ? FrameBorderThickness() : kFrameShadowThickness;
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_window_dialog__delegate.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_window_dialog__delegate.cc
index 0675009c80..dd2e64ca61 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_window_dialog__delegate.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_ui_views_window_dialog__delegate.cc
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/ui/views/window/dialog_delegate.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/ui/views/window/dialog_delegate.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/ui/views/window/dialog_delegate.cc
@@ -105,7 +105,7 @@ Widget* DialogDelegate::CreateDialogWidg
// static
bool DialogDelegate::CanSupportCustomFrame(gfx::NativeView parent) {
--#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && \
- BUILDFLAG(ENABLE_DESKTOP_AURA)
+-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(ENABLE_DESKTOP_AURA)
++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_DESKTOP_AURA)
// The new style doesn't support unparented dialogs on Linux desktop.
return parent != nullptr;
+ #else
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_small-vector.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_small-vector.h
deleted file mode 100644
index 0a25e0e1bf..0000000000
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_base_small-vector.h
+++ /dev/null
@@ -1,17 +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/v8/src/base/small-vector.h.orig 2024-12-17 17:58:49.000000000 +0000
-+++ src/3rdparty/chromium/v8/src/base/small-vector.h
-@@ -22,7 +22,7 @@ template <typename T, size_t kSize, type
- class SmallVector {
- // Currently only support trivially copyable and trivially destructible data
- // types, as it uses memcpy to copy elements and never calls destructors.
-- ASSERT_TRIVIALLY_COPYABLE(T);
-+ // XXX FREEBSD ASSERT_TRIVIALLY_COPYABLE(T);
- static_assert(std::is_trivially_destructible<T>::value);
-
- public:
diff --git a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_execution_isolate.cc b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_execution_isolate.cc
index 72419ca922..dc36be5a08 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_execution_isolate.cc
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_execution_isolate.cc
@@ -4,9 +4,9 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/v8/src/execution/isolate.cc.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/v8/src/execution/isolate.cc.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/v8/src/execution/isolate.cc
-@@ -168,6 +168,10 @@
+@@ -172,6 +172,10 @@
#include "src/execution/simulator-base.h"
#endif
@@ -17,7 +17,7 @@ $NetBSD$
extern "C" const uint8_t v8_Default_embedded_blob_code_[];
extern "C" uint32_t v8_Default_embedded_blob_code_size_;
extern "C" const uint8_t v8_Default_embedded_blob_data_[];
-@@ -4996,6 +5000,13 @@ void Isolate::InitializeDefaultEmbeddedB
+@@ -5049,6 +5053,13 @@ void Isolate::InitializeDefaultEmbeddedB
const uint8_t* data = DefaultEmbeddedBlobData();
uint32_t data_size = DefaultEmbeddedBlobDataSize();
@@ -29,5 +29,5 @@ $NetBSD$
+#endif
+
if (StickyEmbeddedBlobCode() != nullptr) {
- base::MutexGuard guard(current_embedded_blob_refcount_mutex_.Pointer());
- // Check again now that we hold the lock.
+ base::SpinningMutexGuard guard(
+ current_embedded_blob_refcount_mutex_.Pointer());
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 9fa4868880..c2ddac24bc 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,7 +4,7 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- 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.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/v8/src/flags/flags.cc
@@ -16,6 +16,10 @@
#include <set>
@@ -14,10 +14,10 @@ $NetBSD$
+#include <sys/mman.h>
+#endif
+
- #include "src/base/functional.h"
+ #include "src/base/hashing.h"
#include "src/base/lazy-instance.h"
#include "src/base/platform/platform.h"
-@@ -807,6 +811,10 @@ void FlagList::FreezeFlags() {
+@@ -823,6 +827,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_trap-handler_trap-handler.h b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_trap-handler_trap-handler.h
index 719acea097..0cfcca31c9 100644
--- a/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_trap-handler_trap-handler.h
+++ b/qt6-qtwebengine/patches/patch-src_3rdparty_chromium_v8_src_trap-handler_trap-handler.h
@@ -4,14 +4,14 @@ $NetBSD$
* Based on OpenBSD's chromium patches, and
pkgsrc's qt5-qtwebengine patches
---- src/3rdparty/chromium/v8/src/trap-handler/trap-handler.h.orig 2024-12-17 17:58:49.000000000 +0000
+--- src/3rdparty/chromium/v8/src/trap-handler/trap-handler.h.orig 2025-10-02 00:36:39.000000000 +0000
+++ src/3rdparty/chromium/v8/src/trap-handler/trap-handler.h
-@@ -20,7 +20,7 @@ namespace trap_handler {
+@@ -18,7 +18,7 @@ namespace v8::internal::trap_handler {
// X64 on Linux, Windows, MacOS, FreeBSD.
#if V8_HOST_ARCH_X64 && V8_TARGET_ARCH_X64 && \
((V8_OS_LINUX && !V8_OS_ANDROID) || V8_OS_WIN || V8_OS_DARWIN || \
- V8_OS_FREEBSD)
+ V8_OS_FREEBSD || V8_OS_OPENBSD || V8_OS_NETBSD)
#define V8_TRAP_HANDLER_SUPPORTED true
- // Arm64 (non-simulator) on Mac and Linux.
+ // Arm64 (non-simulator) on Linux, Windows, MacOS.
#elif V8_TARGET_ARCH_ARM64 && V8_HOST_ARCH_ARM64 && \
diff --git a/qt6-qtwebengine/patches/patch-src_core_CMakeLists.txt b/qt6-qtwebengine/patches/patch-src_core_CMakeLists.txt
index 19da704b79..f60e03f363 100644
--- a/qt6-qtwebengine/patches/patch-src_core_CMakeLists.txt
+++ b/qt6-qtwebengine/patches/patch-src_core_CMakeLists.txt
@@ -5,7 +5,7 @@ $NetBSD$
- add sndio
- add audioio
---- src/core/CMakeLists.txt.orig 2025-05-29 01:27:28.000000000 +0000
+--- src/core/CMakeLists.txt.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/core/CMakeLists.txt
@@ -21,7 +21,7 @@ add_subdirectory(tools/qwebengine_conver
# TOOLCHAIN SETUP
@@ -16,16 +16,16 @@ $NetBSD$
setup_toolchains()
endif()
-@@ -200,7 +200,7 @@ foreach(arch ${archs})
+@@ -212,7 +212,7 @@ foreach(arch ${archs})
accessibility_activation_observer.cpp accessibility_activation_observer.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_qt.cpp ozone/gl_ozone_qt.h
ozone/ozone_util_qt.cpp ozone/ozone_util_qt.h
-@@ -208,17 +208,17 @@ foreach(arch ${archs})
+@@ -220,17 +220,17 @@ foreach(arch ${archs})
ozone/surface_factory_qt.cpp ozone/surface_factory_qt.h
)
@@ -46,15 +46,16 @@ $NetBSD$
SOURCES
ozone/egl_helper.cpp ozone/egl_helper.h
)
-@@ -319,6 +319,7 @@ foreach(arch ${archs})
+@@ -342,6 +342,8 @@ foreach(arch ${archs})
append_pkg_config_setup(gnArgArg)
list(APPEND gnArgArg
+ extra_cxxflags="@EXTRA_CXXFLAGS@"
++ use_system_libdrm=true
qtwebengine_target="${buildDir}/${config}/${arch}:QtWebEngineCore"
build_dawn_tests=false
build_with_tflite_lib=false
-@@ -438,7 +439,7 @@ foreach(arch ${archs})
+@@ -461,7 +462,7 @@ foreach(arch ${archs})
CONDITION QT_FEATURE_webenginedriver
)
@@ -63,7 +64,7 @@ $NetBSD$
list(APPEND gnArgArg
angle_enable_gl=true
use_gtk=false # GTK toolkit bindings
-@@ -507,6 +508,14 @@ foreach(arch ${archs})
+@@ -530,6 +531,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 2b14056f81..0d9b673379 100644
--- a/qt6-qtwebengine/patches/patch-src_core_api_configure.cmake
+++ b/qt6-qtwebengine/patches/patch-src_core_api_configure.cmake
@@ -5,7 +5,7 @@ $NetBSD$
- add sndio
- add audioio
---- src/core/api/configure.cmake.orig 2025-05-29 01:27:28.000000000 +0000
+--- src/core/api/configure.cmake.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/core/api/configure.cmake
@@ -11,6 +11,7 @@ if(NOT QT_CONFIGURE_RUNNING)
pkg_check_modules(ALSA alsa IMPORTED_TARGET)
@@ -15,7 +15,7 @@ $NetBSD$
pkg_check_modules(GBM gbm)
pkg_check_modules(LIBVA libva>=1.14)
if(NOT GIO_FOUND)
-@@ -90,6 +91,16 @@ qt_feature("webengine-printing-and-pdf"
+@@ -96,6 +97,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,7 @@ $NetBSD$
qt_feature("webengine-pepper-plugins" PRIVATE
LABEL "Pepper Plugins"
PURPOSE "Enables use of Pepper plugins."
-@@ -112,7 +123,7 @@ qt_feature("webengine-kerberos" PRIVATE
+@@ -118,7 +129,7 @@ qt_feature("webengine-kerberos" PRIVATE
LABEL "Kerberos Authentication"
PURPOSE "Enables Kerberos Authentication Support"
AUTODETECT WIN32
@@ -41,7 +41,7 @@ $NetBSD$
)
qt_feature("webengine-spellchecker" PUBLIC
LABEL "Spellchecker"
-@@ -122,7 +133,7 @@ qt_feature("webengine-native-spellchecke
+@@ -128,7 +139,7 @@ qt_feature("webengine-native-spellchecke
LABEL "Native Spellchecker"
PURPOSE "Use the system's native spellchecking engine."
AUTODETECT OFF
@@ -50,7 +50,7 @@ $NetBSD$
)
qt_feature("webengine-extensions" PUBLIC
SECTION "WebEngine"
-@@ -171,7 +182,7 @@ qt_feature("webengine-vaapi" PRIVATE
+@@ -179,7 +190,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
@@ -59,7 +59,7 @@ $NetBSD$
)
list(LENGTH CMAKE_OSX_ARCHITECTURES osx_arch_count)
qt_feature("webenginedriver" PUBLIC
-@@ -196,7 +207,7 @@ qt_configure_add_summary_entry(ARGS "web
+@@ -204,7 +215,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"
@@ -68,7 +68,7 @@ $NetBSD$
)
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(
+@@ -222,15 +233,21 @@ qt_configure_add_summary_entry(
)
qt_configure_add_summary_entry(
ARGS "webengine-vaapi"
@@ -91,9 +91,9 @@ $NetBSD$
+qt_configure_add_summary_entry(
+ ARGS "webengine-system-audioio"
)
- 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_summary_entry(
+ ARGS "webengine-webrtc-system-openh264"
+@@ -244,7 +261,7 @@ if(CMAKE_CROSSCOMPILING)
qt_configure_add_report_entry(
TYPE WARNING
MESSAGE "Thumb instruction set is required to build ffmpeg for QtWebEngine."
@@ -102,7 +102,7 @@ $NetBSD$
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(
+@@ -263,5 +280,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."
diff --git a/qt6-qtwebengine/patches/patch-src_core_api_qt__cmdline.cmake b/qt6-qtwebengine/patches/patch-src_core_api_qt__cmdline.cmake
index 605f7c6022..e8babc930c 100644
--- a/qt6-qtwebengine/patches/patch-src_core_api_qt__cmdline.cmake
+++ b/qt6-qtwebengine/patches/patch-src_core_api_qt__cmdline.cmake
@@ -4,12 +4,12 @@ $NetBSD$
pkgsrc's qt5-qtwebengine patches
- add sndio
---- src/core/api/qt_cmdline.cmake.orig 2024-11-21 04:36:37.000000000 +0000
+--- src/core/api/qt_cmdline.cmake.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/core/api/qt_cmdline.cmake
@@ -28,7 +28,7 @@ function(qt_commandline_jumbo arg val ne
endfunction()
- set(systemLibs alsa ffmpeg freetype harfbuzz icu lcms2 libevent libjpeg
+ set(systemLibs alsa ffmpeg freetype harfbuzz icu lcms2 libjpeg
- libpng libvpx libxml libwebp minizip opus pulseaudio re2 snappy zlib)
+ libpng libvpx libxml libwebp minizip opus pulseaudio re2 snappy sndio zlib)
foreach(slib ${systemLibs})
diff --git a/qt6-qtwebengine/patches/patch-src_pdf_CMakeLists.txt b/qt6-qtwebengine/patches/patch-src_pdf_CMakeLists.txt
index 00242d5bd5..e83c9d5caf 100644
--- a/qt6-qtwebengine/patches/patch-src_pdf_CMakeLists.txt
+++ b/qt6-qtwebengine/patches/patch-src_pdf_CMakeLists.txt
@@ -3,7 +3,7 @@ $NetBSD$
* Based on OpenBSD's qt6-qtwebengine patches, and
pkgsrc's qt5-qtwebengine patches
---- src/pdf/CMakeLists.txt.orig 2025-05-29 01:27:28.000000000 +0000
+--- src/pdf/CMakeLists.txt.orig 2025-11-14 07:55:10.000000000 +0000
+++ src/pdf/CMakeLists.txt
@@ -69,7 +69,7 @@ add_dependencies(prepare_docs_Pdf genera
# TOOLCHAIN SETUP
@@ -22,9 +22,9 @@ $NetBSD$
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
- )
+@@ -144,7 +145,7 @@ foreach(arch ${archs})
+ webnn_use_tflite=false
+ )
- if(LINUX OR ANDROID)
+ if(UNIX OR ANDROID)
Home |
Main Index |
Thread Index |
Old Index