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