Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2024 15:53:06 GMT
From:      Robert Nagy <rnagy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 595572bc412a - 2024Q3 - www/iridium: update to 2024.07.127.3
Message-ID:  <202408141553.47EFr6GM023858@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q3 has been updated by rnagy:

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

commit 595572bc412a6ab731d5cf6e26825d41225dc493
Author:     Robert Nagy <rnagy@FreeBSD.org>
AuthorDate: 2024-08-14 15:52:19 +0000
Commit:     Robert Nagy <rnagy@FreeBSD.org>
CommitDate: 2024-08-14 15:52:19 +0000

    www/iridium: update to 2024.07.127.3
    
    This update also removes the --audio-backend command line switch
    in favor of an actual setting in the browser that can be changed
    at chrome://flags/#audio-backend
    
    Approved by:    portmgr (implicit)
---
 www/iridium/Makefile                               |  38 ++++----
 www/iridium/distinfo                               |   6 +-
 www/iridium/files/patch-BUILD.gn                   |  20 ++--
 www/iridium/files/patch-base_BUILD.gn              |  24 ++---
 ...cator_partition__allocator_partition__alloc.gni |  20 ++--
 ...tition__allocator_src_partition__alloc_BUILD.gn |   6 +-
 ...artition__alloc_address__space__randomization.h |  12 +--
 ...llocator_src_partition__alloc_page__allocator.h |   6 +-
 ...c_partition__alloc_page__allocator__constants.h |   8 +-
 ...tion__alloc_page__allocator__internals__posix.h |   8 +-
 ...ition__alloc__base_debug_stack__trace__posix.cc |  20 ++--
 ...loc_partition__alloc__base_rand__util__posix.cc |   4 +-
 ...ition__alloc__base_threading_platform__thread.h |   8 +-
 ...e_threading_platform__thread__internal__posix.h |   6 +-
 ...lloc__base_threading_platform__thread__posix.cc |   6 +-
 ...src_partition__alloc_partition__alloc__config.h |  20 ++--
 ..._partition__alloc_partition__alloc__constants.h |   8 +-
 ...locator_src_partition__alloc_partition__root.cc |  18 ++--
 ...__allocator_src_partition__alloc_stack_stack.cc |  12 +--
 ..._src_partition__alloc_thread__isolation_pkey.cc |   6 +-
 www/iridium/files/patch-base_debug_stack__trace.cc |   8 +-
 .../files/patch-base_debug_stack__trace__posix.cc  |  18 ++--
 www/iridium/files/patch-base_features.cc           |  13 ++-
 ...tch-base_files_file__path__watcher__unittest.cc |   8 +-
 .../files/patch-base_files_file__util__posix.cc    |  28 +++---
 .../files/patch-base_files_file__util__unittest.cc |   6 +-
 www/iridium/files/patch-base_files_scoped__file.cc |   4 +-
 .../files/patch-base_process_memory__linux.cc      |   4 +-
 .../files/patch-base_threading_hang__watcher.cc    |   4 +-
 www/iridium/files/patch-build_config_BUILD.gn      |   4 +-
 .../files/patch-build_config_clang_BUILD.gn        |   4 +-
 .../files/patch-build_config_compiler_BUILD.gn     |  22 ++---
 www/iridium/files/patch-build_config_rust.gni      |   4 +-
 .../files/patch-build_linux_unbundle_dav1d.gn      |  25 +++++
 .../files/patch-build_linux_unbundle_icu.gn        |  13 ++-
 .../files/patch-build_rust_rust__bindgen.gni       |  19 ++++
 .../files/patch-build_toolchain_gcc__toolchain.gni |   6 +-
 www/iridium/files/patch-cc_BUILD.gn                |   6 +-
 www/iridium/files/patch-cc_base_features.cc        |   4 +-
 .../patch-chrome_app_chrome__main__delegate.cc     |  48 +++++-----
 www/iridium/files/patch-chrome_browser_BUILD.gn    |   4 +-
 .../files/patch-chrome_browser_about__flags.cc     | 106 +++++++++++++++------
 ...h-chrome_browser_after__startup__task__utils.cc |   4 +-
 .../patch-chrome_browser_browser__features.cc      |   6 +-
 .../patch-chrome_browser_browser__process__impl.cc |   8 +-
 ..._browser_chrome__browser__interface__binders.cc |  36 +++++--
 .../patch-chrome_browser_chrome__browser__main.cc  |  14 +--
 ...ome_browser_chrome__content__browser__client.cc |  38 ++++----
 ...rome_browser_chrome__content__browser__client.h |   4 +-
 ...tity_device__oauth2__token__service__factory.cc |   4 +-
 ...download_chrome__download__manager__delegate.cc |   8 +-
 ...hrome_browser_download_download__item__model.cc |   4 +-
 ...er_enterprise_connectors_connectors__service.cc |   4 +-
 ...sistence_key__persistence__delegate__factory.cc |   4 +-
 ...ectors_reporting_realtime__reporting__client.cc |  19 +++-
 ...erprise_signals_device__info__fetcher__linux.cc |   8 +-
 .../files/patch-chrome_browser_extensions_BUILD.gn |   4 +-
 ..._browser__context__keyed__service__factories.cc |   8 +-
 ...management_chrome__management__api__delegate.cc |   4 +-
 ...__private_passwords__private__delegate__impl.cc |   4 +-
 ...s_api_runtime_chrome__runtime__api__delegate.cc |   4 +-
 ...extensions_api_settings__private_prefs__util.cc |   8 +-
 ...chrome_browser_extensions_api_tabs_tabs__api.cc |   4 +-
 ...api_webstore__private_webstore__private__api.cc |   4 +-
 ..._browser_extensions_external__provider__impl.cc |   6 +-
 ...e__file__system__access__permission__context.cc |   4 +-
 .../patch-chrome_browser_flag__descriptions.cc     |  40 +++++---
 .../patch-chrome_browser_flag__descriptions.h      |  38 +++++---
 ...chrome__browser__main__extra__parts__metrics.cc |  12 +--
 ..._chrome__browser__main__extra__parts__metrics.h |   8 +-
 ...ser_metrics_chrome__metrics__service__client.cc |   9 +-
 ...ch-chrome_browser_metrics_perf_cpu__identity.cc |   4 +-
 ...rowser_net_system__network__context__manager.cc |   6 +-
 ...d__manager_chrome__password__manager__client.cc |   6 +-
 ...d__manager_password__reuse__manager__factory.cc |  10 +-
 ...onfiguration__policy__handler__list__factory.cc |  56 +++++------
 .../patch-chrome_browser_prefs_browser__prefs.cc   |   6 +-
 ...er_prefs_pref__service__incognito__allowlist.cc |   4 +-
 ...hrome__browser__main__extra__parts__profiles.cc |  23 +++--
 .../patch-chrome_browser_profiles_profile__impl.cc |   8 +-
 ...atch-chrome_browser_profiles_profiles__state.cc |  22 ++++-
 ...oud__content__scanning_deep__scanning__utils.cc |  20 ++++
 ...browsing_download__protection_file__analyzer.cc |  29 ------
 ..._browsing_download__protection_file__analyzer.h |  29 ------
 ...rowser_screen__ai_screen__ai__install__state.cc |   8 +-
 ...owser_screen__ai_screen__ai__service__router.cc |   6 +-
 ...tch-chrome_browser_sessions_session__restore.cc |  20 ++++
 ...rowser_sharing_sharing__device__registration.cc |   4 +-
 .../patch-chrome_browser_signin_signin__util.cc    |   4 +-
 ...supervised__user__extensions__delegate__impl.cc |   4 +-
 ...__user_supervised__user__extensions__manager.cc |   6 +-
 ...d__user_supervised__user__extensions__manager.h |   4 +-
 ..._supervised__user__metrics__service__factory.cc |  20 ++++
 ...tch-chrome_browser_sync_chrome__sync__client.cc |  10 +-
 ...h-chrome_browser_sync_sync__service__factory.cc |   8 +-
 .../patch-chrome_browser_themes_theme__service.cc  |   8 +-
 ...-chrome_browser_ui_actions_chrome__action__id.h |   4 +-
 ..._payments_desktop__payments__window__manager.cc |   6 +-
 ...l_payments_desktop__payments__window__manager.h |   4 +-
 .../files/patch-chrome_browser_ui_browser.h        |   4 +-
 ...rome_browser_ui_browser__command__controller.cc |  32 +++++--
 .../patch-chrome_browser_ui_browser__commands.cc   |  11 +++
 .../files/patch-chrome_browser_ui_chrome__pages.cc |  13 ++-
 ..._passwords_manage__passwords__ui__controller.cc |   8 +-
 ...e_browser_ui_signin_signin__view__controller.cc |   8 +-
 ..._ui_signin_signin__view__controller__delegate.h |   4 +-
 ...browser_ui_startup_startup__browser__creator.cc |  10 +-
 ...r_ui_startup_startup__browser__creator__impl.cc |  22 ++++-
 .../files/patch-chrome_browser_ui_tab__helpers.cc  |   6 +-
 .../files/patch-chrome_browser_ui_tabs_features.cc |  11 +++
 ...tch-chrome_browser_ui_tabs_tab__strip__prefs.cc |  11 +++
 .../files/patch-chrome_browser_ui_ui__features.cc  |  13 ++-
 .../files/patch-chrome_browser_ui_ui__features.h   |  13 ++-
 ...-chrome_browser_ui_views_frame_browser__view.cc |   4 +-
 ..._ui_views_frame_opaque__browser__frame__view.cc |   8 +-
 ...e_picture__in__picture__browser__frame__view.cc |  20 ++--
 ...wser_ui_views_frame_tab__strip__region__view.cc |   4 +-
 ...rowser_ui_views_omnibox_omnibox__view__views.cc |   4 +-
 ...views_passwords_password__bubble__view__base.cc |   4 +-
 ...rowser_ui_views_profiles_profile__menu__view.cc |   4 +-
 ..._ui_views_profiles_profile__menu__view__base.cc |   4 +-
 ...es_signin__view__controller__delegate__views.cc |  10 +-
 ...les_signin__view__controller__delegate__views.h |   6 +-
 ...e_browser_ui_views_tab__search__bubble__host.cc |  11 ---
 .../patch-chrome_browser_ui_views_tabs_tab.cc      |   4 +-
 ..._browser_ui_views_tabs_tab__drag__controller.cc |   8 +-
 ...ui_views_tabs_tab__hover__card__bubble__view.cc |   4 +-
 ...rome_browser_ui_views_tabs_tab__style__views.cc |   4 +-
 ..._education_browser__user__education__service.cc |   4 +-
 ...eb__apps_web__app__integration__test__driver.cc |  18 ++--
 ...eb__applications_web__app__ui__manager__impl.cc |   6 +-
 ..._ui_webui_app__home_app__home__page__handler.cc |  25 ++---
 ...r_ui_webui_app__home_app__home__page__handler.h |  11 +++
 ...i_webui_chrome__web__ui__controller__factory.cc |  37 +++++--
 ...e_browser_ui_webui_management_management__ui.cc |   4 +-
 ...rowser_ui_webui_searchbox_searchbox__handler.cc |   4 +-
 ..._webui_settings_accessibility__main__handler.cc |   6 +-
 ...tings_settings__localized__strings__provider.cc |  27 ++++--
 ...king_visited__url__ranking__service__factory.cc |  10 +-
 ...ns_os__integration_os__integration__manager.cc} |   6 +-
 ...tions_os__integration_shortcut__sub__manager.cc |   4 +-
 ...ser_web__applications_web__app__install__info.h |   4 +-
 ...thn_chrome__authenticator__request__delegate.cc |   4 +-
 ...tch-chrome_browser_webauthn_enclave__manager.cc |   6 +-
 .../files/patch-chrome_common_chrome__features.cc  |  28 +-----
 .../files/patch-chrome_common_chrome__features.h   |   8 +-
 .../files/patch-chrome_common_chrome__switches.cc  |   4 +-
 .../files/patch-chrome_common_chrome__switches.h   |   4 +-
 .../patch-chrome_common_media_cdm__registration.cc |  45 ++++-----
 .../patch-chrome_common_media_cdm__registration.h  |  14 +--
 .../files/patch-chrome_common_pref__names.h        |  20 ++--
 .../files/patch-chrome_common_url__constants.h     |   4 +-
 .../patch-chrome_common_webui__url__constants.cc   |  23 +++--
 .../patch-chrome_common_webui__url__constants.h    |  10 +-
 ...ise__companion_enterprise__companion__client.cc |  11 +++
 .../patch-chrome_enterprise__companion_lock.cc     |  20 ++++
 ...mojom_safe__document__analyzer__mojom__traits.h |  11 ---
 www/iridium/files/patch-chrome_updater_lock.cc     |  11 +++
 www/iridium/files/patch-chrome_utility_services.cc |  48 ++--------
 ..._browser_runtime__application__service__impl.cc |   4 +-
 ...utofill_core_browser_payments__data__manager.cc |   4 +-
 ...ents_autofill_core_common_autofill__features.cc |  11 +++
 ...ill_core_common_autofill__payments__features.cc |   4 +-
 ...onents_commerce_core_commerce__feature__list.cc |   4 +-
 ...nstrained__window_constrained__window__views.cc |   4 +-
 ...core_browser_user__permission__service__impl.cc |   4 +-
 ..._core_browser_user__permission__service__impl.h |   4 +-
 ...omponents_enterprise_watermarking_watermark.cc} |   8 +-
 ...h-components_eye__dropper_eye__dropper__view.cc |   4 +-
 ...e__engagement_public_feature__configurations.cc |   8 +-
 ...eature__engagement_public_feature__constants.cc |   6 +-
 ...feature__engagement_public_feature__constants.h |   6 +-
 ...nts_feature__engagement_public_feature__list.cc |  10 +-
 ...ents_feature__engagement_public_feature__list.h |  16 ++--
 .../patch-components_flags__ui_flags__state.cc     |   4 +-
 .../patch-components_named__system__lock_lock.h    |  11 +++
 ...zation__guide_core_optimization__guide__util.cc |   4 +-
 ...ger_core_browser_features_password__features.cc |  21 ++--
 ...ager_core_browser_features_password__features.h |   4 +-
 ...manager_core_browser_password__form__manager.cc |   6 +-
 ...word__manager_core_browser_password__manager.cc |   6 +-
 ...anager_core_browser_password__manager__client.h |   4 +-
 ...ager_core_browser_password__manager__switches.h |   4 +-
 ...core_browser_password__store_login__database.cc |  20 ++++
 ...er_password__store_login__database__unittest.cc |  10 +-
 ...ger_core_browser_sync_password__sync__bridge.cc |  11 ---
 ...ager_core_common_password__manager__features.cc |  11 ---
 ...nager_core_common_password__manager__features.h |  11 ---
 ...er_core_common_password__manager__pref__names.h |   4 +-
 ...mponents_performance__manager_public_features.h |   4 +-
 ..._browser_realtime_url__lookup__service__base.cc |   4 +-
 ...mponents_safe__browsing_core_common_features.cc |  13 ++-
 ...gine__choice_search__engine__choice__service.cc |   4 +-
 ...nents_search__engines_template__url__service.cc |   4 +-
 ...mponents_signin_public_base_signin__switches.cc |  21 ++--
 ...omponents_signin_public_base_signin__switches.h |   4 +-
 ...e_browser_supervised__user__metrics__service.cc |  11 +++
 ...onents_supervised__user_core_common_features.cc |  13 ++-
 ...ponents_supervised__user_core_common_features.h |  11 ++-
 ...ents_supervised__user_core_common_pref__names.h |   4 +-
 ...nts_user__education_views_help__bubble__view.cc |   4 +-
 ...nents_variations_service_variations__service.cc |   4 +-
 ...isited__url__ranking_public_url__visit__util.cc |  11 +++
 .../files/patch-components_viz_common_features.cc  |   6 +-
 .../files/patch-components_viz_common_features.h   |   6 +-
 ...embedder_skia__output__device__buffer__queue.cc |   4 +-
 ...isplay__embedder_skia__output__surface__impl.cc |  10 +-
 ...omponents_viz_service_display_skia__renderer.cc |   4 +-
 www/iridium/files/patch-content_app_BUILD.gn       |  15 +++
 ...atch-content_app_content__main__runner__impl.cc |  16 ++--
 www/iridium/files/patch-content_browser_BUILD.gn   |  31 ++++--
 .../patch-content_browser_browser__main__loop.cc   |   8 +-
 ...-content_browser_browser__url__handler__impl.cc |   6 +-
 ..._compositor_viz__process__transport__factory.cc |   4 +-
 ...wser_devtools_devtools__frontend__host__impl.cc |  10 +-
 ...ccess_file__path__watcher_file__path__watcher.h |  11 +++
 ...file__path__watcher_file__path__watcher__bsd.cc |  58 +++++++++++
 ...le__path__watcher_file__path__watcher__kqueue.h |  10 ++
 ...s_file__system__access__local__path__watcher.cc |  14 +--
 .../patch-content_browser_gpu_compositor__util.cc  |   6 +-
 ...rowser_gpu_gpu__data__manager__impl__private.cc |   4 +-
 ...patch-content_browser_gpu_gpu__process__host.cc |   6 +-
 ...r_media_media__keys__listener__manager__impl.cc |  10 +-
 ...r_renderer__host_render__process__host__impl.cc |  16 ++--
 ...er_renderer__host_render__process__host__impl.h |   4 +-
 ...wser_renderer__host_render__view__host__impl.cc |   4 +-
 ...derer__host_render__widget__host__view__aura.cc |   8 +-
 ...nderer__host_render__widget__host__view__aura.h |   4 +-
 ...scheduler_responsiveness_jank__monitor__impl.cc |   4 +-
 ...patch-content_browser_utility__process__host.cc |  16 +---
 ...h-content_browser_utility__sandbox__delegate.cc |   4 +-
 .../files/patch-content_child_child__process.cc    |  22 ++++-
 .../files/patch-content_child_child__process.h     |  11 +++
 www/iridium/files/patch-content_common_BUILD.gn    |   4 +-
 www/iridium/files/patch-content_common_features.cc |   6 +-
 www/iridium/files/patch-content_common_features.h  |   6 +-
 www/iridium/files/patch-content_gpu_gpu__main.cc   |  14 +--
 ...nt_ppapi__plugin_ppapi__blink__platform__impl.h |   4 +-
 ...ch-content_ppapi__plugin_ppapi__plugin__main.cc |   6 +-
 ...tent_public_browser_content__browser__client.cc |   4 +-
 ...atch-content_public_common_content__features.cc |   8 +-
 ...atch-content_public_common_content__switches.cc |   4 +-
 ...patch-content_public_common_content__switches.h |   4 +-
 .../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 +-
 .../files/patch-content_utility_utility__main.cc   |  28 +++---
 .../files/patch-content_zygote_zygote__linux.cc    |   8 +-
 ...e_shared__image_external__vk__image__backing.cc |   6 +-
 ...service_shared__image_shared__image__factory.cc |   4 +-
 ...service_shared__image_shared__image__manager.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       |  14 +--
 .../patch-gpu_vulkan_vulkan__device__queue.cc      |   6 +-
 .../files/patch-gpu_vulkan_vulkan__device__queue.h |   6 +-
 ...adless_lib_headless__content__main__delegate.cc |   4 +-
 www/iridium/files/patch-media_audio_BUILD.gn       |  11 ++-
 .../patch-media_audio_alsa_audio__manager__alsa.cc |  18 ++--
 ...atch-media_audio_sndio_audio__manager__sndio.cc |  52 +++-------
 .../files/patch-media_base_media__switches.cc      |  62 +++++++-----
 .../files/patch-media_base_media__switches.h       |  33 +++----
 www/iridium/files/patch-media_base_video__frame.cc |  48 +++-------
 www/iridium/files/patch-media_base_video__frame.h  |  16 ++--
 ..._capture_video_linux_v4l2__capture__delegate.cc |   8 +-
 .../patch-media_ffmpeg_scripts_build__ffmpeg.py    |  31 ++----
 ...pu_chromeos_mailbox__video__frame__converter.cc |   4 +-
 ...-media_gpu_chromeos_video__decoder__pipeline.cc |   8 +-
 .../files/patch-media_gpu_vaapi_vaapi__wrapper.cc  |   4 +-
 ...ideo_gpu__memory__buffer__video__frame__pool.cc |  30 +++---
 ...ia_video_video__encode__accelerator__adapter.cc |   6 +-
 ...eo_video__encode__accelerator__adapter__test.cc |   4 +-
 .../patch-mojo_public_tools_bindings_mojom.gni     |   4 +-
 www/iridium/files/patch-net_BUILD.gn               |  14 +--
 www/iridium/files/patch-net_base_features.cc       |   4 +-
 .../patch-net_base_network__change__notifier.cc    |   6 +-
 .../files/patch-net_base_sockaddr__util__posix.cc  |   4 +-
 ...tch-net_base_sockaddr__util__posix__unittest.cc |   4 +-
 ...net_disk__cache_simple_simple__file__tracker.cc |   4 +-
 www/iridium/files/patch-net_dns_address__info.cc   |   4 +-
 .../files/patch-net_dns_address__sorter__posix.cc  |   4 +-
 .../patch-net_dns_dns__config__service__posix.cc   |   6 +-
 .../patch-net_http_http__auth__gssapi__posix.cc    |   4 +-
 ...xy__resolution_proxy__config__service__linux.cc |  10 +-
 .../patch-net_socket_socks5__client__socket.cc     |   4 +-
 .../files/patch-net_socket_tcp__socket__posix.cc   |   4 +-
 .../files/patch-net_socket_udp__socket__posix.cc   |   8 +-
 ..._tools_cert__verify__tool_cert__verify__tool.cc |   4 +-
 ...ffic__annotation_network__traffic__annotation.h |   6 +-
 .../files/patch-net_url__request_url__request.cc   |   6 +-
 .../files/patch-pdf_pdfium_pdfium__engine.cc       |   6 +-
 .../patch-printing_backend_print__backend__cups.cc |  20 ++++
 .../files/patch-printing_printing__features.cc     |  17 ++++
 .../files/patch-printing_printing__features.h      |  11 +++
 ...ch-remoting_host_crash_crash__file__uploader.cc |  11 +++
 .../files/patch-remoting_host_host__main.cc        |  11 ++-
 .../files/patch-remoting_host_it2me_it2me__host.cc |   6 +-
 ...ch-remoting_host_me2me__desktop__environment.cc |  10 +-
 .../patch-remoting_host_remoting__me2me__host.cc   |  24 ++---
 .../files/patch-sandbox_policy_sandbox__type.cc    |  22 ++---
 www/iridium/files/patch-sandbox_policy_switches.cc |   4 +-
 www/iridium/files/patch-sandbox_policy_switches.h  |   4 +-
 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_features.cc  |   4 +-
 .../patch-services_network_public_mojom_BUILD.gn   |   6 +-
 ...atch-third__party_abseil-cpp_absl_base_config.h |   6 +-
 .../files/patch-third__party_angle_BUILD.gn        |   8 +-
 ...tch-third__party_angle_src_libANGLE_Display.cpp |  10 +-
 ...h-third__party_blink_public_platform_platform.h |   4 +-
 ...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 |   4 +-
 ..._renderer_core_scroll_scrollbar__theme__aura.cc |   6 +-
 ...ty_blink_renderer_modules_ml_webnn_features.gni |  10 --
 ...renderer_modules_ml_webnn_ml__graph__xnnpack.cc |  11 ---
 ...peerconnection_webrtc__audio__renderer__test.cc |   4 +-
 ...odules_webgl_webgl__rendering__context__base.cc |   4 +-
 ...rty_blink_renderer_modules_webgpu_gpu__queue.cc |   4 +-
 ...h-third__party_blink_renderer_platform_BUILD.gn |   4 +-
 ...nk_renderer_platform_fonts_font__description.cc |   4 +-
 ..._peerconnection_rtc__video__encoder__factory.cc |   4 +-
 ...derer_platform_runtime__enabled__features.json5 |  22 ++---
 ...platform_video__capture_video__capture__impl.cc |   4 +-
 ...arty_blink_renderer_platform_wtf_stack__util.cc |   4 +-
 .../files/patch-third__party_ffmpeg_configure      |   4 +-
 ...ird__party_libc++abi_src_src_cxa__guard__impl.h |  24 -----
 .../files/patch-third__party_maldoca_BUILD.gn      |  13 ---
 ..._maldoca_src_maldoca_base_get__runfiles__dir.cc |  32 -------
 ...maldoca_service_common_process__doc__wrapper.cc |  29 ------
 www/iridium/files/patch-third__party_nasm_BUILD.gn |   4 +-
 www/iridium/files/patch-third__party_node_node.gni |  14 +--
 www/iridium/files/patch-third__party_node_node.py  |   6 +-
 ...ird__party_pdfium_core_fxge_cfx__fontmapper.cpp |   4 +-
 ...arty_pdfium_core_fxge_linux_fx__linux__impl.cpp |   6 +-
 ...rd__party_perfetto_include_perfetto_base_time.h |   8 +-
 ...atch-third__party_perfetto_src_tracing_track.cc |   4 +-
 ...__party_speech-dispatcher_libspeechd__version.h |   4 +-
 .../files/patch-third__party_tflite_features.gni   |  10 +-
 .../files/patch-third__party_unrar_src_crypt.cpp   |   6 +-
 ... patch-third__party_vulkan-loader_src_BUILD.gn} |   4 +-
 ...ulkan-loader_src_loader_vk__loader__platform.h} |   4 +-
 ...ayers_src_layers_external_vma_vk__mem__alloc.h} |   4 +-
 ...rd__party_webrtc_modules_audio__device_BUILD.gn |   4 +-
 www/iridium/files/patch-third__party_zlib_BUILD.gn |   4 +-
 www/iridium/files/patch-ui_aura_screen__ozone.cc   |   4 +-
 www/iridium/files/patch-ui_aura_screen__ozone.h    |   6 +-
 www/iridium/files/patch-ui_color_color__id.h       |   4 +-
 www/iridium/files/patch-ui_display_screen.cc       |   4 +-
 www/iridium/files/patch-ui_display_screen.h        |   6 +-
 www/iridium/files/patch-ui_gl_BUILD.gn             |   6 +-
 .../files/patch-ui_gl_gl__implementation.cc        |   4 +-
 .../patch-ui_gl_sync__control__vsync__provider.cc  |  10 +-
 ...i_message__center_views_message__popup__view.cc |   4 +-
 ...tform_wayland_host_wayland__toplevel__window.cc |   4 +-
 ...atform_wayland_host_wayland__toplevel__window.h |   4 +-
 ..._ozone_platform_wayland_host_wayland__window.cc |  10 +-
 ...i_ozone_platform_wayland_host_wayland__window.h |  12 +--
 .../patch-ui_ozone_platform_x11_x11__window.cc     |   4 +-
 ...i_platform__window_platform__window__delegate.h |   4 +-
 .../patch-ui_views_controls_textfield_textfield.cc |  14 +--
 ...top__aura_desktop__drag__drop__client__ozone.cc |   4 +-
 ...__aura_desktop__window__tree__host__platform.cc |   4 +-
 .../files/patch-ui_views_widget_root__view.cc      |   4 +-
 www/iridium/files/patch-ui_views_widget_widget.cc  |   4 +-
 .../patch-ui_views_window_dialog__delegate.cc      |   4 +-
 www/iridium/files/patch-v8_BUILD.gn                |  12 +--
 www/iridium/files/patch-v8_include_v8-internal.h   |   4 +-
 www/iridium/files/patch-v8_include_v8config.h      |  30 ++++--
 www/iridium/files/patch-v8_src_api_api.cc          |   6 +-
 .../patch-v8_src_base_platform_platform-openbsd.cc |   4 +-
 .../patch-v8_src_base_platform_platform-posix.cc   |   4 +-
 .../files/patch-v8_src_execution_isolate.cc        |   4 +-
 www/iridium/files/patch-v8_src_flags_flags.cc      |   4 +-
 377 files changed, 2178 insertions(+), 1757 deletions(-)

diff --git a/www/iridium/Makefile b/www/iridium/Makefile
index 734c72bfcdef..ac12a7f63928 100644
--- a/www/iridium/Makefile
+++ b/www/iridium/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	iridium
-PORTVERSION=	2024.06.126.2
-PORTREVISION=	1
+PORTVERSION=	2024.07.127.3
 PULSEMV=	16
 PULSEV=		${PULSEMV}.1
 CATEGORIES=	www wayland
@@ -24,6 +23,7 @@ ONLY_FOR_ARCHS=	aarch64 amd64 i386
 BUILD_DEPENDS=	bash:shells/bash \
 		${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \
+		bindgen:devel/rust-bindgen-cli \
 		gperf:devel/gperf \
 		flock:sysutils/flock \
 		node:www/node \
@@ -40,10 +40,8 @@ BUILD_DEPENDS=	bash:shells/bash \
 LIB_DEPENDS=	libatk-bridge-2.0.so:accessibility/at-spi2-core \
 		libatspi.so:accessibility/at-spi2-core \
 		libspeechd.so:accessibility/speech-dispatcher \
-		libasound.so:audio/alsa-lib \
 		libFLAC.so:audio/flac \
 		libopus.so:audio/opus \
-		libsndio.so:audio/sndio \
 		libspeex.so:audio/speex \
 		libdbus-1.so:devel/dbus \
 		libdbus-glib-1.so:devel/dbus-glib \
@@ -130,15 +128,10 @@ GN_ARGS+=	clang_use_chrome_plugins=false \
 		use_system_libffi=true \
 		use_system_libjpeg=true \
 		use_udev=false \
-		extra_cxxflags="${CXXFLAGS} -I${WRKDIR}/pulseaudio-${PULSEV}/src -DPA_MAJOR=${PULSEMV}" \
+		extra_cxxflags="${CXXFLAGS} ${PINCLUDES}" \
 		extra_ldflags="${LDFLAGS}" \
 		ffmpeg_branding="${FFMPEG_BRAND}"
 
-# Audio backends
-GN_ARGS+=	use_alsa=true \
-		use_pulseaudio=true \
-		use_sndio=true
-
 # TODO: investigate building with these options:
 # use_system_minigbm
 GN_BOOTSTRAP_FLAGS=	--no-clean --no-rebuild --skip-generate-buildfiles
@@ -147,8 +140,10 @@ SUB_FILES=	iridium-browser.desktop iridium
 SUB_LIST+=	COMMENT="${COMMENT}"
 
 OPTIONS_DEFINE=		CODECS CUPS DEBUG KERBEROS LTO PIPEWIRE
-OPTIONS_DEFAULT=	CODECS CUPS KERBEROS PIPEWIRE SNDIO
+OPTIONS_DEFAULT=	CODECS CUPS KERBEROS PIPEWIRE SNDIO ALSA PULSEAUDIO
 OPTIONS_EXCLUDE_aarch64=LTO
+OPTIONS_GROUP=		AUDIO
+OPTIONS_GROUP_AUDIO=	ALSA PULSEAUDIO SNDIO
 OPTIONS_RADIO=		KERBEROS
 OPTIONS_RADIO_KERBEROS=	HEIMDAL HEIMDAL_BASE MIT
 OPTIONS_SUB=		yes
@@ -157,6 +152,12 @@ HEIMDAL_BASE_DESC=	Heimdal Kerberos (base)
 HEIMDAL_DESC=		Heimdal Kerberos (security/heimdal)
 MIT_DESC=		MIT Kerberos (security/krb5)
 
+ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
+ALSA_RUN_DEPENDS=	${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \
+			alsa-lib>=1.1.1_1:audio/alsa-lib
+ALSA_VARS=		GN_ARGS+=use_alsa=true
+ALSA_VARS_OFF=		GN_ARGS+=use_alsa=false
+
 CODECS_VARS=		GN_ARGS+=proprietary_codecs=true \
 			FFMPEG_BRAND="Chrome"
 CODECS_VARS_OFF=	GN_ARGS+=proprietary_codecs=false \
@@ -197,6 +198,14 @@ PIPEWIRE_VARS=		GN_ARGS+=rtc_use_pipewire=true \
 PIPEWIRE_VARS_OFF=	GN_ARGS+=rtc_use_pipewire=false \
 			GN_ARGS+=rtc_link_pipewire=false
 
+PULSEAUDIO_VARS=	GN_ARGS+=use_pulseaudio=true \
+			PINCLUDES="-I${WRKDIR}/pulseaudio-${PULSEV}/src -DPA_MAJOR=${PULSEMV}"
+PULSEAUDIO_VARS_OFF=	GN_ARGS+=use_pulseaudio=false
+
+SNDIO_LIB_DEPENDS=	libsndio.so:audio/sndio
+SNDIO_VARS=		GN_ARGS+=use_sndio=true
+SNDIO_VARS_OFF=		GN_ARGS+=use_sndio=false
+
 .include <bsd.port.options.mk>
 .include <bsd.port.pre.mk> # for COMPILER_VERSION
 
@@ -204,7 +213,6 @@ PIPEWIRE_VARS_OFF=	GN_ARGS+=rtc_use_pipewire=false \
 IGNORE=		you have selected HEIMDAL_BASE but do not have Heimdal installed in base
 .endif
 
-.if ${COMPILER_VERSION} < 180
 LLVM_DEFAULT=		18
 BUILD_DEPENDS+=		clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
 BINARY_ALIAS+=		cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \
@@ -213,10 +221,6 @@ BINARY_ALIAS+=		cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \
 			ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \
 			nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \
 			ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT}
-.else
-BINARY_ALIAS+=		ar=/usr/bin/llvm-ar \
-			nm=/usr/bin/llvm-nm
-.endif
 
 # - swiftshader/lib/{libEGL.so,libGLESv2.so} is x86 only
 # - map ffmpeg target to ${ARCH}
@@ -276,6 +280,8 @@ pre-configure:
 	-${CP} -pR ${FFMPEG_BDIR}/${_e} ${FFMPEG_CDIR}
 .endfor
 	touch ${WRKDIR}/pulseaudio-${PULSEV}/src/pulse/version.h
+	@${REINPLACE_CMD} -e 's|$${LOCALBASE}|${LOCALBASE}|;s|$${MODCLANG_VERSION}|${LLVM_DEFAULT}|' \
+		${WRKSRC}/build/rust/rust_bindgen.gni
 
 do-configure:
 	# GN generator bootstrapping and generating ninja files
diff --git a/www/iridium/distinfo b/www/iridium/distinfo
index 6afeb3116f56..269904f97ae0 100644
--- a/www/iridium/distinfo
+++ b/www/iridium/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1719317993
-SHA256 (iridium-browser-2024.06.126.2.tar.xz) = 30ec50b4bf7b64f5f1ebeb3b724bc0ee81ed4e9101fd1f9788210da4145c9d38
-SIZE (iridium-browser-2024.06.126.2.tar.xz) = 2296084036
+TIMESTAMP = 1723650654
+SHA256 (iridium-browser-2024.07.127.3.tar.xz) = 9c24c43fd4d580b0bbbeb325daff65575e23ad2caf7f615dd82b7d28e9d96774
+SIZE (iridium-browser-2024.07.127.3.tar.xz) = 2764038724
 SHA256 (pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92
 SIZE (pulseaudio-16.1.tar.gz) = 2763111
diff --git a/www/iridium/files/patch-BUILD.gn b/www/iridium/files/patch-BUILD.gn
index 49428a52b18e..15801fd2d4f6 100644
--- a/www/iridium/files/patch-BUILD.gn
+++ b/www/iridium/files/patch-BUILD.gn
@@ -1,6 +1,6 @@
---- BUILD.gn.orig	2024-06-25 12:08:48 UTC
+--- BUILD.gn.orig	2024-08-01 05:47:53 UTC
 +++ BUILD.gn
-@@ -65,7 +65,7 @@ declare_args() {
+@@ -66,7 +66,7 @@ declare_args() {
    root_extra_deps = []
  }
  
@@ -9,7 +9,7 @@
    # An official (maximally optimized!) component (optimized for build times)
    # build doesn't make sense and usually doesn't work.
    assert(!is_component_build)
-@@ -97,7 +97,6 @@ group("gn_all") {
+@@ -98,7 +98,6 @@ group("gn_all") {
        "//codelabs",
        "//components:components_unittests",
        "//components/gwp_asan:gwp_asan_unittests",
@@ -17,7 +17,7 @@
        "//net:net_unittests",
        "//sandbox:sandbox_unittests",
        "//services:services_unittests",
-@@ -428,7 +427,7 @@ group("gn_all") {
+@@ -433,7 +432,7 @@ group("gn_all") {
        }
      }
  
@@ -26,7 +26,7 @@
        deps += [
          "//third_party/breakpad:breakpad_unittests",
          "//third_party/breakpad:core-2-minidump",
-@@ -624,6 +623,15 @@ group("gn_all") {
+@@ -629,6 +628,15 @@ group("gn_all") {
        }
      }
  
@@ -42,7 +42,7 @@
      if (is_mac) {
        deps += [
          "//third_party/breakpad:dump_syms",
-@@ -670,7 +678,7 @@ group("gn_all") {
+@@ -675,7 +683,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)" ]
      }
  
-@@ -1090,7 +1098,7 @@ if (use_blink && !is_cronet_build) {
+@@ -1101,7 +1109,7 @@ if (use_blink && !is_cronet_build) {
      ]
    }
  
@@ -60,7 +60,7 @@
      script_test("chrome_wpt_tests") {
        script = "//third_party/blink/tools/run_wpt_tests.py"
        args = [
-@@ -1185,7 +1193,7 @@ if (use_blink && !is_cronet_build) {
+@@ -1194,7 +1202,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)" ]
      }
-@@ -1194,7 +1202,7 @@ if (use_blink && !is_cronet_build) {
+@@ -1203,7 +1211,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)" ]
      }
  
-@@ -1654,7 +1662,7 @@ group("chromium_builder_perf") {
+@@ -1667,7 +1675,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 46352632be22..2b5a7bd916b2 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	2024-06-25 12:08:48 UTC
+--- base/BUILD.gn.orig	2024-08-01 05:47:53 UTC
 +++ base/BUILD.gn
-@@ -200,7 +200,7 @@ buildflag_header("ios_cronet_buildflags") {
+@@ -182,7 +182,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"
-@@ -1142,11 +1142,23 @@ component("base") {
+@@ -1119,11 +1119,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" ]
-@@ -1166,7 +1178,7 @@ component("base") {
+@@ -1143,7 +1155,7 @@ component("base") {
  
    # Allow more direct string conversions on platforms with native utf8
    # strings
@@ -43,7 +43,7 @@
      defines += [ "SYSTEM_NATIVE_UTF8" ]
    }
  
-@@ -2126,6 +2138,22 @@ component("base") {
+@@ -2110,6 +2122,22 @@ component("base") {
      ]
    }
  
@@ -66,7 +66,7 @@
    # iOS
    if (is_ios) {
      sources += [
-@@ -2271,6 +2299,33 @@ component("base") {
+@@ -2255,6 +2283,33 @@ component("base") {
      }
    }
  
@@ -100,7 +100,7 @@
    if (use_blink) {
      sources += [
        "files/file_path_watcher.cc",
-@@ -2281,7 +2336,7 @@ component("base") {
+@@ -2265,7 +2320,7 @@ component("base") {
    }
  
    if (dep_libevent) {
@@ -109,7 +109,7 @@
    }
  
    if (use_libevent) {
-@@ -3094,7 +3149,7 @@ if (is_apple) {
+@@ -3062,7 +3117,7 @@ if (is_apple) {
    }
  }
  
@@ -118,7 +118,7 @@
    # This test must compile with -fstack-protector-all
    source_set("stack_canary_linux_unittests") {
      testonly = true
-@@ -3743,7 +3798,7 @@ test("base_unittests") {
+@@ -3711,7 +3766,7 @@ test("base_unittests") {
      ]
    }
  
@@ -127,7 +127,7 @@
      sources += [
        "debug/proc_maps_linux_unittest.cc",
        "files/scoped_file_linux_unittest.cc",
-@@ -3770,7 +3825,7 @@ test("base_unittests") {
+@@ -3738,7 +3793,7 @@ test("base_unittests") {
        "posix/file_descriptor_shuffle_unittest.cc",
        "posix/unix_domain_socket_unittest.cc",
      ]
@@ -136,7 +136,7 @@
        sources += [
          "profiler/stack_base_address_posix_unittest.cc",
          "profiler/stack_copier_signal_unittest.cc",
-@@ -3781,7 +3836,7 @@ test("base_unittests") {
+@@ -3749,7 +3804,7 @@ test("base_unittests") {
  
    # Allow more direct string conversions on platforms with native utf8
    # strings
@@ -145,7 +145,7 @@
      defines += [ "SYSTEM_NATIVE_UTF8" ]
    }
  
-@@ -4049,7 +4104,7 @@ test("base_unittests") {
+@@ -4017,7 +4072,7 @@ test("base_unittests") {
      }
    }
  
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 dc8b7e617b87..5394fcf9eb03 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	2024-06-25 12:08:48 UTC
+--- base/allocator/partition_allocator/partition_alloc.gni.orig	2024-08-01 05:47:53 UTC
 +++ base/allocator/partition_allocator/partition_alloc.gni
-@@ -33,7 +33,7 @@ if (is_nacl) {
+@@ -31,7 +31,7 @@ if (is_nacl) {
  use_large_empty_slot_span_ring = is_mac
  
  has_memory_tagging =
@@ -9,12 +9,12 @@
  
  declare_args() {
    # Causes all the allocations to be routed via allocator_shim.cc. Usually,
-@@ -373,7 +373,7 @@ declare_args() {
-   # dependencies that use partition_allocator are compiled in AOSP against a
-   # version of glibc that does not include pkeys syscall numbers.
-   enable_pkeys =
--      (is_linux || is_chromeos) && target_cpu == "x64" && !is_cronet_build
-+      !is_bsd && (is_linux || is_chromeos) && target_cpu == "x64" && !is_cronet_build
+@@ -360,7 +360,7 @@ assert(!use_asan_backup_ref_ptr || use_raw_ptr_hookabl
+ # dependencies that use partition_allocator are compiled in AOSP against a
+ # version of glibc that does not include pkeys syscall numbers.
+ is_pkeys_available =
+-    (is_linux || is_chromeos) && current_cpu == "x64" && !is_cronet_build
++    !is_bsd && (is_linux || is_chromeos) && current_cpu == "x64" && !is_cronet_build
+ declare_args() {
+   enable_pkeys = is_pkeys_available
  }
- assert(!enable_pkeys || ((is_linux || is_chromeos) && target_cpu == "x64"),
-        "Pkeys are only supported on x64 linux and ChromeOS")
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn
index db1eb5bf0dd6..04ec5b647f3c 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn
@@ -1,7 +1,7 @@
---- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig	2024-06-25 12:08:48 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig	2024-08-01 05:47:53 UTC
 +++ base/allocator/partition_allocator/src/partition_alloc/BUILD.gn
-@@ -884,7 +884,7 @@ if (is_clang_or_gcc) {
-         configs -= [ "//build/config/compiler:enable_arc" ]
+@@ -863,7 +863,7 @@ if (is_clang_or_gcc) {
+         configs -= [ partition_alloc_enable_arc_config ]
        }
      }
 -    if (is_chromeos || is_linux) {
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h
index 52427b418c26..92f3be5747d4 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h
@@ -1,20 +1,20 @@
---- base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h.orig	2024-06-25 12:08:48 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h.orig	2024-08-01 05:47:53 UTC
 +++ base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h
 @@ -38,7 +38,7 @@ AslrMask(uintptr_t bits) {
  
- #if defined(ARCH_CPU_64_BITS)
+ #if PA_BUILDFLAG(PA_ARCH_CPU_64_BITS)
  
 -  #if defined(MEMORY_TOOL_REPLACES_ALLOCATOR)
-+  #if defined(MEMORY_TOOL_REPLACES_ALLOCATOR) && !BUILDFLAG(IS_BSD)
++  #if defined(MEMORY_TOOL_REPLACES_ALLOCATOR) && !PA_BUILDFLAG(IS_BSD)
  
      // We shouldn't allocate system pages at all for sanitizer builds. However,
      // we do, and if random hint addresses interfere with address ranges
 @@ -125,7 +125,7 @@ AslrMask(uintptr_t bits) {
          return AslrAddress(0x20000000ULL);
        }
-     #elif defined(ARCH_CPU_ARM64)
--      #if BUILDFLAG(IS_LINUX)
-+      #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+     #elif PA_BUILDFLAG(PA_ARCH_CPU_ARM64)
+-      #if PA_BUILDFLAG(IS_LINUX)
++      #if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_BSD)
  
        // Linux on arm64 can use 39, 42, 48, or 52-bit user space, depending on
        // page size and number of levels of translation pages used. We use
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h
index efd3c2440ee3..b8167fcd27a0 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator.h
@@ -1,11 +1,11 @@
---- base/allocator/partition_allocator/src/partition_alloc/page_allocator.h.orig	2024-06-25 12:08:48 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/page_allocator.h.orig	2024-08-01 05:47:53 UTC
 +++ base/allocator/partition_allocator/src/partition_alloc/page_allocator.h
 @@ -259,7 +259,7 @@ bool DecommitAndZeroSystemPages(void* address,
  // recommitted. Do not assume that this will not change over time.
  constexpr PA_COMPONENT_EXPORT(
      PARTITION_ALLOC) bool DecommittedMemoryIsAlwaysZeroed() {
--#if BUILDFLAG(IS_APPLE)
-+#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD)
+-#if PA_BUILDFLAG(IS_APPLE)
++#if PA_BUILDFLAG(IS_APPLE) || PA_BUILDFLAG(IS_BSD)
    return false;
  #else
    return true;
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h
index d0ca9bf1c7a2..9a0936ca592b 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h
@@ -1,11 +1,11 @@
---- base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h.orig	2024-06-25 12:08:48 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h.orig	2024-08-01 05:47:53 UTC
 +++ base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h
 @@ -26,7 +26,7 @@
  #define PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR __attribute__((const))
  
- #elif (BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_64_BITS)) || \
--    (BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64))
-+    ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64))
+ #elif (PA_BUILDFLAG(IS_ANDROID) && PA_BUILDFLAG(PA_ARCH_CPU_64_BITS)) || \
+-    (PA_BUILDFLAG(IS_LINUX) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64))
++    ((PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_BSD)) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64))
  // This should work for all POSIX (if needed), but currently all other
  // supported OS/architecture combinations use either hard-coded values
  // (such as x86) or have means to determine these values without needing
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h
index e72ac14bf138..e34d7de093dd 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h
@@ -1,12 +1,12 @@
---- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h.orig	2024-06-25 12:08:48 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h.orig	2024-08-01 05:47:53 UTC
 +++ base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h
 @@ -411,8 +411,12 @@ bool TryRecommitSystemPagesInternal(
  
  void DiscardSystemPagesInternal(uintptr_t address, size_t length) {
    void* ptr = reinterpret_cast<void*>(address);
--#if BUILDFLAG(IS_APPLE)
-+#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD)
-+#if BUILDFLAG(IS_BSD)
+-#if PA_BUILDFLAG(IS_APPLE)
++#if PA_BUILDFLAG(IS_APPLE) || PA_BUILDFLAG(IS_BSD)
++#if PA_BUILDFLAG(IS_BSD)
 +  int ret = madvise(ptr, length, MADV_FREE);
 +#else
    int ret = madvise(ptr, length, MADV_FREE_REUSABLE);
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc
index 66f3bc86b67a..253b43022ad0 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc
@@ -1,16 +1,16 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc.orig	2024-06-25 12:08:48 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc.orig	2024-08-01 05:47:53 UTC
 +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc
 @@ -13,11 +13,11 @@
  #include "partition_alloc/partition_alloc_base/posix/eintr_wrapper.h"
  #include "partition_alloc/partition_alloc_base/strings/safe_sprintf.h"
  
--#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_APPLE)
-+#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD)
+-#if !PA_BUILDFLAG(IS_ANDROID) && !PA_BUILDFLAG(IS_APPLE)
++#if !PA_BUILDFLAG(IS_ANDROID) && !PA_BUILDFLAG(IS_APPLE) && !PA_BUILDFLAG(IS_BSD)
  #include <link.h>  // For ElfW() macro.
  #endif
  
--#if BUILDFLAG(IS_APPLE)
-+#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD)
+-#if PA_BUILDFLAG(IS_APPLE)
++#if PA_BUILDFLAG(IS_APPLE) || PA_BUILDFLAG(IS_BSD)
  #include <dlfcn.h>
  #endif
  
@@ -18,17 +18,17 @@
  
  namespace {
  
--#if !BUILDFLAG(IS_APPLE)
-+#if !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD)
+-#if !PA_BUILDFLAG(IS_APPLE)
++#if !PA_BUILDFLAG(IS_APPLE) && !PA_BUILDFLAG(IS_BSD)
  
  // On Android the 'open' function has two versions:
  // int open(const char *pathname, int flags);
 @@ -369,7 +369,7 @@ void PrintStackTraceInternal(const void** trace, size_
  }
- #endif  // !BUILDFLAG(IS_APPLE)
+ #endif  // !PA_BUILDFLAG(IS_APPLE)
  
--#if BUILDFLAG(IS_APPLE)
-+#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD)
+-#if PA_BUILDFLAG(IS_APPLE)
++#if PA_BUILDFLAG(IS_APPLE) || PA_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(const void* const* trace, size_t size) {
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc
index d198a4fc79d0..f8c8409fbf91 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc
@@ -1,10 +1,10 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util_posix.cc.orig	2024-06-25 12:08:48 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util_posix.cc.orig	2024-08-01 05:47:53 UTC
 +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util_posix.cc
 @@ -102,6 +102,10 @@ void RandBytes(void* output, size_t output_length) {
    if (getentropy(output, output_length) == 0) {
      return;
    }
-+#elif BUILDFLAG(IS_BSD)
++#elif PA_BUILDFLAG(IS_BSD)
 +  if (getentropy(output, output_length) == 0) {
 +    return;
 +  }
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h
index 65eca6297fa2..0f8411099ec9 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h
@@ -1,11 +1,11 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.h.orig	2024-06-25 12:08:48 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.h.orig	2024-08-01 05:47:53 UTC
 +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.h
 @@ -37,6 +37,8 @@ typedef DWORD PlatformThreadId;
  typedef zx_handle_t PlatformThreadId;
- #elif BUILDFLAG(IS_APPLE)
+ #elif PA_BUILDFLAG(IS_APPLE)
  typedef mach_port_t PlatformThreadId;
-+#elif BUILDFLAG(IS_BSD)
++#elif PA_BUILDFLAG(IS_BSD)
 +typedef uint64_t PlatformThreadId;
- #elif BUILDFLAG(IS_POSIX)
+ #elif PA_BUILDFLAG(IS_POSIX)
  typedef pid_t PlatformThreadId;
  #endif
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h
index a2c487a05d04..6cc8bc38499d 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h
@@ -1,11 +1,11 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h.orig	2024-02-04 14:46:08 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h.orig	2024-08-01 05:47:53 UTC
 +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h
 @@ -10,7 +10,7 @@
  
  namespace partition_alloc::internal::base::internal {
  
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS)
++#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD)
  // Current thread id is cached in thread local storage for performance reasons.
  // In some rare cases it's important to invalidate that cache explicitly (e.g.
  // after going through clone() syscall which does not call pthread_atfork()
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc
index d527f0375aaf..6bb1e7ae7e69 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc
@@ -1,11 +1,11 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc.orig	2024-06-25 12:08:48 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc.orig	2024-08-01 05:47:53 UTC
 +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc
 @@ -18,7 +18,7 @@
  #include "partition_alloc/partition_alloc_base/logging.h"
  #include "partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h"
  
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+-#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS)
++#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD)
  #include <sys/syscall.h>
  #include <atomic>
  #endif
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h
index a373974693a8..593bda799e53 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h
@@ -1,20 +1,20 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig	2024-06-25 12:08:48 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig	2024-08-01 05:47:53 UTC
 +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h
*** 10528 LINES SKIPPED ***



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408141553.47EFr6GM023858>