git: 06c77856f463 - main - www/iridium: update to 2022.12.108.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Dec 2022 11:40:38 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=06c77856f463522550a95c684cfee1aecd21e6ae
commit 06c77856f463522550a95c684cfee1aecd21e6ae
Author: Robert Nagy <robert@openbsd.org>
AuthorDate: 2022-12-06 11:22:19 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-12-06 11:39:46 +0000
www/iridium: update to 2022.12.108.1
---
www/iridium/Makefile | 4 +-
www/iridium/distinfo | 10 +-
www/iridium/files/patch-BUILD.gn | 16 +--
www/iridium/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 +-
www/iridium/files/patch-base_cpu.h | 4 +-
www/iridium/files/patch-base_i18n_icu__util.cc | 6 +-
.../files/patch-base_memory_discardable__memory.cc | 18 +--
.../files/patch-base_process_process__metrics.h | 4 +-
www/iridium/files/patch-base_rand__util.h | 4 +-
www/iridium/files/patch-base_rand__util__posix.cc | 17 ++-
.../patch-base_strings_safe__sprintf__unittest.cc | 6 +-
www/iridium/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 | 40 +++---
www/iridium/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 | 55 +++------
...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 | 135 +--------------------
.../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 | 58 ++++-----
.../files/patch-chrome_common_chrome__features.h | 40 +++---
.../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 ++++-
www/iridium/files/patch-chrome_test_BUILD.gn | 4 +-
...hrome_updater_device__management_dm__storage.cc | 20 ---
.../files/patch-chrome_updater_installer.cc | 4 +-
www/iridium/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 | 6 +-
...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 ++--
www/iridium/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 ++-
www/iridium/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 +-
www/iridium/files/patch-content_shell_BUILD.gn | 4 +-
www/iridium/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 +-
...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 +-
www/iridium/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 +++--
www/iridium/files/patch-media_base_vector__math.cc | 11 --
www/iridium/files/patch-media_base_video__frame.cc | 18 +--
www/iridium/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 +-
www/iridium/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/iridium/files/patch-net_BUILD.gn | 18 +--
.../patch-net_base_network__change__notifier.cc | 4 +-
www/iridium/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 +--
www/iridium/files/patch-net_dns_BUILD.gn | 8 +-
www/iridium/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 +-
www/iridium/files/patch-sandbox_policy_BUILD.gn | 6 +-
www/iridium/files/patch-sandbox_policy_features.cc | 12 +-
...patch-sandbox_policy_freebsd_sandbox__freebsd.h | 4 +-
...patch-sandbox_policy_openbsd_sandbox__openbsd.h | 4 +-
www/iridium/files/patch-sandbox_policy_sandbox.cc | 6 +-
.../files/patch-sandbox_policy_sandbox__type.cc | 16 +--
...ices_cert__verifier_cert__verifier__creation.cc | 14 +--
...services_device_compute__pressure_cpu__probe.cc | 8 +-
.../patch-services_device_hid_hid__service.cc | 6 +-
.../patch-services_device_public_mojom_BUILD.gn | 4 +-
www/iridium/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 +-
..._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 +-
...kan__memory__allocator_include_vk__mem__alloc.h | 4 +-
.../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 ++--
www/iridium/files/patch-ui_base_ui__base__types.h | 4 +-
.../files/patch-ui_base_webui_web__ui__util.cc | 4 +-
www/iridium/files/patch-ui_color_color__id.h | 4 +-
www/iridium/files/patch-ui_color_system__theme.h | 4 +-
.../files/patch-ui_compositor_compositor.cc | 4 +-
www/iridium/files/patch-ui_compositor_compositor.h | 4 +-
www/iridium/files/patch-ui_events_event.cc | 6 +-
www/iridium/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/iridium/files/patch-ui_gl_BUILD.gn | 6 +-
.../files/patch-ui_gl_generate__bindings.py | 4 +-
www/iridium/files/patch-ui_gl_gl__context.cc | 4 +-
www/iridium/files/patch-ui_gl_gl__features.cc | 10 +-
www/iridium/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 +-
www/iridium/files/patch-ui_views_widget_widget.cc | 4 +-
.../files/patch-ui_webui_resources_js_cr.js | 14 ---
www/iridium/files/patch-v8_BUILD.gn | 8 +-
www/iridium/files/patch-v8_src_api_api.cc | 4 +-
...piler_backend_ia32_instruction-selector-ia32.cc | 6 +-
...-weblayer_browser_browser__main__parts__impl.cc | 6 +-
309 files changed, 1493 insertions(+), 1652 deletions(-)
diff --git a/www/iridium/Makefile b/www/iridium/Makefile
index d6f9c04396b6..965b8a055d2f 100644
--- a/www/iridium/Makefile
+++ b/www/iridium/Makefile
@@ -1,5 +1,5 @@
PORTNAME= iridium
-PORTVERSION= 2022.11.107
+PORTVERSION= 2022.12.108.1
CATEGORIES= www wayland
MASTER_SITES= https://downloads.iridiumbrowser.de/source/
PKGNAMESUFFIX= -browser
@@ -15,7 +15,7 @@ LICENSE_COMB= multi
ONLY_FOR_ARCHS= aarch64 amd64 i386
PATCH_SITES= https://nerd.hu/distfiles/
-PATCHFILES+= disable-privacy-sandbox.patch:-p1
+PATCHFILES+= disable-privacy-sandbox-352a8844b01a05a786ba76da599d106487f1533f.patch:-p1
BUILD_DEPENDS= bash:shells/bash \
${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
diff --git a/www/iridium/distinfo b/www/iridium/distinfo
index 38deeadbb2b2..42e8429c0b34 100644
--- a/www/iridium/distinfo
+++ b/www/iridium/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1669891478
-SHA256 (iridium-browser-2022.11.107.tar.xz) = 7795b28672850fd4218138d6d9242fe246160065a474b26448733af08975e6ff
-SIZE (iridium-browser-2022.11.107.tar.xz) = 1409151040
-SHA256 (disable-privacy-sandbox.patch) = 9797e71f4a6700d9a675ec90c9b03487532de68af568fd010eec3fc0cd97c4de
-SIZE (disable-privacy-sandbox.patch) = 4772
+TIMESTAMP = 1670314377
+SHA256 (iridium-browser-2022.12.108.1.tar.xz) = bc8e923f3003a601a51daa0c5aa6d846742e000f86c7187c55369909bb7ce227
+SIZE (iridium-browser-2022.12.108.1.tar.xz) = 1641474124
+SHA256 (disable-privacy-sandbox-352a8844b01a05a786ba76da599d106487f1533f.patch) = 643103d1d8d8d57a0403a5f048cbbc15422e539f8334cde158e83530aa67257d
+SIZE (disable-privacy-sandbox-352a8844b01a05a786ba76da599d106487f1533f.patch) = 4702
diff --git a/www/iridium/files/patch-BUILD.gn b/www/iridium/files/patch-BUILD.gn
index 6e7fb90c2fc5..282d2e412a11 100644
--- a/www/iridium/files/patch-BUILD.gn
+++ b/www/iridium/files/patch-BUILD.gn
@@ -1,4 +1,4 @@
---- BUILD.gn.orig 2022-12-01 10:35:46 UTC
+--- BUILD.gn.orig 2022-12-06 08:09:13 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",
-@@ -648,6 +647,15 @@ group("gn_all") {
+@@ -632,6 +631,15 @@ group("gn_all") {
deps += [ "//gpu/tools/compositor_model_bench" ]
}
@@ -42,7 +42,7 @@
if (is_mac) {
deps += [
"//third_party/breakpad:crash_inspector",
-@@ -696,7 +704,7 @@ group("gn_all") {
+@@ -680,7 +688,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)" ]
}
-@@ -1123,7 +1131,7 @@ if (!is_ios) {
+@@ -1107,7 +1115,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") {
-@@ -1218,7 +1226,7 @@ if (!is_ios) {
+@@ -1202,7 +1210,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)" ]
}
-@@ -1227,7 +1235,7 @@ if (!is_ios) {
+@@ -1211,7 +1219,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)" ]
}
-@@ -1668,7 +1676,7 @@ group("chromium_builder_perf") {
+@@ -1655,7 +1663,7 @@ group("chromium_builder_perf") {
data_deps += [ "//chrome/test:performance_browser_tests" ]
}
diff --git a/www/iridium/files/patch-base_BUILD.gn b/www/iridium/files/patch-base_BUILD.gn
index 17173f34fa30..7ea6428a19d0 100644
--- a/www/iridium/files/patch-base_BUILD.gn
+++ b/www/iridium/files/patch-base_BUILD.gn
@@ -1,6 +1,6 @@
---- base/BUILD.gn.orig 2022-12-01 10:35:46 UTC
+--- base/BUILD.gn.orig 2022-12-06 08:09:13 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/iridium/files/patch-base_allocator_partition__allocator_page__allocator.h b/www/iridium/files/patch-base_allocator_partition__allocator_page__allocator.h
index 92e7ce5dca0a..5305a3c68753 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_page__allocator.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_page__allocator.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/page_allocator.h.orig 2022-10-05 07:34:01 UTC
+--- base/allocator/partition_allocator/page_allocator.h.orig 2022-12-06 08:09:13 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/iridium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h b/www/iridium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h
index 7e2fb6dea88e..2ea09f1476ac 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h
+++ b/www/iridium/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-05 07:34:01 UTC
+--- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2022-12-06 08:09:13 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/iridium/files/patch-base_allocator_partition__allocator_partition__address__space.cc b/www/iridium/files/patch-base_allocator_partition__allocator_partition__address__space.cc
index bdbfdd035891..c2bc4d1b0e66 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_partition__address__space.cc
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_partition__address__space.cc
@@ -1,7 +1,7 @@
---- base/allocator/partition_allocator/partition_address_space.cc.orig 2022-12-01 10:35:46 UTC
+--- base/allocator/partition_allocator/partition_address_space.cc.orig 2022-12-06 08:09:13 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/iridium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h b/www/iridium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h
index 460caf0032f1..1e0d5165916f 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h
@@ -1,4 +1,4 @@
---- base/allocator/partition_allocator/partition_alloc_constants.h.orig 2022-12-01 10:35:46 UTC
+--- base/allocator/partition_allocator/partition_alloc_constants.h.orig 2022-12-06 08:09:13 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/iridium/files/patch-base_cpu.h b/www/iridium/files/patch-base_cpu.h
index 66164b51097b..2a9efeb30eb6 100644
--- a/www/iridium/files/patch-base_cpu.h
+++ b/www/iridium/files/patch-base_cpu.h
@@ -1,6 +1,6 @@
---- base/cpu.h.orig 2022-03-28 18:11:04 UTC
+--- base/cpu.h.orig 2022-12-06 08:09:13 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/iridium/files/patch-base_i18n_icu__util.cc b/www/iridium/files/patch-base_i18n_icu__util.cc
index ca38b330732a..de9d5f533054 100644
--- a/www/iridium/files/patch-base_i18n_icu__util.cc
+++ b/www/iridium/files/patch-base_i18n_icu__util.cc
@@ -1,6 +1,6 @@
---- base/i18n/icu_util.cc.orig 2022-12-01 10:35:46 UTC
+--- base/i18n/icu_util.cc.orig 2022-12-06 08:09:13 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/iridium/files/patch-base_memory_discardable__memory.cc b/www/iridium/files/patch-base_memory_discardable__memory.cc
index 6a302b8004a6..705a31d8a772 100644
--- a/www/iridium/files/patch-base_memory_discardable__memory.cc
+++ b/www/iridium/files/patch-base_memory_discardable__memory.cc
@@ -1,15 +1,15 @@
---- base/memory/discardable_memory.cc.orig 2022-10-05 07:34:01 UTC
+--- base/memory/discardable_memory.cc.orig 2022-12-06 08:09:13 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/iridium/files/patch-base_process_process__metrics.h b/www/iridium/files/patch-base_process_process__metrics.h
index e94ede6b9ee6..3afa15a7a9fb 100644
--- a/www/iridium/files/patch-base_process_process__metrics.h
+++ b/www/iridium/files/patch-base_process_process__metrics.h
@@ -1,4 +1,4 @@
---- base/process/process_metrics.h.orig 2022-12-01 10:35:46 UTC
+--- base/process/process_metrics.h.orig 2022-12-06 08:09:13 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/iridium/files/patch-base_rand__util.h b/www/iridium/files/patch-base_rand__util.h
index 7e9392dfa146..d353d8ebf91e 100644
--- a/www/iridium/files/patch-base_rand__util.h
+++ b/www/iridium/files/patch-base_rand__util.h
@@ -1,6 +1,6 @@
---- base/rand_util.h.orig 2022-12-01 10:35:46 UTC
+--- base/rand_util.h.orig 2022-12-06 08:09:13 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/iridium/files/patch-base_rand__util__posix.cc b/www/iridium/files/patch-base_rand__util__posix.cc
index 898bd98ace02..c18905a1867b 100644
--- a/www/iridium/files/patch-base_rand__util__posix.cc
+++ b/www/iridium/files/patch-base_rand__util__posix.cc
@@ -1,4 +1,4 @@
---- base/rand_util_posix.cc.orig 2022-12-01 10:35:46 UTC
+--- base/rand_util_posix.cc.orig 2022-12-06 08:09:13 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/iridium/files/patch-base_strings_safe__sprintf__unittest.cc b/www/iridium/files/patch-base_strings_safe__sprintf__unittest.cc
index c3eb254f5229..907acfbebc5b 100644
--- a/www/iridium/files/patch-base_strings_safe__sprintf__unittest.cc
+++ b/www/iridium/files/patch-base_strings_safe__sprintf__unittest.cc
@@ -1,6 +1,6 @@
---- base/strings/safe_sprintf_unittest.cc.orig 2022-10-05 07:34:01 UTC
+--- base/strings/safe_sprintf_unittest.cc.orig 2022-12-06 08:09:13 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/iridium/files/patch-base_system_sys__info.h b/www/iridium/files/patch-base_system_sys__info.h
index bd0fd5af06cf..c3b7deac2789 100644
--- a/www/iridium/files/patch-base_system_sys__info.h
+++ b/www/iridium/files/patch-base_system_sys__info.h
@@ -1,15 +1,15 @@
---- base/system/sys_info.h.orig 2022-10-05 07:34:01 UTC
+--- base/system/sys_info.h.orig 2022-12-06 08:09:13 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/iridium/files/patch-base_system_sys__info__posix.cc b/www/iridium/files/patch-base_system_sys__info__posix.cc
index 71fd898b27bb..a3ec2d7b5903 100644
--- a/www/iridium/files/patch-base_system_sys__info__posix.cc
+++ b/www/iridium/files/patch-base_system_sys__info__posix.cc
@@ -1,38 +1,21 @@
---- base/system/sys_info_posix.cc.orig 2022-10-05 07:34:01 UTC
+--- base/system/sys_info_posix.cc.orig 2022-12-06 08:09:13 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/iridium/files/patch-base_system_sys__info__unittest.cc b/www/iridium/files/patch-base_system_sys__info__unittest.cc
index 04c9153a61aa..4ee50c0cbaa9 100644
--- a/www/iridium/files/patch-base_system_sys__info__unittest.cc
+++ b/www/iridium/files/patch-base_system_sys__info__unittest.cc
@@ -1,6 +1,6 @@
---- base/system/sys_info_unittest.cc.orig 2022-10-05 07:34:01 UTC
+--- base/system/sys_info_unittest.cc.orig 2022-12-06 08:09:13 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/iridium/files/patch-base_threading_platform__thread__linux.cc b/www/iridium/files/patch-base_threading_platform__thread__linux.cc
index cda41bdd934d..644c4786480e 100644
--- a/www/iridium/files/patch-base_threading_platform__thread__linux.cc
+++ b/www/iridium/files/patch-base_threading_platform__thread__linux.cc
@@ -1,4 +1,4 @@
---- base/threading/platform_thread_linux.cc.orig 2022-10-05 07:34:01 UTC
+--- base/threading/platform_thread_linux.cc.orig 2022-12-06 08:09:13 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
// the process name for the LWP. We don't want to do this for the main
// thread because that would rename the process, causing tools like killall
-@@ -410,8 +412,10 @@ void PlatformThread::SetThreadType(ProcessId process_i
+@@ -412,8 +414,10 @@ void PlatformThread::SetThreadType(ProcessId process_i
// priority.
CHECK_NE(thread_id, process_id);
diff --git a/www/iridium/files/patch-base_threading_platform__thread__posix.cc b/www/iridium/files/patch-base_threading_platform__thread__posix.cc
index bde1550ac046..7c0212726a98 100644
--- a/www/iridium/files/patch-base_threading_platform__thread__posix.cc
+++ b/www/iridium/files/patch-base_threading_platform__thread__posix.cc
@@ -1,6 +1,6 @@
---- base/threading/platform_thread_posix.cc.orig 2022-12-01 10:35:46 UTC
+--- base/threading/platform_thread_posix.cc.orig 2022-12-06 08:09:13 UTC
+++ base/threading/platform_thread_posix.cc
-@@ -77,7 +77,7 @@ void* ThreadFunc(void* params) {
+@@ -78,7 +78,7 @@ void* ThreadFunc(void* params) {
if (!thread_params->joinable)
base::DisallowSingleton();
@@ -9,7 +9,7 @@
#if BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) && BUILDFLAG(STARSCAN)
partition_alloc::internal::PCScan::NotifyThreadCreated(
partition_alloc::internal::GetStackPointer());
-@@ -374,6 +374,9 @@ void SetCurrentThreadTypeImpl(ThreadType thread_type,
+@@ -380,6 +380,9 @@ void SetCurrentThreadTypeImpl(ThreadType thread_type,
MessagePumpType pump_type_hint) {
#if BUILDFLAG(IS_NACL)
NOTIMPLEMENTED();
diff --git a/www/iridium/files/patch-build_config_compiler_BUILD.gn b/www/iridium/files/patch-build_config_compiler_BUILD.gn
index afaa15c08f14..c29bd80d919b 100644
--- a/www/iridium/files/patch-build_config_compiler_BUILD.gn
+++ b/www/iridium/files/patch-build_config_compiler_BUILD.gn
@@ -1,6 +1,6 @@
---- build/config/compiler/BUILD.gn.orig 2022-12-01 10:35:46 UTC
+--- build/config/compiler/BUILD.gn.orig 2022-12-06 08:09:13 UTC
+++ build/config/compiler/BUILD.gn
-@@ -222,13 +222,16 @@ config("default_include_dirs") {
+@@ -219,13 +219,16 @@ config("default_include_dirs") {
# Compiler instrumentation can introduce dependencies in DSOs to symbols in
*** 8450 LINES SKIPPED ***