git: 942ddef6e432 - main - www/ungoogled-chromium: update to 116.0.5845.96
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Aug 2023 16:30:57 UTC
The branch main has been updated by rnagy: URL: https://cgit.FreeBSD.org/ports/commit/?id=942ddef6e43206a537054dab1b839fd95bf2447b commit 942ddef6e43206a537054dab1b839fd95bf2447b Author: Robert Nagy <rnagy@FreeBSD.org> AuthorDate: 2023-08-18 16:30:26 +0000 Commit: Robert Nagy <rnagy@FreeBSD.org> CommitDate: 2023-08-18 16:30:49 +0000 www/ungoogled-chromium: update to 116.0.5845.96 Security: https://vuxml.freebsd.org/freebsd/5666688f-803b-4cf0-9cb1-08c088f2225a.html --- www/ungoogled-chromium/Makefile | 4 +- www/ungoogled-chromium/distinfo | 14 ++--- www/ungoogled-chromium/files/patch-BUILD.gn | 16 +++--- ...patch-ash_display_mirror__window__controller.cc | 4 +- www/ungoogled-chromium/files/patch-base_BUILD.gn | 20 +++---- ...llocator_partition__allocator_page__allocator.h | 4 +- ...__allocator_page__allocator__internals__posix.h | 4 +- ...cator_partition__allocator_partition__alloc.gni | 10 ++-- ...artition__allocator_partition__alloc__forward.h | 4 +- ...llocator_partition__allocator_partition__page.h | 11 ---- ...rtition__allocator_partition__page__constants.h | 11 ++++ ...locator_partition__allocator_partition__root.cc | 8 +-- .../files/patch-base_system_sys__info.h | 8 +-- .../files/patch-base_system_sys__info__posix.cc | 15 +++--- .../files/patch-base_system_sys__info__unittest.cc | 4 +- ...tch-base_trace__event_malloc__dump__provider.cc | 6 +-- .../files/patch-build_config_BUILD.gn | 25 +++------ .../files/patch-build_config_compiler_BUILD.gn | 28 +++++----- .../files/patch-build_config_compiler_pgo_BUILD.gn | 4 +- .../files/patch-build_toolchain_gcc__toolchain.gni | 4 +- .../files/patch-build_toolchain_toolchain.gni | 11 ++++ www/ungoogled-chromium/files/patch-cc_BUILD.gn | 6 +-- .../files/patch-cc_paint_paint__op__writer.h | 41 ++++++++++++++ .../patch-chrome_app_app__management__strings.grdp | 4 +- .../files/patch-chrome_app_chrome__command__ids.h | 4 +- .../patch-chrome_app_chrome__main__delegate.cc | 22 ++++---- .../files/patch-chrome_app_chromium__strings.grd | 10 ++-- .../patch-chrome_app_generated__resources.grd | 24 ++++----- .../patch-chrome_app_google__chrome__strings.grd | 6 +-- .../files/patch-chrome_browser_BUILD.gn | 16 ++++++ .../files/patch-chrome_browser_about__flags.cc | 48 ++++++++--------- ...browser_background_background__mode__manager.cc | 4 +- .../patch-chrome_browser_browser__process__impl.cc | 8 +-- .../patch-chrome_browser_browser__process__impl.h | 4 +- ..._browser_chrome__browser__interface__binders.cc | 15 +++--- .../patch-chrome_browser_chrome__browser__main.cc | 23 +++++--- ...-chrome_browser_chrome__browser__main__linux.cc | 6 +-- ...ome_browser_chrome__content__browser__client.cc | 34 ++++++------ ...rome_browser_chrome__content__browser__client.h | 4 +- ...ch-chrome_browser_chrome__process__singleton.cc | 46 ++++++++++++++++ ...nt__settings_one__time__permission__provider.cc | 30 +++++++++++ ...-chrome_browser_dev__ui__browser__resources.grd | 11 ---- ...download_chrome__download__manager__delegate.cc | 6 +-- ...ch-chrome_browser_download_download__commands.h | 4 +- ...hrome_browser_download_download__item__model.cc | 8 +-- ...nectors_analysis_content__analysis__delegate.cc | 4 +- ...er_enterprise_connectors_connectors__service.cc | 4 +- ...t_device__trust__connector__service__factory.cc | 6 +-- ...evice__trust_device__trust__service__factory.cc | 21 +++++--- ...ser_commands_key__rotation__command__factory.cc | 4 +- ...sistence_key__persistence__delegate__factory.cc | 4 +- ...ice__trust_signals_signals__service__factory.cc | 10 ++-- ...te__commands_cbcm__remote__commands__factory.cc | 4 +- .../files/patch-chrome_browser_extensions_BUILD.gn | 4 +- ..._browser__context__keyed__service__factories.cc | 4 +- ...__private_passwords__private__delegate__impl.cc | 4 +- ...extensions_api_settings__private_prefs__util.cc | 6 +-- ...chrome_browser_extensions_api_tabs_tabs__api.cc | 4 +- ...api_webstore__private_webstore__private__api.cc | 11 ++++ .../patch-chrome_browser_flag__descriptions.cc | 22 ++++---- .../patch-chrome_browser_flag__descriptions.h | 20 +++---- ...dia__galleries_media__file__system__registry.cc | 4 +- ..._browser_media_webrtc_capture__policy__utils.cc | 20 ------- ...e_browser_media_webrtc_webrtc__log__uploader.cc | 4 +- ...chrome__browser__main__extra__parts__metrics.cc | 26 ++++----- ...ser_metrics_chrome__metrics__service__client.cc | 19 ++----- ...rowser_net_system__network__context__manager.cc | 4 +- ...wser__cloud__management__controller__desktop.cc | 4 +- ...onfiguration__policy__handler__list__factory.cc | 44 +++++++-------- .../patch-chrome_browser_prefs_browser__prefs.cc | 18 +++---- ...er_prefs_pref__service__incognito__allowlist.cc | 4 +- ...tch-chrome_browser_process__singleton__posix.cc | 8 +-- ...hrome__browser__main__extra__parts__profiles.cc | 12 ++--- ..._appearance__page_appearance__browser__proxy.ts | 6 +-- ...settings_appearance__page_appearance__page.html | 4 +- ...s_settings_appearance__page_appearance__page.ts | 16 +++--- ...atch-chrome_browser_resources_settings_route.ts | 4 +- ...d__content__scanning_binary__upload__service.cc | 4 +- ...und__session__refresh__cookie__fetcher__impl.cc | 11 ---- ...ke__bound__session__refresh__cookie__fetcher.cc | 32 ----------- ...tch-chrome_browser_sync_chrome__sync__client.cc | 16 +++--- ...h-chrome_browser_sync_sync__service__factory.cc | 8 +-- .../patch-chrome_browser_themes_theme__service.cc | 6 +-- ...hrome_browser_themes_theme__service__factory.cc | 8 +-- ...rome_browser_ui_browser__command__controller.cc | 14 ++--- .../files/patch-chrome_browser_ui_chrome__pages.cc | 8 +-- .../files/patch-chrome_browser_ui_chrome__pages.h | 4 +- .../files/patch-chrome_browser_ui_managed__ui.cc | 6 +-- ...e_browser_ui_omnibox_chrome__omnibox__client.cc | 21 ++++++++ ...r_ui_omnibox_omnibox__pedal__implementations.cc | 10 ++-- ...h-chrome_browser_ui_signin__view__controller.cc | 6 +-- ...browser_ui_signin__view__controller__delegate.h | 4 +- .../files/patch-chrome_browser_ui_tab__helpers.cc | 6 +-- ...tch-chrome_browser_ui_test_test__browser__ui.cc | 6 +-- .../files/patch-chrome_browser_ui_ui__features.cc | 4 +- .../files/patch-chrome_browser_ui_ui__features.h | 4 +- ...h-chrome_browser_ui_views_accelerator__table.cc | 10 ++-- ..._views_eye__dropper_eye__dropper__view__aura.cc | 4 +- ...chrome_browser_ui_views_frame_browser__frame.cc | 6 +-- ...-chrome_browser_ui_views_frame_browser__frame.h | 4 +- ...-chrome_browser_ui_views_frame_browser__view.cc | 4 +- ...e_picture__in__picture__browser__frame__view.cc | 22 ++++---- ...me_picture__in__picture__browser__frame__view.h | 10 ++-- ..._ui_views_frame_system__menu__model__builder.cc | 4 +- ..._ui_views_profiles_profile__menu__view__base.cc | 4 +- ...es_signin__view__controller__delegate__views.cc | 8 +-- ...les_signin__view__controller__delegate__views.h | 4 +- ...e_browser_ui_views_tab__search__bubble__host.cc | 11 ++++ .../patch-chrome_browser_ui_views_tabs_tab.cc | 4 +- ..._browser_ui_views_tabs_tab__drag__controller.cc | 14 ++--- ...ui_views_tabs_tab__hover__card__bubble__view.cc | 4 +- ...r_ui_views_tabs_tab__hover__card__controller.cc | 4 +- ...eb__apps_web__app__integration__test__driver.cc | 18 +++---- ...i_webui_chrome__web__ui__controller__factory.cc | 14 ++--- ..._ui_webui_management_management__ui__handler.cc | 39 ++++++++++++-- ...r_ui_webui_management_management__ui__handler.h | 30 ++++++++++- ...me_browser_ui_webui_realbox_realbox__handler.cc | 6 +-- ...tings_settings__localized__strings__provider.cc | 26 ++++----- ...hrome_browser_ui_window__sizer_window__sizer.cc | 4 +- ...ions_commands_install__app__locally__command.cc | 4 +- ...s_test_os__integration__test__override__impl.cc | 4 +- ...thn_chrome__authenticator__request__delegate.cc | 4 +- .../files/patch-chrome_common_chrome__features.cc | 16 +++--- .../files/patch-chrome_common_chrome__features.h | 10 ++-- .../files/patch-chrome_common_chrome__paths.cc | 12 ++--- .../files/patch-chrome_common_chrome__switches.cc | 4 +- .../files/patch-chrome_common_pref__names.cc | 16 +++--- .../files/patch-chrome_common_pref__names.h | 16 +++--- .../files/patch-chrome_common_url__constants.cc | 4 +- .../files/patch-chrome_common_url__constants.h | 4 +- .../patch-chrome_common_webui__url__constants.cc | 12 ++--- .../patch-chrome_common_webui__url__constants.h | 11 ++-- ...ome_renderer_chrome__render__frame__observer.cc | 4 +- .../files/patch-chrome_test_BUILD.gn | 4 +- .../patch-chrome_test_chromedriver_capabilities.cc | 6 +-- ...ch-chrome_test_chromedriver_chrome__launcher.cc | 4 +- ...utofill_core_browser_personal__data__manager.cc | 4 +- ...ill_core_common_autofill__payments__features.cc | 4 +- ...ch-components_components__chromium__strings.grd | 4 +- ...ponents_components__google__chrome__strings.grd | 4 +- ...evice__signals_core_common_signals__features.cc | 18 +++---- ...device__signals_core_common_signals__features.h | 16 +++--- ...nents_device__signals_test_signals__contract.cc | 4 +- ...e__engagement_public_feature__configurations.cc | 4 +- ...eature__engagement_public_feature__constants.cc | 6 +-- ...feature__engagement_public_feature__constants.h | 6 +-- ...nts_feature__engagement_public_feature__list.cc | 8 +-- ...ents_feature__engagement_public_feature__list.h | 12 ++--- .../patch-components_management__strings.grdp | 11 ++++ ...mponents_os__crypt_sync_keyring__util__linux.cc | 26 --------- ...ssword__manager_core_browser_login__database.cc | 8 +-- ...ger_core_browser_sync_password__sync__bridge.cc | 6 +-- ...__manager_core_browser_ui_passwords__grouper.cc | 21 ++++++++ ...ager_core_common_password__manager__features.cc | 6 +-- ...nager_core_common_password__manager__features.h | 4 +- .../files/patch-components_power__metrics_BUILD.gn | 6 +-- ...nts_power__metrics_energy__metrics__provider.cc | 6 +-- ..._ai_sandbox_screen__ai__sandbox__hook__linux.cc | 4 +- ..._user_core_browser_supervised__user__service.cc | 4 +- ...ore_browser_translate__ui__languages__manager.h | 10 ---- ...nts_user__education_views_help__bubble__view.cc | 4 +- ...ons_service_google__groups__updater__service.cc | 11 ++++ ...nents_viz_common_gpu_dawn__context__provider.cc | 11 ---- ...isplay__embedder_skia__output__surface__impl.cc | 4 +- ...mbedder_skia__output__surface__impl__on__gpu.cc | 15 ++++++ ...omponents_viz_service_display_skia__renderer.cc | 4 +- ..._webauthn_core_browser_passkey__sync__bridge.cc | 38 +++++++++++++ ...atch-content_app_content__main__runner__impl.cc | 22 ++++---- .../files/patch-content_browser_BUILD.gn | 4 +- ..._compositor_viz__process__transport__factory.cc | 4 +- ...patch-content_browser_gpu_gpu__process__host.cc | 6 +-- ...r_media_media__keys__listener__manager__impl.cc | 4 +- ...ent_browser_network__service__instance__impl.cc | 19 +++++-- ...er_renderer__host_back__forward__cache__impl.cc | 4 +- ...r_renderer__host_render__process__host__impl.cc | 12 ++--- ...er_renderer__host_render__process__host__impl.h | 4 +- ...derer__host_render__widget__host__view__aura.cc | 12 ++--- ...scheduler_responsiveness_jank__monitor__impl.cc | 4 +- ...ce__worker_service__worker__context__wrapper.cc | 19 +++---- ...wser_web__contents_web__contents__view__aura.cc | 4 +- .../files/patch-content_common_BUILD.gn | 6 +-- .../files/patch-content_gpu_gpu__main.cc | 17 ++++-- ...ch-content_ppapi__plugin_ppapi__plugin__main.cc | 4 +- ...web__ui__browser__interface__broker__registry.h | 16 ++++++ ...atch-content_public_common_content__features.cc | 8 +-- ...patch-content_public_common_content__features.h | 4 +- ...atch-content_public_common_content__switches.cc | 6 +-- ...patch-content_public_common_content__switches.h | 6 +-- ...patch-content_renderer_render__process__impl.cc | 4 +- .../patch-content_renderer_render__thread__impl.cc | 10 ++-- ...tent_renderer_renderer__blink__platform__impl.h | 4 +- .../files/patch-content_shell_BUILD.gn | 4 +- .../files/patch-content_test_BUILD.gn | 6 +-- .../files/patch-content_utility_services.cc | 4 +- .../files/patch-content_utility_utility__main.cc | 14 ++--- ...mand__buffer_service_dawn__context__provider.cc | 11 ++++ ..._command__buffer_service_gles2__cmd__decoder.cc | 4 +- ...e_shared__image_external__vk__image__backing.cc | 6 +-- ..._image_external__vk__image__backing__factory.cc | 4 +- ...ommand__buffer_service_webgpu__decoder__impl.cc | 4 +- .../files/patch-gpu_config_gpu__control__list.cc | 6 +-- ...-gpu_ipc_common_gpu__memory__buffer__support.cc | 6 +-- ...h-gpu_ipc_common_gpu__memory__buffer__support.h | 4 +- .../files/patch-gpu_ipc_service_gpu__init.cc | 18 +++---- .../patch-gpu_vulkan_vulkan__function__pointers.h | 8 +-- .../files/patch-gpu_vulkan_vulkan__util.cc | 4 +- .../files/patch-media_audio_BUILD.gn | 4 +- .../patch-media_base_cdm__promise__adapter.cc | 16 +++--- .../files/patch-media_base_media__switches.cc | 14 ++--- .../files/patch-media_base_media__switches.h | 6 +-- ..._video_fake__video__capture__device__factory.cc | 4 +- ...deo__capture__buffer__tracker__factory__impl.cc | 20 +++++++ .../patch-media_gpu_vaapi_vaapi__video__decoder.cc | 4 +- ...stable__video__decoder__types__mojom__traits.cc | 6 +-- ...ideo_gpu__memory__buffer__video__frame__pool.cc | 6 +-- ...eo_video__encode__accelerator__adapter__test.cc | 4 +- www/ungoogled-chromium/files/patch-net_BUILD.gn | 14 ++--- ...tch-net_base_mock__network__change__notifier.cc | 11 ++++ ...atch-net_base_mock__network__change__notifier.h | 20 +++++++ .../files/patch-net_cert_cert__verify__proc.h | 4 +- .../patch-net_cert_cert__verify__proc__unittest.cc | 6 +-- .../files/patch-net_dns_BUILD.gn | 8 +-- .../files/patch-net_dns_host__resolver__cache.cc | 14 +++++ .../files/patch-pdf_pdfium_pdfium__engine.cc | 6 +-- .../files/patch-printing_backend_cups__helper.cc | 11 ---- ...ch-remoting_host_basic__desktop__environment.cc | 4 +- ...atch-remoting_host_chromoting__host__context.cc | 4 +- ...patch-remoting_host_desktop__capturer__proxy.cc | 14 ++--- .../files/patch-sandbox_linux_BUILD.gn | 4 +- .../files/patch-sandbox_policy_BUILD.gn | 4 +- ...ices_cert__verifier_cert__verifier__creation.cc | 10 ++-- ...ices_device_geolocation_location__arbitrator.cc | 4 +- .../patch-services_device_public_mojom_BUILD.gn | 4 +- .../files/patch-services_network_BUILD.gn | 4 +- .../patch-services_network_network__service.cc | 4 +- .../patch-services_network_public_mojom_BUILD.gn | 4 +- ...ionary_shared__dictionary__writer__in__memory.h | 8 +-- ...video__capture_video__capture__service__impl.cc | 12 ++--- .../files/patch-skia_ext_skcolorspace__trfn.cc | 4 +- ...atch-third__party_abseil-cpp_absl_base_config.h | 18 +++---- ...y_abseil-cpp_absl_base_internal_raw__logging.cc | 4 +- ..._party_abseil-cpp_absl_base_internal_sysinfo.cc | 48 +++++++++++++++-- ...l-cpp_absl_debugging_internal_elf__mem__image.h | 10 ++-- ...sl_time_internal_cctz_src_time__zone__format.cc | 4 +- .../files/patch-third__party_angle_BUILD.gn | 8 +-- ...tch-third__party_angle_src_libANGLE_Display.cpp | 10 ++-- ...rty_angle_src_libANGLE_renderer_driver__utils.h | 4 +- .../files/patch-third__party_angle_util_BUILD.gn | 4 +- ...erences_renderer__preferences__mojom__traits.cc | 8 +-- ...n_renderer__preferences_renderer__preferences.h | 6 +-- ...ferences_renderer__preferences__mojom__traits.h | 6 +-- ...h-third__party_blink_public_platform_platform.h | 4 +- ...blink_renderer_core_exported_web__view__impl.cc | 6 +-- ...nk_renderer_core_layout_ng_layout__ng__view.cc} | 10 ++-- ..._core_paint_object__paint__properties__sparse.h | 13 +++++ ...nderer_modules_canvas_canvas2d_canvas__style.cc | 18 +++++-- ...renderer_modules_ml_webnn_ml__graph__xnnpack.cc | 4 +- ...odules_webgl_webgl__rendering__context__base.cc | 4 +- ...rty_blink_renderer_modules_webgpu_gpu__queue.cc | 14 ++--- ...h-third__party_blink_renderer_platform_BUILD.gn | 4 +- ...ty_blink_renderer_platform_fonts_font__cache.cc | 4 +- ...rty_blink_renderer_platform_fonts_font__cache.h | 14 ++--- ...nderer_platform_fonts_palette__interpolation.cc | 15 ++++++ ...rer_platform_graphics_begin__frame__provider.cc | 4 +- ...er_platform_graphics_video__frame__submitter.cc | 4 +- ...derer_platform_runtime__enabled__features.json5 | 28 ++-------- ...ty_boringssl_src_crypto_cpu__aarch64__openbsd.c | 63 ---------------------- ..._src_crypto_fipsmodule_aes_asm_aesni-x86__64.pl | 12 ++--- ...ty_boringssl_src_util_generate__build__files.py | 6 +-- ..._party_dawn_include_dawn_native_VulkanBackend.h | 4 +- ...-third__party_perfetto_src_base_unix__socket.cc | 6 +-- .../patch-third__party_skia_src_core_SkCpu.cpp | 45 ---------------- ...-third__party_sqlite_src_amalgamation_sqlite3.c | 6 +-- ...ty_swiftshader_third__party_marl_src_memory.cpp | 6 +-- ...ty_swiftshader_third__party_marl_src_thread.cpp | 8 +-- ...vulkan-loader_src_loader_vk__loader__platform.h | 4 +- ...layers_vulkan_generated_vk__extension__helper.h | 4 +- .../files/patch-third__party_webrtc_BUILD.gn | 4 +- .../files/patch-ui_base_cursor_cursor__factory.cc | 6 +-- .../files/patch-ui_base_cursor_cursor__factory.h | 4 +- .../files/patch-ui_base_ui__base__features.cc | 4 +- .../files/patch-ui_base_ui__base__features.h | 4 +- .../files/patch-ui_base_x_x11__cursor__factory.cc | 4 +- .../files/patch-ui_base_x_x11__cursor__factory.h | 4 +- .../files/patch-ui_color_color__id.h | 4 +- .../files/patch-ui_events_event.cc | 8 +-- www/ungoogled-chromium/files/patch-ui_gfx_BUILD.gn | 4 +- .../files/patch-ui_gfx_native__widget__types.h | 6 +-- www/ungoogled-chromium/files/patch-ui_gl_BUILD.gn | 10 ++-- ...tform_wayland_host_wayland__toplevel__window.cc | 4 +- ...atform_wayland_host_wayland__toplevel__window.h | 4 +- ...i_ozone_platform_wayland_host_wayland__window.h | 4 +- ...ne_platform_wayland_ozone__platform__wayland.cc | 6 +-- ...h-ui_ozone_platform_x11_ozone__platform__x11.cc | 4 +- .../patch-ui_views_controls_textfield_textfield.cc | 14 ++--- .../patch-ui_views_controls_textfield_textfield.h | 4 +- .../files/patch-ui_views_focus_focus__manager.cc | 6 +-- ...top__aura_desktop__drag__drop__client__ozone.cc | 4 +- ...__aura_desktop__window__tree__host__platform.cc | 10 ++-- .../files/patch-ui_views_widget_widget.cc | 6 +-- www/ungoogled-chromium/files/patch-v8_BUILD.gn | 20 +++++-- .../files/patch-v8_include_v8-internal.h | 4 +- .../files/patch-v8_src_api_api.cc | 4 +- .../patch-v8_src_base_platform_platform-posix.cc | 18 +++---- .../patch-v8_src_builtins_x64_builtins-x64.cc | 22 +++++--- ...patch-v8_src_codegen_x64_macro-assembler-x64.cc | 4 +- .../patch-v8_src_codegen_x64_macro-assembler-x64.h | 4 +- ...piler_backend_ia32_instruction-selector-ia32.cc | 20 ------- ..._src_compiler_backend_x64_code-generator-x64.cc | 4 +- .../files/patch-v8_src_execution_isolate.cc | 6 +-- ...ch-v8_src_maglev_x64_maglev-assembler-x64-inl.h | 4 +- ...patch-v8_src_maglev_x64_maglev-assembler-x64.cc | 13 +++-- ...bedded_platform-embedded-file-writer-generic.cc | 14 ++--- ...src_wasm_baseline_ia32_liftoff-assembler-ia32.h | 26 ++++----- ...layer_browser_content__browser__client__impl.cc | 6 +-- ...blayer_browser_content__browser__client__impl.h | 4 +- 316 files changed, 1692 insertions(+), 1401 deletions(-) diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile index ba74e9ea745b..9f9c561cf300 100644 --- a/www/ungoogled-chromium/Makefile +++ b/www/ungoogled-chromium/Makefile @@ -1,6 +1,5 @@ PORTNAME= ungoogled-chromium -PORTVERSION= 115.0.5790.170 -PORTREVISION= 1 +PORTVERSION= 116.0.5845.96 UGVERSION= ${DISTVERSION}-1 CATEGORIES= www wayland MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ @@ -109,7 +108,6 @@ GN_ARGS+= fatal_linker_warnings=false \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=false \ - use_gnome_keyring=false \ use_lld=true \ use_partition_alloc=true \ use_partition_alloc_as_malloc=false \ diff --git a/www/ungoogled-chromium/distinfo b/www/ungoogled-chromium/distinfo index f2ea7e36be7e..2a397414c87a 100644 --- a/www/ungoogled-chromium/distinfo +++ b/www/ungoogled-chromium/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1691150820 -SHA256 (chromium-115.0.5790.170.tar.xz) = ff9862d2e748c56940ffc222c2e6b2066a19ea1de0bc3fd99ed81c0b231172c0 -SIZE (chromium-115.0.5790.170.tar.xz) = 1595419840 -SHA256 (ungoogled-chromium-115.0.5790.170-1.tar.gz) = aa5aab1b7f8b72f43a2971a3147c552f2dd32bf4cfcff009e847b65785bff9ac -SIZE (ungoogled-chromium-115.0.5790.170-1.tar.gz) = 665517 -SHA256 (chromium-115.0.5790.170-testdata.tar.xz) = a939490b5087ddffa47ae46bbd73edff33bc19e5cd7e7139040b9f31a7f4bc9c -SIZE (chromium-115.0.5790.170-testdata.tar.xz) = 258994144 +TIMESTAMP = 1692354461 +SHA256 (chromium-116.0.5845.96.tar.xz) = 1ec1052a959abced9642b36482549bc2ebefa428ed136289d8e0c54b4ccd1c81 +SIZE (chromium-116.0.5845.96.tar.xz) = 1599788748 +SHA256 (ungoogled-chromium-116.0.5845.96-1.tar.gz) = 262ffd7551b76c7d527c95a1c3e11e0431ef8627ebcb1d5c2f0d60fb902b82d8 +SIZE (ungoogled-chromium-116.0.5845.96-1.tar.gz) = 672233 +SHA256 (chromium-116.0.5845.96-testdata.tar.xz) = f626b0fb34dbf528df11830b9d1d7f5e56832d6770ccd3fad07cee31e9825606 +SIZE (chromium-116.0.5845.96-testdata.tar.xz) = 269310352 SHA256 (test_fonts-336e775eec536b2d785cc80eff6ac39051931286.tar.gz) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8 SIZE (test_fonts-336e775eec536b2d785cc80eff6ac39051931286.tar.gz) = 32624734 diff --git a/www/ungoogled-chromium/files/patch-BUILD.gn b/www/ungoogled-chromium/files/patch-BUILD.gn index e3a32ce08a63..6d828c5fce71 100644 --- a/www/ungoogled-chromium/files/patch-BUILD.gn +++ b/www/ungoogled-chromium/files/patch-BUILD.gn @@ -1,4 +1,4 @@ ---- BUILD.gn.orig 2023-07-21 09:49:17 UTC +--- BUILD.gn.orig 2023-08-18 10:26:52 UTC +++ BUILD.gn @@ -61,7 +61,7 @@ declare_args() { root_extra_deps = [] @@ -17,7 +17,7 @@ "//net:net_unittests", "//sandbox:sandbox_unittests", "//services:services_unittests", -@@ -419,7 +418,7 @@ group("gn_all") { +@@ -422,7 +421,7 @@ group("gn_all") { } } @@ -26,7 +26,7 @@ deps += [ "//third_party/breakpad:breakpad_unittests", "//third_party/breakpad:core-2-minidump", -@@ -611,6 +610,15 @@ group("gn_all") { +@@ -614,6 +613,15 @@ group("gn_all") { } } @@ -42,7 +42,7 @@ if (is_mac) { deps += [ "//third_party/breakpad:dump_syms", -@@ -657,7 +665,7 @@ group("gn_all") { +@@ -660,7 +668,7 @@ group("gn_all") { host_os == "win") { deps += [ "//chrome/test/mini_installer:mini_installer_tests" ] } @@ -51,7 +51,7 @@ deps += [ "//third_party/breakpad:symupload($host_toolchain)" ] } -@@ -1086,7 +1094,7 @@ if (!is_ios && !is_cronet_build) { +@@ -1084,7 +1092,7 @@ if (!is_ios && !is_cronet_build) { ] } @@ -60,7 +60,7 @@ # WPT Webdriver tests runner # chrome/test/chromedriver/test/run_webdriver_tests.py script_test("webdriver_wpt_tests") { -@@ -1186,7 +1194,7 @@ if (!is_ios && !is_cronet_build) { +@@ -1188,7 +1196,7 @@ if (!is_ios && !is_cronet_build) { data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ] } @@ -69,7 +69,7 @@ data_deps += [ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ] } -@@ -1195,7 +1203,7 @@ if (!is_ios && !is_cronet_build) { +@@ -1197,7 +1205,7 @@ if (!is_ios && !is_cronet_build) { data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] } @@ -78,7 +78,7 @@ data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] } -@@ -1663,7 +1671,7 @@ group("chromium_builder_perf") { +@@ -1671,7 +1679,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 40146623de3a..10cc29e0fc81 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-06-05 19:39:05 UTC +--- ash/display/mirror_window_controller.cc.orig 2023-08-18 10:26:52 UTC +++ ash/display/mirror_window_controller.cc -@@ -296,7 +296,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 85fe6ced70b7..3b2b1b562137 100644 --- a/www/ungoogled-chromium/files/patch-base_BUILD.gn +++ b/www/ungoogled-chromium/files/patch-base_BUILD.gn @@ -1,4 +1,4 @@ ---- base/BUILD.gn.orig 2023-07-21 09:49:17 UTC +--- base/BUILD.gn.orig 2023-08-18 10:26:52 UTC +++ base/BUILD.gn @@ -198,7 +198,7 @@ buildflag_header("ios_cronet_buildflags") { flags = [ "CRONET_BUILD=$is_cronet_build" ] @@ -9,7 +9,7 @@ buildflag_header("message_pump_buildflags") { header = "message_pump_buildflags.h" header_dir = "base/message_loop" -@@ -1099,11 +1099,23 @@ component("base") { +@@ -1150,11 +1150,23 @@ component("base") { # Needed for <atomic> if using newer C++ library than sysroot, except if # building inside the cros_sdk environment - use host_toolchain as a # more robust check for this. @@ -34,7 +34,7 @@ if (use_allocator_shim) { sources += [ "allocator/partition_allocator/shim/allocator_shim.cc", -@@ -1131,7 +1143,7 @@ component("base") { +@@ -1185,7 +1197,7 @@ component("base") { ] configs += [ "//base/allocator:mac_no_default_new_delete_symbols" ] } @@ -43,7 +43,7 @@ sources += [ "allocator/partition_allocator/shim/allocator_shim_override_cpp_symbols.h", "allocator/partition_allocator/shim/allocator_shim_override_glibc_weak_symbols.h", -@@ -1172,7 +1184,7 @@ component("base") { +@@ -1226,7 +1238,7 @@ component("base") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -52,7 +52,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -2130,6 +2142,43 @@ component("base") { +@@ -2185,6 +2197,43 @@ component("base") { } } @@ -96,7 +96,7 @@ # iOS if (is_ios) { sources += [ -@@ -2238,7 +2287,7 @@ component("base") { +@@ -2285,7 +2334,7 @@ component("base") { } if (dep_libevent) { @@ -105,7 +105,7 @@ } if (use_libevent) { -@@ -3552,7 +3601,7 @@ test("base_unittests") { +@@ -3619,7 +3668,7 @@ test("base_unittests") { ] } @@ -114,7 +114,7 @@ sources += [ "debug/proc_maps_linux_unittest.cc", "files/scoped_file_linux_unittest.cc", -@@ -3601,7 +3650,7 @@ test("base_unittests") { +@@ -3640,7 +3689,7 @@ test("base_unittests") { "posix/file_descriptor_shuffle_unittest.cc", "posix/unix_domain_socket_unittest.cc", ] @@ -123,7 +123,7 @@ sources += [ "profiler/stack_base_address_posix_unittest.cc", "profiler/stack_copier_signal_unittest.cc", -@@ -3612,7 +3661,7 @@ test("base_unittests") { +@@ -3651,7 +3700,7 @@ test("base_unittests") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -132,7 +132,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -3837,7 +3886,7 @@ test("base_unittests") { +@@ -3907,7 +3956,7 @@ test("base_unittests") { } } diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator.h index 7fe4c767f933..3c0fc959db49 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator.h +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator.h @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/page_allocator.h.orig 2023-07-21 09:49:17 UTC +--- base/allocator/partition_allocator/page_allocator.h.orig 2023-08-18 10:26:52 UTC +++ base/allocator/partition_allocator/page_allocator.h -@@ -241,7 +241,7 @@ void DecommitAndZeroSystemPages(void* address, size_t +@@ -245,7 +245,7 @@ void DecommitAndZeroSystemPages(void* address, size_t // recommitted. Do not assume that this will not change over time. constexpr PA_COMPONENT_EXPORT( PARTITION_ALLOC) bool DecommittedMemoryIsAlwaysZeroed() { diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h index abad5aea81d3..266520f53444 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2023-07-21 09:49:17 UTC +--- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2023-08-18 10:26:52 UTC +++ base/allocator/partition_allocator/page_allocator_internals_posix.h -@@ -394,8 +394,12 @@ bool TryRecommitSystemPagesInternal( +@@ -396,8 +396,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_partition__alloc.gni b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni index 56b5352db007..b8ba2fd4c4a3 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,9 +1,9 @@ ---- base/allocator/partition_allocator/partition_alloc.gni.orig 2023-07-21 09:49:17 UTC +--- base/allocator/partition_allocator/partition_alloc.gni.orig 2023-08-18 10:26:52 UTC +++ base/allocator/partition_allocator/partition_alloc.gni -@@ -291,7 +291,7 @@ declare_args() { - # pkeys support is explicitly disabled in all Cronet builds, as some test dependencies that - # use partition_allocator are compiled in AOSP against a version of glibc that does not - # include pkeys syscall numbers. +@@ -317,7 +317,7 @@ declare_args() { + # pkeys support is explicitly disabled in all Cronet builds, as some test + # dependencies that use partition_allocator are compiled in AOSP against a + # version of glibc that does not include pkeys syscall numbers. - enable_pkeys = is_linux && target_cpu == "x64" && !is_cronet_build + enable_pkeys = (is_linux && !is_bsd) && target_cpu == "x64" && !is_cronet_build } diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__forward.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__forward.h index 4d2bf1e1e44c..2f04050c0162 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__forward.h +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__forward.h @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/partition_alloc_forward.h.orig 2023-03-10 11:01:21 UTC +--- base/allocator/partition_allocator/partition_alloc_forward.h.orig 2023-08-18 10:26:52 UTC +++ base/allocator/partition_allocator/partition_alloc_forward.h -@@ -27,9 +27,13 @@ namespace internal { +@@ -28,9 +28,13 @@ namespace internal { // the second one 16. We could technically return something different for // malloc() and operator new(), but this would complicate things, and most of // our allocations are presumably coming from operator new() anyway. diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__page.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__page.h deleted file mode 100644 index 1f9a8548a9eb..000000000000 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__page.h +++ /dev/null @@ -1,11 +0,0 @@ ---- base/allocator/partition_allocator/partition_page.h.orig 2023-05-05 12:12:41 UTC -+++ base/allocator/partition_allocator/partition_page.h -@@ -141,7 +141,7 @@ struct SlotSpanMetadata { - // PartitionPageSize() is 4 times the OS page size. - static constexpr size_t kMaxSlotsPerSlotSpan = - 4 * (1 << 14) / kSmallestBucket; --#elif BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64) -+#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64) - // System page size can be 4, 16, or 64 kiB on Linux on arm64. 64 kiB is - // currently (kMaxSlotsPerSlotSpanBits == 13) not supported by the code, - // so we use the 16 kiB maximum (64 kiB will crash). diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__page__constants.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__page__constants.h new file mode 100644 index 000000000000..165058c129c5 --- /dev/null +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__page__constants.h @@ -0,0 +1,11 @@ +--- base/allocator/partition_allocator/partition_page_constants.h.orig 2023-08-18 10:26:52 UTC ++++ base/allocator/partition_allocator/partition_page_constants.h +@@ -16,7 +16,7 @@ namespace partition_alloc::internal { + // (1 << 12 or 1 << 14), as checked in PartitionRoot::Init(). And + // PartitionPageSize() is 4 times the OS page size. + static constexpr size_t kMaxSlotsPerSlotSpan = 4 * (1 << 14) / kSmallestBucket; +-#elif BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64) ++#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64) + // System page size can be 4, 16, or 64 kiB on Linux on arm64. 64 kiB is + // currently (kMaxSlotsPerSlotSpanBits == 13) not supported by the code, + // so we use the 16 kiB maximum (64 kiB will crash). diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__root.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__root.cc index 0fa05dba6849..c47cb7b6fb81 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__root.cc +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__root.cc @@ -1,4 +1,4 @@ ---- base/allocator/partition_allocator/partition_root.cc.orig 2023-07-21 09:49:17 UTC +--- base/allocator/partition_allocator/partition_root.cc.orig 2023-08-18 10:26:52 UTC +++ base/allocator/partition_allocator/partition_root.cc @@ -46,7 +46,7 @@ #include "wow64apiset.h" @@ -9,7 +9,7 @@ #include <pthread.h> #endif -@@ -286,7 +286,7 @@ void PartitionAllocMallocInitOnce() { +@@ -284,7 +284,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. -@@ -380,7 +380,7 @@ static size_t PartitionPurgeSlotSpan( +@@ -376,7 +376,7 @@ static size_t PartitionPurgeSlotSpan(internal::SlotSpa constexpr size_t kMaxSlotCount = (PartitionPageSize() * kMaxPartitionPagesPerRegularSlotSpan) / MinPurgeableSlotSize(); @@ -27,7 +27,7 @@ // It's better for slot_usage to be stack-allocated and fixed-size, which // demands that its size be constexpr. On IS_APPLE and Linux on arm64, // PartitionPageSize() is always SystemPageSize() << 2, so regardless of -@@ -880,7 +880,7 @@ void PartitionRoot<thread_safe>::Init(PartitionOptions +@@ -853,7 +853,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_system_sys__info.h b/www/ungoogled-chromium/files/patch-base_system_sys__info.h index b173ae26e4d4..60cd501cf9f6 100644 --- a/www/ungoogled-chromium/files/patch-base_system_sys__info.h +++ b/www/ungoogled-chromium/files/patch-base_system_sys__info.h @@ -1,7 +1,7 @@ ---- base/system/sys_info.h.orig 2023-07-21 09:49:17 UTC +--- base/system/sys_info.h.orig 2023-08-18 10:26:52 UTC +++ base/system/sys_info.h -@@ -258,6 +258,8 @@ class BASE_EXPORT SysInfo { - static void SetIsCpuSecurityMitigationsEnabled(bool is_enabled); +@@ -261,6 +261,8 @@ class BASE_EXPORT SysInfo { + static void ResetCpuSecurityMitigationsEnabledForTesting(); #endif + static uint64_t MaxSharedMemorySize(); @@ -9,7 +9,7 @@ private: friend class test::ScopedAmountOfPhysicalMemoryOverride; FRIEND_TEST_ALL_PREFIXES(SysInfoTest, AmountOfAvailablePhysicalMemory); -@@ -270,7 +272,7 @@ class BASE_EXPORT SysInfo { +@@ -273,7 +275,7 @@ class BASE_EXPORT SysInfo { static HardwareInfo GetHardwareInfoSync(); #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ diff --git a/www/ungoogled-chromium/files/patch-base_system_sys__info__posix.cc b/www/ungoogled-chromium/files/patch-base_system_sys__info__posix.cc index 4007d57b7a93..41027f3cdff0 100644 --- a/www/ungoogled-chromium/files/patch-base_system_sys__info__posix.cc +++ b/www/ungoogled-chromium/files/patch-base_system_sys__info__posix.cc @@ -1,21 +1,24 @@ ---- base/system/sys_info_posix.cc.orig 2023-03-10 11:01:21 UTC +--- base/system/sys_info_posix.cc.orig 2023-08-18 10:26:52 UTC +++ base/system/sys_info_posix.cc -@@ -165,12 +165,12 @@ int NumberOfProcessors() { +@@ -117,7 +117,7 @@ bool GetDiskSpaceInfo(const base::FilePath& path, - } // namespace internal + namespace base { -#if !BUILDFLAG(IS_OPENBSD) +#if !BUILDFLAG(IS_BSD) int SysInfo::NumberOfProcessors() { - static int number_of_processors = internal::NumberOfProcessors(); - return number_of_processors; + #if BUILDFLAG(IS_MAC) + absl::optional<int> number_of_physical_cores = +@@ -161,7 +161,7 @@ int SysInfo::NumberOfProcessors() { + + return num_cpus; } -#endif // !BUILDFLAG(IS_OPENBSD) +#endif // !BUILDFLAG(IS_BSD) // static uint64_t SysInfo::AmountOfVirtualMemory() { -@@ -260,6 +260,8 @@ std::string SysInfo::OperatingSystemArchitecture() { +@@ -251,6 +251,8 @@ std::string SysInfo::OperatingSystemArchitecture() { arch = "x86"; } else if (arch == "amd64") { arch = "x86_64"; diff --git a/www/ungoogled-chromium/files/patch-base_system_sys__info__unittest.cc b/www/ungoogled-chromium/files/patch-base_system_sys__info__unittest.cc index 81c69c4e45a4..9d711ef21811 100644 --- a/www/ungoogled-chromium/files/patch-base_system_sys__info__unittest.cc +++ b/www/ungoogled-chromium/files/patch-base_system_sys__info__unittest.cc @@ -1,6 +1,6 @@ ---- base/system/sys_info_unittest.cc.orig 2023-02-11 09:11:04 UTC +--- base/system/sys_info_unittest.cc.orig 2023-08-18 10:26:52 UTC +++ base/system/sys_info_unittest.cc -@@ -259,12 +259,16 @@ TEST_F(SysInfoTest, GetHardwareInfo) { +@@ -263,12 +263,16 @@ TEST_F(SysInfoTest, GetHardwareInfo) { EXPECT_TRUE(IsStringUTF8(hardware_info->model)); bool empty_result_expected = #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_WIN) || \ diff --git a/www/ungoogled-chromium/files/patch-base_trace__event_malloc__dump__provider.cc b/www/ungoogled-chromium/files/patch-base_trace__event_malloc__dump__provider.cc index 0ccbb2266162..8bdd0cb482c4 100644 --- a/www/ungoogled-chromium/files/patch-base_trace__event_malloc__dump__provider.cc +++ b/www/ungoogled-chromium/files/patch-base_trace__event_malloc__dump__provider.cc @@ -1,4 +1,4 @@ ---- base/trace_event/malloc_dump_provider.cc.orig 2023-02-11 09:11:04 UTC +--- base/trace_event/malloc_dump_provider.cc.orig 2023-08-18 10:26:52 UTC +++ base/trace_event/malloc_dump_provider.cc @@ -25,6 +25,8 @@ @@ -9,7 +9,7 @@ #else #include <malloc.h> #endif -@@ -187,7 +189,7 @@ void ReportAppleAllocStats(size_t* total_virtual_size, +@@ -188,7 +190,7 @@ void ReportAppleAllocStats(size_t* total_virtual_size, #if (BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) && BUILDFLAG(IS_ANDROID)) || \ (!BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) && !BUILDFLAG(IS_WIN) && \ @@ -18,7 +18,7 @@ void ReportMallinfoStats(ProcessMemoryDump* pmd, size_t* total_virtual_size, size_t* resident_size, -@@ -358,6 +360,9 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDump +@@ -359,6 +361,9 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDump &allocated_objects_count); #elif BUILDFLAG(IS_FUCHSIA) // TODO(fuchsia): Port, see https://crbug.com/706592. diff --git a/www/ungoogled-chromium/files/patch-build_config_BUILD.gn b/www/ungoogled-chromium/files/patch-build_config_BUILD.gn index d751025e37b8..f1f90bb07bf5 100644 --- a/www/ungoogled-chromium/files/patch-build_config_BUILD.gn +++ b/www/ungoogled-chromium/files/patch-build_config_BUILD.gn @@ -1,22 +1,13 @@ ---- build/config/BUILD.gn.orig 2023-03-10 11:01:21 UTC +--- build/config/BUILD.gn.orig 2023-08-18 10:26:52 UTC +++ build/config/BUILD.gn -@@ -218,13 +218,17 @@ config("default_libs") { - "CoreText.framework", - "Foundation.framework", - ] -- } else if (is_linux || is_chromeos) { -+ } else if ((is_linux && !is_bsd) || is_chromeos) { - libs = [ - "dl", - "pthread", - "rt", - ] -- } +@@ -214,6 +214,10 @@ config("default_libs") { + # Targets should choose to explicitly link frameworks they require. Since + # linking can have run-time side effects, nothing should be listed here. + libs = [] + } else if (is_bsd) { + libs = [ + "pthread", + ] -+ } - } - - group("common_deps") { + } else if (is_linux || is_chromeos) { + libs = [ + "dl", diff --git a/www/ungoogled-chromium/files/patch-build_config_compiler_BUILD.gn b/www/ungoogled-chromium/files/patch-build_config_compiler_BUILD.gn index e626d4a16103..90452d39add9 100644 --- a/www/ungoogled-chromium/files/patch-build_config_compiler_BUILD.gn +++ b/www/ungoogled-chromium/files/patch-build_config_compiler_BUILD.gn @@ -1,4 +1,4 @@ ---- build/config/compiler/BUILD.gn.orig 2023-07-21 09:49:17 UTC +--- build/config/compiler/BUILD.gn.orig 2023-08-18 10:26:52 UTC +++ build/config/compiler/BUILD.gn @@ -249,13 +249,16 @@ config("default_include_dirs") { # Compiler instrumentation can introduce dependencies in DSOs to symbols in @@ -18,7 +18,7 @@ } # compiler --------------------------------------------------------------------- -@@ -497,6 +500,10 @@ config("compiler") { +@@ -500,6 +503,10 @@ config("compiler") { } } @@ -29,7 +29,7 @@ # Linux-specific compiler flags setup. # ------------------------------------ if (use_gold) { -@@ -572,7 +579,7 @@ config("compiler") { +@@ -575,7 +582,7 @@ config("compiler") { ldflags += [ "-Wl,-z,keep-text-section-prefix" ] } @@ -38,7 +38,7 @@ cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ] if (save_reproducers_on_lld_crash && use_lld) { ldflags += [ -@@ -757,7 +764,7 @@ config("compiler") { +@@ -760,7 +767,7 @@ config("compiler") { ldflags += [ "-Wl,-mllvm,-import-instr-limit=$import_instr_limit" ] @@ -47,7 +47,7 @@ # TODO(https://crbug.com/972449): turn on for ChromeOS when that # toolchain has this flag. # We only use one version of LLVM within a build so there's no need to -@@ -860,7 +867,7 @@ config("compiler") { +@@ -867,7 +874,7 @@ config("compiler") { # * Apple platforms (e.g. MacOS, iPhone, iPad) aren't supported because xcode # lldb doesn't have the needed changes yet. # TODO(crbug.com/1379070): Remove if the upstream default ever changes. @@ -56,7 +56,7 @@ cflags_cc += [ "-gsimple-template-names" ] } -@@ -1095,7 +1102,7 @@ config("compiler_cpu_abi") { +@@ -1109,7 +1116,7 @@ config("compiler_cpu_abi") { ] } } else if (current_cpu == "arm") { @@ -65,7 +65,7 @@ !(is_chromeos_lacros && is_chromeos_device)) { cflags += [ "--target=arm-linux-gnueabihf" ] ldflags += [ "--target=arm-linux-gnueabihf" ] -@@ -1110,7 +1117,7 @@ config("compiler_cpu_abi") { +@@ -1124,7 +1131,7 @@ config("compiler_cpu_abi") { cflags += [ "-mtune=$arm_tune" ] } } else if (current_cpu == "arm64") { @@ -74,7 +74,7 @@ !(is_chromeos_lacros && is_chromeos_device)) { cflags += [ "--target=aarch64-linux-gnu" ] ldflags += [ "--target=aarch64-linux-gnu" ] -@@ -1445,7 +1452,7 @@ config("compiler_deterministic") { +@@ -1459,7 +1466,7 @@ config("compiler_deterministic") { # different build directory like "out/feature_a" and "out/feature_b" if # we build same files with same compile flag. # Other paths are already given in relative, no need to normalize them. @@ -83,7 +83,7 @@ # TODO(https://crbug.com/1231236): Use -ffile-compilation-dir= here. cflags += [ "-Xclang", -@@ -1497,7 +1504,7 @@ config("compiler_deterministic") { +@@ -1511,7 +1518,7 @@ config("compiler_deterministic") { } config("clang_revision") { @@ -92,7 +92,7 @@ update_args = [ "--print-revision", "--verify-version=$clang_version", -@@ -1735,7 +1742,7 @@ config("default_warnings") { +@@ -1759,7 +1766,7 @@ config("default_warnings") { "-Wno-ignored-pragma-optimize", ] @@ -101,7 +101,7 @@ cflags += [ # TODO(crbug.com/1343975) Evaluate and possibly enable. "-Wno-deprecated-builtins", -@@ -1926,7 +1933,7 @@ config("no_chromium_code") { +@@ -1962,7 +1969,7 @@ config("no_chromium_code") { # third-party libraries. "-Wno-c++11-narrowing", ] @@ -110,7 +110,7 @@ cflags += [ # Disabled for similar reasons as -Wunused-variable. "-Wno-unused-but-set-variable", -@@ -2436,7 +2443,7 @@ config("afdo_optimize_size") { +@@ -2472,7 +2479,7 @@ config("afdo_optimize_size") { # There are some targeted places that AFDO regresses, so we provide a separate # config to allow AFDO to be disabled per-target. config("afdo") { @@ -119,7 +119,7 @@ cflags = [] if (clang_emit_debug_info_for_profiling) { # Add the following flags to generate debug info for profiling. -@@ -2455,7 +2462,7 @@ config("afdo") { +@@ -2491,7 +2498,7 @@ config("afdo") { } inputs = [ _clang_sample_profile ] } @@ -128,7 +128,7 @@ cflags = [ "-fauto-profile=${auto_profile_path}" ] inputs = [ auto_profile_path ] } -@@ -2613,7 +2620,8 @@ config("symbols") { +@@ -2649,7 +2656,8 @@ config("symbols") { configs += [ "//build/config:compress_debug_sections" ] } diff --git a/www/ungoogled-chromium/files/patch-build_config_compiler_pgo_BUILD.gn b/www/ungoogled-chromium/files/patch-build_config_compiler_pgo_BUILD.gn index 1311fb343575..661ed14fe4fa 100644 --- a/www/ungoogled-chromium/files/patch-build_config_compiler_pgo_BUILD.gn +++ b/www/ungoogled-chromium/files/patch-build_config_compiler_pgo_BUILD.gn @@ -1,6 +1,6 @@ ---- build/config/compiler/pgo/BUILD.gn.orig 2023-07-21 09:49:17 UTC +--- build/config/compiler/pgo/BUILD.gn.orig 2023-08-18 10:26:52 UTC +++ build/config/compiler/pgo/BUILD.gn -@@ -121,13 +121,14 @@ config("pgo_optimization_flags") { +@@ -128,13 +128,14 @@ config("pgo_optimization_flags") { # Enable basic block layout based on the extended TSP problem. This aims to # improve icache utilization and reduce the binary size. diff --git a/www/ungoogled-chromium/files/patch-build_toolchain_gcc__toolchain.gni b/www/ungoogled-chromium/files/patch-build_toolchain_gcc__toolchain.gni index 5cf5950bf713..e2a4e731fed9 100644 --- a/www/ungoogled-chromium/files/patch-build_toolchain_gcc__toolchain.gni +++ b/www/ungoogled-chromium/files/patch-build_toolchain_gcc__toolchain.gni @@ -1,4 +1,4 @@ ---- build/toolchain/gcc_toolchain.gni.orig 2023-07-21 09:49:17 UTC +--- build/toolchain/gcc_toolchain.gni.orig 2023-08-18 10:26:52 UTC +++ build/toolchain/gcc_toolchain.gni @@ -53,6 +53,13 @@ if (enable_resource_allowlist_generation) { "enable_resource_allowlist_generation=true does not work for target_os=$target_os") @@ -14,7 +14,7 @@ # This template defines a toolchain for something that works like gcc # (including clang). # -@@ -869,22 +876,12 @@ template("gcc_toolchain") { +@@ -876,22 +883,12 @@ template("gcc_toolchain") { # use_gold too. template("clang_toolchain") { gcc_toolchain(target_name) { diff --git a/www/ungoogled-chromium/files/patch-build_toolchain_toolchain.gni b/www/ungoogled-chromium/files/patch-build_toolchain_toolchain.gni new file mode 100644 index 000000000000..0a5ec6aad3ab --- /dev/null +++ b/www/ungoogled-chromium/files/patch-build_toolchain_toolchain.gni @@ -0,0 +1,11 @@ +--- build/toolchain/toolchain.gni.orig 2023-08-18 10:26:52 UTC ++++ build/toolchain/toolchain.gni +@@ -62,7 +62,7 @@ if (host_os == "mac") { + host_shlib_extension = ".dylib" + } else if (host_os == "win") { + host_shlib_extension = ".dll" +-} else if (host_os == "linux") { *** 8363 LINES SKIPPED ***