Date: Sun, 27 Oct 2024 19:48:32 GMT From: Robert Nagy <rnagy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 39bd30debea8 - main - www/ungoogled-chromium: update to 130.0.6723.69 Message-ID: <202410271948.49RJmW0H088484@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by rnagy: URL: https://cgit.FreeBSD.org/ports/commit/?id=39bd30debea8568723186a7c1ffcd23e1fcbf81d commit 39bd30debea8568723186a7c1ffcd23e1fcbf81d Author: Robert Nagy <rnagy@FreeBSD.org> AuthorDate: 2024-10-27 19:47:33 +0000 Commit: Robert Nagy <rnagy@FreeBSD.org> CommitDate: 2024-10-27 19:48:13 +0000 www/ungoogled-chromium: update to 130.0.6723.69 Security: https://vuxml.freebsd.org/freebsd/fafaef4d-f364-4a07-bbdd-bf53448c593c.html Security: https://vuxml.freebsd.org/freebsd/1e71e366-080b-4e8f-a9e6-150bf698186b.html --- www/ungoogled-chromium/Makefile | 4 +- www/ungoogled-chromium/distinfo | 14 ++-- www/ungoogled-chromium/files/patch-BUILD.gn | 18 ++-- www/ungoogled-chromium/files/patch-base_BUILD.gn | 48 +++++------ ...cator_partition__allocator_partition__alloc.gni | 4 +- ...tition__allocator_src_partition__alloc_BUILD.gn | 4 +- ...tion__alloc_page__allocator__internals__posix.h | 4 +- ...src_partition__alloc_partition__alloc__config.h | 8 +- ...locator_src_partition__alloc_partition__root.cc | 8 +- .../files/patch-base_base__paths__posix.cc | 10 +-- .../files/patch-base_compiler__specific.h | 6 +- .../files/patch-base_features.cc | 27 ------ .../files/patch-base_files_file__util__unittest.cc | 6 +- ...emory_madv__free__discardable__memory__posix.cc | 6 +- .../files/patch-base_memory_protected__memory.h | 44 ++++++++++ .../patch-base_memory_protected__memory__posix.cc | 20 +++++ ...atch-base_message__loop_message__pump__epoll.cc | 11 +++ ...patch-base_message__loop_message__pump__epoll.h | 14 ++++ .../files/patch-base_native__library__unittest.cc | 4 +- .../patch-base_posix_file__descriptor__shuffle.h | 11 +++ .../files/patch-base_process_launch.h | 4 +- .../files/patch-base_process_launch__posix.cc | 4 +- .../files/patch-base_process_process__metrics.h | 22 ++--- ...patch-base_process_process__metrics__freebsd.cc | 9 +- ...patch-base_process_process__metrics__openbsd.cc | 9 +- .../files/patch-base_process_process__unittest.cc | 4 +- .../files/patch-base_rand__util__posix.cc | 8 +- .../files/patch-base_system_sys__info__freebsd.cc | 17 ++-- .../files/patch-base_system_sys__info__openbsd.cc | 25 ++---- .../files/patch-base_system_sys__info__posix.cc | 8 +- ..._threading_platform__thread__internal__posix.cc | 4 +- ...ch-base_threading_platform__thread__unittest.cc | 6 +- .../files/patch-build_config_clang_BUILD.gn | 4 +- .../files/patch-build_config_compiler_BUILD.gn | 28 +++---- .../files/patch-build_config_rust.gni | 4 +- .../files/patch-cc_base_features.cc | 4 +- .../files/patch-chrome_app_chrome__main.cc | 6 +- .../patch-chrome_app_chrome__main__delegate.cc | 37 ++++----- .../files/patch-chrome_browser_BUILD.gn | 4 +- .../files/patch-chrome_browser_about__flags.cc | 96 +++++++++------------- .../patch-chrome_browser_browser__features.cc | 24 +++++- .../files/patch-chrome_browser_browser__features.h | 20 +++++ .../patch-chrome_browser_browser__process__impl.cc | 35 +++++++- .../patch-chrome_browser_browser__process__impl.h | 4 +- ..._browser_chrome__browser__interface__binders.cc | 18 ++-- .../patch-chrome_browser_chrome__browser__main.cc | 22 ++--- ...-chrome_browser_chrome__browser__main__linux.cc | 4 +- ...ome_browser_chrome__content__browser__client.cc | 36 ++++---- ...download_chrome__download__manager__delegate.cc | 6 +- ...h-chrome_browser_download_download__commands.cc | 4 +- ...hrome_browser_download_download__item__model.cc | 8 +- ...atch-chrome_browser_download_download__prefs.cc | 18 ++-- ...chrome_browser_enterprise_connectors_common.cc} | 12 +-- ...er_enterprise_connectors_connectors__service.cc | 4 +- ...ser_commands_key__rotation__command__factory.cc | 4 +- .../files/patch-chrome_browser_extensions_BUILD.gn | 10 +-- ..._browser__context__keyed__service__factories.cc | 6 +- ..._private_enterprise__reporting__private__api.cc | 10 +-- ...__private_passwords__private__delegate__impl.cc | 4 +- ...s_api_runtime_chrome__runtime__api__delegate.cc | 4 +- ...extensions_api_settings__private_prefs__util.cc | 15 +++- ...chrome_browser_extensions_api_tabs_tabs__api.cc | 4 +- ..._browser_extensions_external__provider__impl.cc | 6 +- ...e__file__system__access__permission__context.cc | 8 +- .../patch-chrome_browser_flag__descriptions.cc | 42 ++++------ .../patch-chrome_browser_flag__descriptions.h | 43 ++++------ .../files/patch-chrome_browser_memory__details.cc | 4 +- ...ser_metrics_chrome__metrics__service__client.cc | 10 +-- ...owser_net_profile__network__context__service.cc | 8 +- ...rowser_net_system__network__context__manager.cc | 32 ++++---- ...browser_net_system__network__context__manager.h | 6 +- ...page_modules_file__suggestion_drive__service.cc | 4 +- ..._browser_new__tab__page_new__tab__page__util.cc | 4 +- ...d__manager_chrome__password__manager__client.cc | 12 +-- ...onfiguration__policy__handler__list__factory.cc | 59 +++++++------ .../patch-chrome_browser_prefs_browser__prefs.cc | 16 ++-- ...er_prefs_pref__service__incognito__allowlist.cc | 4 +- ...hrome__browser__main__extra__parts__profiles.cc | 20 ++--- .../patch-chrome_browser_profiles_profile__impl.cc | 8 +- ...owser_screen__ai_screen__ai__service__router.cc | 6 +- ...tch-chrome_browser_sessions_session__restore.cc | 6 +- ...vised__user_supervised__user__browser__utils.cc | 8 +- ...rvised__user_supervised__user__browser__utils.h | 8 +- ...ed__user__google__auth__navigation__throttle.cc | 6 +- ..._user_supervised__user__navigation__throttle.cc | 17 +++- ...tch-chrome_browser_sync_chrome__sync__client.cc | 47 ----------- ...owser_sync_chrome__sync__controller__builder.cc | 11 +++ ...h-chrome_browser_sync_sync__service__factory.cc | 33 +++++--- ...oup__sync_tab__group__sync__service__factory.cc | 17 +++- .../patch-chrome_browser_themes_theme__service.cc | 4 +- ...-chrome_browser_ui_actions_chrome__action__id.h | 4 +- ..._payments_desktop__payments__window__manager.cc | 6 +- .../files/patch-chrome_browser_ui_browser.h | 4 +- ...rome_browser_ui_browser__command__controller.cc | 18 ++-- .../patch-chrome_browser_ui_browser__commands.cc | 4 +- .../files/patch-chrome_browser_ui_managed__ui.cc | 8 +- ..._passwords_manage__passwords__ui__controller.cc | 6 +- ...browser_ui_startup_startup__browser__creator.cc | 8 +- ...r_ui_startup_startup__browser__creator__impl.cc | 8 +- .../files/patch-chrome_browser_ui_tab__helpers.cc | 6 +- .../files/patch-chrome_browser_ui_ui__features.cc | 6 +- .../files/patch-chrome_browser_ui_ui__features.h | 4 +- ...s_chrome__browser__main__extra__parts__views.cc | 6 +- ...-chrome_browser_ui_views_frame_browser__view.cc | 4 +- ...e_picture__in__picture__browser__frame__view.cc | 10 +-- ...chrome_browser_ui_views_hung__renderer__view.cc | 4 +- ...rowser_ui_views_omnibox_omnibox__view__views.cc | 4 +- ..._ui_views_profiles_profile__menu__view__base.cc | 4 +- ...wser_ui_views_profiles_profile__picker__view.cc | 6 +- ...es_signin__view__controller__delegate__views.cc | 16 ++-- ...les_signin__view__controller__delegate__views.h | 4 +- ..._browser_ui_views_tabs_tab__drag__controller.cc | 21 ++--- ...ui_views_tabs_tab__hover__card__bubble__view.cc | 4 +- ..._education_browser__user__education__service.cc | 13 ++- ...eb__apps_web__app__integration__test__driver.cc | 20 ++--- ...eb__applications_web__app__ui__manager__impl.cc | 4 +- ...icate__manager_certificate__manager__handler.cc | 4 +- ...i_certificate__manager_client__cert__sources.cc | 8 +- ...ui_certificate__manager_client__cert__sources.h | 8 +- ...me_browser_ui_webui_chrome__web__ui__configs.cc | 24 +++++- ...i_webui_chrome__web__ui__controller__factory.cc | 27 ++---- ...wser_ui_webui_interstitials_interstitial__ui.cc | 12 +-- ...e_browser_ui_webui_management_management__ui.cc | 6 +- ...i_webui_management_management__ui__constants.cc | 4 +- ..._ui_webui_management_management__ui__handler.cc | 4 +- ...rowser_ui_webui_searchbox_searchbox__handler.cc | 8 +- ...tings_settings__localized__strings__provider.cc | 14 ++-- ...ser_ui_webui_signin_profile__picker__handler.cc | 6 +- ...king_visited__url__ranking__service__factory.cc | 6 +- ...lications_os__integration_web__app__shortcut.cc | 4 +- ...s_test_os__integration__test__override__impl.cc | 28 +++---- ...ns_test_os__integration__test__override__impl.h | 6 +- ...thn_chrome__authenticator__request__delegate.cc | 4 +- .../patch-chrome_common_channel__info__posix.cc | 6 +- .../files/patch-chrome_common_chrome__features.cc | 14 ++-- .../files/patch-chrome_common_chrome__features.h | 10 +-- .../files/patch-chrome_common_pref__names.h | 20 ++--- .../files/patch-chrome_common_url__constants.h | 4 +- .../patch-chrome_common_webui__url__constants.h | 8 +- ...sed__user_google__auth__state__waiter__mixin.cc | 11 +++ .../patch-chrome_updater_app_app__uninstall.cc | 11 +++ .../files/patch-chrome_updater_configurator.cc | 4 +- ...ecast_browser_cast__content__browser__client.cc | 4 +- ...utofill_core_browser_payments__data__manager.cc | 4 +- ...ill_core_common_autofill__payments__features.cc | 4 +- ...ponents_autofill_core_common_autofill__prefs.cc | 11 +++ ...mponents_autofill_core_common_autofill__prefs.h | 11 +++ ...onents_commerce_core_commerce__feature__list.cc | 13 ++- ...nstrained__window_constrained__window__views.cc | 4 +- .../files/patch-components_crash_core_app_BUILD.gn | 12 +-- ...components_enterprise_watermarking_watermark.cc | 6 +- ...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_live__caption_caption__util.cc | 4 +- ...erver_named__mojo__ipc__server__client__util.cc | 4 +- ...rator_browser_network__session__configurator.cc | 4 +- ...ser_network__session__configurator__unittest.cc | 4 +- ..._async_browser_secret__portal__key__provider.cc | 12 +++ ...-components_os__crypt_async_common_encryptor.cc | 11 +++ ...onents_os__crypt_sync_libsecret__util__linux.cc | 4 +- .../patch-components_os__crypt_sync_os__crypt.h | 8 +- ...aint__preview_browser_paint__preview__client.cc | 4 +- ...ger_core_browser_features_password__features.cc | 4 +- ...ager_core_browser_features_password__features.h | 4 +- ...manager_core_browser_password__form__manager.cc | 8 +- ...anager_core_browser_password__manager__client.h | 6 +- ...ore_browser_password__manual__fallback__flow.cc | 26 +++--- ...core_browser_password__manual__fallback__flow.h | 4 +- ..._core_browser_password__store__factory__util.cc | 4 +- ...core_browser_password__store_login__database.cc | 6 +- ...er_password__store_login__database__unittest.cc | 4 +- ...core_browser_stub__password__manager__client.cc | 4 +- ...er_core_common_password__manager__pref__names.h | 4 +- ...licy_core_common_cloud_cloud__policy__client.cc | 4 +- ...mmon_cloud_cloud__policy__refresh__scheduler.cc | 20 +++++ ...-components_policy_core_common_policy__utils.cc | 6 +- ..._browser_realtime_url__lookup__service__base.cc | 4 +- ...mponents_safe__browsing_core_common_features.cc | 4 +- ...gine__choice_search__engine__choice__service.cc | 4 +- ...nents_search__engines_template__url__service.cc | 4 +- ..._user_core_browser_supervised__user__service.cc | 4 +- ...onents_supervised__user_core_common_features.cc | 6 +- ...ponents_supervised__user_core_common_features.h | 6 +- ...sted__vault_trusted__vault__connection__impl.cc | 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 | 4 +- ...isplay__embedder_skia__output__surface__impl.cc | 4 +- ...omponents_viz_service_display_skia__renderer.cc | 4 +- ...e__sinks_root__compositor__frame__sink__impl.cc | 4 +- .../files/patch-content_app_content__main.cc | 6 +- ...atch-content_app_content__main__runner__impl.cc | 8 +- .../files/patch-content_browser_BUILD.gn | 6 +- .../patch-content_browser_browser__main__loop.cc | 6 +- ...browser_child__thread__type__switcher__linux.cc | 4 +- ...rowser_gpu_gpu__data__manager__impl__private.cc | 4 +- ..._gpu_gpu__memory__buffer__manager__singleton.cc | 12 +-- ...patch-content_browser_gpu_gpu__process__host.cc | 6 +- ...r_renderer__host_render__process__host__impl.cc | 14 ++-- ...er_renderer__host_render__process__host__impl.h | 6 +- ...wser_renderer__host_render__view__host__impl.cc | 4 +- ...derer__host_render__widget__host__view__aura.cc | 16 ++-- ...nderer__host_render__widget__host__view__aura.h | 4 +- ...patch-content_browser_utility__process__host.cc | 6 +- ...h-content_browser_utility__sandbox__delegate.cc | 4 +- .../files/patch-content_common_features.cc | 4 +- .../files/patch-content_common_features.h | 4 +- .../files/patch-content_gpu_gpu__main.cc | 6 +- ...tent_public_browser_content__browser__client.cc | 4 +- ...atch-content_public_common_content__features.cc | 6 +- ...atch-content_public_common_content__switches.cc | 6 +- ...patch-content_public_common_content__switches.h | 4 +- .../patch-content_renderer_render__thread__impl.cc | 4 +- ...ent_renderer_renderer__blink__platform__impl.cc | 10 +-- ...tent_renderer_renderer__blink__platform__impl.h | 4 +- .../files/patch-content_shell_BUILD.gn | 4 +- .../files/patch-content_utility_services.cc | 12 +-- .../files/patch-content_utility_utility__main.cc | 14 ++-- ..._browser__context__keyed__service__factories.cc | 4 +- ...ensions_renderer_bindings_api__binding__util.cc | 4 +- ...er_api_runtime_shell__runtime__api__delegate.cc | 4 +- ...mand__buffer_service_dawn__context__provider.cc | 4 +- ...mmand__buffer_service_shared__context__state.cc | 29 +++++++ ...ommand__buffer_service_shared__context__state.h | 20 +++++ ...e_shared__image_external__vk__image__backing.cc | 4 +- ..._image_external__vk__image__backing__factory.cc | 11 +++ ...service_shared__image_shared__image__factory.cc | 22 ++++- ...service_shared__image_shared__image__manager.cc | 4 +- ...ommand__buffer_service_webgpu__decoder__impl.cc | 6 +- .../files/patch-gpu_config_gpu__finch__features.cc | 10 +-- .../files/patch-gpu_config_gpu__info__collector.cc | 4 +- ...-gpu_ipc_common_gpu__memory__buffer__support.cc | 4 +- ...gpu_ipc_service_gpu__memory__buffer__factory.cc | 10 +-- ...b_browser_headless__content__browser__client.cc | 20 +++++ ..._browser_headless__request__context__manager.cc | 11 --- .../files/patch-media_base_media__switches.cc | 26 +++--- .../files/patch-media_base_media__switches.h | 12 +-- .../files/patch-media_base_video__frame.cc | 8 +- .../files/patch-media_base_video__frame.h | 12 +-- ..._capture_video_linux_v4l2__capture__delegate.cc | 30 +++---- ...dware__video__decoding__sandbox__hook__linux.cc | 8 +- ...dware__video__encoding__sandbox__hook__linux.cc | 8 +- ...stable__video__decoder__types__mojom__traits.cc | 6 +- ...ideo_gpu__memory__buffer__video__frame__pool.cc | 14 ++-- .../files/patch-mojo_core_channel.cc | 8 +- www/ungoogled-chromium/files/patch-net_BUILD.gn | 20 ++--- .../files/patch-net_base_features.cc | 4 +- .../files/patch-net_cert_cert__verify__proc.h | 4 +- .../files/patch-net_socket_tcp__socket__posix.cc | 4 +- ..._tools_cert__verify__tool_cert__verify__tool.cc | 4 +- .../files/patch-pdf_pdfium_pdfium__engine.cc | 6 +- .../patch-printing_backend_print__backend__cups.cc | 19 +++-- ...h-remoting_codec_webrtc__video__encoder__vpx.cc | 4 +- ...ting_host_base_desktop__environment__options.cc | 4 +- .../files/patch-remoting_host_chromoting__host.cc | 4 +- .../files/patch-remoting_host_chromoting__host.h | 6 +- .../files/patch-remoting_host_client__session.cc | 4 +- .../files/patch-remoting_host_it2me_it2me__host.cc | 8 +- ...ch-remoting_host_me2me__desktop__environment.cc | 10 +-- .../patch-remoting_host_remoting__me2me__host.cc | 44 +++++----- .../patch-remoting_host_setup_start__host__main.cc | 6 +- ...bauthn_remote__webauthn__extension__notifier.cc | 6 +- .../files/patch-sandbox_policy_BUILD.gn | 4 +- .../files/patch-sandbox_policy_features.cc | 4 +- .../files/patch-sandbox_policy_features.h | 4 +- .../files/patch-sandbox_policy_mojom_sandbox.mojom | 4 +- .../files/patch-sandbox_policy_sandbox__type.cc | 24 +++--- .../files/patch-sandbox_policy_switches.cc | 6 +- .../files/patch-sandbox_policy_switches.h | 6 +- .../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 +- ..._on__device__model_on__device__model__service.h | 10 +-- .../files/patch-third__party_angle_BUILD.gn | 8 +- ...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 +- ...er_modules_peerconnection_rtc__data__channel.cc | 10 +++ ...peerconnection_webrtc__audio__renderer__test.cc | 4 +- ...odules_webgl_webgl__rendering__context__base.cc | 4 +- ...h-third__party_blink_renderer_platform_BUILD.gn | 4 +- ...r_platform_graphics_gpu_image__layer__bridge.cc | 11 +++ ...er_platform_graphics_video__frame__submitter.cc | 4 +- ...derer_platform_runtime__enabled__features.json5 | 16 ++-- .../files/patch-third__party_ffmpeg_BUILD.gn | 4 +- ...tch-third__party_leveldatabase_env__chromium.cc | 4 +- .../patch-third__party_perfetto_src_base_utils.cc | 10 +-- ...__party_speech-dispatcher_libspeechd__version.h | 4 +- ...-third__party_sqlite_src_amalgamation_sqlite3.c | 6 +- .../files/patch-third__party_webrtc_BUILD.gn | 4 +- ...rd__party_webrtc_modules_audio__device_BUILD.gn | 4 +- ...ideo__coding_codecs_av1_libaom__av1__encoder.cc | 23 ++++++ ...ch-third__party_webrtc_rtc__base_ip__address.cc | 10 +-- ...h-third__party_webrtc_system__wrappers_BUILD.gn | 4 +- .../patch-tools_gn_src_base_files_file__posix.cc | 4 +- ...son__schema__compiler_cpp__bundle__generator.py | 4 +- ...ols_json__schema__compiler_feature__compiler.py | 4 +- .../patch-ui_base_resource_resource__bundle.cc | 4 +- .../files/patch-ui_color_color__id.h | 4 +- .../files/patch-ui_compositor_compositor.cc | 4 +- .../files/patch-ui_compositor_compositor.h | 4 +- www/ungoogled-chromium/files/patch-ui_gl_BUILD.gn | 19 ++--- .../files/patch-ui_gl_gl__context.cc | 4 +- .../files/patch-ui_gl_gl__implementation.cc | 4 +- .../files/patch-ui_gl_gl__switches.cc | 6 +- .../files/patch-ui_ozone_common_features.cc | 11 ++- ..._ozone_platform_wayland_common_wayland__util.cc | 13 ++- ...ne_platform_wayland_host_wayland__connection.cc | 4 +- ..._ozone_platform_wayland_host_wayland__screen.cc | 29 +++++++ ...i_ozone_platform_wayland_host_wayland__screen.h | 38 +++++++++ ..._ozone_platform_wayland_host_wayland__window.cc | 10 +-- ...i_ozone_platform_wayland_host_wayland__window.h | 8 +- ...m_wayland_host_zwp__text__input__wrapper__v1.cc | 6 +- .../patch-ui_views_controls_textfield_textfield.cc | 10 +-- .../files/patch-ui_views_corewm_tooltip__aura.cc | 4 +- ...top__aura_desktop__drag__drop__client__ozone.cc | 4 +- ...ktop__aura_desktop__drag__drop__client__ozone.h | 6 +- .../files/patch-ui_views_widget_root__view.cc | 8 +- .../files/patch-ui_views_widget_widget.cc | 4 +- .../patch-ui_views_window_dialog__delegate.cc | 4 +- www/ungoogled-chromium/files/patch-v8_BUILD.gn | 12 +-- .../files/patch-v8_include_v8-internal.h | 4 +- .../files/patch-v8_include_v8config.h | 4 +- .../files/patch-v8_src_api_api.cc | 4 +- .../files/patch-v8_src_base_platform_memory.h | 10 +-- .../patch-v8_src_base_platform_platform-posix.cc | 21 ++--- .../files/patch-v8_src_base_sys-info.cc | 4 +- .../patch-v8_src_builtins_x64_builtins-x64.cc | 14 ++++ .../files/patch-v8_src_execution_isolate.cc | 6 +- .../files/patch-v8_src_flags_flags.cc | 16 +--- ...wasm_baseline_ia32_liftoff-assembler-ia32-inl.h | 30 +++---- www/ungoogled-chromium/files/patch-v8_tools_run.py | 18 ++-- 337 files changed, 1870 insertions(+), 1467 deletions(-) diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile index 337a92d20101..04738f1890e9 100644 --- a/www/ungoogled-chromium/Makefile +++ b/www/ungoogled-chromium/Makefile @@ -1,5 +1,5 @@ PORTNAME= ungoogled-chromium -PORTVERSION= 129.0.6668.100 +PORTVERSION= 130.0.6723.69 PULSEMV= 16 PULSEV= ${PULSEMV}.1 UGVERSION= ${DISTVERSION}-1 @@ -124,7 +124,7 @@ GN_ARGS+= enable_widevine=true \ use_system_libffi=true \ use_system_libjpeg=true \ use_udev=false \ - extra_cxxflags="${CXXFLAGS} ${PINCLUDES}" \ + extra_cxxflags="${CXXFLAGS} -I${LOCALBASE}/include/libepoll-shim ${PINCLUDES}" \ extra_ldflags="${LDFLAGS}" \ ffmpeg_branding="${FFMPEG_BRAND}" diff --git a/www/ungoogled-chromium/distinfo b/www/ungoogled-chromium/distinfo index 2cf4001c68f3..46aaab1c50b3 100644 --- a/www/ungoogled-chromium/distinfo +++ b/www/ungoogled-chromium/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1728496619 -SHA256 (chromium-129.0.6668.100.tar.xz) = 281daed29a5cb546f6273130035d9980666d2232f356ad95fc06af3c90121bc2 -SIZE (chromium-129.0.6668.100.tar.xz) = 6677334468 -SHA256 (ungoogled-chromium-129.0.6668.100-1.tar.gz) = 1ff26ed2c31ab6b077aa8622dc7575af8bb54635ff6b226835e962872b0f84bf -SIZE (ungoogled-chromium-129.0.6668.100-1.tar.gz) = 1254206 +TIMESTAMP = 1730011169 +SHA256 (chromium-130.0.6723.69.tar.xz) = b7e4d6a2154c61e558659bbc5b8b05c9f6f317d1420bf8624f5ffac097df565d +SIZE (chromium-130.0.6723.69.tar.xz) = 6620926572 +SHA256 (ungoogled-chromium-130.0.6723.69-1.tar.gz) = b7a3975ed17ec7cc4ab6143e3f3e1a056ab4b522d98643bc82cdfee726e919c1 +SIZE (ungoogled-chromium-130.0.6723.69-1.tar.gz) = 1246249 SHA256 (pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92 SIZE (pulseaudio-16.1.tar.gz) = 2763111 -SHA256 (chromium-129.0.6668.100-testdata.tar.xz) = 5935eb364363dc05c90e92380d62e79c2f1e05f28c2a2961a8a78826fc889d00 -SIZE (chromium-129.0.6668.100-testdata.tar.xz) = 275931720 +SHA256 (chromium-130.0.6723.69-testdata.tar.xz) = df5093c3a832bd04c4ac477057d8d9417e995ebc4f6f97b8444dd5bdf426def7 +SIZE (chromium-130.0.6723.69-testdata.tar.xz) = 281900320 diff --git a/www/ungoogled-chromium/files/patch-BUILD.gn b/www/ungoogled-chromium/files/patch-BUILD.gn index 7df318904f11..f8344d825382 100644 --- a/www/ungoogled-chromium/files/patch-BUILD.gn +++ b/www/ungoogled-chromium/files/patch-BUILD.gn @@ -1,4 +1,4 @@ ---- BUILD.gn.orig 2024-10-01 07:26:23 UTC +--- BUILD.gn.orig 2024-10-27 06:40:35 UTC +++ BUILD.gn @@ -66,7 +66,7 @@ declare_args() { root_extra_deps = [] @@ -17,7 +17,7 @@ "//net:net_unittests", "//sandbox:sandbox_unittests", "//services:services_unittests", -@@ -428,7 +427,7 @@ group("gn_all") { +@@ -437,7 +436,7 @@ group("gn_all") { } } @@ -26,7 +26,7 @@ deps += [ "//third_party/breakpad:breakpad_unittests", "//third_party/breakpad:core-2-minidump", -@@ -615,6 +614,15 @@ group("gn_all") { +@@ -620,6 +619,15 @@ group("gn_all") { } } @@ -42,7 +42,7 @@ if (is_mac) { deps += [ "//third_party/breakpad:dump_syms($host_system_allocator_toolchain)", -@@ -663,7 +671,7 @@ group("gn_all") { +@@ -668,7 +676,7 @@ group("gn_all") { } } @@ -51,16 +51,16 @@ # The official builders use this binary from the default toolchain's # output directory after building in order to upload the symbols of that # binary. They build the binary like `ninja symupload` which requires the -@@ -1103,7 +1111,7 @@ if (use_blink && !is_cronet_build) { +@@ -1150,7 +1158,7 @@ if (use_blink && !is_cronet_build) { ] } - 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) { - out_dir = get_path_info(root_build_dir, "name") script_test("chrome_wpt_tests") { script = "//third_party/blink/tools/run_wpt_tests.py" -@@ -1201,7 +1209,7 @@ if (use_blink && !is_cronet_build) { + args = _common_web_test_options + [ "--product=chrome" ] +@@ -1243,7 +1251,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ] } @@ -69,7 +69,7 @@ # Using the default toolchain for this tool, as it's run during tests not # during the build. This places a symlink in the root_build_dir for scrips # to use. -@@ -1215,7 +1223,7 @@ if (use_blink && !is_cronet_build) { +@@ -1257,7 +1265,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//third_party/breakpad:dump_syms" ] } @@ -78,7 +78,7 @@ # Using the default toolchain for this tool, as it's run during tests not # during the build. This places a symlink in the root_build_dir for scrips # to use. -@@ -1685,7 +1693,7 @@ group("chromium_builder_perf") { +@@ -1721,7 +1729,7 @@ group("chromium_builder_perf") { data_deps += [ "//chrome/test:performance_browser_tests" ] } diff --git a/www/ungoogled-chromium/files/patch-base_BUILD.gn b/www/ungoogled-chromium/files/patch-base_BUILD.gn index be1f403fe1f3..a10650663c1c 100644 --- a/www/ungoogled-chromium/files/patch-base_BUILD.gn +++ b/www/ungoogled-chromium/files/patch-base_BUILD.gn @@ -1,15 +1,6 @@ ---- base/BUILD.gn.orig 2024-10-01 07:26:23 UTC +--- base/BUILD.gn.orig 2024-10-27 06:40:35 UTC +++ base/BUILD.gn -@@ -176,7 +176,7 @@ buildflag_header("ios_cronet_buildflags") { - flags = [ "CRONET_BUILD=$is_cronet_build" ] - } - --enable_message_pump_epoll = is_linux || is_chromeos || is_android -+enable_message_pump_epoll = (is_linux || is_chromeos || is_android) && !is_bsd - buildflag_header("message_pump_buildflags") { - header = "message_pump_buildflags.h" - header_dir = "base/message_loop" -@@ -1117,11 +1117,23 @@ component("base") { +@@ -1101,11 +1101,26 @@ 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. @@ -21,7 +12,10 @@ + # *BSD needs libkvm + if (is_bsd) { -+ libs += [ "kvm" ] ++ libs += [ ++ "kvm", ++ "epoll-shim", ++ ] + } + + if (is_freebsd) { @@ -34,7 +28,7 @@ if (use_allocator_shim) { if (is_apple) { sources += [ "allocator/early_zone_registration_apple.h" ] -@@ -1141,7 +1153,7 @@ component("base") { +@@ -1125,7 +1140,7 @@ component("base") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -43,7 +37,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -2112,6 +2124,22 @@ component("base") { +@@ -2102,6 +2117,22 @@ component("base") { ] } @@ -66,7 +60,7 @@ # iOS if (is_ios) { sources += [ -@@ -2257,6 +2285,33 @@ component("base") { +@@ -2246,6 +2277,33 @@ component("base") { } } @@ -100,16 +94,16 @@ if (use_blink) { sources += [ "files/file_path_watcher.cc", -@@ -2267,7 +2322,7 @@ component("base") { - } +@@ -2572,7 +2630,7 @@ buildflag_header("protected_memory_buildflags") { + header = "protected_memory_buildflags.h" + header_dir = "base/memory" - if (dep_libevent) { -- deps += [ "//third_party/libevent" ] -+ public_deps += [ "//third_party/libevent" ] - } +- protected_memory_enabled = !is_component_build && is_clang && ++ protected_memory_enabled = !is_openbsd && !is_component_build && is_clang && + (is_win || is_linux || is_android || is_mac) - if (use_libevent) { -@@ -3084,7 +3139,7 @@ if (is_apple) { + flags = [ "PROTECTED_MEMORY_ENABLED=$protected_memory_enabled" ] +@@ -3055,7 +3113,7 @@ if (is_apple) { } } @@ -118,7 +112,7 @@ # This test must compile with -fstack-protector-all source_set("stack_canary_linux_unittests") { testonly = true -@@ -3743,7 +3798,7 @@ test("base_unittests") { +@@ -3717,7 +3775,7 @@ test("base_unittests") { ] } @@ -127,7 +121,7 @@ sources += [ "debug/proc_maps_linux_unittest.cc", "files/scoped_file_linux_unittest.cc", -@@ -3770,7 +3825,7 @@ test("base_unittests") { +@@ -3744,7 +3802,7 @@ test("base_unittests") { "posix/file_descriptor_shuffle_unittest.cc", "posix/unix_domain_socket_unittest.cc", ] @@ -136,7 +130,7 @@ sources += [ "profiler/stack_base_address_posix_unittest.cc", "profiler/stack_copier_signal_unittest.cc", -@@ -3781,7 +3836,7 @@ test("base_unittests") { +@@ -3755,7 +3813,7 @@ test("base_unittests") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -145,7 +139,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -3966,7 +4021,7 @@ test("base_unittests") { +@@ -3942,7 +4000,7 @@ test("base_unittests") { deps += [ ":base_profiler_test_support_library" ] } diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni index ee569bbf1dc2..ece62b16f6fe 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni @@ -1,4 +1,4 @@ ---- base/allocator/partition_allocator/partition_alloc.gni.orig 2024-10-01 07:26:23 UTC +--- base/allocator/partition_allocator/partition_alloc.gni.orig 2024-10-27 06:40:35 UTC +++ base/allocator/partition_allocator/partition_alloc.gni @@ -31,7 +31,7 @@ if (is_nacl) { use_large_empty_slot_span_ring = is_mac @@ -9,7 +9,7 @@ declare_args() { # Causes all the allocations to be routed via allocator_shim.cc. Usually, -@@ -389,7 +389,7 @@ assert(!use_asan_backup_ref_ptr || use_raw_ptr_hookabl +@@ -391,7 +391,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 = diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn index 3053838b187b..f9cd4c9b00f5 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2024-10-01 07:26:23 UTC +--- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2024-10-27 06:40:35 UTC +++ base/allocator/partition_allocator/src/partition_alloc/BUILD.gn -@@ -856,7 +856,7 @@ if (is_clang_or_gcc) { +@@ -858,7 +858,7 @@ if (is_clang_or_gcc) { configs -= [ partition_alloc_enable_arc_config ] } } diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h index 53a01c473883..9a2f4c31d8a0 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h.orig 2024-07-31 14:19:23 UTC +--- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h.orig 2024-10-27 06:40:35 UTC +++ base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h -@@ -411,8 +411,12 @@ bool TryRecommitSystemPagesInternal( +@@ -412,8 +412,12 @@ bool TryRecommitSystemPagesInternal( void DiscardSystemPagesInternal(uintptr_t address, size_t length) { void* ptr = reinterpret_cast<void*>(address); diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h index e3f036a96a32..f0ad0e9ffc99 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h @@ -1,4 +1,4 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2024-08-26 14:40:28 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2024-10-27 06:40:35 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h @@ -168,7 +168,7 @@ constexpr bool kUseLazyCommit = false; // This may be required on more platforms in the future. @@ -7,9 +7,9 @@ - PA_BUILDFLAG(IS_CHROMEOS)) + PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD)) - // PartitionAlloc uses PartitionRootEnumerator to acquire all - // PartitionRoots at BeforeFork and to release at AfterFork. -@@ -216,7 +216,7 @@ constexpr bool kUseLazyCommit = false; + // Enable shadow metadata. + // +@@ -231,7 +231,7 @@ constexpr bool kUseLazyCommit = false; // Also enabled on ARM64 macOS and iOS, as the 16kiB pages on this platform lead // to larger slot spans. #if PA_BUILDFLAG(IS_LINUX) || \ diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc index 92626c26fadf..6455a432d0f3 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.cc @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2024-10-01 07:26:23 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2024-10-27 06:40:35 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_root.cc -@@ -43,7 +43,7 @@ +@@ -44,7 +44,7 @@ #include "wow64apiset.h" #endif @@ -9,7 +9,7 @@ #include <pthread.h> #endif -@@ -277,7 +277,7 @@ void PartitionAllocMallocInitOnce() { +@@ -290,7 +290,7 @@ void PartitionAllocMallocInitOnce() { return; } @@ -18,7 +18,7 @@ // When fork() is called, only the current thread continues to execute in the // child process. If the lock is held, but *not* by this thread when fork() is // called, we have a deadlock. -@@ -1076,7 +1076,7 @@ void PartitionRoot::Init(PartitionOptions opts) { +@@ -1110,7 +1110,7 @@ void PartitionRoot::Init(PartitionOptions opts) { // apple OSes. PA_CHECK((internal::SystemPageSize() == (size_t{1} << 12)) || (internal::SystemPageSize() == (size_t{1} << 14))); diff --git a/www/ungoogled-chromium/files/patch-base_base__paths__posix.cc b/www/ungoogled-chromium/files/patch-base_base__paths__posix.cc index acf8259c7582..dfb320ffc9b7 100644 --- a/www/ungoogled-chromium/files/patch-base_base__paths__posix.cc +++ b/www/ungoogled-chromium/files/patch-base_base__paths__posix.cc @@ -1,4 +1,4 @@ ---- base/base_paths_posix.cc.orig 2024-06-22 08:49:42 UTC +--- base/base_paths_posix.cc.orig 2024-10-27 06:40:35 UTC +++ base/base_paths_posix.cc @@ -15,6 +15,7 @@ #include <ostream> @@ -23,7 +23,7 @@ #elif BUILDFLAG(IS_SOLARIS) || BUILDFLAG(IS_AIX) #include <stdlib.h> #endif -@@ -49,8 +54,7 @@ bool PathProviderPosix(int key, FilePath* result) { +@@ -47,8 +52,7 @@ bool PathProviderPosix(int key, FilePath* result) { *result = bin_dir; return true; #elif BUILDFLAG(IS_FREEBSD) @@ -31,9 +31,9 @@ - std::optional<std::string> bin_dir = StringSysctl(name, std::size(name)); + std::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_IN_MIGRATION() << "Unable to resolve path."; - return false; -@@ -67,13 +71,65 @@ bool PathProviderPosix(int key, FilePath* result) { + NOTREACHED() << "Unable to resolve path."; + } +@@ -62,13 +66,65 @@ bool PathProviderPosix(int key, FilePath* result) { *result = FilePath(bin_dir); return true; #elif BUILDFLAG(IS_OPENBSD) || BUILDFLAG(IS_AIX) diff --git a/www/ungoogled-chromium/files/patch-base_compiler__specific.h b/www/ungoogled-chromium/files/patch-base_compiler__specific.h index 3b3dbf004c49..58bf4796179a 100644 --- a/www/ungoogled-chromium/files/patch-base_compiler__specific.h +++ b/www/ungoogled-chromium/files/patch-base_compiler__specific.h @@ -1,6 +1,6 @@ ---- base/compiler_specific.h.orig 2024-10-01 07:26:23 UTC +--- base/compiler_specific.h.orig 2024-10-27 06:40:35 UTC +++ base/compiler_specific.h -@@ -326,7 +326,7 @@ +@@ -257,7 +257,7 @@ // // In some cases it's desirable to remove this, e.g. on hot functions, or if // we have purposely changed the reference canary. @@ -9,7 +9,7 @@ #if HAS_ATTRIBUTE(__no_stack_protector__) #define NO_STACK_PROTECTOR __attribute__((__no_stack_protector__)) #else -@@ -457,7 +457,7 @@ inline constexpr bool AnalyzerAssumeTrue(bool arg) { +@@ -388,7 +388,7 @@ inline constexpr bool AnalyzerAssumeTrue(bool arg) { // See https://clang.llvm.org/docs/AttributeReference.html#preserve-most for // more details. #if (defined(ARCH_CPU_ARM64) || defined(ARCH_CPU_X86_64)) && \ diff --git a/www/ungoogled-chromium/files/patch-base_features.cc b/www/ungoogled-chromium/files/patch-base_features.cc deleted file mode 100644 index 40501390b27c..000000000000 --- a/www/ungoogled-chromium/files/patch-base_features.cc +++ /dev/null @@ -1,27 +0,0 @@ ---- base/features.cc.orig 2024-08-26 14:40:28 UTC -+++ base/features.cc -@@ -9,8 +9,10 @@ - #include "base/threading/platform_thread.h" - #include "build/buildflag.h" - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) -+#if !BUILDFLAG(IS_BSD) - #include "base/message_loop/message_pump_epoll.h" -+#endif - #include "base/message_loop/message_pump_libevent.h" - #endif - -@@ -116,9 +118,11 @@ void Init(EmitThreadControllerProfilerMetadata - sequence_manager::internal::ThreadController::InitializeFeatures( - emit_thread_controller_profiler_metadata); - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) - MessagePumpLibevent::InitializeFeatures(); -+#if !BUILDFLAG(IS_BSD) - MessagePumpEpoll::InitializeFeatures(); -+#endif - #endif - - #if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_CHROMEOS) diff --git a/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc b/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc index a9e0c3740c4c..54e2f66d512e 100644 --- a/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc +++ b/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc @@ -1,6 +1,6 @@ ---- base/files/file_util_unittest.cc.orig 2024-10-01 07:26:23 UTC +--- base/files/file_util_unittest.cc.orig 2024-10-27 06:40:35 UTC +++ base/files/file_util_unittest.cc -@@ -3903,7 +3903,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithNamedPipe) { +@@ -3886,7 +3886,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithNamedPipe) { } #endif // BUILDFLAG(IS_WIN) @@ -9,7 +9,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithProcFileSystem) { FilePath file_path("/proc/cpuinfo"); std::string data = "temp"; -@@ -4625,7 +4625,7 @@ TEST(FileUtilMultiThreadedTest, MultiThreadedTempFiles +@@ -4608,7 +4608,7 @@ TEST(FileUtilMultiThreadedTest, MultiThreadedTempFiles NULL); #else size_t bytes_written = diff --git a/www/ungoogled-chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc b/www/ungoogled-chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc index 9cb587b68073..8c56325018dd 100644 --- a/www/ungoogled-chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc +++ b/www/ungoogled-chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc @@ -1,6 +1,6 @@ ---- base/memory/madv_free_discardable_memory_posix.cc.orig 2024-06-22 08:49:42 UTC +--- base/memory/madv_free_discardable_memory_posix.cc.orig 2024-10-27 06:40:35 UTC +++ base/memory/madv_free_discardable_memory_posix.cc -@@ -311,6 +311,10 @@ void MadvFreeDiscardableMemoryPosix::SetKeepMemoryForT +@@ -310,6 +310,10 @@ void MadvFreeDiscardableMemoryPosix::SetKeepMemoryForT bool MadvFreeDiscardableMemoryPosix::IsResident() const { DFAKE_SCOPED_RECURSIVE_LOCK(thread_collision_warner_); @@ -11,7 +11,7 @@ #if BUILDFLAG(IS_APPLE) std::vector<char> vec(allocated_pages_); #else -@@ -326,6 +330,7 @@ bool MadvFreeDiscardableMemoryPosix::IsResident() cons +@@ -325,6 +329,7 @@ bool MadvFreeDiscardableMemoryPosix::IsResident() cons return false; } return true; diff --git a/www/ungoogled-chromium/files/patch-base_memory_protected__memory.h b/www/ungoogled-chromium/files/patch-base_memory_protected__memory.h new file mode 100644 index 000000000000..f5ee13ea632c --- /dev/null +++ b/www/ungoogled-chromium/files/patch-base_memory_protected__memory.h @@ -0,0 +1,44 @@ +--- base/memory/protected_memory.h.orig 2024-10-27 06:40:35 UTC ++++ base/memory/protected_memory.h +@@ -119,12 +119,12 @@ __declspec(selectany) char __stop_protected_memory; + + #define DECLARE_PROTECTED_DATA constinit + #define DEFINE_PROTECTED_DATA constinit __declspec(allocate("prot$mem")) +-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) + // This value is used to align the writers variable. That variable needs to be + // aligned to ensure that the protected memory section starts on a page + // boundary. + #if (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)) + // arm64 supports 4kb, 16kb, and 64kb pages. Set to the largest of 64kb as that + // will guarantee the section is page aligned regardless of the choice. + inline constexpr int kProtectedMemoryAlignment = 65536; +@@ -339,7 +339,7 @@ class BASE_EXPORT AutoWritableMemoryBase { + // where an attacker could overwrite it with a large value and invoke code + // that constructs and destructs an AutoWritableMemory. After such a call + // protected memory would still be set writable because writers > 0. +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) + // On Linux, the protected memory section is not automatically page aligned. + // This means that attempts to reset the protected memory region to readonly + // will set some of the preceding section that is on the same page readonly +@@ -353,7 +353,7 @@ class BASE_EXPORT AutoWritableMemoryBase { + #endif + static inline size_t writers GUARDED_BY(writers_lock()) = 0; + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) + // On Linux, there is no guarantee the section following the protected + // memory section is page aligned. This can result in attempts to change + // the access permissions of the end of the protected memory section +@@ -411,7 +411,7 @@ class BASE_EXPORT AutoWritableMemoryInitializer + // the variable to something large before the section was read-only. + WriterData::writers = 0; + CHECK(SetProtectedSectionReadOnly()); +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) + // Set the protected_memory_section_buffer to true to ensure the buffer + // section is created. If a variable is declared but not used the memory + // section won't be created. diff --git a/www/ungoogled-chromium/files/patch-base_memory_protected__memory__posix.cc b/www/ungoogled-chromium/files/patch-base_memory_protected__memory__posix.cc new file mode 100644 index 000000000000..26378a385626 --- /dev/null +++ b/www/ungoogled-chromium/files/patch-base_memory_protected__memory__posix.cc @@ -0,0 +1,20 @@ +--- base/memory/protected_memory_posix.cc.orig 2024-10-27 06:40:35 UTC ++++ base/memory/protected_memory_posix.cc +@@ -6,7 +6,7 @@ + + #include <sys/mman.h> + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) + #include <sys/resource.h> + #endif // BUILDFLAG(IS_LINUX) + +@@ -34,7 +34,7 @@ bool SetMemory(void* start, void* end, int prot) { + } // namespace + + namespace internal { +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) + void CheckMemoryReadOnly(const void* ptr) { + const uintptr_t page_start = + bits::AlignDown(reinterpret_cast<uintptr_t>(ptr), GetPageSize()); diff --git a/www/ungoogled-chromium/files/patch-base_message__loop_message__pump__epoll.cc b/www/ungoogled-chromium/files/patch-base_message__loop_message__pump__epoll.cc new file mode 100644 index 000000000000..c832f3418bca --- /dev/null +++ b/www/ungoogled-chromium/files/patch-base_message__loop_message__pump__epoll.cc @@ -0,0 +1,11 @@ +--- base/message_loop/message_pump_epoll.cc.orig 2024-10-27 06:40:35 UTC ++++ base/message_loop/message_pump_epoll.cc +@@ -42,7 +42,7 @@ std::atomic_bool g_use_batched_version = false; + std::atomic_bool g_use_poll = false; + + constexpr std::pair<uint32_t, short int> kEpollToPollEvents[] = { +- {EPOLLIN, POLLIN}, {EPOLLOUT, POLLOUT}, {EPOLLRDHUP, POLLRDHUP}, ++ {EPOLLIN, POLLIN}, {EPOLLOUT, POLLOUT}, + {EPOLLPRI, POLLPRI}, {EPOLLERR, POLLERR}, {EPOLLHUP, POLLHUP}}; + + void SetEventsForPoll(const uint32_t epoll_events, struct pollfd* poll_entry) { diff --git a/www/ungoogled-chromium/files/patch-base_message__loop_message__pump__epoll.h b/www/ungoogled-chromium/files/patch-base_message__loop_message__pump__epoll.h new file mode 100644 index 000000000000..1bbbfd797a6e --- /dev/null +++ b/www/ungoogled-chromium/files/patch-base_message__loop_message__pump__epoll.h @@ -0,0 +1,14 @@ +--- base/message_loop/message_pump_epoll.h.orig 2024-10-27 06:40:35 UTC ++++ base/message_loop/message_pump_epoll.h +@@ -51,7 +51,11 @@ namespace base { + // every call, don't do it when we have too many FDs. + BASE_FEATURE(kUsePollForMessagePumpEpoll, + "UsePollForMessagePumpEpoll", ++#if BUILDFLAG(IS_BSD) ++ base::FEATURE_ENABLED_BY_DEFAULT); ++#else + base::FEATURE_DISABLED_BY_DEFAULT); ++#endif + + // A MessagePump implementation suitable for I/O message loops on Linux-based + // systems with epoll API support. diff --git a/www/ungoogled-chromium/files/patch-base_native__library__unittest.cc b/www/ungoogled-chromium/files/patch-base_native__library__unittest.cc index 3bcf2a694751..e0e5fc7a0054 100644 --- a/www/ungoogled-chromium/files/patch-base_native__library__unittest.cc +++ b/www/ungoogled-chromium/files/patch-base_native__library__unittest.cc @@ -1,6 +1,6 @@ ---- base/native_library_unittest.cc.orig 2024-03-22 14:16:19 UTC +--- base/native_library_unittest.cc.orig 2024-10-27 06:40:35 UTC +++ base/native_library_unittest.cc -@@ -133,7 +133,7 @@ TEST(NativeLibraryTest, LoadLibrary) { +@@ -135,7 +135,7 @@ TEST(NativeLibraryTest, LoadLibrary) { // versions with respect to symbol resolution scope. // TSan and MSan error out on RTLD_DEEPBIND, https://crbug.com/705255 #if !BUILDFLAG(IS_ANDROID) && !defined(THREAD_SANITIZER) && \ diff --git a/www/ungoogled-chromium/files/patch-base_posix_file__descriptor__shuffle.h b/www/ungoogled-chromium/files/patch-base_posix_file__descriptor__shuffle.h new file mode 100644 index 000000000000..7eb1e9147350 --- /dev/null +++ b/www/ungoogled-chromium/files/patch-base_posix_file__descriptor__shuffle.h @@ -0,0 +1,11 @@ +--- base/posix/file_descriptor_shuffle.h.orig 2024-10-27 06:40:35 UTC ++++ base/posix/file_descriptor_shuffle.h +@@ -26,6 +26,8 @@ + #include "base/base_export.h" + #include "base/compiler_specific.h" + ++#undef close ++ + namespace base { + + // A Delegate which performs the actions required to perform an injective diff --git a/www/ungoogled-chromium/files/patch-base_process_launch.h b/www/ungoogled-chromium/files/patch-base_process_launch.h index 053e6bd65581..22bae88597cc 100644 --- a/www/ungoogled-chromium/files/patch-base_process_launch.h +++ b/www/ungoogled-chromium/files/patch-base_process_launch.h @@ -1,6 +1,6 @@ ---- base/process/launch.h.orig 2024-08-26 14:40:28 UTC +--- base/process/launch.h.orig 2024-10-27 06:40:35 UTC +++ base/process/launch.h -@@ -211,7 +211,7 @@ struct BASE_EXPORT LaunchOptions { +@@ -237,7 +237,7 @@ struct BASE_EXPORT LaunchOptions { bool clear_environment = false; #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA) diff --git a/www/ungoogled-chromium/files/patch-base_process_launch__posix.cc b/www/ungoogled-chromium/files/patch-base_process_launch__posix.cc index 1327238aa4d1..d6f3f56ac5d6 100644 --- a/www/ungoogled-chromium/files/patch-base_process_launch__posix.cc +++ b/www/ungoogled-chromium/files/patch-base_process_launch__posix.cc @@ -1,6 +1,6 @@ ---- base/process/launch_posix.cc.orig 2024-06-22 08:49:42 UTC +--- base/process/launch_posix.cc.orig 2024-10-27 06:40:35 UTC +++ base/process/launch_posix.cc *** 9684 LINES SKIPPED ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410271948.49RJmW0H088484>