git: fa51d48be7f6 - main - www/ungoogled-chromium: update to 108.0.5359.71

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sat, 03 Dec 2022 10:35:17 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fa51d48be7f6c709ee7be36d0764fa318a840bdb

commit fa51d48be7f6c709ee7be36d0764fa318a840bdb
Author:     Robert Nagy <robert@openbsd.org>
AuthorDate: 2022-12-02 18:12:11 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-12-03 10:35:02 +0000

    www/ungoogled-chromium: update to 108.0.5359.71
    
    Security:       https://vuxml.freebsd.org/freebsd/5f7ed6ea-70a7-11ed-92ce-3065ec8fd3ec.html
---
 www/ungoogled-chromium/Makefile                    |   7 +-
 www/ungoogled-chromium/distinfo                    |  14 +-
 www/ungoogled-chromium/files/patch-BUILD.gn        |  16 +--
 www/ungoogled-chromium/files/patch-base_BUILD.gn   |  26 ++--
 ...llocator_partition__allocator_page__allocator.h |   4 +-
 ...__allocator_page__allocator__internals__posix.h |   4 +-
 ...rtition__allocator_partition__address__space.cc |   6 +-
 ...tition__allocator_partition__alloc__constants.h |   6 +-
 ...llocator_partition__allocator_partition__page.h |  11 +-
 www/ungoogled-chromium/files/patch-base_cpu.h      |   4 +-
 .../files/patch-base_i18n_icu__util.cc             |   6 +-
 .../files/patch-base_memory_discardable__memory.cc |  18 +--
 .../files/patch-base_process_process__metrics.h    |   4 +-
 .../files/patch-base_rand__util.h                  |   4 +-
 .../files/patch-base_rand__util__posix.cc          |  17 ++-
 .../patch-base_strings_safe__sprintf__unittest.cc  |   6 +-
 .../files/patch-base_system_sys__info.h            |  10 +-
 .../files/patch-base_system_sys__info__posix.cc    |  36 ++---
 .../files/patch-base_system_sys__info__unittest.cc |   4 +-
 ...patch-base_threading_platform__thread__linux.cc |  16 +--
 ...patch-base_threading_platform__thread__posix.cc |   6 +-
 .../files/patch-build_config_compiler_BUILD.gn     |  26 ++--
 ...atch-build_linux_unbundle_replace__gn__files.py |   4 +-
 www/ungoogled-chromium/files/patch-cc_BUILD.gn     |   6 +-
 .../patch-chrome_app_chrome__main__delegate.cc     |  32 ++---
 .../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  |   6 +-
 .../patch-chrome_app_theme_theme__resources.grd    |  12 +-
 .../files/patch-chrome_browser_about__flags.cc     |  30 ++--
 .../patch-chrome_browser_browser__features.cc      |  12 +-
 .../patch-chrome_browser_browser__process__impl.cc |   6 +-
 ..._browser_chrome__browser__interface__binders.cc |  14 +-
 .../patch-chrome_browser_chrome__browser__main.cc  |  19 +--
 ...-chrome_browser_chrome__browser__main__posix.cc |   4 +-
 ...ome_browser_chrome__content__browser__client.cc |  57 +++-----
 ...t__settings_chrome__content__settings__utils.cc |  11 ++
 ...wser_crash__upload__list_crash__upload__list.cc |  11 --
 ...rome_browser_download_download__file__picker.cc |   4 +-
 ...hrome_browser_download_download__item__model.cc |  10 +-
 ...atch-chrome_browser_download_download__prefs.cc |  10 +-
 ...patch-chrome_browser_download_download__prefs.h |   6 +-
 ...t_device__trust__connector__service__factory.cc |   8 +-
 ...evice__trust_device__trust__service__factory.cc |   4 +-
 ...ice__trust_signals_signals__service__factory.cc |  10 +-
 ...ser_enterprise_signals_device__info__fetcher.cc |   4 +-
 .../files/patch-chrome_browser_extensions_BUILD.gn |   4 +-
 ...rprise__reporting__private_conversion__utils.cc |   4 +-
 ..._private_enterprise__reporting__private__api.cc |   8 +-
 ...__private_enterprise__reporting__private__api.h |   8 +-
 ...__private_passwords__private__delegate__impl.cc |   4 +-
 ...extensions_api_settings__private_prefs__util.cc |   6 +-
 ...-chrome_browser_first__run_first__run__dialog.h |   4 +-
 ...hrome_browser_first__run_first__run__internal.h |   4 +-
 .../patch-chrome_browser_flag__descriptions.cc     |  16 +--
 .../patch-chrome_browser_flag__descriptions.h      |  10 +-
 ...chrome_browser_headless_headless__mode__util.cc |   6 +-
 ...chrome__browser__main__extra__parts__metrics.cc |   6 +-
 ...ser_metrics_chrome__metrics__service__client.cc |  12 +-
 ...ch-chrome_browser_metrics_perf_cpu__identity.cc |   4 +-
 ...hrome_browser_metrics_power_process__monitor.cc |   4 +-
 ...chrome_browser_metrics_power_process__monitor.h |   4 +-
 ...onfiguration__policy__handler__list__factory.cc | 126 +----------------
 .../patch-chrome_browser_prefs_browser__prefs.cc   |  22 ++-
 ...hrome__browser__main__extra__parts__profiles.cc |   6 +-
 .../patch-chrome_browser_profiles_profile__impl.cc |   6 +-
 ...atch-chrome_browser_resources_settings_route.ts |   4 +-
 ...ome_browser_resources_signin_signin__shared.css |   6 +-
 ...sync__confirmation_sync__confirmation__app.html |  10 +-
 ...d__content__scanning_binary__upload__service.cc |   6 +-
 ...browsing_download__protection_file__analyzer.cc |   6 +-
 ..._browsing_download__protection_file__analyzer.h |   8 +-
 ...tch-chrome_browser_sync_chrome__sync__client.cc |   4 +-
 ...e_browser_themes_theme__service__aura__linux.cc |   4 +-
 ...rome_browser_ui_browser__command__controller.cc |   4 +-
 .../files/patch-chrome_browser_ui_chrome__pages.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  |   8 +-
 ...ui_task__manager_task__manager__table__model.cc |   8 +-
 ...browser_ui_views_bubble__anchor__util__views.cc |  11 ++
 ...owser_ui_views_download_download__item__view.cc |   6 +-
 ...h-chrome_browser_ui_views_first__run__dialog.cc |  20 ---
 ...-chrome_browser_ui_views_frame_browser__view.cc |   4 +-
 .../patch-chrome_browser_ui_views_tabs_tab.cc      |   4 +-
 ..._browser_ui_views_tabs_tab__drag__controller.cc |  10 +-
 ...i_webui_chrome__web__ui__controller__factory.cc |  14 +-
 ..._connectors__internals_device__trust__utils.cc} |  10 +-
 ...tings_settings__localized__strings__provider.cc |  14 +-
 ...ications_extensions_extension__status__utils.cc |  10 +-
 ...gration_web__app__file__handler__registration.h |   4 +-
 ...browser_web__applications_web__app__provider.cc |   4 +-
 .../files/patch-chrome_common_chrome__features.cc  |  48 +++----
 .../files/patch-chrome_common_chrome__features.h   |  40 +++---
 .../files/patch-chrome_common_chrome__paths.cc     |   4 +-
 .../files/patch-chrome_common_chrome__switches.cc  |   4 +-
 .../files/patch-chrome_common_chrome__switches.h   |   4 +-
 ...rmissions_chrome__permission__message__rules.cc |   4 +-
 .../files/patch-chrome_common_pref__names.cc       |  14 +-
 .../files/patch-chrome_common_pref__names.h        |  14 +-
 .../files/patch-chrome_common_url__constants.cc    |   4 +-
 .../files/patch-chrome_common_url__constants.h     |   4 +-
 ...vices_printing_print__backend__service__impl.cc |  31 ++++-
 .../files/patch-chrome_test_BUILD.gn               |   4 +-
 ...hrome_updater_device__management_dm__storage.cc |  20 ---
 .../files/patch-chrome_updater_installer.cc        |   4 +-
 .../files/patch-chrome_updater_util.cc             |  23 ++-
 ..._assistant_browser_autofill__assistant__impl.cc |   4 +-
 ...utofill_core_browser_personal__data__manager.cc |   4 +-
 ...ill_core_common_autofill__payments__features.cc |   4 +-
 ...patch-components_crash_content_browser_BUILD.gn |  29 ----
 .../files/patch-components_crash_core_app_BUILD.gn |  23 +--
 ...h_core_browser_crash__upload__list__crashpad.cc |  14 +-
 .../patch-components_crash_core_common_BUILD.gn    |  11 +-
 ...evice__signals_core_common_signals__features.cc |   4 +-
 ...device__signals_core_common_signals__features.h |   4 +-
 ...nents_device__signals_test_signals__contract.cc |  11 ++
 ...e__engagement_public_feature__configurations.cc |   4 +-
 ...eature__engagement_public_feature__constants.cc |  20 +--
 ...feature__engagement_public_feature__constants.h |  16 +--
 ...nts_feature__engagement_public_feature__list.cc |   6 +-
 ...ents_feature__engagement_public_feature__list.h |  10 +-
 .../files/patch-components_gwp__asan_BUILD.gn      |   6 +-
 ...nts_invalidation_impl_invalidation__switches.cc |  10 +-
 ..._providers_cast_channel_cast__message__util.cc} |   4 +-
 .../files/patch-components_metrics_metrics__log.cc |  38 +++++
 ...ssword__manager_core_browser_login__database.cc |   8 +-
 ...nager_core_browser_login__database__unittest.cc |   8 +-
 ...ger_core_browser_sync_password__sync__bridge.cc |   6 +-
 ...ager_core_common_password__manager__features.cc |  23 +--
 ...nager_core_common_password__manager__features.h |  26 ++--
 ...mponents_performance__manager_public_features.h |   4 +-
 ...icy_core_browser_policy__pref__mapping__test.cc |   4 +-
 ...licy_core_common_cloud_cloud__policy__client.cc |   4 +-
 ...ponents_policy_resources_policy__templates.json |  46 +++---
 ..._default__model_cross__device__user__segment.cc |   4 +-
 .../patch-components_storage__monitor_BUILD.gn     |  13 +-
 ...sync__device__info_local__device__info__util.cc |  20 ++-
 ...onents_translate_core_common_translate__util.cc |  12 +-
 ...nents_variations_service_variations__service.cc |  11 ++
 ...isplay__embedder_skia__output__surface__impl.cc |  11 +-
 ...omponents_viz_service_display_skia__renderer.cc |   4 +-
 ...e__sinks_root__compositor__frame__sink__impl.cc |   6 +-
 ...atch-content_app_content__main__runner__impl.cc |  24 ++--
 .../files/patch-content_browser_BUILD.gn           |   4 +-
 ..._browser_browser__child__process__host__impl.cc |   4 +-
 .../patch-content_browser_browser__main__loop.cc   |   8 +-
 ..._compositor_viz__process__transport__factory.cc |   4 +-
 ...patch-content_browser_gpu_gpu__process__host.cc |   6 +-
 ...owser_renderer__host_render__message__filter.cc |   8 +-
 ...r_renderer__host_render__process__host__impl.cc |  14 +-
 ...er_renderer__host_render__process__host__impl.h |   8 +-
 ...wser_renderer__host_render__view__host__impl.cc |   4 +-
 ...derer__host_render__widget__host__view__aura.cc |  12 +-
 ...owser_zygote__host_zygote__host__impl__linux.cc |  27 ++--
 ...rowser_zygote__host_zygote__host__impl__linux.h |  16 ++-
 .../files/patch-content_gpu_gpu__main.cc           |  12 +-
 .../patch-content_gpu_gpu__sandbox__hook__linux.cc |  14 +-
 ...ch-content_ppapi__plugin_ppapi__plugin__main.cc |   4 +-
 ...-content_public_browser_render__process__host.h |   4 +-
 ...blic_browser_zygote__host_zygote__host__linux.h |  10 +-
 ...atch-content_public_common_content__features.cc |  40 +++---
 ...patch-content_public_common_content__features.h |  12 +-
 ...atch-content_public_common_content__switches.cc |   6 +-
 ...patch-content_public_common_content__switches.h |   6 +-
 ...tch-content_public_test_mock__render__thread.cc |   4 +-
 ...patch-content_renderer_render__process__impl.cc |  10 +-
 .../patch-content_renderer_render__thread__impl.cc |  10 +-
 ...ent_renderer_renderer__blink__platform__impl.cc |  12 +-
 ...tent_renderer_renderer__blink__platform__impl.h |   8 +-
 .../files/patch-content_shell_BUILD.gn             |   4 +-
 .../files/patch-content_test_BUILD.gn              |   6 +-
 .../files/patch-content_utility_services.cc        |  12 +-
 .../files/patch-content_utility_utility__main.cc   |  10 +-
 .../files/patch-content_zygote_zygote__linux.cc    |   4 +-
 .../files/patch-device_gamepad_BUILD.gn            |  11 ++
 ...sions_browser_api_messaging_message__service.cc |   4 +-
 .../patch-extensions_browser_extension__prefs.cc   |   4 +-
 .../files/patch-extensions_common_command.cc       |   4 +-
 ...-extensions_renderer_bindings_argument__spec.cc |   4 +-
 ...__buffer_common_gpu__memory__buffer__support.cc |   6 +-
 ...image_angle__vulkan__image__backing__factory.cc |   4 +-
 ...e_shared__image_external__vk__image__backing.cc |   6 +-
 ...ce_shared__image_gl__texture__image__backing.cc |   4 +-
 ...__image_gl__texture__image__backing__factory.cc |   4 +-
 ...service_shared__image_shared__image__factory.cc |  29 ----
 ...__image_wrapped__sk__image__backing__factory.cc |   4 +-
 ...ommand__buffer_service_webgpu__decoder__impl.cc |   4 +-
 .../files/patch-gpu_ipc_service_gpu__init.cc       |  18 +--
 .../patch-gpu_vulkan_vulkan__device__queue.cc      |   6 +-
 ...adless_lib_headless__content__main__delegate.cc |   4 +-
 .../files/patch-media_audio_BUILD.gn               |   4 +-
 .../files/patch-media_base_audio__latency.cc       |   4 +-
 .../files/patch-media_base_media__switches.cc      |  40 +++---
 .../files/patch-media_base_media__switches.h       |  27 ++--
 .../files/patch-media_base_vector__math.cc         |  11 --
 .../files/patch-media_base_video__frame.cc         |  18 +--
 .../files/patch-media_base_video__frame.h          |   6 +-
 ...h-media_capture_video_linux_fake__v4l2__impl.cc |   4 +-
 ..._capture_video_linux_v4l2__capture__delegate.cc |   8 +-
 ...ure_video_video__capture__buffer__pool__impl.cc |  11 --
 ...-media_gpu_chromeos_video__decoder__pipeline.cc |   6 +-
 .../files/patch-media_gpu_vaapi_vaapi__wrapper.cc  |   4 +-
 ...stable__video__decoder__types__mojom__traits.cc |   6 +-
 ...ideo_gpu__memory__buffer__video__frame__pool.cc |  12 +-
 .../files/patch-media_webrtc_audio__processor.cc   |   4 +-
 .../files/patch-mojo_core_BUILD.gn                 |   4 +-
 .../files/patch-mojo_core_embedder_features.h      |   4 +-
 .../files/patch-mojo_public_c_system_thunks.cc     |  10 +-
 www/ungoogled-chromium/files/patch-net_BUILD.gn    |  18 +--
 .../patch-net_base_network__change__notifier.cc    |   4 +-
 .../files/patch-net_cert_cert__verifier.cc         |  16 +--
 .../files/patch-net_cert_cert__verify__proc.cc     |   4 +-
 .../files/patch-net_cert_cert__verify__proc.h      |   4 +-
 .../patch-net_cert_cert__verify__proc__unittest.cc |   4 +-
 .../patch-net_cert_test__root__certs__unittest.cc  |  14 +-
 .../files/patch-net_dns_BUILD.gn                   |   8 +-
 .../files/patch-net_dns_dns__reloader.h            |  10 +-
 .../files/patch-net_dns_host__resolver__manager.cc |  11 --
 .../files/patch-net_dns_host__resolver__proc.cc    |  17 +--
 .../patch-net_dns_host__resolver__system__task.cc  |  22 +++
 .../patch-net_socket_udp__socket__unittest.cc      |  12 +-
 .../files/patch-net_third__party_quiche_BUILD.gn   |   6 +-
 .../files/patch-pdf_pdfium_pdfium__engine.cc       |   6 +-
 .../files/patch-remoting_base_chromoting__event.cc |   4 +-
 ...ch-remoting_host_basic__desktop__environment.cc |   8 +-
 ...t_it2me_it2me__native__messaging__host__main.cc |  22 +--
 ...ch-remoting_host_me2me__desktop__environment.cc |  21 +--
 .../patch-remoting_host_remoting__me2me__host.cc   |  42 +++---
 ...atch-remoting_protocol_webrtc__video__stream.cc |  11 ++
 ...tch-sandbox_linux_services_libc__interceptor.cc |   6 +-
 .../files/patch-sandbox_policy_BUILD.gn            |   6 +-
 .../files/patch-sandbox_policy_features.cc         |  12 +-
 ...patch-sandbox_policy_freebsd_sandbox__freebsd.h |   4 +-
 ...patch-sandbox_policy_openbsd_sandbox__openbsd.h |   4 +-
 .../files/patch-sandbox_policy_sandbox.cc          |   6 +-
 .../files/patch-sandbox_policy_sandbox__type.cc    |  16 +--
 ...ices_cert__verifier_cert__verifier__creation.cc |  14 +-
 .../files/patch-services_device_BUILD.gn           |  11 ++
 ...services_device_compute__pressure_cpu__probe.cc |   8 +-
 .../files/patch-services_device_hid_BUILD.gn       |   8 +-
 .../patch-services_device_hid_hid__service.cc      |   6 +-
 ...patch-services_device_hid_hid__service__fido.cc | 155 +++++++++++----------
 .../patch-services_device_public_mojom_BUILD.gn    |  11 ++
 .../files/patch-services_device_serial_BUILD.gn    |  23 ++-
 .../patch-services_device_usb_usb__service.cc      |  21 ++-
 .../files/patch-services_network_BUILD.gn          |   4 +-
 ..._instrumentation_queued__request__dispatcher.cc |  16 +--
 ...rvices_video__capture_broadcasting__receiver.cc |  11 --
 ...atch-third__party_abseil-cpp_absl_base_config.h |   6 +-
 ..._party_abseil-cpp_absl_base_internal_sysinfo.cc |   4 +-
 .../files/patch-third__party_angle_BUILD.gn        |   6 +-
 ...third__party_angle_src_libANGLE_formatutils.cpp |   4 +-
 ...h-third__party_blink_public_platform_platform.h |   4 +-
 ...blink_renderer_controller_blink__initializer.cc |   8 +-
 ...blink_renderer_core_exported_web__view__impl.cc |   6 +-
 ...y_blink_renderer_core_frame_web__frame__test.cc |   6 +-
 ...arty_blink_renderer_core_layout_layout__view.cc |   6 +-
 ...party_blink_renderer_core_paint_paint__layer.cc |   4 +-
 ...r_modules_media_audio_audio__device__factory.cc |   4 +-
 ..._audio_audio__renderer__mixer__manager__test.cc |   4 +-
 ...peerconnection_webrtc__audio__renderer__test.cc |   4 +-
 ...odules_webgl_webgl__rendering__context__base.cc |   4 +-
 ...modules_webgl_webgl__webcodecs__video__frame.cc |   4 +-
 ...ty_blink_renderer_platform_fonts_font__cache.cc |   8 +-
 ...rty_blink_renderer_platform_fonts_font__cache.h |  12 +-
 ...renderer_platform_fonts_font__platform__data.cc |   4 +-
 ...er_platform_graphics_video__frame__submitter.cc |   4 +-
 ...derer_platform_runtime__enabled__features.json5 |  12 +-
 ...widget_compositing_categorized__worker__pool.cc |   6 +-
 ..._party_dawn_include_dawn_native_VulkanBackend.h |   4 +-
 ...tch-third__party_leveldatabase_env__chromium.cc |   4 +-
 .../files/patch-third__party_libusb_BUILD.gn       |  10 +-
 ..._perfetto_include_perfetto_base_thread__utils.h |   6 +-
 ...patch-third__party_swiftshader_src_WSI_BUILD.gn |   6 +-
 .../files/patch-third__party_tflite_features.gni   |   8 +-
 .../files/patch-third__party_wayland_features.gni  |  31 +++--
 .../files/patch-third__party_webrtc_BUILD.gn       |   4 +-
 ...rd__party_webrtc_modules_audio__device_BUILD.gn |   4 +-
 .../patch-third__party_webrtc_rtc__base_BUILD.gn   |   4 +-
 .../patch-third__party_webrtc_rtc__base_network.cc |   4 +-
 ...ch-tools_perf_chrome__telemetry__build_BUILD.gn |   4 +-
 .../files/patch-ui_base_ime_text__input__client.h  |   4 +-
 .../files/patch-ui_base_ui__base__features.cc      |  26 ++--
 .../files/patch-ui_base_ui__base__types.h          |   4 +-
 .../files/patch-ui_base_webui_web__ui__util.cc     |   4 +-
 .../files/patch-ui_color_color__id.h               |   4 +-
 .../files/patch-ui_color_system__theme.h           |   4 +-
 .../files/patch-ui_compositor_compositor.cc        |   4 +-
 .../files/patch-ui_compositor_compositor.h         |   4 +-
 .../files/patch-ui_events_event.cc                 |   6 +-
 www/ungoogled-chromium/files/patch-ui_gfx_BUILD.gn |   4 +-
 .../patch-ui_gfx_ipc_gfx__param__traits__macros.h  |  44 ------
 .../files/patch-ui_gfx_native__pixmap__handle.cc   |  18 +--
 .../files/patch-ui_gfx_native__pixmap__handle.h    |  12 +-
 www/ungoogled-chromium/files/patch-ui_gl_BUILD.gn  |   6 +-
 .../files/patch-ui_gl_generate__bindings.py        |   4 +-
 .../files/patch-ui_gl_gl__context.cc               |   4 +-
 .../files/patch-ui_gl_gl__features.cc              |  10 +-
 .../files/patch-ui_gl_gl__switches.cc              |  20 +++
 .../patch-ui_gtk_printing_print__dialog__gtk.cc    |   4 +-
 ...rm_headless_vulkan__implementation__headless.cc |   4 +-
 ...h-ui_ozone_platform_x11_ozone__platform__x11.cc |   4 +-
 .../files/patch-ui_ozone_public_ozone__platform.h  |   4 +-
 ...i_ozone_test_mock__platform__window__delegate.h |   4 +-
 ..._platform__window_platform__window__delegate.cc |   4 +-
 ...i_platform__window_platform__window__delegate.h |   4 +-
 .../patch-ui_views_controls_textfield_textfield.h  |   4 +-
 .../files/patch-ui_views_corewm_tooltip__aura.cc   |   4 +-
 .../files/patch-ui_views_focus_focus__manager.cc   |   6 +-
 ...__aura_desktop__window__tree__host__platform.cc |  10 +-
 .../files/patch-ui_views_widget_widget.cc          |   4 +-
 .../files/patch-ui_webui_resources_js_cr.js        |  14 --
 www/ungoogled-chromium/files/patch-v8_BUILD.gn     |   8 +-
 .../files/patch-v8_src_api_api.cc                  |   4 +-
 ...piler_backend_ia32_instruction-selector-ia32.cc |   6 +-
 ...-weblayer_browser_browser__main__parts__impl.cc |   6 +-
 318 files changed, 1658 insertions(+), 1731 deletions(-)

diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile
index 00dde1684243..359c66240c2d 100644
--- a/www/ungoogled-chromium/Makefile
+++ b/www/ungoogled-chromium/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ungoogled-chromium
-PORTVERSION=	107.0.5304.121
-UGVERSION=	107.0.5304.110-1
+PORTVERSION=	108.0.5359.71
+UGVERSION=	${DISTVERSION}-1
 CATEGORIES=	www wayland
 MASTER_SITES=	https://commondatastorage.googleapis.com/chromium-browser-official/ \
 		https://nerd.hu/distfiles/:external
@@ -88,7 +88,8 @@ SHEBANG_FILES=	chrome/tools/build/linux/chrome-wrapper buildtools/linux64/clang-
 MAKE_ARGS=	-C out/${BUILDTYPE}
 ALL_TARGET=	chrome
 
-BINARY_ALIAS=	python3=${PYTHON_CMD}
+BINARY_ALIAS=	python3=${PYTHON_CMD} \
+		moc=${PREFIX}/bin/moc-qt5
 
 # TODO bz@ : install libwidevinecdm.so (see third_party/widevine/cdm/BUILD.gn)
 #
diff --git a/www/ungoogled-chromium/distinfo b/www/ungoogled-chromium/distinfo
index 7603a5551b4d..715b90088ad2 100644
--- a/www/ungoogled-chromium/distinfo
+++ b/www/ungoogled-chromium/distinfo
@@ -1,9 +1,9 @@
-TIMESTAMP = 1669375165
-SHA256 (chromium-107.0.5304.121.tar.xz) = 12b0ab045715a18abaf0c833c98c1001a43da4aae9690bb571b369d61f74e08b
-SIZE (chromium-107.0.5304.121.tar.xz) = 1688476176
-SHA256 (ungoogled-chromium-107.0.5304.110-1.tar.gz) = c497b0f3256a3c0bb1e48dd14115040b97bd7319b9def1c6501f9155fc56fef6
-SIZE (ungoogled-chromium-107.0.5304.110-1.tar.gz) = 670238
-SHA256 (chromium-107.0.5304.121-testdata.tar.xz) = f576ac3f760af0111e6802ce4b79a551916a82942dc09e56086120d0474221db
-SIZE (chromium-107.0.5304.121-testdata.tar.xz) = 266234692
+TIMESTAMP = 1670003182
+SHA256 (chromium-108.0.5359.71.tar.xz) = cb6ca080c492ede34df7bf9c4eca45576e6306865985465bd0319c96bb71ff5d
+SIZE (chromium-108.0.5359.71.tar.xz) = 1731590804
+SHA256 (ungoogled-chromium-108.0.5359.71-1.tar.gz) = e50a612d4b0b68ee57bf2410c847fe20bfef0c7332fb706a3b5bee36682c5025
+SIZE (ungoogled-chromium-108.0.5359.71-1.tar.gz) = 670813
+SHA256 (chromium-108.0.5359.71-testdata.tar.xz) = 6ffc30f3e0785cb6f682c00abc04ec73f0aff0d7e7df38f49dcda4edfd663938
+SIZE (chromium-108.0.5359.71-testdata.tar.xz) = 259213668
 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 fbab6f7809b7..fe64eebc767f 100644
--- a/www/ungoogled-chromium/files/patch-BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-BUILD.gn
@@ -1,4 +1,4 @@
---- BUILD.gn.orig	2022-10-29 17:50:56 UTC
+--- BUILD.gn.orig	2022-12-02 17:56:32 UTC
 +++ BUILD.gn
 @@ -59,7 +59,7 @@ declare_args() {
    root_extra_deps = []
@@ -17,7 +17,7 @@
      "//net:net_unittests",
      "//sandbox:sandbox_unittests",
      "//services:services_unittests",
-@@ -447,7 +446,7 @@ group("gn_all") {
+@@ -430,7 +429,7 @@ group("gn_all") {
      ]
    }
  
@@ -26,7 +26,7 @@
      deps += [
        "//third_party/breakpad:breakpad_unittests",
        "//third_party/breakpad:core-2-minidump",
-@@ -640,6 +639,15 @@ group("gn_all") {
+@@ -624,6 +623,15 @@ group("gn_all") {
      deps += [ "//gpu/tools/compositor_model_bench" ]
    }
  
@@ -42,7 +42,7 @@
    if (is_mac) {
      deps += [
        "//third_party/breakpad:crash_inspector",
-@@ -688,7 +696,7 @@ group("gn_all") {
+@@ -672,7 +680,7 @@ group("gn_all") {
          host_os == "win") {
        deps += [ "//chrome/test/mini_installer:mini_installer_tests" ]
      }
@@ -51,7 +51,7 @@
      deps += [ "//third_party/breakpad:symupload($host_toolchain)" ]
    }
  
-@@ -1115,7 +1123,7 @@ if (!is_ios) {
+@@ -1099,7 +1107,7 @@ if (!is_ios) {
      ]
    }
  
@@ -60,7 +60,7 @@
      # WPT Webdriver tests runner
      # chrome/test/chromedriver/test/run_webdriver_tests.py
      script_test("webdriver_wpt_tests") {
-@@ -1210,7 +1218,7 @@ if (!is_ios) {
+@@ -1194,7 +1202,7 @@ if (!is_ios) {
        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)" ]
      }
-@@ -1219,7 +1227,7 @@ if (!is_ios) {
+@@ -1203,7 +1211,7 @@ if (!is_ios) {
        data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
      }
  
@@ -78,7 +78,7 @@
        data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
      }
  
-@@ -1660,7 +1668,7 @@ group("chromium_builder_perf") {
+@@ -1647,7 +1655,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 c8aca0266eef..4ab7b7c1c632 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	2022-10-29 17:50:56 UTC
+--- base/BUILD.gn.orig	2022-12-02 17:56:32 UTC
 +++ base/BUILD.gn
-@@ -162,7 +162,7 @@ buildflag_header("ios_cronet_buildflags") {
+@@ -163,7 +163,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"
-@@ -1035,7 +1035,7 @@ mixed_component("base") {
+@@ -1048,7 +1048,7 @@ mixed_component("base") {
        "timer/hi_res_timer_manager_posix.cc",
      ]
  
@@ -18,7 +18,7 @@
        sources += [
          "profiler/stack_base_address_posix.cc",
          "profiler/stack_base_address_posix.h",
-@@ -1046,6 +1046,14 @@ mixed_component("base") {
+@@ -1059,6 +1059,14 @@ mixed_component("base") {
          "profiler/thread_delegate_posix.h",
        ]
      }
@@ -33,7 +33,7 @@
    }
  
    if (is_win) {
-@@ -1557,11 +1565,23 @@ mixed_component("base") {
+@@ -1559,11 +1567,23 @@ mixed_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.
@@ -58,7 +58,7 @@
    if (use_allocator_shim) {
      sources += [
        "allocator/partition_allocator/shim/allocator_shim.cc",
-@@ -1589,7 +1609,7 @@ mixed_component("base") {
+@@ -1591,7 +1611,7 @@ mixed_component("base") {
        ]
        configs += [ "//base/allocator:mac_no_default_new_delete_symbols" ]
      }
@@ -67,7 +67,7 @@
        sources += [
          "allocator/partition_allocator/shim/allocator_shim_override_cpp_symbols.h",
          "allocator/partition_allocator/shim/allocator_shim_override_glibc_weak_symbols.h",
-@@ -1643,7 +1663,7 @@ mixed_component("base") {
+@@ -1645,7 +1665,7 @@ mixed_component("base") {
  
    # Allow more direct string conversions on platforms with native utf8
    # strings
@@ -76,7 +76,7 @@
      defines += [ "SYSTEM_NATIVE_UTF8" ]
    }
  
-@@ -2216,6 +2236,42 @@ mixed_component("base") {
+@@ -2218,6 +2238,42 @@ mixed_component("base") {
      }
    }
  
@@ -119,7 +119,7 @@
    # iOS
    if (is_ios) {
      sources -= [
-@@ -2313,7 +2369,7 @@ mixed_component("base") {
+@@ -2315,7 +2371,7 @@ mixed_component("base") {
    }
  
    if (dep_libevent) {
@@ -128,7 +128,7 @@
    }
  
    if (use_libevent) {
-@@ -3565,7 +3621,7 @@ test("base_unittests") {
+@@ -3583,7 +3639,7 @@ test("base_unittests") {
      }
    }
  
@@ -137,7 +137,7 @@
      sources += [
        "debug/proc_maps_linux_unittest.cc",
        "files/scoped_file_linux_unittest.cc",
-@@ -3613,7 +3669,7 @@ test("base_unittests") {
+@@ -3629,7 +3685,7 @@ test("base_unittests") {
        "posix/file_descriptor_shuffle_unittest.cc",
        "posix/unix_domain_socket_unittest.cc",
      ]
@@ -146,7 +146,7 @@
        sources += [
          "profiler/stack_base_address_posix_unittest.cc",
          "profiler/stack_copier_signal_unittest.cc",
-@@ -3624,7 +3680,7 @@ test("base_unittests") {
+@@ -3640,7 +3696,7 @@ test("base_unittests") {
  
    # Allow more direct string conversions on platforms with native utf8
    # strings
@@ -155,7 +155,7 @@
      defines += [ "SYSTEM_NATIVE_UTF8" ]
    }
  
-@@ -3812,7 +3868,7 @@ test("base_unittests") {
+@@ -3832,7 +3888,7 @@ test("base_unittests") {
      }
    }
  
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator.h
index 49d3070a84cd..5f009ecca999 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/page_allocator.h.orig	2022-10-01 07:40:07 UTC
+--- base/allocator/partition_allocator/page_allocator.h.orig	2022-12-02 17:56:32 UTC
 +++ base/allocator/partition_allocator/page_allocator.h
-@@ -206,7 +206,7 @@ void DecommitAndZeroSystemPages(void* address, size_t 
+@@ -231,7 +231,7 @@ void DecommitAndZeroSystemPages(void* address, size_t 
  // recommitted. Do not assume that this will not change over time.
  constexpr PA_COMPONENT_EXPORT(
      PARTITION_ALLOC) bool DecommittedMemoryIsAlwaysZeroed() {
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h
index 7178749831fe..160c435cb4ac 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig	2022-10-01 07:40:07 UTC
+--- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig	2022-12-02 17:56:32 UTC
 +++ base/allocator/partition_allocator/page_allocator_internals_posix.h
-@@ -347,8 +347,12 @@ bool TryRecommitSystemPagesInternal(
+@@ -356,8 +356,12 @@ bool TryRecommitSystemPagesInternal(
  
  void DiscardSystemPagesInternal(uintptr_t address, size_t length) {
    void* ptr = reinterpret_cast<void*>(address);
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc
index b415ff48e785..fe8048041b09 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc
@@ -1,7 +1,7 @@
---- base/allocator/partition_allocator/partition_address_space.cc.orig	2022-10-29 17:50:56 UTC
+--- base/allocator/partition_allocator/partition_address_space.cc.orig	2022-12-02 17:56:32 UTC
 +++ base/allocator/partition_allocator/partition_address_space.cc
-@@ -261,7 +261,7 @@ void PartitionAddressSpace::UninitConfigurablePoolForT
-   setup_.configurable_pool_ = 0;
+@@ -294,7 +294,7 @@ void PartitionAddressSpace::UninitConfigurablePoolForT
+   setup_.configurable_pool_base_mask_ = 0;
  }
  
 -#if BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64)
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 60f99b3e1e75..38357939ba8e 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,4 +1,4 @@
---- base/allocator/partition_allocator/partition_alloc_constants.h.orig	2022-10-29 17:50:56 UTC
+--- base/allocator/partition_allocator/partition_alloc_constants.h.orig	2022-12-02 17:56:32 UTC
 +++ base/allocator/partition_allocator/partition_alloc_constants.h
 @@ -91,7 +91,7 @@ PartitionPageShift() {
    return 18;  // 256 KiB
@@ -9,9 +9,9 @@
  PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR PA_ALWAYS_INLINE size_t
  PartitionPageShift() {
    return PageAllocationGranularityShift() + 2;
-@@ -272,7 +272,7 @@ constexpr size_t kNumPools = 3;
+@@ -270,7 +270,7 @@ constexpr size_t kNumPools = 3;
  // Special-case Android and iOS, which incur test failures with larger
- // GigaCage. Regardless, allocating >8GiB with malloc() on these platforms is
+ // pools. Regardless, allocating >8GiB with malloc() on these platforms is
  // unrealistic as of 2022.
 -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS)
 +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD)
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__page.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__page.h
index bed1b712bcea..15eddbef8307 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__page.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__page.h
@@ -1,6 +1,13 @@
---- base/allocator/partition_allocator/partition_page.h.orig	2022-11-06 16:08:29 UTC
+--- base/allocator/partition_allocator/partition_page.h.orig	2022-12-02 17:56:32 UTC
 +++ base/allocator/partition_allocator/partition_page.h
-@@ -144,7 +144,7 @@ struct SlotSpanMetadata {
+@@ -138,13 +138,13 @@ struct SlotSpanMetadata {
+   PartitionBucket<thread_safe>* const bucket = nullptr;
+ 
+   // CHECK()ed in AllocNewSlotSpan().
+-#if defined(PA_HAS_64_BITS_POINTERS) && BUILDFLAG(IS_APPLE)
++#if (defined(PA_HAS_64_BITS_POINTERS) && BUILDFLAG(IS_APPLE))
+   // System page size is not a constant on Apple OSes, but is either 4 or 16kiB
+   // (1 << 12 or 1 << 14), as checked in PartitionRoot::Init(). And
    // PartitionPageSize() is 4 times the OS page size.
    static constexpr size_t kMaxSlotsPerSlotSpan =
        4 * (1 << 14) / kSmallestBucket;
diff --git a/www/ungoogled-chromium/files/patch-base_cpu.h b/www/ungoogled-chromium/files/patch-base_cpu.h
index 75f3fbb02cd2..3381e109834b 100644
--- a/www/ungoogled-chromium/files/patch-base_cpu.h
+++ b/www/ungoogled-chromium/files/patch-base_cpu.h
@@ -1,6 +1,6 @@
---- base/cpu.h.orig	2022-10-01 07:40:07 UTC
+--- base/cpu.h.orig	2022-12-02 17:56:32 UTC
 +++ base/cpu.h
-@@ -108,7 +108,7 @@ class BASE_EXPORT CPU final {
+@@ -115,7 +115,7 @@ class BASE_EXPORT CPU final {
    const std::string& cpu_brand() const { return cpu_brand_; }
  
  #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
diff --git a/www/ungoogled-chromium/files/patch-base_i18n_icu__util.cc b/www/ungoogled-chromium/files/patch-base_i18n_icu__util.cc
index c8566ea0cc20..602edeaabf1e 100644
--- a/www/ungoogled-chromium/files/patch-base_i18n_icu__util.cc
+++ b/www/ungoogled-chromium/files/patch-base_i18n_icu__util.cc
@@ -1,6 +1,6 @@
---- base/i18n/icu_util.cc.orig	2022-10-29 17:50:56 UTC
+--- base/i18n/icu_util.cc.orig	2022-12-02 17:56:32 UTC
 +++ base/i18n/icu_util.cc
-@@ -53,7 +53,7 @@
+@@ -52,7 +52,7 @@
  #include "third_party/icu/source/common/unicode/unistr.h"
  #endif
  
@@ -9,7 +9,7 @@
      BUILDFLAG(IS_CHROMEOS) || (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS))
  #include "third_party/icu/source/i18n/unicode/timezone.h"
  #endif
-@@ -344,7 +344,7 @@ void InitializeIcuTimeZone() {
+@@ -343,7 +343,7 @@ void InitializeIcuTimeZone() {
        FuchsiaIntlProfileWatcher::GetPrimaryTimeZoneIdForIcuInitialization();
    icu::TimeZone::adoptDefault(
        icu::TimeZone::createTimeZone(icu::UnicodeString::fromUTF8(zone_id)));
diff --git a/www/ungoogled-chromium/files/patch-base_memory_discardable__memory.cc b/www/ungoogled-chromium/files/patch-base_memory_discardable__memory.cc
index 5ab46fa58774..b3b2a5143c0c 100644
--- a/www/ungoogled-chromium/files/patch-base_memory_discardable__memory.cc
+++ b/www/ungoogled-chromium/files/patch-base_memory_discardable__memory.cc
@@ -1,15 +1,15 @@
---- base/memory/discardable_memory.cc.orig	2022-10-01 07:40:07 UTC
+--- base/memory/discardable_memory.cc.orig	2022-12-02 17:56:32 UTC
 +++ base/memory/discardable_memory.cc
-@@ -25,7 +25,7 @@ const base::Feature kMadvFreeDiscardableMemory{
-     "MadvFreeDiscardableMemory", base::FEATURE_DISABLED_BY_DEFAULT};
+@@ -26,7 +26,7 @@ BASE_FEATURE(kMadvFreeDiscardableMemory,
+              base::FEATURE_DISABLED_BY_DEFAULT);
  #endif  // BUILDFLAG(IS_POSIX)
  
 -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
 +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- const base::Feature kDiscardableMemoryBackingTrial{
-     "DiscardableMemoryBackingTrial", base::FEATURE_DISABLED_BY_DEFAULT};
- 
-@@ -50,7 +50,7 @@ const base::FeatureParam<DiscardableMemoryTrialGroup>
+ BASE_FEATURE(kDiscardableMemoryBackingTrial,
+              "DiscardableMemoryBackingTrial",
+              base::FEATURE_DISABLED_BY_DEFAULT);
+@@ -52,7 +52,7 @@ const base::FeatureParam<DiscardableMemoryTrialGroup>
  
  namespace {
  
@@ -18,7 +18,7 @@
  
  DiscardableMemoryBacking GetBackingForFieldTrial() {
    DiscardableMemoryTrialGroup trial_group =
-@@ -69,7 +69,7 @@ DiscardableMemoryBacking GetBackingForFieldTrial() {
+@@ -71,7 +71,7 @@ DiscardableMemoryBacking GetBackingForFieldTrial() {
  
  }  // namespace
  
@@ -27,7 +27,7 @@
  
  // Probe capabilities of this device to determine whether we should participate
  // in the discardable memory backing trial.
-@@ -99,7 +99,7 @@ DiscardableMemory::DiscardableMemory() = default;
+@@ -101,7 +101,7 @@ DiscardableMemory::DiscardableMemory() = default;
  DiscardableMemory::~DiscardableMemory() = default;
  
  DiscardableMemoryBacking GetDiscardableMemoryBacking() {
diff --git a/www/ungoogled-chromium/files/patch-base_process_process__metrics.h b/www/ungoogled-chromium/files/patch-base_process_process__metrics.h
index 11ce2d0f7551..11c0fa95a9d8 100644
--- a/www/ungoogled-chromium/files/patch-base_process_process__metrics.h
+++ b/www/ungoogled-chromium/files/patch-base_process_process__metrics.h
@@ -1,4 +1,4 @@
---- base/process/process_metrics.h.orig	2022-10-29 17:50:56 UTC
+--- base/process/process_metrics.h.orig	2022-12-02 17:56:32 UTC
 +++ base/process/process_metrics.h
 @@ -36,7 +36,7 @@
  #endif
@@ -118,7 +118,7 @@
  // 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.
-@@ -621,7 +619,7 @@ class BASE_EXPORT SystemMetrics {
+@@ -622,7 +620,7 @@ class BASE_EXPORT SystemMetrics {
    FRIEND_TEST_ALL_PREFIXES(SystemMetricsTest, SystemMetrics);
  
    size_t committed_memory_;
diff --git a/www/ungoogled-chromium/files/patch-base_rand__util.h b/www/ungoogled-chromium/files/patch-base_rand__util.h
index d592b86591a8..dea2d8dc4e36 100644
--- a/www/ungoogled-chromium/files/patch-base_rand__util.h
+++ b/www/ungoogled-chromium/files/patch-base_rand__util.h
@@ -1,6 +1,6 @@
---- base/rand_util.h.orig	2022-10-29 17:50:56 UTC
+--- base/rand_util.h.orig	2022-12-02 17:56:32 UTC
 +++ base/rand_util.h
-@@ -89,7 +89,7 @@ void RandomShuffle(Itr first, Itr last) {
+@@ -117,7 +117,7 @@ void RandomShuffle(Itr first, Itr last) {
    std::shuffle(first, last, RandomBitGenerator());
  }
  
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 42572f8e0a6d..30f57169df85 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-10-29 17:50:56 UTC
+--- base/rand_util_posix.cc.orig	2022-12-02 17:56:32 UTC
 +++ base/rand_util_posix.cc
 @@ -22,7 +22,7 @@
  #include "base/time/time.h"
@@ -30,15 +30,15 @@
  // TODO(pasko): Unify reading kernel version numbers in:
  // mojo/core/channel_linux.cc
  // chrome/browser/android/seccomp_support_detector.cc
-@@ -172,6 +174,7 @@ bool UseBoringSSLForRandBytes() {
- }  // namespace internal
+@@ -176,6 +178,7 @@ bool UseBoringSSLForRandBytes() {
+ namespace {
  
- void RandBytes(void* output, size_t output_length) {
+ void RandBytes(void* output, size_t output_length, bool avoid_allocation) {
 +#if !BUILDFLAG(IS_BSD)
  #if !BUILDFLAG(IS_NACL)
    // The BoringSSL experiment takes priority over everything else.
-   if (internal::UseBoringSSLForRandBytes()) {
-@@ -210,11 +213,16 @@ void RandBytes(void* output, size_t output_length) {
+   if (!avoid_allocation && internal::UseBoringSSLForRandBytes()) {
+@@ -214,6 +217,9 @@ void RandBytes(void* output, size_t output_length, boo
    const bool success =
        ReadFromFD(urandom_fd, static_cast<char*>(output), output_length);
    CHECK(success);
@@ -47,6 +47,11 @@
 +#endif
  }
  
+ }  // namespace
+@@ -233,9 +239,11 @@ void RandBytes(void* output, size_t output_length) {
+   RandBytes(output, output_length, /*avoid_allocation=*/false);
+ }
+ 
 +#if !BUILDFLAG(IS_BSD)
  int GetUrandomFD() {
    static NoDestructor<URandomFd> urandom_fd;
diff --git a/www/ungoogled-chromium/files/patch-base_strings_safe__sprintf__unittest.cc b/www/ungoogled-chromium/files/patch-base_strings_safe__sprintf__unittest.cc
index 25eefa3de232..81e742a7d570 100644
--- a/www/ungoogled-chromium/files/patch-base_strings_safe__sprintf__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-base_strings_safe__sprintf__unittest.cc
@@ -1,6 +1,6 @@
---- base/strings/safe_sprintf_unittest.cc.orig	2022-10-01 07:40:07 UTC
+--- base/strings/safe_sprintf_unittest.cc.orig	2022-12-02 17:56:32 UTC
 +++ base/strings/safe_sprintf_unittest.cc
-@@ -732,6 +732,7 @@ TEST(SafeSPrintfTest, EmbeddedNul) {
+@@ -740,6 +740,7 @@ TEST(SafeSPrintfTest, EmbeddedNul) {
  #endif
  }
  
@@ -8,7 +8,7 @@
  TEST(SafeSPrintfTest, EmitNULL) {
    char buf[40];
  #if defined(__GNUC__)
-@@ -748,6 +749,7 @@ TEST(SafeSPrintfTest, EmitNULL) {
+@@ -756,6 +757,7 @@ TEST(SafeSPrintfTest, EmitNULL) {
  #pragma GCC diagnostic pop
  #endif
  }
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 c0f1f4ab8fb7..3775da000137 100644
--- a/www/ungoogled-chromium/files/patch-base_system_sys__info.h
+++ b/www/ungoogled-chromium/files/patch-base_system_sys__info.h
@@ -1,15 +1,15 @@
---- base/system/sys_info.h.orig	2022-10-01 07:40:07 UTC
+--- base/system/sys_info.h.orig	2022-12-02 17:56:32 UTC
 +++ base/system/sys_info.h
-@@ -211,6 +211,8 @@ class BASE_EXPORT SysInfo {
-   // On Desktop this returns true when memory <= 2GB.
-   static bool IsLowEndDevice();
+@@ -233,6 +233,8 @@ class BASE_EXPORT SysInfo {
+   static void SetIsCpuSecurityMitigationsEnabled(bool is_enabled);
+ #endif
  
 +  static uint64_t MaxSharedMemorySize();
 +
   private:
    FRIEND_TEST_ALL_PREFIXES(SysInfoTest, AmountOfAvailablePhysicalMemory);
    FRIEND_TEST_ALL_PREFIXES(debug::SystemMetricsTest, ParseMeminfo);
-@@ -221,7 +223,7 @@ class BASE_EXPORT SysInfo {
+@@ -243,7 +245,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__posix.cc b/www/ungoogled-chromium/files/patch-base_system_sys__info__posix.cc
index 6dd83fe626eb..40bc6475a7e8 100644
--- a/www/ungoogled-chromium/files/patch-base_system_sys__info__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_system_sys__info__posix.cc
@@ -1,38 +1,21 @@
---- base/system/sys_info_posix.cc.orig	2022-10-01 07:40:07 UTC
+--- base/system/sys_info_posix.cc.orig	2022-12-02 17:56:32 UTC
 +++ base/system/sys_info_posix.cc
-@@ -37,7 +37,7 @@
+@@ -182,12 +182,12 @@ absl::optional<int> NumberOfPhysicalProcessors() {
  
- namespace {
- 
--#if !BUILDFLAG(IS_OPENBSD)
-+#if !BUILDFLAG(IS_BSD)
- int NumberOfProcessors() {
-   // sysconf returns the number of "logical" (not "physical") processors on both
-   // Mac and Linux.  So we get the number of max available "logical" processors.
-@@ -77,7 +77,7 @@ int NumberOfProcessors() {
- 
- base::LazyInstance<base::internal::LazySysInfoValue<int, NumberOfProcessors>>::
-     Leaky g_lazy_number_of_processors = LAZY_INSTANCE_INITIALIZER;
--#endif  // !BUILDFLAG(IS_OPENBSD)
-+#endif  // !BUILDFLAG(IS_BSD)
- 
- uint64_t AmountOfVirtualMemory() {
-   struct rlimit limit;
-@@ -144,11 +144,11 @@ bool GetDiskSpaceInfo(const base::FilePath& path,
- 
- namespace base {
+ }  // namespace internal
  
 -#if !BUILDFLAG(IS_OPENBSD)
 +#if !BUILDFLAG(IS_BSD)
  int SysInfo::NumberOfProcessors() {
-   return g_lazy_number_of_processors.Get().value();
+   static int number_of_processors = internal::NumberOfProcessors();
+   return number_of_processors;
  }
 -#endif  // !BUILDFLAG(IS_OPENBSD)
 +#endif  // !BUILDFLAG(IS_BSD)
  
  // static
  uint64_t SysInfo::AmountOfVirtualMemory() {
-@@ -238,6 +238,8 @@ std::string SysInfo::OperatingSystemArchitecture() {
+@@ -277,6 +277,8 @@ std::string SysInfo::OperatingSystemArchitecture() {
      arch = "x86";
    } else if (arch == "amd64") {
      arch = "x86_64";
@@ -41,3 +24,10 @@
    } else if (std::string(info.sysname) == "AIX") {
      arch = "ppc64";
    }
+@@ -300,4 +302,4 @@ void SysInfo::SetIsCpuSecurityMitigationsEnabled(bool 
+ 
+ #endif  // BUILDFLAG(IS_MAC)
+ 
+-}  // namespace base
+\ No newline at end of file
++}  // namespace base
diff --git a/www/ungoogled-chromium/files/patch-base_system_sys__info__unittest.cc b/www/ungoogled-chromium/files/patch-base_system_sys__info__unittest.cc
index 2f28252e1ba3..95cc977693b1 100644
--- a/www/ungoogled-chromium/files/patch-base_system_sys__info__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-base_system_sys__info__unittest.cc
@@ -1,6 +1,6 @@
---- base/system/sys_info_unittest.cc.orig	2022-10-01 07:40:07 UTC
+--- base/system/sys_info_unittest.cc.orig	2022-12-02 17:56:32 UTC
 +++ base/system/sys_info_unittest.cc
-@@ -234,12 +234,16 @@ TEST_F(SysInfoTest, GetHardwareInfo) {
+@@ -255,12 +255,16 @@ TEST_F(SysInfoTest, GetHardwareInfo) {
    EXPECT_TRUE(IsStringUTF8(hardware_info->model));
    bool empty_result_expected =
  #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_WIN) || \
diff --git a/www/ungoogled-chromium/files/patch-base_threading_platform__thread__linux.cc b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__linux.cc
index d7ac0d9a78dd..a837b6d17329 100644
--- a/www/ungoogled-chromium/files/patch-base_threading_platform__thread__linux.cc
+++ b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__linux.cc
@@ -1,4 +1,4 @@
---- base/threading/platform_thread_linux.cc.orig	2022-10-01 07:40:07 UTC
+--- base/threading/platform_thread_linux.cc.orig	2022-12-02 17:56:32 UTC
 +++ base/threading/platform_thread_linux.cc
 @@ -29,7 +29,9 @@
  
@@ -10,7 +10,7 @@
  #include <sys/resource.h>
  #include <sys/time.h>
  #include <sys/types.h>
-@@ -132,7 +134,7 @@ long sched_setattr(pid_t pid,
+@@ -134,7 +136,7 @@ long sched_setattr(pid_t pid,
  #endif  // !BUILDFLAG(IS_NACL) && !BUILDFLAG(IS_AIX)
  #endif  // BUILDFLAG(IS_CHROMEOS)
  
@@ -19,7 +19,7 @@
  const FilePath::CharType kCgroupDirectory[] =
      FILE_PATH_LITERAL("/sys/fs/cgroup");
  
-@@ -304,7 +306,7 @@ void SetThreadCgroupsForThreadType(PlatformThreadId th
+@@ -306,7 +308,7 @@ void SetThreadCgroupsForThreadType(PlatformThreadId th
  namespace internal {
  
  namespace {
@@ -28,7 +28,7 @@
  const struct sched_param kRealTimePrio = {8};
  #endif
  }  // namespace
-@@ -330,7 +332,7 @@ const ThreadTypeToNiceValuePair kThreadTypeToNiceValue
+@@ -332,7 +334,7 @@ const ThreadTypeToNiceValuePair kThreadTypeToNiceValue
  };
  
  bool CanSetThreadTypeToRealtimeAudio() {
@@ -37,7 +37,7 @@
    // A non-zero soft-limit on RLIMIT_RTPRIO is required to be allowed to invoke
    // pthread_setschedparam in SetCurrentThreadTypeForPlatform().
    struct rlimit rlim;
-@@ -342,7 +344,7 @@ bool CanSetThreadTypeToRealtimeAudio() {
+@@ -344,7 +346,7 @@ bool CanSetThreadTypeToRealtimeAudio() {
  
  bool SetCurrentThreadTypeForPlatform(ThreadType thread_type,
                                       MessagePumpType pump_type_hint) {
@@ -46,7 +46,7 @@
    // For legacy schedtune interface
    SetThreadCgroupsForThreadType(PlatformThread::CurrentId(), thread_type);
  
-@@ -361,7 +363,7 @@ bool SetCurrentThreadTypeForPlatform(ThreadType thread
+@@ -363,7 +365,7 @@ bool SetCurrentThreadTypeForPlatform(ThreadType thread
  
  absl::optional<ThreadPriorityForTest>
  GetCurrentThreadPriorityForPlatformForTest() {
@@ -55,7 +55,7 @@
    int maybe_sched_rr = 0;
    struct sched_param maybe_realtime_prio = {0};
    if (pthread_getschedparam(pthread_self(), &maybe_sched_rr,
-@@ -380,7 +382,7 @@ GetCurrentThreadPriorityForPlatformForTest() {
+@@ -382,7 +384,7 @@ GetCurrentThreadPriorityForPlatformForTest() {
  void PlatformThread::SetName(const std::string& name) {
    ThreadIdNameManager::GetInstance()->SetName(name);
  
@@ -64,7 +64,7 @@
    // On linux we can get the thread names to show up in the debugger by setting
*** 8868 LINES SKIPPED ***