git: 2cba7beae2a5 - 2023Q4 - www/ungoogled-chromium: update to 119.0.6045.105
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Nov 2023 12:56:18 UTC
The branch 2023Q4 has been updated by rnagy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2cba7beae2a518db4114e36573f72dfc80b3e06d
commit 2cba7beae2a518db4114e36573f72dfc80b3e06d
Author: Robert Nagy <rnagy@FreeBSD.org>
AuthorDate: 2023-11-04 07:37:24 +0000
Commit: Robert Nagy <rnagy@FreeBSD.org>
CommitDate: 2023-11-04 12:56:10 +0000
www/ungoogled-chromium: update to 119.0.6045.105
Security: https://vuxml.freebsd.org/freebsd/a1e27775-7a61-11ee-8290-a8a1599412c6.html
(cherry picked from commit 1f299cbf41cb4f7ee6965cf482a8d15b97db7185)
---
www/ungoogled-chromium/Makefile | 2 +-
www/ungoogled-chromium/distinfo | 14 ++---
www/ungoogled-chromium/files/patch-BUILD.gn | 10 ++--
www/ungoogled-chromium/files/patch-base_BUILD.gn | 22 +++----
.../files/patch-base_allocator_dispatcher_tls.h | 4 +-
...ch-base_allocator_partition__allocator_BUILD.gn | 4 +-
...cator_partition__allocator_partition__alloc.gni | 4 +-
...ition__alloc__base_debug_stack__trace__posix.cc | 6 +-
...tition__allocator_partition__alloc__constants.h | 6 +-
.../files/patch-base_base__paths__posix.cc | 16 ++++-
.../files/patch-base_debug_stack__trace__posix.cc | 37 ++++++++----
...tch-base_files_file__path__watcher__unittest.cc | 8 +--
.../files/patch-base_files_file__util__posix.cc | 7 ++-
.../patch-base_process_process__handle__freebsd.cc | 4 +-
.../files/patch-base_process_process__unittest.cc | 4 +-
.../files/patch-base_rand__util__posix.cc | 14 ++---
.../files/patch-base_system_sys__info.h | 6 +-
.../files/patch-base_system_sys__info__openbsd.cc | 21 +++----
.../patch-base_test_launcher_test__launcher.cc | 4 +-
...ch-base_threading_platform__thread__unittest.cc | 8 +--
.../files/patch-base_trace__event_trace__log.cc | 4 +-
.../files/patch-build_config_compiler_BUILD.gn | 28 ++++-----
.../files/patch-build_config_compiler_pgo_BUILD.gn | 4 +-
.../files/patch-build_config_linux_atspi2_BUILD.gn | 25 ++++++++
.../files/patch-build_toolchain_gcc__toolchain.gni | 8 +--
.../files/patch-build_toolchain_toolchain.gni | 4 +-
www/ungoogled-chromium/files/patch-cc_BUILD.gn | 6 +-
.../files/patch-cc_base_features.cc | 4 +-
.../files/patch-chrome_app_chrome__main.cc | 10 ++--
.../patch-chrome_app_chrome__main__delegate.cc | 24 ++++----
.../files/patch-chrome_app_chromium__strings.grd | 6 +-
.../patch-chrome_app_generated__resources.grd | 16 ++---
.../patch-chrome_app_google__chrome__strings.grd | 6 +-
.../files/patch-chrome_app_settings__strings.grdp | 4 +-
.../files/patch-chrome_browser_BUILD.gn | 4 +-
.../files/patch-chrome_browser_about__flags.cc | 46 +++++++--------
.../patch-chrome_browser_browser__process__impl.cc | 8 +--
..._browser_chrome__browser__interface__binders.cc | 24 ++++----
.../patch-chrome_browser_chrome__browser__main.cc | 23 +++++---
...ome_browser_chrome__content__browser__client.cc | 49 +++++++--------
...rome_browser_chrome__content__browser__client.h | 4 +-
...nt__settings_one__time__permission__provider.cc | 6 +-
...oad_bubble_download__bubble__update__service.cc | 6 +-
...ch-chrome_browser_download_download__commands.h | 4 +-
...hrome_browser_download_download__item__model.cc | 10 ++--
...atch-chrome_browser_download_download__prefs.cc | 12 ++--
...patch-chrome_browser_download_download__prefs.h | 4 +-
...er_enterprise_connectors_connectors__service.cc | 4 +-
...ectors_reporting_realtime__reporting__client.cc | 8 +--
.../files/patch-chrome_browser_extensions_BUILD.gn | 4 +-
..._browser__context__keyed__service__factories.cc | 4 +-
...__private_passwords__private__delegate__impl.cc | 4 +-
...extensions_api_settings__private_prefs__util.cc | 6 +-
...chrome_browser_extensions_api_tabs_tabs__api.cc | 4 +-
...api_webstore__private_webstore__private__api.cc | 4 +-
...e__file__system__access__permission__context.cc | 4 +-
.../patch-chrome_browser_flag__descriptions.cc | 24 ++++----
.../patch-chrome_browser_flag__descriptions.h | 22 +++----
...chrome_browser_headless_headless__mode__util.cc | 22 +++----
...wser_media_webrtc_chrome__screen__enumerator.cc | 6 +-
...chrome__browser__main__extra__parts__metrics.cc | 4 +-
...ser_metrics_chrome__metrics__service__client.cc | 14 ++---
...rowser_net_system__network__context__manager.cc | 69 +++++++++++++++++-----
...onfiguration__policy__handler__list__factory.cc | 47 ++++++++-------
.../patch-chrome_browser_prefs_browser__prefs.cc | 22 ++++---
...patch-chrome_browser_printing_printer__query.cc | 4 +-
...hrome__browser__main__extra__parts__profiles.cc | 20 ++++---
...h-chrome_browser_renderer__preferences__util.cc | 8 +--
...atch-chrome_browser_resources_settings_route.ts | 4 +-
...h-chrome_browser_sync_sync__service__factory.cc | 8 +--
.../patch-chrome_browser_themes_theme__service.cc | 6 +-
...-chrome_browser_ui_actions_chrome__action__id.h | 4 +-
.../files/patch-chrome_browser_ui_browser.h | 6 +-
...rome_browser_ui_browser__command__controller.cc | 12 ++--
.../patch-chrome_browser_ui_browser__dialogs.h | 29 +++++++++
.../files/patch-chrome_browser_ui_chrome__pages.cc | 6 +-
.../files/patch-chrome_browser_ui_chrome__pages.h | 4 +-
..._exclusive__access_exclusive__access__bubble.cc | 4 +-
...r_ui_omnibox_omnibox__pedal__implementations.cc | 4 +-
...chrome_browser_ui_startup_bad__flags__prompt.cc | 4 +-
...browser_ui_startup_startup__browser__creator.cc | 8 +--
.../files/patch-chrome_browser_ui_tab__helpers.cc | 6 +-
.../files/patch-chrome_browser_ui_ui__features.cc | 4 +-
.../files/patch-chrome_browser_ui_ui__features.h | 4 +-
...h-chrome_browser_ui_views_accelerator__table.cc | 6 +-
...s_chrome__browser__main__extra__parts__views.cc | 22 +++----
...-chrome_browser_ui_views_frame_browser__view.cc | 4 +-
..._ui_views_frame_opaque__browser__frame__view.cc | 8 +--
...r_ui_views_frame_opaque__browser__frame__view.h | 6 +-
...e_picture__in__picture__browser__frame__view.cc | 24 ++++----
...me_picture__in__picture__browser__frame__view.h | 6 +-
...__web__signin__interception__backdrop__layer.cc | 11 ++++
...es_signin__view__controller__delegate__views.cc | 26 ++++++--
...les_signin__view__controller__delegate__views.h | 11 +++-
...e_browser_ui_views_tab__search__bubble__host.cc | 4 +-
.../patch-chrome_browser_ui_views_tabs_tab.cc | 4 +-
..._browser_ui_views_tabs_tab__drag__controller.cc | 14 ++---
...eb__apps_web__app__integration__test__driver.cc | 22 +++----
...tch-chrome_browser_ui_webauthn_sheet__models.cc | 14 -----
...i_webui_chrome__web__ui__controller__factory.cc | 12 ++--
...i_connectors__internals_device__trust__utils.cc | 6 +-
..._browser_ui_webui_ntp_app__launcher__handler.cc | 4 +-
...tings_settings__localized__strings__provider.cc | 16 ++---
...__integration_os__integration__test__override.h | 4 +-
...gration_web__app__file__handler__registration.h | 4 +-
...plications_os__integration_web__app__shortcut.h | 6 +-
...pplications_policy_web__app__policy__manager.cc | 4 +-
...s_test_os__integration__test__override__impl.cc | 6 +-
...ns_test_os__integration__test__override__impl.h | 10 ++--
...ser_web__applications_web__app__install__info.h | 11 ++++
...bauthn_authenticator__request__dialog__model.cc | 14 -----
...thn_chrome__authenticator__request__delegate.cc | 25 ++++----
.../files/patch-chrome_common_chrome__features.cc | 22 +++----
.../files/patch-chrome_common_chrome__features.h | 12 ++--
.../files/patch-chrome_common_chrome__paths.cc | 16 ++---
.../files/patch-chrome_common_chrome__switches.cc | 4 +-
.../files/patch-chrome_common_chrome__switches.h | 4 +-
.../files/patch-chrome_common_crash__keys.cc | 23 ++++++++
.../files/patch-chrome_common_pref__names.h | 18 +++---
.../files/patch-chrome_common_url__constants.cc | 4 +-
.../files/patch-chrome_common_url__constants.h | 4 +-
.../patch-chrome_common_webui__url__constants.cc | 6 +-
.../patch-chrome_common_webui__url__constants.h | 10 ++--
...vices_printing_print__backend__service__impl.cc | 6 +-
...services_speech_audio__source__fetcher__impl.cc | 4 +-
.../files/patch-chrome_test_BUILD.gn | 4 +-
.../files/patch-chrome_utility_services.cc | 10 ++--
...ecast_browser_cast__content__browser__client.cc | 4 +-
...tch-components_autofill__payments__strings.grdp | 8 +--
...ofill_core_browser_contact__info__sync__util.cc | 18 ------
...ll_core_browser_payments_iban__save__manager.cc | 14 +++++
...utofill_core_browser_personal__data__manager.cc | 4 +-
...browser_webdata_autofill__sync__bridge__util.cc | 22 -------
...ill_core_common_autofill__payments__features.cc | 4 +-
...mponents_autofill_core_common_autofill__util.cc | 4 +-
.../files/patch-components_commerce__strings.grdp | 4 +-
...e__engagement_public_feature__configurations.cc | 4 +-
...eature__engagement_public_feature__constants.cc | 19 +++---
...feature__engagement_public_feature__constants.h | 17 +++---
...nts_feature__engagement_public_feature__list.cc | 19 +++---
...ents_feature__engagement_public_feature__list.h | 36 ++++++-----
.../patch-components_gwp__asan_client_gwp__asan.cc | 13 +---
...ponents_gwp__asan_client_gwp__asan__features.cc | 11 ++++
...n_providers_cast_channel_cast__message__util.cc | 4 +-
...e__parameter_common_public_miracle__parameter.h | 12 ++++
...rator_browser_network__session__configurator.cc | 4 +-
...zation__guide_core_optimization__guide__util.cc | 4 +-
...ger_core_browser_features_password__features.cc | 4 +-
...nager_core_browser_login__database__unittest.cc | 4 +-
...__manager_core_browser_ui_passwords__grouper.cc | 14 -----
...mponents_performance__manager_public_features.h | 6 +-
...licy_core_common_cloud_cloud__policy__client.cc | 4 +-
...policy_core_common_cloud_cloud__policy__util.cc | 6 +-
..._default__model_cross__device__user__segment.cc | 4 +-
...ices_screen__ai_screen__ai__library__wrapper.cc | 8 +--
.../patch-components_storage__monitor_BUILD.gn | 6 +-
...supervised__user_core_browser_proto__fetcher.cc | 8 +--
...cation_common_product__messaging__controller.cc | 10 ++++
...nts_user__education_views_help__bubble__view.cc | 4 +-
...ons_service_google__groups__updater__service.cc | 11 ----
...isplay__embedder_skia__output__surface__impl.cc | 14 ++---
...mbedder_skia__output__surface__impl__on__gpu.cc | 4 +-
...omponents_viz_service_display_skia__renderer.cc | 4 +-
...e__sinks_root__compositor__frame__sink__impl.cc | 4 +-
...me__sinks_root__compositor__frame__sink__impl.h | 4 +-
..._webauthn_core_browser_passkey__sync__bridge.cc | 26 --------
.../files/patch-content_app_content__main.cc | 4 +-
...atch-content_app_content__main__runner__impl.cc | 20 +++----
.../files/patch-content_browser_BUILD.gn | 4 +-
.../patch-content_browser_browser__main__loop.cc | 8 +--
...tent_browser_child__process__launcher__helper.h | 11 ++++
...wser_child__process__launcher__helper__linux.cc | 4 +-
...wser_devtools_devtools__frontend__host__impl.cc | 38 ++++++++++++
...owser_devtools_devtools__frontend__host__impl.h | 11 ++++
...patch-content_browser_download_save__package.cc | 4 +-
...s_file__system__access__local__path__watcher.cc | 4 +-
...font__access_font__enumeration__data__source.cc | 8 +--
...rowser_gpu_gpu__data__manager__impl__private.cc | 4 +-
...patch-content_browser_gpu_gpu__process__host.cc | 4 +-
..._group_header__direct__from__seller__signals.cc | 4 +-
...ent_browser_network__service__instance__impl.cc | 10 ++--
...ser_renderer__host_render__frame__host__impl.cc | 40 -------------
...r_renderer__host_render__process__host__impl.cc | 8 +--
...er_renderer__host_render__process__host__impl.h | 4 +-
...derer__host_render__widget__host__view__aura.cc | 10 ++--
...ce__worker_service__worker__context__wrapper.cc | 4 +-
...patch-content_browser_utility__process__host.cc | 14 ++---
...wser_web__contents_web__contents__view__aura.cc | 6 +-
...browser_webid_idp__network__request__manager.cc | 14 -----
.../files/patch-content_child_child__process.cc | 12 ++--
.../files/patch-content_common_BUILD.gn | 6 +-
.../files/patch-content_common_features.cc | 20 +++++++
.../files/patch-content_common_features.h | 20 +++++++
...atch-content_public_common_content__features.cc | 19 ++----
...patch-content_public_common_content__features.h | 11 ----
...patch-content_renderer_render__process__impl.cc | 6 +-
.../patch-content_renderer_render__thread__impl.cc | 10 ++--
...ent_renderer_renderer__blink__platform__impl.cc | 10 ++--
...tent_renderer_renderer__blink__platform__impl.h | 4 +-
.../files/patch-content_shell_BUILD.gn | 4 +-
.../files/patch-content_test_BUILD.gn | 6 +-
.../files/patch-content_utility_services.cc | 18 +++---
...device_fido_get__assertion__request__handler.cc | 26 --------
.../files/patch-device_gamepad_BUILD.gn | 4 +-
...h-extensions_shell_app_shell__main__delegate.cc | 8 +--
...mand__buffer_service_dawn__context__provider.cc | 4 +-
..._command__buffer_service_gles2__cmd__decoder.cc | 4 +-
...mmand__buffer_service_shared__context__state.cc | 32 ++++++++++
...ommand__buffer_service_shared__context__state.h | 11 ++++
...e_shared__image_external__vk__image__backing.cc | 4 +-
..._image_external__vk__image__backing__factory.cc | 6 +-
...ce_shared__image_wrapped__sk__image__backing.cc | 4 +-
...ommand__buffer_service_webgpu__decoder__impl.cc | 6 +-
.../files/patch-gpu_config_gpu__control__list.cc | 4 +-
.../files/patch-gpu_config_gpu__finch__features.cc | 6 +-
.../files/patch-gpu_ipc_service_gpu__init.cc | 8 +--
.../files/patch-gpu_vulkan_generate__bindings.py | 4 +-
.../files/patch-gpu_vulkan_semaphore__handle.cc | 10 ++--
.../patch-gpu_vulkan_vulkan__function__pointers.cc | 6 +-
.../patch-gpu_vulkan_vulkan__function__pointers.h | 8 +--
.../files/patch-media_audio_BUILD.gn | 4 +-
.../files/patch-media_base_media__switches.cc | 18 +++---
.../files/patch-media_base_media__switches.h | 10 ++--
.../files/patch-media_base_video__frame.cc | 12 ++--
..._capture_video_linux_v4l2__capture__delegate.cc | 8 +--
.../files/patch-media_gpu_buffer__validation.cc | 4 +-
...pu_chromeos_mailbox__video__frame__converter.cc | 11 ++++
.../files/patch-media_gpu_vaapi_vaapi__wrapper.cc | 21 ++-----
...ideo_gpu__memory__buffer__video__frame__pool.cc | 8 +--
.../files/patch-mojo_public_c_system_thunks.cc | 10 ++--
www/ungoogled-chromium/files/patch-net_BUILD.gn | 10 ++--
.../files/patch-net_base_features.cc | 4 +-
.../patch-net_cert_cert__verify__proc__unittest.cc | 6 +-
.../files/patch-net_cert_pki_general__names.h | 6 +-
.../files/patch-net_dns_host__resolver__cache.cc | 14 -----
.../files/patch-net_dns_public_BUILD.gn | 4 +-
.../files/patch-net_third__party_quiche_BUILD.gn | 4 +-
...verify__tool_cert__verify__comparision__tool.cc | 8 +--
...nting_mojom_printing__context__mojom__traits.cc | 8 +--
.../files/patch-remoting_host_client__session.cc | 11 ++++
...ices_cert__verifier_cert__verifier__creation.cc | 8 +--
.../files/patch-services_device_BUILD.gn | 4 +-
...ce_public_cpp_generic__sensor_sensor__reading.h | 8 +--
.../files/patch-services_device_usb_BUILD.gn | 8 +--
.../files/patch-services_network_BUILD.gn | 4 +-
.../patch-services_network_network__context.cc | 6 +-
.../patch-services_network_network__context.h | 4 +-
.../patch-services_network_public_cpp_BUILD.gn | 4 +-
.../patch-services_network_public_cpp_features.cc | 4 +-
.../patch-services_network_public_mojom_BUILD.gn | 4 +-
..._party_abseil-cpp_absl_base_internal_sysinfo.cc | 27 +++------
...tch-third__party_angle_src_libANGLE_Display.cpp | 10 ++--
...h-third__party_blink_public_platform_platform.h | 4 +-
...link_renderer_core_editing_editing__behavior.cc | 4 +-
...blink_renderer_core_exported_web__view__impl.cc | 4 +-
...y_blink_renderer_core_frame_web__frame__test.cc | 6 +-
...erer_core_inspector_inspector__memory__agent.cc | 10 ++--
...ink_renderer_core_layout_ng_layout__ng__view.cc | 4 +-
...party_blink_renderer_core_paint_paint__layer.cc | 4 +-
..._renderer_core_scroll_scrollbar__theme__aura.cc | 6 +-
...renderer_modules_ml_webnn_ml__graph__xnnpack.cc | 4 +-
...peerconnection_webrtc__audio__renderer__test.cc | 4 +-
...odules_webgl_webgl__rendering__context__base.cc | 4 +-
...h-third__party_blink_renderer_platform_BUILD.gn | 4 +-
...nk_renderer_platform_fonts_font__description.cc | 4 +-
...er_platform_graphics_video__frame__submitter.cc | 4 +-
...derer_platform_runtime__enabled__features.json5 | 19 ++++--
...renderer_platform_text_text__break__iterator.cc | 16 +++++
...platform_video__capture_video__capture__impl.cc | 4 +-
.../files/patch-third__party_libxml_linux_config.h | 12 ----
.../files/patch-third__party_libxml_src_dict.c | 41 -------------
..._maldoca_src_maldoca_base_get__runfiles__dir.cc | 8 +--
...rd__party_perfetto_include_perfetto_base_time.h | 8 +--
...vulkan-loader_src_loader_vk__loader__platform.h | 4 +-
.../files/patch-third__party_webrtc_BUILD.gn | 4 +-
.../files/patch-ui_aura_screen__ozone.cc | 4 +-
.../files/patch-ui_aura_screen__ozone.h | 6 +-
...tch-ui_base_clipboard_clipboard__non__backed.cc | 11 ++++
...op_os__exchange__data__provider__non__backed.cc | 4 +-
.../patch-ui_base_resource_resource__bundle.cc | 4 +-
.../files/patch-ui_base_ui__base__features.cc | 21 ++-----
.../files/patch-ui_base_ui__base__features.h | 15 +----
.../files/patch-ui_base_x_x11__cursor__factory.cc | 4 +-
.../files/patch-ui_base_x_x11__cursor__factory.h | 8 +--
.../files/patch-ui_base_x_x11__cursor__loader.cc | 6 +-
.../files/patch-ui_base_x_x11__display__manager.cc | 20 +++++++
.../files/patch-ui_color_color__id.h | 4 +-
.../files/patch-ui_color_color__provider__utils.cc | 4 +-
...nts_gesture__detection_motion__event__generic.h | 6 +-
www/ungoogled-chromium/files/patch-ui_gfx_BUILD.gn | 4 +-
.../files/patch-ui_gfx_x_xlib__support.cc | 16 ++---
www/ungoogled-chromium/files/patch-ui_gl_BUILD.gn | 6 +-
.../files/patch-ui_gl_gl__context.cc | 4 +-
.../files/patch-ui_gl_gl__implementation.cc | 4 +-
.../files/patch-ui_gtk_gtk__ui.cc | 4 +-
.../patch-ui_gtk_printing_print__dialog__gtk.cc | 4 +-
.../patch-ui_native__theme_native__theme__base.cc | 4 +-
...tform_wayland_host_wayland__toplevel__window.cc | 4 +-
...atform_wayland_host_wayland__toplevel__window.h | 8 +--
...rm_wayland_host_xdg__toplevel__wrapper__impl.cc | 4 +-
...ne_platform_wayland_ozone__platform__wayland.cc | 4 +-
...tch-ui_ozone_platform_x11_x11__screen__ozone.cc | 23 +++++---
...atch-ui_ozone_platform_x11_x11__screen__ozone.h | 14 ++---
.../patch-ui_ozone_public_platform__screen.cc | 11 ----
.../files/patch-ui_ozone_public_platform__screen.h | 11 +---
...i_ozone_test_mock__platform__window__delegate.h | 4 +-
.../patch-ui_views_controls_textfield_textfield.cc | 14 ++---
..._widget_desktop__aura_desktop__screen__ozone.cc | 11 ----
...__aura_desktop__window__tree__host__platform.cc | 6 +-
.../files/patch-ui_views_widget_widget.cc | 4 +-
.../files/patch-ui_views_widget_widget.h | 4 +-
www/ungoogled-chromium/files/patch-v8_BUILD.gn | 10 ++--
.../files/patch-v8_src_api_api.cc | 4 +-
.../patch-v8_src_base_platform_platform-posix.cc | 4 +-
...8_src_baseline_x64_baseline-assembler-x64-inl.h | 4 +-
.../patch-v8_src_builtins_x64_builtins-x64.cc | 8 +--
.../files/patch-v8_src_codegen_x64_assembler-x64.h | 4 +-
...patch-v8_src_codegen_x64_macro-assembler-x64.cc | 4 +-
.../patch-v8_src_codegen_x64_macro-assembler-x64.h | 4 +-
..._src_compiler_backend_x64_code-generator-x64.cc | 4 +-
.../files/patch-v8_src_execution_isolate.cc | 4 +-
.../files/patch-v8_src_flags_flags.cc | 10 ++--
...ch-v8_src_maglev_x64_maglev-assembler-x64-inl.h | 4 +-
..._embedded_platform-embedded-file-writer-base.cc | 4 +-
...tch-v8_src_trap-handler_handler-inside-posix.cc | 6 +-
...src_wasm_baseline_ia32_liftoff-assembler-ia32.h | 30 +++++-----
.../patch-v8_src_wasm_jump-table-assembler.cc | 8 +--
.../files/patch-v8_src_wasm_jump-table-assembler.h | 4 +-
...-weblayer_browser_browser__main__parts__impl.cc | 20 -------
...layer_browser_content__browser__client__impl.cc | 20 -------
...blayer_browser_content__browser__client__impl.h | 11 ----
...er_browser_system__network__context__manager.cc | 11 ----
.../files/patch-weblayer_common_weblayer__paths.cc | 20 -------
333 files changed, 1642 insertions(+), 1622 deletions(-)
diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile
index 8c5877eb30a2..82a3b764ce7c 100644
--- a/www/ungoogled-chromium/Makefile
+++ b/www/ungoogled-chromium/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ungoogled-chromium
-PORTVERSION= 118.0.5993.117
+PORTVERSION= 119.0.6045.105
UGVERSION= ${DISTVERSION}-1
CATEGORIES= www wayland
MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \
diff --git a/www/ungoogled-chromium/distinfo b/www/ungoogled-chromium/distinfo
index a6ff4524face..1e5f817ded65 100644
--- a/www/ungoogled-chromium/distinfo
+++ b/www/ungoogled-chromium/distinfo
@@ -1,9 +1,9 @@
-TIMESTAMP = 1698422936
-SHA256 (chromium-118.0.5993.117.tar.xz) = 7029d851e4a2e8d5a145a6f6ba76f18f5c3043f57b2c750b35d96e92f3453786
-SIZE (chromium-118.0.5993.117.tar.xz) = 3249866084
-SHA256 (ungoogled-chromium-118.0.5993.117-1.tar.gz) = 41afb5933668b67059d48613c136c4535ed7a5a3387361cd118aff38593ae4e3
-SIZE (ungoogled-chromium-118.0.5993.117-1.tar.gz) = 660283
-SHA256 (chromium-118.0.5993.117-testdata.tar.xz) = cc7eb88774d2b6ab3c0c6c280526cab1c92319d57bfb42575dc0858b2ef09079
-SIZE (chromium-118.0.5993.117-testdata.tar.xz) = 267124300
+TIMESTAMP = 1699083208
+SHA256 (chromium-119.0.6045.105.tar.xz) = 73cb8c39e928f8c627d747d37a3b020f08913ef5508f893758d70bdbd545dbcf
+SIZE (chromium-119.0.6045.105.tar.xz) = 3299629128
+SHA256 (ungoogled-chromium-119.0.6045.105-1.tar.gz) = e5d74a46cd79b79a3f2f8f8fadce8329ad50f4a4facd76365d28e0761173aa26
+SIZE (ungoogled-chromium-119.0.6045.105-1.tar.gz) = 659861
+SHA256 (chromium-119.0.6045.105-testdata.tar.xz) = 7b8e9f51677e64e2ad653aa5b915b74545299a259238ca1ffd24f1e677470f78
+SIZE (chromium-119.0.6045.105-testdata.tar.xz) = 271101180
SHA256 (test_fonts-336e775eec536b2d785cc80eff6ac39051931286.tar.gz) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8
SIZE (test_fonts-336e775eec536b2d785cc80eff6ac39051931286.tar.gz) = 32624734
diff --git a/www/ungoogled-chromium/files/patch-BUILD.gn b/www/ungoogled-chromium/files/patch-BUILD.gn
index fe1bfc5ebc11..5e53f231fe01 100644
--- a/www/ungoogled-chromium/files/patch-BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-BUILD.gn
@@ -1,4 +1,4 @@
---- BUILD.gn.orig 2023-10-13 13:20:35 UTC
+--- BUILD.gn.orig 2023-11-04 07:08:51 UTC
+++ BUILD.gn
@@ -61,7 +61,7 @@ declare_args() {
root_extra_deps = []
@@ -57,10 +57,10 @@
- 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) {
- script_test("webdriver_wpt_tests") {
+ script_test("chrome_wpt_tests") {
script = "//third_party/blink/tools/run_wpt_tests.py"
args = [
-@@ -1176,7 +1184,7 @@ if (use_blink && !is_cronet_build) {
+@@ -1159,7 +1167,7 @@ if (use_blink && !is_cronet_build) {
data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ]
}
@@ -69,7 +69,7 @@
data_deps +=
[ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ]
}
-@@ -1185,7 +1193,7 @@ if (use_blink && !is_cronet_build) {
+@@ -1168,7 +1176,7 @@ if (use_blink && !is_cronet_build) {
data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
}
@@ -78,7 +78,7 @@
data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
}
-@@ -1645,7 +1653,7 @@ group("chromium_builder_perf") {
+@@ -1629,7 +1637,7 @@ group("chromium_builder_perf") {
data_deps += [ "//chrome/test:performance_browser_tests" ]
}
diff --git a/www/ungoogled-chromium/files/patch-base_BUILD.gn b/www/ungoogled-chromium/files/patch-base_BUILD.gn
index 67aa35e39495..17a30c32de0c 100644
--- a/www/ungoogled-chromium/files/patch-base_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-base_BUILD.gn
@@ -1,6 +1,6 @@
---- base/BUILD.gn.orig 2023-10-13 13:20:35 UTC
+--- base/BUILD.gn.orig 2023-11-04 07:08:51 UTC
+++ base/BUILD.gn
-@@ -198,7 +198,7 @@ buildflag_header("ios_cronet_buildflags") {
+@@ -186,7 +186,7 @@ buildflag_header("ios_cronet_buildflags") {
flags = [ "CRONET_BUILD=$is_cronet_build" ]
}
@@ -9,7 +9,7 @@
buildflag_header("message_pump_buildflags") {
header = "message_pump_buildflags.h"
header_dir = "base/message_loop"
-@@ -1111,11 +1111,23 @@ component("base") {
+@@ -1101,11 +1101,23 @@ component("base") {
# Needed for <atomic> if using newer C++ library than sysroot, except if
# building inside the cros_sdk environment - use host_toolchain as a
# more robust check for this.
@@ -34,7 +34,7 @@
if (use_allocator_shim) {
if (is_apple) {
sources += [ "allocator/early_zone_registration_apple.h" ]
-@@ -1135,7 +1147,7 @@ component("base") {
+@@ -1125,7 +1137,7 @@ component("base") {
# Allow more direct string conversions on platforms with native utf8
# strings
@@ -43,7 +43,7 @@
defines += [ "SYSTEM_NATIVE_UTF8" ]
}
-@@ -2080,6 +2092,22 @@ component("base") {
+@@ -2077,6 +2089,22 @@ component("base") {
]
}
@@ -66,7 +66,7 @@
# iOS
if (is_ios) {
sources += [
-@@ -2212,6 +2240,29 @@ component("base") {
+@@ -2209,6 +2237,29 @@ component("base") {
}
}
@@ -96,7 +96,7 @@
if (use_blink) {
sources += [
"files/file_path_watcher.cc",
-@@ -2222,7 +2273,7 @@ component("base") {
+@@ -2219,7 +2270,7 @@ component("base") {
}
if (dep_libevent) {
@@ -105,7 +105,7 @@
}
if (use_libevent) {
-@@ -3596,7 +3647,7 @@ test("base_unittests") {
+@@ -3599,7 +3650,7 @@ test("base_unittests") {
]
}
@@ -114,7 +114,7 @@
sources += [
"debug/proc_maps_linux_unittest.cc",
"files/scoped_file_linux_unittest.cc",
-@@ -3617,7 +3668,7 @@ test("base_unittests") {
+@@ -3620,7 +3671,7 @@ test("base_unittests") {
"posix/file_descriptor_shuffle_unittest.cc",
"posix/unix_domain_socket_unittest.cc",
]
@@ -123,7 +123,7 @@
sources += [
"profiler/stack_base_address_posix_unittest.cc",
"profiler/stack_copier_signal_unittest.cc",
-@@ -3628,7 +3679,7 @@ test("base_unittests") {
+@@ -3631,7 +3682,7 @@ test("base_unittests") {
# Allow more direct string conversions on platforms with native utf8
# strings
@@ -132,7 +132,7 @@
defines += [ "SYSTEM_NATIVE_UTF8" ]
}
-@@ -3884,7 +3935,7 @@ test("base_unittests") {
+@@ -3892,7 +3943,7 @@ test("base_unittests") {
}
}
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_dispatcher_tls.h b/www/ungoogled-chromium/files/patch-base_allocator_dispatcher_tls.h
index 4df995cf06b5..122247d1d432 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_dispatcher_tls.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_dispatcher_tls.h
@@ -1,6 +1,6 @@
---- base/allocator/dispatcher/tls.h.orig 2023-06-05 19:39:05 UTC
+--- base/allocator/dispatcher/tls.h.orig 2023-11-04 07:08:51 UTC
+++ base/allocator/dispatcher/tls.h
-@@ -50,7 +50,7 @@ struct BASE_EXPORT MMapAllocator {
+@@ -74,7 +74,7 @@ struct BASE_EXPORT MMapAllocator {
partition_alloc::PartitionPageSize();
#elif BUILDFLAG(IS_APPLE)
constexpr static size_t AllocationChunkSize = 16384;
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_BUILD.gn b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_BUILD.gn
index 3221722b44f5..6fad70ce0381 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_BUILD.gn
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/BUILD.gn.orig 2023-10-13 13:20:35 UTC
+--- base/allocator/partition_allocator/BUILD.gn.orig 2023-11-04 07:08:51 UTC
+++ base/allocator/partition_allocator/BUILD.gn
-@@ -562,7 +562,7 @@ source_set("allocator_shim") {
+@@ -569,7 +569,7 @@ source_set("allocator_shim") {
]
configs += [ ":mac_no_default_new_delete_symbols" ]
}
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni
index 205a0817c445..042ffbd2d64c 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/partition_alloc.gni.orig 2023-10-13 13:20:35 UTC
+--- base/allocator/partition_allocator/partition_alloc.gni.orig 2023-11-04 07:08:51 UTC
+++ base/allocator/partition_allocator/partition_alloc.gni
-@@ -328,7 +328,7 @@ declare_args() {
+@@ -319,7 +319,7 @@ declare_args() {
# pkeys support is explicitly disabled in all Cronet builds, as some test
# dependencies that use partition_allocator are compiled in AOSP against a
# version of glibc that does not include pkeys syscall numbers.
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_debug_stack__trace__posix.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_debug_stack__trace__posix.cc
index ef9e4dc2877f..10b74b577ee3 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_debug_stack__trace__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_debug_stack__trace__posix.cc
@@ -1,4 +1,4 @@
---- base/allocator/partition_allocator/partition_alloc_base/debug/stack_trace_posix.cc.orig 2023-10-13 13:20:35 UTC
+--- base/allocator/partition_allocator/partition_alloc_base/debug/stack_trace_posix.cc.orig 2023-11-04 07:08:51 UTC
+++ base/allocator/partition_allocator/partition_alloc_base/debug/stack_trace_posix.cc
@@ -12,11 +12,11 @@
#include <string.h>
@@ -23,7 +23,7 @@
constexpr size_t kBufferSize = 4096u;
-@@ -359,7 +359,7 @@ void PrintStackTraceInternal(void* const* trace, size_
+@@ -359,7 +359,7 @@ void PrintStackTraceInternal(const void** trace, size_
}
#endif // !BUILDFLAG(IS_APPLE)
@@ -31,4 +31,4 @@
+#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD)
// Since /proc/self/maps is not available, use dladdr() to obtain module
// names and offsets inside the modules from the given addresses.
- void PrintStackTraceInternal(void* const* trace, size_t size) {
+ void PrintStackTraceInternal(const void* const* trace, size_t size) {
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h
index 86e574f8011e..9545b1bfbd47 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/partition_alloc_constants.h.orig 2023-09-17 07:59:53 UTC
+--- base/allocator/partition_allocator/partition_alloc_constants.h.orig 2023-11-04 07:08:51 UTC
+++ base/allocator/partition_allocator/partition_alloc_constants.h
-@@ -95,7 +95,7 @@ PartitionPageShift() {
+@@ -107,7 +107,7 @@ PartitionPageShift() {
return 18; // 256 KiB
}
#elif (BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)) || \
@@ -9,7 +9,7 @@
PA_ALWAYS_INLINE PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR size_t
PartitionPageShift() {
return PageAllocationGranularityShift() + 2;
-@@ -297,7 +297,8 @@ constexpr size_t kNumPools = kMaxPoolHandle - 1;
+@@ -309,7 +309,8 @@ constexpr size_t kNumPools = kMaxPoolHandle - 1;
// 8GB for each of the glued pools).
#if BUILDFLAG(HAS_64_BIT_POINTERS)
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) || \
diff --git a/www/ungoogled-chromium/files/patch-base_base__paths__posix.cc b/www/ungoogled-chromium/files/patch-base_base__paths__posix.cc
index 091857f7db2a..9fd6f5ce5b82 100644
--- a/www/ungoogled-chromium/files/patch-base_base__paths__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_base__paths__posix.cc
@@ -1,4 +1,4 @@
---- base/base_paths_posix.cc.orig 2022-10-01 07:40:07 UTC
+--- base/base_paths_posix.cc.orig 2023-11-04 07:08:51 UTC
+++ base/base_paths_posix.cc
@@ -15,6 +15,7 @@
#include <ostream>
@@ -8,7 +8,7 @@
#include "base/environment.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
-@@ -25,9 +26,13 @@
+@@ -26,9 +27,13 @@
#include "base/process/process_metrics.h"
#include "build/build_config.h"
@@ -23,7 +23,17 @@
#elif BUILDFLAG(IS_SOLARIS) || BUILDFLAG(IS_AIX)
#include <stdlib.h>
#endif
-@@ -68,13 +73,65 @@ bool PathProviderPosix(int key, FilePath* result) {
+@@ -48,8 +53,7 @@ bool PathProviderPosix(int key, FilePath* result) {
+ *result = bin_dir;
+ return true;
+ #elif BUILDFLAG(IS_FREEBSD)
+- int name[] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 };
+- absl::optional<std::string> bin_dir = StringSysctl(name, std::size(name));
++ absl::optional<std::string> bin_dir = StringSysctl({ CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 });
+ if (!bin_dir.has_value() || bin_dir.value().length() <= 1) {
+ NOTREACHED() << "Unable to resolve path.";
+ return false;
+@@ -65,13 +69,65 @@ bool PathProviderPosix(int key, FilePath* result) {
*result = FilePath(bin_dir);
return true;
#elif BUILDFLAG(IS_OPENBSD) || BUILDFLAG(IS_AIX)
diff --git a/www/ungoogled-chromium/files/patch-base_debug_stack__trace__posix.cc b/www/ungoogled-chromium/files/patch-base_debug_stack__trace__posix.cc
index 3d0bf250ba3e..0cb049fb2255 100644
--- a/www/ungoogled-chromium/files/patch-base_debug_stack__trace__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_debug_stack__trace__posix.cc
@@ -1,4 +1,4 @@
---- base/debug/stack_trace_posix.cc.orig 2023-09-17 07:59:53 UTC
+--- base/debug/stack_trace_posix.cc.orig 2023-11-04 07:08:51 UTC
+++ base/debug/stack_trace_posix.cc
@@ -41,7 +41,7 @@
// execinfo.h and backtrace(3) are really only present in glibc and in macOS
@@ -9,16 +9,19 @@
#define HAVE_BACKTRACE
#include <execinfo.h>
#endif
-@@ -59,7 +59,7 @@
+@@ -59,8 +59,10 @@
#include <AvailabilityMacros.h>
#endif
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
++#if !BUILDFLAG(IS_BSD)
+ #include <sys/prctl.h>
++#endif
+
#include "base/debug/proc_maps_linux.h"
#endif
-
-@@ -300,7 +300,7 @@ void PrintToStderr(const char* output) {
+@@ -302,7 +304,7 @@ void PrintToStderr(const char* output) {
std::ignore = HANDLE_EINTR(write(STDERR_FILENO, output, strlen(output)));
}
@@ -27,7 +30,7 @@
void AlarmSignalHandler(int signal, siginfo_t* info, void* void_context) {
// We have seen rare cases on AMD linux where the default signal handler
// either does not run or a thread (Probably an AMD driver thread) prevents
-@@ -317,7 +317,11 @@ void AlarmSignalHandler(int signal, siginfo_t* info, v
+@@ -319,7 +321,11 @@ void AlarmSignalHandler(int signal, siginfo_t* info, v
"Warning: Default signal handler failed to terminate process.\n");
PrintToStderr("Calling exit_group() directly to prevent timeout.\n");
// See: https://man7.org/linux/man-pages/man2/exit_group.2.html
@@ -39,7 +42,7 @@
}
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) ||
// BUILDFLAG(IS_CHROMEOS)
-@@ -534,7 +538,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
+@@ -536,7 +542,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
_exit(EXIT_FAILURE);
}
@@ -48,7 +51,7 @@
// Set an alarm to trigger in case the default handler does not terminate
// the process. See 'AlarmSignalHandler' for more details.
struct sigaction action;
-@@ -559,6 +563,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
+@@ -561,6 +567,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
// signals that do not re-raise autonomously), such as signals delivered via
// kill() and asynchronous hardware faults such as SEGV_MTEAERR, which would
// otherwise be lost when re-raising the signal via raise().
@@ -56,7 +59,7 @@
long retval = syscall(SYS_rt_tgsigqueueinfo, getpid(), syscall(SYS_gettid),
info->si_signo, info);
if (retval == 0) {
-@@ -573,6 +578,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
+@@ -575,6 +582,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf
if (errno != EPERM) {
_exit(EXIT_FAILURE);
}
@@ -64,7 +67,21 @@
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) ||
// BUILDFLAG(IS_CHROMEOS)
-@@ -821,6 +827,9 @@ class SandboxSymbolizeHelper {
+@@ -764,6 +772,7 @@ class SandboxSymbolizeHelper {
+ return -1;
+ }
+
++#if !BUILDFLAG(IS_BSD)
+ // This class is copied from
+ // third_party/crashpad/crashpad/util/linux/scoped_pr_set_dumpable.h.
+ // It aims at ensuring the process is dumpable before opening /proc/self/mem.
+@@ -856,11 +865,15 @@ class SandboxSymbolizeHelper {
+ r.base = cur_base;
+ }
+ }
++#endif
+
+ // Parses /proc/self/maps in order to compile a list of all object file names
// for the modules that are loaded in the current process.
// Returns true on success.
bool CacheMemoryRegions() {
@@ -74,7 +91,7 @@
// Reads /proc/self/maps.
std::string contents;
if (!ReadProcMaps(&contents)) {
-@@ -838,6 +847,7 @@ class SandboxSymbolizeHelper {
+@@ -878,6 +891,7 @@ class SandboxSymbolizeHelper {
is_initialized_ = true;
return true;
diff --git a/www/ungoogled-chromium/files/patch-base_files_file__path__watcher__unittest.cc b/www/ungoogled-chromium/files/patch-base_files_file__path__watcher__unittest.cc
index 3222cc00f427..d2e585447ba4 100644
--- a/www/ungoogled-chromium/files/patch-base_files_file__path__watcher__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-base_files_file__path__watcher__unittest.cc
@@ -1,6 +1,6 @@
---- base/files/file_path_watcher_unittest.cc.orig 2023-09-17 07:59:53 UTC
+--- base/files/file_path_watcher_unittest.cc.orig 2023-11-04 07:08:51 UTC
+++ base/files/file_path_watcher_unittest.cc
-@@ -586,7 +586,7 @@ TEST_F(FilePathWatcherTest, WatchDirectory) {
+@@ -705,7 +705,7 @@ TEST_F(FilePathWatcherTest, WatchDirectory) {
}
delegate.RunUntilEventsMatch(event_expecter);
@@ -9,7 +9,7 @@
ASSERT_TRUE(WriteFile(file1, "content v2"));
// Mac implementation does not detect files modified in a directory.
// TODO(https://crbug.com/1432064): Expect that no events are fired on Mac.
-@@ -1525,7 +1525,7 @@ namespace {
+@@ -1641,7 +1641,7 @@ namespace {
enum Permission { Read, Write, Execute };
@@ -18,7 +18,7 @@
bool ChangeFilePermissions(const FilePath& path, Permission perm, bool allow) {
struct stat stat_buf;
-@@ -1559,7 +1559,7 @@ bool ChangeFilePermissions(const FilePath& path, Permi
+@@ -1675,7 +1675,7 @@ bool ChangeFilePermissions(const FilePath& path, Permi
} // namespace
diff --git a/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc b/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc
index 0f2476efd374..66d45ef47f19 100644
--- a/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc
@@ -1,6 +1,6 @@
---- base/files/file_util_posix.cc.orig 2023-05-05 12:12:41 UTC
+--- base/files/file_util_posix.cc.orig 2023-11-04 07:08:51 UTC
+++ base/files/file_util_posix.cc
-@@ -756,32 +756,34 @@ bool CreateDirectoryAndGetError(const FilePath& full_p
+@@ -756,33 +756,34 @@ bool CreateDirectoryAndGetError(const FilePath& full_p
File::Error* error) {
ScopedBlockingCall scoped_blocking_call(
FROM_HERE, BlockingType::MAY_BLOCK); // For call to mkdir().
@@ -34,11 +34,12 @@
- if (!DirectoryExists(subpath)) {
- if (error)
- *error = File::OSErrorToFileError(saved_errno);
+- errno = saved_errno;
- return false;
+ if (!PathExists(subpath)) {
+ if ((mkdir(subpath.value().c_str(), 0700) == -1) &&
+ ((full_path != subpath) ? (errno != ENOENT) : (-1))) {
-+ int saved_errno = errno;
++ int saved_errno = errno;
+ if (error)
+ *error = File::OSErrorToFileError(saved_errno);
+ return false;
diff --git a/www/ungoogled-chromium/files/patch-base_process_process__handle__freebsd.cc b/www/ungoogled-chromium/files/patch-base_process_process__handle__freebsd.cc
index 07eed6768732..c736c91cab41 100644
--- a/www/ungoogled-chromium/files/patch-base_process_process__handle__freebsd.cc
+++ b/www/ungoogled-chromium/files/patch-base_process_process__handle__freebsd.cc
@@ -1,4 +1,4 @@
---- base/process/process_handle_freebsd.cc.orig 2022-10-01 07:40:07 UTC
+--- base/process/process_handle_freebsd.cc.orig 2023-11-04 07:08:51 UTC
+++ base/process/process_handle_freebsd.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
@@ -8,7 +8,7 @@
#include <limits.h>
#include <stddef.h>
-@@ -15,10 +16,13 @@ namespace base {
+@@ -19,10 +20,13 @@ namespace base {
ProcessId GetParentProcessId(ProcessHandle process) {
struct kinfo_proc info;
diff --git a/www/ungoogled-chromium/files/patch-base_process_process__unittest.cc b/www/ungoogled-chromium/files/patch-base_process_process__unittest.cc
index 04a4a227d43b..3de852e93c14 100644
--- a/www/ungoogled-chromium/files/patch-base_process_process__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-base_process_process__unittest.cc
@@ -1,6 +1,6 @@
---- base/process/process_unittest.cc.orig 2023-05-05 12:12:41 UTC
+--- base/process/process_unittest.cc.orig 2023-11-04 07:08:51 UTC
+++ base/process/process_unittest.cc
-@@ -195,7 +195,7 @@ TEST_F(ProcessTest, CreationTimeOtherProcess) {
+@@ -198,7 +198,7 @@ TEST_F(ProcessTest, CreationTimeOtherProcess) {
// was spawned and a time recorded after it was spawned. However, since the
// base::Time and process creation clocks don't match, tolerate some error.
constexpr base::TimeDelta kTolerance =
diff --git a/www/ungoogled-chromium/files/patch-base_rand__util__posix.cc b/www/ungoogled-chromium/files/patch-base_rand__util__posix.cc
index 30f57169df85..42df3862c35d 100644
--- a/www/ungoogled-chromium/files/patch-base_rand__util__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_rand__util__posix.cc
@@ -1,4 +1,4 @@
---- base/rand_util_posix.cc.orig 2022-12-02 17:56:32 UTC
+--- base/rand_util_posix.cc.orig 2023-11-04 07:08:51 UTC
+++ base/rand_util_posix.cc
@@ -22,7 +22,7 @@
#include "base/time/time.h"
@@ -9,14 +9,14 @@
#include "third_party/lss/linux_syscall_support.h"
#elif BUILDFLAG(IS_MAC)
// TODO(crbug.com/995996): Waiting for this header to appear in the iOS SDK.
-@@ -46,6 +46,7 @@ static constexpr int kOpenFlags = O_RDONLY;
- static constexpr int kOpenFlags = O_RDONLY | O_CLOEXEC;
- #endif
+@@ -39,6 +39,7 @@ namespace base {
+
+ namespace {
+#if !BUILDFLAG(IS_BSD)
- // We keep the file descriptor for /dev/urandom around so we don't need to
- // reopen it (which is expensive), and since we may not even be able to reopen
- // it if we are later put in a sandbox. This class wraps the file descriptor so
+ #if BUILDFLAG(IS_AIX)
+ // AIX has no 64-bit support for O_CLOEXEC.
+ static constexpr int kOpenFlags = O_RDONLY;
@@ -63,10 +64,11 @@ class URandomFd {
private:
const int fd_;
diff --git a/www/ungoogled-chromium/files/patch-base_system_sys__info.h b/www/ungoogled-chromium/files/patch-base_system_sys__info.h
index 99d46f36bca5..8cf23c746362 100644
--- a/www/ungoogled-chromium/files/patch-base_system_sys__info.h
+++ b/www/ungoogled-chromium/files/patch-base_system_sys__info.h
@@ -1,6 +1,6 @@
---- base/system/sys_info.h.orig 2023-10-13 13:20:35 UTC
+--- base/system/sys_info.h.orig 2023-11-04 07:08:51 UTC
+++ base/system/sys_info.h
-@@ -266,6 +266,8 @@ class BASE_EXPORT SysInfo {
+@@ -304,6 +304,8 @@ class BASE_EXPORT SysInfo {
static void ResetCpuSecurityMitigationsEnabledForTesting();
#endif
@@ -9,7 +9,7 @@
private:
friend class test::ScopedAmountOfPhysicalMemoryOverride;
FRIEND_TEST_ALL_PREFIXES(SysInfoTest, AmountOfAvailablePhysicalMemory);
-@@ -278,7 +280,7 @@ class BASE_EXPORT SysInfo {
+@@ -316,7 +318,7 @@ class BASE_EXPORT SysInfo {
static HardwareInfo GetHardwareInfoSync();
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
diff --git a/www/ungoogled-chromium/files/patch-base_system_sys__info__openbsd.cc b/www/ungoogled-chromium/files/patch-base_system_sys__info__openbsd.cc
index ebad387696c4..be70d3027d8d 100644
--- a/www/ungoogled-chromium/files/patch-base_system_sys__info__openbsd.cc
+++ b/www/ungoogled-chromium/files/patch-base_system_sys__info__openbsd.cc
@@ -1,14 +1,14 @@
---- base/system/sys_info_openbsd.cc.orig 2022-10-01 07:40:07 UTC
+--- base/system/sys_info_openbsd.cc.orig 2023-11-04 07:08:51 UTC
+++ base/system/sys_info_openbsd.cc
-@@ -11,6 +11,7 @@
- #include <sys/sysctl.h>
+@@ -12,6 +12,7 @@
#include "base/notreached.h"
+ #include "base/posix/sysctl.h"
+#include "base/strings/string_util.h"
namespace {
-@@ -26,9 +27,15 @@ uint64_t AmountOfMemory(int pages_name) {
+@@ -27,9 +28,15 @@ uint64_t AmountOfMemory(int pages_name) {
namespace base {
@@ -25,7 +25,7 @@
int ncpu;
size_t size = sizeof(ncpu);
if (sysctl(mib, std::size(mib), &ncpu, &size, NULL, 0) < 0) {
-@@ -40,10 +47,26 @@ int SysInfo::NumberOfProcessors() {
+@@ -41,10 +48,26 @@ int SysInfo::NumberOfProcessors() {
// static
uint64_t SysInfo::AmountOfPhysicalMemoryImpl() {
@@ -53,7 +53,7 @@
uint64_t SysInfo::AmountOfAvailablePhysicalMemoryImpl() {
// We should add inactive file-backed memory also but there is no such
// information from OpenBSD unfortunately.
-@@ -55,23 +78,28 @@ uint64_t SysInfo::MaxSharedMemorySize() {
+@@ -56,16 +79,28 @@ uint64_t SysInfo::MaxSharedMemorySize() {
int mib[] = {CTL_KERN, KERN_SHMINFO, KERN_SHMINFO_SHMMAX};
size_t limit;
size_t size = sizeof(limit);
@@ -72,14 +72,7 @@
// static
-std::string SysInfo::CPUModelName() {
-- int mib[] = {CTL_HW, HW_MODEL};
-- char name[256];
-- size_t len = std::size(name);
-- if (sysctl(mib, std::size(mib), name, &len, NULL, 0) < 0) {
-- NOTREACHED();
-- return std::string();
-- }
-- return name;
+- return StringSysctl({CTL_HW, HW_MODEL}).value();
+SysInfo::HardwareInfo SysInfo::GetHardwareInfoSync() {
+ HardwareInfo info;
+ // Set the manufacturer to "OpenBSD" and the model to
diff --git a/www/ungoogled-chromium/files/patch-base_test_launcher_test__launcher.cc b/www/ungoogled-chromium/files/patch-base_test_launcher_test__launcher.cc
index d95974cac4a0..4b5d43684baf 100644
--- a/www/ungoogled-chromium/files/patch-base_test_launcher_test__launcher.cc
+++ b/www/ungoogled-chromium/files/patch-base_test_launcher_test__launcher.cc
@@ -1,6 +1,6 @@
---- base/test/launcher/test_launcher.cc.orig 2023-10-13 13:20:35 UTC
+--- base/test/launcher/test_launcher.cc.orig 2023-11-04 07:08:51 UTC
+++ base/test/launcher/test_launcher.cc
-@@ -68,6 +68,7 @@
+@@ -70,6 +70,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#if BUILDFLAG(IS_POSIX)
diff --git a/www/ungoogled-chromium/files/patch-base_threading_platform__thread__unittest.cc b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__unittest.cc
index b42ba7b3cde1..f59e0a4cf66e 100644
--- a/www/ungoogled-chromium/files/patch-base_threading_platform__thread__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__unittest.cc
@@ -1,4 +1,4 @@
---- base/threading/platform_thread_unittest.cc.orig 2023-09-17 07:59:53 UTC
+--- base/threading/platform_thread_unittest.cc.orig 2023-11-04 07:08:51 UTC
+++ base/threading/platform_thread_unittest.cc
@@ -32,7 +32,7 @@
#include "base/time/time.h"
@@ -16,9 +16,9 @@
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// On Ubuntu, RLIMIT_NICE and RLIMIT_RTPRIO are 0 by default, so we won't be
- // able to increase priority to any level.
- constexpr bool kCanIncreasePriority = false;
-@@ -695,12 +695,16 @@ INSTANTIATE_TEST_SUITE_P(
+ // able to increase priority to any level unless we are root (euid == 0).
+ bool kCanIncreasePriority = false;
+@@ -706,12 +706,16 @@ INSTANTIATE_TEST_SUITE_P(
#endif // BUILDFLAG(IS_APPLE)
diff --git a/www/ungoogled-chromium/files/patch-base_trace__event_trace__log.cc b/www/ungoogled-chromium/files/patch-base_trace__event_trace__log.cc
index d21980c3a7e0..35b0d7350137 100644
--- a/www/ungoogled-chromium/files/patch-base_trace__event_trace__log.cc
+++ b/www/ungoogled-chromium/files/patch-base_trace__event_trace__log.cc
@@ -1,6 +1,6 @@
---- base/trace_event/trace_log.cc.orig 2023-10-13 13:20:35 UTC
+--- base/trace_event/trace_log.cc.orig 2023-11-04 07:08:51 UTC
+++ base/trace_event/trace_log.cc
*** 8834 LINES SKIPPED ***