git: 01b71207ce43 - main - www/ungoogled-chromium: update to 131.0.6778.69
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Nov 2024 13:09:29 UTC
The branch main has been updated by rnagy: URL: https://cgit.FreeBSD.org/ports/commit/?id=01b71207ce437579cffc6263aced41b9cff438a3 commit 01b71207ce437579cffc6263aced41b9cff438a3 Author: Robert Nagy <rnagy@FreeBSD.org> AuthorDate: 2024-11-19 13:08:51 +0000 Commit: Robert Nagy <rnagy@FreeBSD.org> CommitDate: 2024-11-19 13:09:20 +0000 www/ungoogled-chromium: update to 131.0.6778.69 Security: https://vuxml.freebsd.org/freebsd/8fe4f296-a3ec-11ef-8c1c-a8a1599412c6.html --- www/ungoogled-chromium/Makefile | 14 +-- www/ungoogled-chromium/distinfo | 16 +-- www/ungoogled-chromium/files/patch-.gn | 9 ++ www/ungoogled-chromium/files/patch-BUILD.gn | 16 +-- ...patch-ash_display_mirror__window__controller.cc | 4 +- www/ungoogled-chromium/files/patch-base_BUILD.gn | 22 ++-- ...cator_partition__allocator_partition__alloc.gni | 8 +- ...tition__allocator_src_partition__alloc_BUILD.gn | 4 +- ...ion__alloc_page__allocator__internals__posix.cc | 6 +- ...tion__alloc_page__allocator__internals__posix.h | 4 +- ...src_partition__alloc_partition__alloc__config.h | 6 +- ...locator_src_partition__alloc_partition__root.cc | 10 +- .../files/patch-base_compiler__specific.h | 27 ++--- .../files/patch-base_debug_stack__trace__posix.cc | 18 ++-- .../files/patch-base_files_drive__info.h | 11 ++ .../files/patch-base_files_drive__info__posix.cc | 11 ++ .../files/patch-base_files_file__util__posix.cc | 4 +- .../files/patch-base_files_file__util__unittest.cc | 6 +- .../files/patch-base_logging__unittest.cc | 4 +- .../files/patch-base_process_launch.h | 4 +- .../files/patch-base_system_sys__info.cc | 4 +- .../files/patch-base_system_sys__info.h | 6 +- .../files/patch-base_threading_hang__watcher.cc | 4 +- .../files/patch-build_config_clang_BUILD.gn | 4 +- .../files/patch-build_config_compiler_BUILD.gn | 35 +++---- .../files/patch-build_config_rust.gni | 4 +- .../files/patch-build_linux_unbundle_icu.gn | 36 ++++++- .../files/patch-cc_base_features.cc | 4 +- .../patch-chrome_app_chrome__main__delegate.cc | 28 +++--- .../files/patch-chrome_browser_BUILD.gn | 4 +- .../files/patch-chrome_browser_about__flags.cc | 112 ++++++++++++++------- .../patch-chrome_browser_browser__features.cc | 13 +-- .../files/patch-chrome_browser_browser__features.h | 6 +- .../patch-chrome_browser_browser__process__impl.cc | 16 +-- ...hrome_browser_chrome__browser__field__trials.cc | 6 +- ...chrome_browser_chrome__browser__field__trials.h | 4 +- ..._browser_chrome__browser__interface__binders.cc | 22 ++-- .../patch-chrome_browser_chrome__browser__main.cc | 18 ++-- ...-chrome_browser_chrome__browser__main__linux.cc | 10 +- ...ome_browser_chrome__content__browser__client.cc | 54 ++++++---- ...rome_browser_chrome__content__browser__client.h | 4 +- ...rome_browser_component__updater_registration.cc | 20 ++++ ...download_chrome__download__manager__delegate.cc | 6 +- ...hrome_browser_download_download__item__model.cc | 8 +- ...er_enterprise_connectors_connectors__service.cc | 4 +- ...ectors_reporting_realtime__reporting__client.cc | 12 +-- .../files/patch-chrome_browser_extensions_BUILD.gn | 4 +- ..._browser__context__keyed__service__factories.cc | 6 +- ..._private_enterprise__reporting__private__api.cc | 21 ++-- ...ensions_api_messaging_launch__context__posix.cc | 12 +-- ...__private_passwords__private__delegate__impl.cc | 4 +- ...extensions_api_settings__private_prefs__util.cc | 8 +- ...chrome_browser_extensions_api_tabs_tabs__api.cc | 10 +- ...gging__private_webrtc__logging__private__api.cc | 8 +- ...api_webstore__private_webstore__private__api.cc | 4 +- ..._browser_extensions_external__provider__impl.cc | 14 +-- ...e__file__system__access__permission__context.cc | 4 +- .../patch-chrome_browser_flag__descriptions.cc | 60 +++++++---- .../patch-chrome_browser_flag__descriptions.h | 60 +++++++---- ...chrome_browser_headless_headless__mode__util.cc | 15 ++- ...chrome__browser__main__extra__parts__metrics.cc | 6 +- ...ser_metrics_chrome__metrics__service__client.cc | 20 ++-- ...owser_net_profile__network__context__service.cc | 8 +- ...rowser_net_system__network__context__manager.cc | 4 +- ...d__manager_chrome__password__manager__client.cc | 6 +- ...onfiguration__policy__handler__list__factory.cc | 50 ++++----- ...y_device__management__service__configuration.cc | 13 +-- .../patch-chrome_browser_prefs_browser__prefs.cc | 12 +-- ...er_prefs_pref__service__incognito__allowlist.cc | 4 +- ...er_printing_print__backend__service__manager.cc | 6 +- ...hrome__browser__main__extra__parts__profiles.cc | 50 ++++----- .../patch-chrome_browser_profiles_profile__impl.cc | 12 +-- ...atch-chrome_browser_profiles_profiles__state.cc | 8 +- ...owsing_chrome__password__protection__service.cc | 11 ++ ...rowser_screen__ai_screen__ai__install__state.cc | 6 +- ...tch-chrome_browser_sessions_session__restore.cc | 8 +- ...ed__user_classify__url__navigation__throttle.cc | 11 ++ ...vised__user_supervised__user__browser__utils.cc | 20 ++-- ...rvised__user_supervised__user__browser__utils.h | 15 +-- ...__user_supervised__user__extensions__manager.cc | 6 +- ...ed__user__google__auth__navigation__throttle.cc | 10 +- ..._user_supervised__user__navigation__throttle.cc | 28 +++--- ...__user_supervised__user__navigation__throttle.h | 11 ++ ...h-chrome_browser_sync_sync__service__factory.cc | 10 +- ...oup__sync_tab__group__sync__service__factory.cc | 6 +- ...-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 +- .../patch-chrome_browser_ui_browser__ui__prefs.cc | 8 +- .../files/patch-chrome_browser_ui_chrome__pages.cc | 4 +- .../files/patch-chrome_browser_ui_chrome__pages.h | 4 +- .../files/patch-chrome_browser_ui_managed__ui.cc | 18 ++-- ..._passwords_manage__passwords__ui__controller.cc | 6 +- ...e_browser_ui_signin_signin__view__controller.cc | 8 +- ..._ui_signin_signin__view__controller__delegate.h | 4 +- ...chrome_browser_ui_startup_bad__flags__prompt.cc | 4 +- ...browser_ui_startup_startup__browser__creator.cc | 10 +- .../files/patch-chrome_browser_ui_tab__helpers.cc | 6 +- .../files/patch-chrome_browser_ui_ui__features.cc | 17 +--- .../files/patch-chrome_browser_ui_ui__features.h | 17 +--- ...pps_chrome__native__app__window__views__aura.cc | 4 +- ...rome_browser_ui_views_chrome__views__delegate.h | 4 +- ...chrome_browser_ui_views_frame_browser__frame.cc | 14 +-- ...-chrome_browser_ui_views_frame_browser__frame.h | 6 +- ...r_ui_views_frame_browser__frame__view__linux.cc | 6 +- ...-chrome_browser_ui_views_frame_browser__view.cc | 4 +- ...e_picture__in__picture__browser__frame__view.cc | 16 +-- ...rowser_ui_views_omnibox_omnibox__view__views.cc | 4 +- ...views_passwords_password__bubble__view__base.cc | 6 +- ...rowser_ui_views_profiles_profile__menu__view.cc | 4 +- ..._ui_views_profiles_profile__menu__view__base.cc | 12 +-- ...es_signin__view__controller__delegate__views.cc | 6 +- ...les_signin__view__controller__delegate__views.h | 4 +- .../patch-chrome_browser_ui_views_tabs_tab.cc | 4 +- ..._browser_ui_views_tabs_tab__drag__controller.cc | 12 +-- ...ui_views_tabs_tab__hover__card__bubble__view.cc | 4 +- ..._education_browser__user__education__service.cc | 10 +- ...eb__apps_web__app__integration__test__driver.cc | 18 ++-- ...eb__applications_web__app__ui__manager__impl.cc | 6 +- ...web__applications_web__app__ui__manager__impl.h | 4 +- ...ui_webui_app__settings_web__app__settings__ui.h | 18 ++++ ...icate__manager_certificate__manager__handler.cc | 4 +- ...i_certificate__manager_client__cert__sources.cc | 10 +- ...ui_certificate__manager_client__cert__sources.h | 4 +- ...me_browser_ui_webui_chrome__web__ui__configs.cc | 85 ++++++++++++++-- ...i_webui_chrome__web__ui__controller__factory.cc | 74 +------------- ...r__education__internals__page__handler__impl.cc | 8 +- ...wser_ui_webui_interstitials_interstitial__ui.cc | 22 ++-- ...e_browser_ui_webui_management_management__ui.cc | 4 +- ...i_webui_management_management__ui__constants.cc | 6 +- ..._ui_webui_management_management__ui__handler.cc | 23 +++-- ...r_ui_webui_management_management__ui__handler.h | 4 +- ...ebui_password__manager_promo__cards__handler.cc | 4 +- ...rowser_ui_webui_searchbox_searchbox__handler.cc | 4 +- ...tings_settings__localized__strings__provider.cc | 14 +-- ...ser_ui_webui_signin_profile__picker__handler.cc | 4 +- ...hrome_browser_ui_window__sizer_window__sizer.cc | 4 +- ...pplications_policy_web__app__policy__manager.cc | 4 +- ...thn_chrome__authenticator__request__delegate.cc | 4 +- .../files/patch-chrome_common_chrome__features.cc | 14 +-- .../files/patch-chrome_common_chrome__features.h | 6 +- .../files/patch-chrome_common_chrome__paths.cc | 14 +-- .../files/patch-chrome_common_chrome__switches.cc | 7 +- .../files/patch-chrome_common_chrome__switches.h | 5 +- .../files/patch-chrome_common_pref__names.h | 20 ++-- .../files/patch-chrome_common_url__constants.h | 4 +- .../patch-chrome_common_webui__url__constants.h | 8 +- ...ise__companion_enterprise__companion__client.cc | 4 +- .../files/patch-chrome_updater_configurator.cc | 4 +- ...hromecast_browser_cast__browser__main__parts.cc | 4 +- ..._browser_runtime__application__service__impl.cc | 16 +-- ...utofill_core_browser_payments__data__manager.cc | 4 +- ...ill_core_common_autofill__payments__features.cc | 4 +- ...onents_commerce_core_commerce__feature__list.cc | 6 +- ...evice__signals_core_common_signals__features.cc | 4 +- ...device__signals_core_common_signals__features.h | 4 +- ..._feature__engagement_public_event__constants.cc | 4 +- ...eature__engagement_public_feature__constants.cc | 6 +- ...feature__engagement_public_feature__constants.h | 6 +- ...nts_feature__engagement_public_feature__list.cc | 6 +- ...ents_feature__engagement_public_feature__list.h | 14 +-- .../patch-components_metrics_dwa_dwa__service.cc | 11 ++ ...rator_browser_network__session__configurator.cc | 11 -- ...ser_network__session__configurator__unittest.cc | 11 -- ...on__guide_core_optimization__guide__features.cc | 11 ++ ...zation__guide_core_optimization__guide__util.cc | 4 +- ...ger_core_browser_features_password__features.cc | 8 +- ...ager_core_browser_features_password__features.h | 8 +- ...word__manager_core_browser_password__manager.cc | 6 +- ...anager_core_browser_password__manager__client.h | 4 +- ...ore_browser_password__manual__fallback__flow.cc | 4 +- ...core_browser_stub__password__manager__client.cc | 4 +- ...nager_decorators_process__metrics__decorator.cc | 11 ++ ...licy_core_common_cloud_cloud__policy__client.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 +- ...rvices_on__device__translation_sandbox__hook.cc | 43 ++++++++ ...ervices_on__device__translation_sandbox__hook.h | 16 +++ ...onents_supervised__user_core_common_features.cc | 11 +- ...omponents_viz_service_display_skia__renderer.cc | 4 +- ...e__sinks_root__compositor__frame__sink__impl.cc | 4 +- .../files/patch-content_browser_BUILD.gn | 6 +- ...tent_browser_child__process__launcher__helper.h | 4 +- .../patch-content_browser_gpu_compositor__util.cc | 6 +- ...rowser_gpu_gpu__data__manager__impl__private.cc | 4 +- ...browser_gpu_gpu__data__manager__impl__private.h | 4 +- ...r_renderer__host_render__process__host__impl.cc | 55 ---------- ...er_renderer__host_render__process__host__impl.h | 4 +- ...wser_renderer__host_render__view__host__impl.cc | 4 +- ...patch-content_browser_utility__process__host.cc | 38 +++---- .../patch-content_browser_utility__process__host.h | 18 ++-- ...r_utility__process__host__receiver__bindings.cc | 16 +-- ...h-content_browser_utility__sandbox__delegate.cc | 26 ++++- ..._web__contents_slow__web__preference__cache.cc} | 16 +-- ...wser_web__contents_web__contents__view__aura.cc | 4 +- .../files/patch-content_child_child__process.cc | 6 +- .../files/patch-content_common_features.cc | 4 +- .../files/patch-content_common_features.h | 4 +- .../files/patch-content_gpu_gpu__main.cc | 10 +- ...tent_public_browser_content__browser__client.cc | 4 +- ...ontent_public_browser_service__process__host.cc | 10 +- ...atch-content_public_common_content__features.cc | 6 +- ...atch-content_public_common_content__switches.cc | 4 +- ...patch-content_public_common_content__switches.h | 4 +- .../patch-content_renderer_render__thread__impl.cc | 14 +-- ...tent_renderer_renderer__blink__platform__impl.h | 4 +- .../files/patch-content_shell_BUILD.gn | 4 +- ...atch-content_shell_app_shell__main__delegate.cc | 4 +- .../files/patch-content_utility_services.cc | 37 +++---- .../files/patch-content_utility_utility__main.cc | 62 ++++++++---- ..._browser__context__keyed__service__factories.cc | 4 +- ...ivate_networking__private__delegate__factory.cc | 14 +-- ...mand__buffer_service_dawn__context__provider.cc | 4 +- ..._command__buffer_service_gles2__cmd__decoder.cc | 4 +- ...e_shared__image_external__vk__image__backing.cc | 6 +- ..._image_external__vk__image__backing__factory.cc | 14 +-- ...service_shared__image_shared__image__manager.cc | 10 +- ...ommand__buffer_service_webgpu__decoder__impl.cc | 6 +- .../files/patch-gpu_config_gpu__control__list.cc | 6 +- .../files/patch-gpu_config_gpu__finch__features.cc | 16 +-- .../files/patch-gpu_config_gpu__info__collector.cc | 4 +- .../files/patch-gpu_ipc_service_gpu__init.cc | 10 +- ...b_browser_headless__content__browser__client.cc | 4 +- ...adless_lib_headless__content__main__delegate.cc | 4 +- .../files/patch-ipc_ipc__message__utils.cc | 4 +- .../files/patch-media_base_media__switches.cc | 28 +++--- .../files/patch-media_base_media__switches.h | 20 ++-- .../files/patch-media_base_video__frame.cc | 24 ++++- .../files/patch-media_base_video__frame.h | 43 ++++++-- .../files/patch-media_gpu_buffer__validation.cc | 33 ++---- ...u_chromeos_libyuv__image__processor__backend.cc | 6 +- ...gpu_chromeos_native__pixmap__frame__resource.cc | 11 -- ...a_gpu_chromeos_platform__video__frame__utils.cc | 22 +--- ...-media_gpu_chromeos_video__decoder__pipeline.cc | 8 +- ...gpu_gpu__video__encode__accelerator__factory.cc | 15 ++- ...media_mojo_mojom_video__frame__mojom__traits.cc | 20 +++- .../patch-media_video_fake__gpu__memory__buffer.cc | 8 +- ...ideo_gpu__memory__buffer__video__frame__pool.cc | 26 ++--- ...ia_video_video__encode__accelerator__adapter.cc | 12 +-- www/ungoogled-chromium/files/patch-net_BUILD.gn | 16 +-- .../files/patch-net_cert_cert__verify__proc.h | 4 +- .../patch-net_disk__cache_backend__experiment.h | 11 ++ .../files/patch-pdf_pdfium_pdfium__engine.cc | 8 +- .../patch-printing_backend_print__backend__cups.cc | 6 +- .../files/patch-printing_print__settings.cc | 10 +- .../patch-printing_printing__context__linux.cc | 8 +- ...atch-remoting_host_chromoting__host__context.cc | 4 +- .../files/patch-remoting_host_ipc__constants.cc | 4 +- .../files/patch-remoting_host_it2me_it2me__host.cc | 6 +- ...emoting_host_mojo__caller__security__checker.cc | 29 ++++++ .../patch-remoting_host_remoting__me2me__host.cc | 40 ++++---- .../files/patch-sandbox_linux_BUILD.gn | 4 +- .../files/patch-sandbox_policy_BUILD.gn | 4 +- .../files/patch-sandbox_policy_features.cc | 4 +- .../files/patch-sandbox_policy_features.h | 4 +- ...atch-sandbox_policy_freebsd_sandbox__freebsd.cc | 40 +------- ...patch-sandbox_policy_freebsd_sandbox__freebsd.h | 6 +- .../files/patch-sandbox_policy_mojom_sandbox.mojom | 4 +- ...atch-sandbox_policy_openbsd_sandbox__openbsd.cc | 44 ++------ ...patch-sandbox_policy_openbsd_sandbox__openbsd.h | 6 +- .../files/patch-sandbox_policy_sandbox__type.cc | 72 +++++++++++-- .../files/patch-sandbox_policy_switches.cc | 13 ++- .../files/patch-sandbox_policy_switches.h | 13 ++- ...vice_geolocation_location__provider__manager.cc | 4 +- .../files/patch-services_network_BUILD.gn | 4 +- .../patch-services_network_network__context.cc | 6 +- .../patch-services_network_network__context.h | 4 +- .../patch-services_network_public_cpp_BUILD.gn | 4 +- .../patch-services_network_public_mojom_BUILD.gn | 6 +- ..._on__device__model_on__device__model__service.h | 8 +- ...video__capture_video__capture__service__impl.cc | 36 +++---- ..._video__capture_video__capture__service__impl.h | 30 +++--- ...effects_video__effects__sandbox__hook__linux.cc | 27 +++++ ..._effects_video__effects__sandbox__hook__linux.h | 16 +++ ...tch-third__party_angle_src_libANGLE_Display.cpp | 4 +- ...hird__party_blink_public_platform_web__vector.h | 4 +- ...blink_renderer_controller_blink__initializer.cc | 6 +- ...rer_controller_memory__usage__monitor__posix.cc | 4 +- ...blink_renderer_core_exported_web__view__impl.cc | 4 +- ...y_blink_renderer_core_frame_web__frame__test.cc | 6 +- ...arty_blink_renderer_core_layout_layout__view.cc | 4 +- ...r_core_origin__trials_origin__trial__context.cc | 11 ++ ..._audio_audio__renderer__mixer__manager__test.cc | 4 +- ...er_modules_peerconnection_rtc__data__channel.cc | 4 +- ...odules_webgl_webgl__rendering__context__base.cc | 4 +- ...h-third__party_blink_renderer_platform_BUILD.gn | 4 +- ...derer_platform_runtime__enabled__features.json5 | 16 +-- ...nk_renderer_platform_scheduler_common_thread.cc | 4 +- ..._renderer_platform_wtf_text_text__codec__icu.cc | 24 ++++- .../files/patch-third__party_ffmpeg_configure | 4 +- ...m_source_libaom_aom__ports_aarch64__cpudetect.c | 4 +- ...x_source_libvpx_vpx__ports_aarch64__cpudetect.c | 4 +- .../files/patch-third__party_node_node.py | 4 +- ...d__party_perfetto_src_base_clock__snapshots.cc} | 4 +- .../patch-third__party_perfetto_src_base_utils.cc | 29 +++++- ...__party_perfetto_src_tracing_platform__posix.cc | 19 ++++ ...atch-third__party_perfetto_src_tracing_track.cc | 16 ++- ...__party_speech-dispatcher_libspeechd__version.h | 4 +- ...vulkan-loader_src_loader_vk__loader__platform.h | 4 +- .../files/patch-ui_base_cursor_cursor__factory.cc | 4 +- .../files/patch-ui_base_ui__base__features.cc | 8 +- .../files/patch-ui_base_ui__base__features.h | 6 +- .../files/patch-ui_compositor_compositor.cc | 8 +- www/ungoogled-chromium/files/patch-ui_gfx_BUILD.gn | 4 +- .../files/patch-ui_gfx_gpu__memory__buffer.cc | 4 +- www/ungoogled-chromium/files/patch-ui_gl_BUILD.gn | 4 +- .../files/patch-ui_gl_gl__context.cc | 4 +- ...tch-ui_native__theme_native__theme__features.cc | 6 +- .../files/patch-ui_ozone_common_features.cc | 6 +- ..._ozone_platform_wayland_host_wayland__screen.cc | 18 ++-- ...i_ozone_platform_wayland_host_wayland__screen.h | 14 +-- ...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 | 8 +- ...ne_platform_wayland_ozone__platform__wayland.cc | 10 +- .../patch-ui_ozone_platform_x11_x11__window.cc | 4 +- ..._platform__window_platform__window__delegate.cc | 4 +- ...i_platform__window_platform__window__delegate.h | 4 +- .../patch-ui_views_controls_textfield_textfield.cc | 14 +-- .../patch-ui_views_controls_textfield_textfield.h | 6 +- .../files/patch-ui_views_views__delegate.cc | 4 +- .../files/patch-ui_views_views__delegate.h | 4 +- ...top__aura_desktop__drag__drop__client__ozone.cc | 4 +- ...ktop__aura_desktop__drag__drop__client__ozone.h | 6 +- ...__aura_desktop__window__tree__host__platform.cc | 8 +- .../files/patch-ui_views_widget_root__view.cc | 4 +- .../files/patch-ui_views_widget_widget.cc | 6 +- www/ungoogled-chromium/files/patch-v8_BUILD.gn | 12 +-- .../files/patch-v8_src_api_api.cc | 6 +- .../patch-v8_src_base_platform_platform-posix.cc | 8 +- .../patch-v8_src_builtins_x64_builtins-x64.cc | 14 --- .../files/patch-v8_src_execution_isolate.cc | 4 +- ...wasm_baseline_ia32_liftoff-assembler-ia32-inl.h | 30 +++--- 337 files changed, 2165 insertions(+), 1727 deletions(-) diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile index 1a930779307c..a0cfb163962b 100644 --- a/www/ungoogled-chromium/Makefile +++ b/www/ungoogled-chromium/Makefile @@ -1,6 +1,5 @@ PORTNAME= ungoogled-chromium -PORTVERSION= 130.0.6723.91 -PORTREVISION= 1 +PORTVERSION= 131.0.6778.69 PULSEMV= 16 PULSEV= ${PULSEMV}.1 UGVERSION= ${DISTVERSION}-1 @@ -8,10 +7,13 @@ CATEGORIES= www wayland MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ https://nerd.hu/distfiles/:external \ https://freedesktop.org/software/pulseaudio/releases/:pulseaudio -DISTFILES= chromium-${DISTVERSION}${EXTRACT_SUFX} \ +DISTFILES= chromium-${DISTVERSION}${EXTRACT_SUFX}:external \ ungoogled-chromium-${UGVERSION}.tar.gz:external \ pulseaudio-${PULSEV}.tar.gz:pulseaudio +# unofficial distfiles +DISTFILES+= chrome-gn-${PORTVERSION}-src.tar.xz:external + MAINTAINER= chromium@FreeBSD.org COMMENT= Google web browser based on WebKit sans integration with Google WWW= https://github.com/ungoogled-software/ungoogled-chromium @@ -92,7 +94,7 @@ USE_PERL5= build USE_XORG= x11 xcb xcomposite xcursor xext xdamage xfixes xi \ xorgproto xrandr xrender xscrnsaver xtst USE_QT= buildtools:build -SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper buildtools/linux64/clang-format +SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper MAKE_ARGS= -C out/${BUILDTYPE} ALL_TARGET= chrome @@ -234,7 +236,7 @@ WIDEVINE_DESC= Depend on foreign-cdm to enable playback of DRM content WIDEVINE_RUN_DEPENDS= foreign-cdm>0:www/foreign-cdm .include "Makefile.tests" -TEST_DISTFILES= chromium-${DISTVERSION}-testdata${EXTRACT_SUFX} +TEST_DISTFILES= chromium-${DISTVERSION}-testdata${EXTRACT_SUFX}:external TEST_ALL_TARGET= ${TEST_TARGETS} .include <bsd.port.options.mk> @@ -310,7 +312,7 @@ pre-configure: #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ - dav1d flac fontconfig freetype harfbuzz-ng icu libdrm libevent libpng \ + dav1d flac fontconfig harfbuzz-ng icu libdrm libevent libpng \ libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it cd ${WRKSRC}/media/ffmpeg && \ diff --git a/www/ungoogled-chromium/distinfo b/www/ungoogled-chromium/distinfo index e5dfbada20fc..7f606750ff47 100644 --- a/www/ungoogled-chromium/distinfo +++ b/www/ungoogled-chromium/distinfo @@ -1,9 +1,11 @@ -TIMESTAMP = 1730535656 -SHA256 (chromium-130.0.6723.91.tar.xz) = c2f13de70f2dcf61c930dcfe54ee118e584962afd03ecde19e3be48b3d86bec0 -SIZE (chromium-130.0.6723.91.tar.xz) = 6624503880 -SHA256 (ungoogled-chromium-130.0.6723.91-1.tar.gz) = 381af49c15f3afdf6373b8ee0309e3df5d5062e52cc647c6346e4c224b7223cf -SIZE (ungoogled-chromium-130.0.6723.91-1.tar.gz) = 1247258 +TIMESTAMP = 1731759520 +SHA256 (chromium-131.0.6778.69.tar.xz) = 9a3454710aacb495275da698e4d9efe785ed8a492713faa2d5dd90d58e111875 +SIZE (chromium-131.0.6778.69.tar.xz) = 4507189692 +SHA256 (ungoogled-chromium-131.0.6778.69-1.tar.gz) = 84820f9d9167d0d3ef440d1ca32890ab3af9e0723b28b3151f7ce2d71d826dbe +SIZE (ungoogled-chromium-131.0.6778.69-1.tar.gz) = 1251967 SHA256 (pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92 SIZE (pulseaudio-16.1.tar.gz) = 2763111 -SHA256 (chromium-130.0.6723.91-testdata.tar.xz) = 66b4b339da273c53416165112d385a171fe6af79c87174a1f7951ba31c507cef -SIZE (chromium-130.0.6723.91-testdata.tar.xz) = 281380152 +SHA256 (chrome-gn-131.0.6778.69-src.tar.xz) = b8c2afac409532ada5aa8d42e12762bdb284865bb2af49551a12e75ccccee0ab +SIZE (chrome-gn-131.0.6778.69-src.tar.xz) = 762288 +SHA256 (chromium-131.0.6778.69-testdata.tar.xz) = f2c0320296f022cd92f6c3b00e8b710f3b5fa13aca38968da338cfdce209e25c +SIZE (chromium-131.0.6778.69-testdata.tar.xz) = 282547888 diff --git a/www/ungoogled-chromium/files/patch-.gn b/www/ungoogled-chromium/files/patch-.gn new file mode 100644 index 000000000000..ef44a14a6092 --- /dev/null +++ b/www/ungoogled-chromium/files/patch-.gn @@ -0,0 +1,9 @@ +--- .gn.orig 2024-11-16 12:20:41 UTC ++++ .gn +@@ -172,4 +172,6 @@ exec_script_whitelist = + + "//tools/grit/grit_rule.gni", + "//tools/gritsettings/BUILD.gn", ++ ++ "//third_party/icu/BUILD.gn", + ] diff --git a/www/ungoogled-chromium/files/patch-BUILD.gn b/www/ungoogled-chromium/files/patch-BUILD.gn index f8344d825382..edf2d6216a5a 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-27 06:40:35 UTC +--- BUILD.gn.orig 2024-11-16 12:20:41 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", -@@ -437,7 +436,7 @@ group("gn_all") { +@@ -444,7 +443,7 @@ group("gn_all") { } } @@ -26,7 +26,7 @@ deps += [ "//third_party/breakpad:breakpad_unittests", "//third_party/breakpad:core-2-minidump", -@@ -620,6 +619,15 @@ group("gn_all") { +@@ -626,6 +625,15 @@ group("gn_all") { } } @@ -42,7 +42,7 @@ if (is_mac) { deps += [ "//third_party/breakpad:dump_syms($host_system_allocator_toolchain)", -@@ -668,7 +676,7 @@ group("gn_all") { +@@ -674,7 +682,7 @@ group("gn_all") { } } @@ -51,7 +51,7 @@ # 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 -@@ -1150,7 +1158,7 @@ if (use_blink && !is_cronet_build) { +@@ -1160,7 +1168,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 = _common_web_test_options + [ "--product=chrome" ] -@@ -1243,7 +1251,7 @@ if (use_blink && !is_cronet_build) { +@@ -1253,7 +1261,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. -@@ -1257,7 +1265,7 @@ if (use_blink && !is_cronet_build) { +@@ -1267,7 +1275,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. -@@ -1721,7 +1729,7 @@ group("chromium_builder_perf") { +@@ -1731,7 +1739,7 @@ group("chromium_builder_perf") { data_deps += [ "//chrome/test:performance_browser_tests" ] } diff --git a/www/ungoogled-chromium/files/patch-ash_display_mirror__window__controller.cc b/www/ungoogled-chromium/files/patch-ash_display_mirror__window__controller.cc index 1c2910d676fb..5e93da9d4c58 100644 --- a/www/ungoogled-chromium/files/patch-ash_display_mirror__window__controller.cc +++ b/www/ungoogled-chromium/files/patch-ash_display_mirror__window__controller.cc @@ -1,6 +1,6 @@ ---- ash/display/mirror_window_controller.cc.orig 2023-09-17 07:59:53 UTC +--- ash/display/mirror_window_controller.cc.orig 2024-11-16 12:20:41 UTC +++ ash/display/mirror_window_controller.cc -@@ -294,7 +294,11 @@ void MirrorWindowController::UpdateWindow( +@@ -295,7 +295,11 @@ void MirrorWindowController::UpdateWindow( if (!base::Contains(display_info_list, iter->first, &display::ManagedDisplayInfo::id)) { CloseAndDeleteHost(iter->second, true); diff --git a/www/ungoogled-chromium/files/patch-base_BUILD.gn b/www/ungoogled-chromium/files/patch-base_BUILD.gn index a10650663c1c..1d6b774b9f90 100644 --- a/www/ungoogled-chromium/files/patch-base_BUILD.gn +++ b/www/ungoogled-chromium/files/patch-base_BUILD.gn @@ -1,6 +1,6 @@ ---- base/BUILD.gn.orig 2024-10-27 06:40:35 UTC +--- base/BUILD.gn.orig 2024-11-16 12:20:41 UTC +++ base/BUILD.gn -@@ -1101,11 +1101,26 @@ component("base") { +@@ -1097,11 +1097,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. @@ -28,7 +28,7 @@ if (use_allocator_shim) { if (is_apple) { sources += [ "allocator/early_zone_registration_apple.h" ] -@@ -1125,7 +1140,7 @@ component("base") { +@@ -1121,7 +1136,7 @@ component("base") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -37,7 +37,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -2102,6 +2117,22 @@ component("base") { +@@ -2113,6 +2128,22 @@ component("base") { ] } @@ -60,7 +60,7 @@ # iOS if (is_ios) { sources += [ -@@ -2246,6 +2277,33 @@ component("base") { +@@ -2257,6 +2288,33 @@ component("base") { } } @@ -94,7 +94,7 @@ if (use_blink) { sources += [ "files/file_path_watcher.cc", -@@ -2572,7 +2630,7 @@ buildflag_header("protected_memory_buildflags") { +@@ -2583,7 +2641,7 @@ buildflag_header("protected_memory_buildflags") { header = "protected_memory_buildflags.h" header_dir = "base/memory" @@ -103,7 +103,7 @@ (is_win || is_linux || is_android || is_mac) flags = [ "PROTECTED_MEMORY_ENABLED=$protected_memory_enabled" ] -@@ -3055,7 +3113,7 @@ if (is_apple) { +@@ -3068,7 +3126,7 @@ if (is_apple) { } } @@ -112,7 +112,7 @@ # This test must compile with -fstack-protector-all source_set("stack_canary_linux_unittests") { testonly = true -@@ -3717,7 +3775,7 @@ test("base_unittests") { +@@ -3744,7 +3802,7 @@ test("base_unittests") { ] } @@ -121,7 +121,7 @@ sources += [ "debug/proc_maps_linux_unittest.cc", "files/scoped_file_linux_unittest.cc", -@@ -3744,7 +3802,7 @@ test("base_unittests") { +@@ -3771,7 +3829,7 @@ test("base_unittests") { "posix/file_descriptor_shuffle_unittest.cc", "posix/unix_domain_socket_unittest.cc", ] @@ -130,7 +130,7 @@ sources += [ "profiler/stack_base_address_posix_unittest.cc", "profiler/stack_copier_signal_unittest.cc", -@@ -3755,7 +3813,7 @@ test("base_unittests") { +@@ -3782,7 +3840,7 @@ test("base_unittests") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -139,7 +139,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -3942,7 +4000,7 @@ test("base_unittests") { +@@ -3972,7 +4030,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 ece62b16f6fe..aa6915a6d4e6 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,7 +1,7 @@ ---- base/allocator/partition_allocator/partition_alloc.gni.orig 2024-10-27 06:40:35 UTC +--- base/allocator/partition_allocator/partition_alloc.gni.orig 2024-11-16 12:20:41 UTC +++ base/allocator/partition_allocator/partition_alloc.gni -@@ -31,7 +31,7 @@ if (is_nacl) { - use_large_empty_slot_span_ring = is_mac +@@ -38,7 +38,7 @@ if (is_nacl) { + use_large_empty_slot_span_ring = true has_memory_tagging = - current_cpu == "arm64" && is_clang && !is_asan && (is_linux || is_android) @@ -9,7 +9,7 @@ declare_args() { # Causes all the allocations to be routed via allocator_shim.cc. Usually, -@@ -391,7 +391,7 @@ assert(!use_asan_backup_ref_ptr || use_raw_ptr_hookabl +@@ -429,7 +429,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 f9cd4c9b00f5..04c0eb734f78 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-27 06:40:35 UTC +--- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2024-11-16 12:20:41 UTC +++ base/allocator/partition_allocator/src/partition_alloc/BUILD.gn -@@ -858,7 +858,7 @@ if (is_clang_or_gcc) { +@@ -863,7 +863,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.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc index 5fcf9c65d4dc..39ba62e634ad 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc @@ -1,7 +1,7 @@ ---- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.cc.orig 2024-08-26 14:40:28 UTC +--- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.cc.orig 2024-11-16 12:20:41 UTC +++ base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.cc -@@ -9,7 +9,7 @@ - #include "partition_alloc/page_allocator.h" +@@ -38,7 +38,7 @@ uint32_t SecTaskGetCodeSignStatus(SecTaskRef task) API + #endif // PA_BUILDFLAG(IS_MAC) #if PA_BUILDFLAG(HAS_MEMORY_TAGGING) || \ - (defined(__ARM_FEATURE_BTI_DEFAULT) && (__ARM_FEATURE_BTI_DEFAULT == 1)) 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 9a2f4c31d8a0..f176f6f99139 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-10-27 06:40:35 UTC +--- base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h.orig 2024-11-16 12:20:41 UTC +++ base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h -@@ -412,8 +412,12 @@ bool TryRecommitSystemPagesInternal( +@@ -302,8 +302,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 f0ad0e9ffc99..34845e15a632 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,6 +1,6 @@ ---- 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.orig 2024-11-16 12:20:41 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h -@@ -168,7 +168,7 @@ constexpr bool kUseLazyCommit = false; +@@ -170,7 +170,7 @@ constexpr bool kUseLazyCommit = false; // This may be required on more platforms in the future. #define PA_CONFIG_HAS_ATFORK_HANDLER() \ (PA_BUILDFLAG(IS_APPLE) || PA_BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ // Enable shadow metadata. // -@@ -231,7 +231,7 @@ constexpr bool kUseLazyCommit = false; +@@ -233,7 +233,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 6455a432d0f3..f9654e0437f2 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,4 +1,4 @@ ---- 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.orig 2024-11-16 12:20:41 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_root.cc @@ -44,7 +44,7 @@ #include "wow64apiset.h" @@ -7,9 +7,9 @@ -#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) +#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD) #include <pthread.h> - #endif - -@@ -290,7 +290,7 @@ void PartitionAllocMallocInitOnce() { + #if PA_CONFIG(ENABLE_SHADOW_METADATA) + #include <sys/mman.h> +@@ -293,7 +293,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. -@@ -1110,7 +1110,7 @@ void PartitionRoot::Init(PartitionOptions opts) { +@@ -1113,7 +1113,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_compiler__specific.h b/www/ungoogled-chromium/files/patch-base_compiler__specific.h index 58bf4796179a..40f6de02cc8a 100644 --- a/www/ungoogled-chromium/files/patch-base_compiler__specific.h +++ b/www/ungoogled-chromium/files/patch-base_compiler__specific.h @@ -1,20 +1,11 @@ ---- base/compiler_specific.h.orig 2024-10-27 06:40:35 UTC +--- base/compiler_specific.h.orig 2024-11-16 12:20:41 UTC +++ base/compiler_specific.h -@@ -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. --#if defined(COMPILER_GCC) || defined(__clang__) -+#if (defined(COMPILER_GCC) || defined(__clang__)) && !defined(__OpenBSD__) && !defined(__FreeBSD__) - #if HAS_ATTRIBUTE(__no_stack_protector__) - #define NO_STACK_PROTECTOR __attribute__((__no_stack_protector__)) +@@ -683,7 +683,7 @@ inline constexpr bool AnalyzerAssumeTrue(bool arg) { + #if __has_cpp_attribute(clang::preserve_most) && \ + (defined(ARCH_CPU_ARM64) || defined(ARCH_CPU_X86_64)) && \ + !defined(COMPONENT_BUILD) && \ +- !(BUILDFLAG(IS_WIN) && defined(ARCH_CPU_ARM64)) ++ !((BUILDFLAG(IS_WIN) || BUILDFLAG(IS_OPENBSD)) && defined(ARCH_CPU_ARM64)) + #define PRESERVE_MOST [[clang::preserve_most]] #else -@@ -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)) && \ -- !(BUILDFLAG(IS_WIN) && defined(ARCH_CPU_ARM64)) && \ -+ !((BUILDFLAG(IS_WIN) || BUILDFLAG(IS_OPENBSD)) && defined(ARCH_CPU_ARM64)) && \ - !defined(COMPONENT_BUILD) && defined(__clang__) && \ - __clang_major__ >= 17 && HAS_ATTRIBUTE(preserve_most) - #define PRESERVE_MOST __attribute__((preserve_most)) + #define PRESERVE_MOST diff --git a/www/ungoogled-chromium/files/patch-base_debug_stack__trace__posix.cc b/www/ungoogled-chromium/files/patch-base_debug_stack__trace__posix.cc index 2e1c02c41cb0..937e0b8a0cb5 100644 --- a/www/ungoogled-chromium/files/patch-base_debug_stack__trace__posix.cc +++ b/www/ungoogled-chromium/files/patch-base_debug_stack__trace__posix.cc @@ -1,4 +1,4 @@ ---- base/debug/stack_trace_posix.cc.orig 2024-07-31 14:19:23 UTC +--- base/debug/stack_trace_posix.cc.orig 2024-11-16 12:20:41 UTC +++ base/debug/stack_trace_posix.cc @@ -46,7 +46,7 @@ // execinfo.h and backtrace(3) are really only present in glibc and in macOS @@ -21,7 +21,7 @@ #include "base/debug/proc_maps_linux.h" #endif -@@ -307,7 +309,7 @@ void PrintToStderr(const char* output) { +@@ -322,7 +324,7 @@ void PrintToStderr(const char* output) { std::ignore = HANDLE_EINTR(write(STDERR_FILENO, output, strlen(output))); } @@ -30,7 +30,7 @@ void AlarmSignalHandler(int signal, siginfo_t* info, void* void_context) { // We have seen rare cases on AMD linux where the default signal handler // either does not run or a thread (Probably an AMD driver thread) prevents -@@ -324,7 +326,11 @@ void AlarmSignalHandler(int signal, siginfo_t* info, v +@@ -339,7 +341,11 @@ void AlarmSignalHandler(int signal, siginfo_t* info, v "Warning: Default signal handler failed to terminate process.\n"); PrintToStderr("Calling exit_group() directly to prevent timeout.\n"); // See: https://man7.org/linux/man-pages/man2/exit_group.2.html @@ -42,7 +42,7 @@ } #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || // BUILDFLAG(IS_CHROMEOS) -@@ -541,7 +547,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf +@@ -537,7 +543,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf _exit(EXIT_FAILURE); } @@ -51,7 +51,7 @@ // Set an alarm to trigger in case the default handler does not terminate // the process. See 'AlarmSignalHandler' for more details. struct sigaction action; -@@ -566,6 +572,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf +@@ -562,6 +568,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf // signals that do not re-raise autonomously), such as signals delivered via // kill() and asynchronous hardware faults such as SEGV_MTEAERR, which would // otherwise be lost when re-raising the signal via raise(). @@ -59,7 +59,7 @@ long retval = syscall(SYS_rt_tgsigqueueinfo, getpid(), syscall(SYS_gettid), info->si_signo, info); if (retval == 0) { -@@ -580,6 +587,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf +@@ -576,6 +583,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf if (errno != EPERM) { _exit(EXIT_FAILURE); } @@ -67,7 +67,7 @@ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || // BUILDFLAG(IS_CHROMEOS) -@@ -769,6 +777,7 @@ class SandboxSymbolizeHelper { +@@ -772,6 +780,7 @@ class SandboxSymbolizeHelper { return -1; } @@ -75,7 +75,7 @@ // This class is copied from // third_party/crashpad/crashpad/util/linux/scoped_pr_set_dumpable.h. // It aims at ensuring the process is dumpable before opening /proc/self/mem. -@@ -861,11 +870,15 @@ class SandboxSymbolizeHelper { +@@ -864,11 +873,15 @@ class SandboxSymbolizeHelper { r.base = cur_base; } } @@ -91,7 +91,7 @@ // Reads /proc/self/maps. std::string contents; if (!ReadProcMaps(&contents)) { -@@ -883,6 +896,7 @@ class SandboxSymbolizeHelper { +@@ -886,6 +899,7 @@ class SandboxSymbolizeHelper { is_initialized_ = true; return true; diff --git a/www/ungoogled-chromium/files/patch-base_files_drive__info.h b/www/ungoogled-chromium/files/patch-base_files_drive__info.h new file mode 100644 index 000000000000..5270a9f505fe --- /dev/null +++ b/www/ungoogled-chromium/files/patch-base_files_drive__info.h @@ -0,0 +1,11 @@ +--- base/files/drive_info.h.orig 2024-11-16 12:20:41 UTC ++++ base/files/drive_info.h +@@ -40,7 +40,7 @@ class BASE_EXPORT DriveInfo { + std::optional<bool> has_seek_penalty; + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + // Whether the drive is a removable drive. + // + // Note on macOS: that SSDs that are connected over USB that you can eject diff --git a/www/ungoogled-chromium/files/patch-base_files_drive__info__posix.cc b/www/ungoogled-chromium/files/patch-base_files_drive__info__posix.cc new file mode 100644 index 000000000000..04564f047eff --- /dev/null +++ b/www/ungoogled-chromium/files/patch-base_files_drive__info__posix.cc @@ -0,0 +1,11 @@ +--- base/files/drive_info_posix.cc.orig 2024-11-16 12:20:41 UTC ++++ base/files/drive_info_posix.cc +@@ -28,7 +28,7 @@ DriveInfo& DriveInfo::operator=(DriveInfo&&) = default + + std::optional<DriveInfo> GetFileDriveInfo(const FilePath& file_path) { + DriveInfo drive_info; +-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) ++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) + drive_info.has_seek_penalty = false; + return drive_info; + #elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) diff --git a/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc b/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc index b88b2cf9ce3b..33f0c02fa8ad 100644 --- a/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc +++ b/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc @@ -1,6 +1,6 @@ ---- base/files/file_util_posix.cc.orig 2024-07-31 14:19:23 UTC +--- base/files/file_util_posix.cc.orig 2024-11-16 12:20:41 UTC +++ base/files/file_util_posix.cc -@@ -889,36 +889,33 @@ bool CreateNewTempDirectory(const FilePath::StringType +@@ -897,36 +897,33 @@ bool CreateNewTempDirectory(const FilePath::StringType bool CreateDirectoryAndGetError(const FilePath& full_path, File::Error* error) { ScopedBlockingCall scoped_blocking_call( FROM_HERE, BlockingType::MAY_BLOCK); // For call to mkdir(). 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 54e2f66d512e..805e4f127f10 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-27 06:40:35 UTC +--- base/files/file_util_unittest.cc.orig 2024-11-16 12:20:41 UTC +++ base/files/file_util_unittest.cc -@@ -3886,7 +3886,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithNamedPipe) { +@@ -3928,7 +3928,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"; -@@ -4608,7 +4608,7 @@ TEST(FileUtilMultiThreadedTest, MultiThreadedTempFiles +@@ -4665,7 +4665,7 @@ TEST(FileUtilMultiThreadedTest, MultiThreadedTempFiles NULL); #else size_t bytes_written = diff --git a/www/ungoogled-chromium/files/patch-base_logging__unittest.cc b/www/ungoogled-chromium/files/patch-base_logging__unittest.cc index fe358cd525a1..478226044d7d 100644 --- a/www/ungoogled-chromium/files/patch-base_logging__unittest.cc +++ b/www/ungoogled-chromium/files/patch-base_logging__unittest.cc @@ -1,4 +1,4 @@ ---- base/logging_unittest.cc.orig 2024-06-22 08:49:42 UTC +--- base/logging_unittest.cc.orig 2024-11-16 12:20:41 UTC +++ base/logging_unittest.cc @@ -41,7 +41,7 @@ #include "base/posix/eintr_wrapper.h" @@ -9,7 +9,7 @@ #include <ucontext.h> #endif -@@ -579,14 +579,18 @@ void CheckCrashTestSighandler(int, siginfo_t* info, vo +@@ -585,14 +585,18 @@ void CheckCrashTestSighandler(int, siginfo_t* info, vo // need the arch-specific boilerplate below, which is inspired by breakpad. // At the same time, on OSX, ucontext.h is deprecated but si_addr works fine. uintptr_t crash_addr = 0; diff --git a/www/ungoogled-chromium/files/patch-base_process_launch.h b/www/ungoogled-chromium/files/patch-base_process_launch.h index 22bae88597cc..9454688589b4 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-10-27 06:40:35 UTC +--- base/process/launch.h.orig 2024-11-16 12:20:41 UTC +++ base/process/launch.h -@@ -237,7 +237,7 @@ struct BASE_EXPORT LaunchOptions { +@@ -241,7 +241,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_system_sys__info.cc b/www/ungoogled-chromium/files/patch-base_system_sys__info.cc index 793776b01dd7..cd5337658623 100644 --- a/www/ungoogled-chromium/files/patch-base_system_sys__info.cc +++ b/www/ungoogled-chromium/files/patch-base_system_sys__info.cc @@ -1,6 +1,6 @@ ---- base/system/sys_info.cc.orig 2024-08-26 14:40:28 UTC +--- base/system/sys_info.cc.orig 2024-11-16 12:20:41 UTC +++ base/system/sys_info.cc -@@ -223,7 +223,7 @@ std::string SysInfo::HardwareModelName() { +@@ -229,7 +229,7 @@ std::string SysInfo::SocManufacturer() { #endif void SysInfo::GetHardwareInfo(base::OnceCallback<void(HardwareInfo)> callback) { diff --git a/www/ungoogled-chromium/files/patch-base_system_sys__info.h b/www/ungoogled-chromium/files/patch-base_system_sys__info.h index e66bf11b1c04..f6c1ad34fcc7 100644 --- a/www/ungoogled-chromium/files/patch-base_system_sys__info.h +++ b/www/ungoogled-chromium/files/patch-base_system_sys__info.h @@ -1,6 +1,6 @@ ---- base/system/sys_info.h.orig 2024-05-23 20:04:36 UTC +--- base/system/sys_info.h.orig 2024-11-16 12:20:41 UTC +++ base/system/sys_info.h -@@ -325,6 +325,8 @@ class BASE_EXPORT SysInfo { +@@ -331,6 +331,8 @@ class BASE_EXPORT SysInfo { static void ResetCpuSecurityMitigationsEnabledForTesting(); #endif *** 10145 LINES SKIPPED ***