git: 728bc01f5634 - 2023Q1 - www/ungoogled-chromium: update to 110.0.5481.77
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Feb 2023 15:07:37 UTC
The branch 2023Q1 has been updated by rnagy: URL: https://cgit.FreeBSD.org/ports/commit/?id=728bc01f56344fb5170f7306ec17108439e0b9d9 commit 728bc01f56344fb5170f7306ec17108439e0b9d9 Author: Robert Nagy <rnagy@FreeBSD.org> AuthorDate: 2023-02-11 11:08:30 +0000 Commit: Robert Nagy <rnagy@FreeBSD.org> CommitDate: 2023-02-12 15:07:26 +0000 www/ungoogled-chromium: update to 110.0.5481.77 Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/310ca30e-a951-11ed-8314-a8a1599412c6.html (cherry picked from commit bb28c2cb8d17a6e5c71f64dc8154c90c71e3ab66) --- www/ungoogled-chromium/Makefile | 7 ++- www/ungoogled-chromium/distinfo | 14 ++--- www/ungoogled-chromium/files/patch-BUILD.gn | 18 +++--- www/ungoogled-chromium/files/patch-base_BUILD.gn | 28 +++++---- .../files/patch-base_allocator_dispatcher_tls.h | 11 ++++ ...__allocator_page__allocator__internals__posix.h | 6 +- ...rtition__allocator_partition__address__space.cc | 4 +- ...cator_partition__allocator_partition__alloc.gni | 6 +- ...partition__allocator_partition__alloc__config.h | 8 +-- ...tition__allocator_partition__alloc__constants.h | 14 ++--- .../files/patch-base_debug_stack__trace__posix.cc | 8 +-- .../files/patch-base_files_file__path__watcher.h | 11 ++++ ...tch-base_files_file__path__watcher__unittest.cc | 10 ++-- .../patch-base_functional_unretained__traits.h | 11 ++++ .../files/patch-base_i18n_icu__util.cc | 6 +- .../files/patch-base_logging__unittest.cc | 4 +- ...mory_platform__shared__memory__region__posix.cc | 6 +- .../files/patch-base_process_memory.cc | 11 ---- .../files/patch-base_process_memory__linux.cc | 44 ++++++++++++++ ...e_profiler_sampling__profiler__thread__token.cc | 6 +- ...se_profiler_sampling__profiler__thread__token.h | 6 +- ...ch-base_profiler_stack__base__address__posix.cc | 24 +++++--- ...ofiler_stack__sampling__profiler__test__util.cc | 4 +- .../files/patch-base_system_sys__info.cc | 4 +- .../files/patch-base_system_sys__info.h | 6 +- .../files/patch-base_system_sys__info__posix.cc | 6 +- .../files/patch-base_system_sys__info__unittest.cc | 4 +- .../patch-base_test_launcher_test__launcher.cc | 4 +- .../files/patch-base_threading_platform__thread.h | 11 ---- ...patch-base_threading_platform__thread__linux.cc | 45 ++++++++------ ...ch-base_threading_platform__thread__unittest.cc | 6 +- ...tch-base_trace__event_malloc__dump__provider.cc | 8 +-- .../files/patch-build_config_compiler_BUILD.gn | 22 +++---- .../files/patch-build_config_rust.gni | 4 +- .../files/patch-build_linux_unbundle_openh264.gn | 21 ------- ...atch-build_linux_unbundle_replace__gn__files.py | 6 +- .../files/patch-build_toolchain_gcc__toolchain.gni | 4 +- www/ungoogled-chromium/files/patch-cc_BUILD.gn | 6 +- .../patch-chrome_app_chrome__main__delegate.cc | 26 ++++----- .../patch-chrome_app_generated__resources.grd | 16 ++--- .../files/patch-chrome_app_settings__strings.grdp | 6 +- ...hrome_app_theme_chrome__unscaled__resources.grd | 34 +++++------ .../patch-chrome_app_theme_theme__resources.grd | 64 +++++++++++--------- .../files/patch-chrome_browser_about__flags.cc | 36 ++++++------ .../patch-chrome_browser_browser__process__impl.cc | 6 +- .../patch-chrome_browser_browser__process__impl.h | 4 +- ..._browser_chrome__browser__interface__binders.cc | 14 ++--- .../patch-chrome_browser_chrome__browser__main.cc | 6 +- ...ome_browser_chrome__content__browser__client.cc | 28 ++++----- ...rome_browser_chrome__content__browser__client.h | 4 +- ...t__settings_chrome__content__settings__utils.cc | 11 ---- ...-chrome_browser_dev__ui__browser__resources.grd | 4 +- ...download_chrome__download__manager__delegate.cc | 6 +- ...rome_browser_download_download__file__picker.cc | 4 +- ...hrome_browser_download_download__item__model.cc | 8 +-- ...er_enterprise_connectors_connectors__service.cc | 11 ++++ ...ctors_reporting_browser__crash__event__router.h | 8 +-- .../files/patch-chrome_browser_extensions_BUILD.gn | 4 +- ...browser__context__keyed__service__factories.cc} | 10 ++-- ...writer__private_removable__storage__provider.cc | 4 +- ...__private_passwords__private__delegate__impl.cc | 4 +- ...extensions_api_settings__private_prefs__util.cc | 6 +- ..._browser_extensions_external__provider__impl.cc | 6 +- ...e__file__system__access__permission__context.cc | 10 ++-- .../patch-chrome_browser_flag__descriptions.cc | 25 +++----- .../patch-chrome_browser_flag__descriptions.h | 23 ++++++-- ...ser_media_webrtc_webrtc__logging__controller.cc | 8 +-- ...ser_metrics_chrome__metrics__service__client.cc | 12 ++-- ...ch-chrome_browser_metrics_perf_cpu__identity.cc | 4 +- ...rowser_net_system__network__context__manager.cc | 8 +-- ...d__manager_password__reuse__manager__factory.cc | 4 +- .../patch-chrome_browser_platform__util__linux.cc | 4 +- ...wser__cloud__management__controller__desktop.cc | 10 ++-- ...onfiguration__policy__handler__list__factory.cc | 44 ++++++++------ .../patch-chrome_browser_prefs_browser__prefs.cc | 14 ++--- ...er_printing_print__backend__service__manager.cc | 8 +-- ...h-chrome_browser_printing_print__job__worker.cc | 8 +-- ...tch-chrome_browser_process__singleton__posix.cc | 6 +- ...hrome__browser__main__extra__parts__profiles.cc | 6 +- .../patch-chrome_browser_profiles_profile__impl.cc | 6 +- ...ources_sandbox__internals_sandbox__internals.ts | 4 +- ...atch-chrome_browser_resources_settings_route.ts | 4 +- ...sync__confirmation_sync__confirmation__app.html | 10 ++-- ...dent__reporting_incident__reporting__service.cc | 4 +- ...tch-chrome_browser_sync_chrome__sync__client.cc | 31 +++++++++- ...h-chrome_browser_sync_sync__service__factory.cc | 29 +++++++++ ..._task__manager_sampling_task__group__sampler.cc | 16 ++--- .../patch-chrome_browser_themes_theme__service.cc | 6 +- ...rome_browser_ui_browser__command__controller.cc | 10 ++-- .../files/patch-chrome_browser_ui_chrome__pages.cc | 6 +- .../files/patch-chrome_browser_ui_chrome__pages.h | 6 +- ...h-chrome_browser_ui_signin__view__controller.cc | 4 +- ...chrome_browser_ui_startup_bad__flags__prompt.cc | 4 +- ...browser_ui_startup_startup__browser__creator.cc | 6 +- ...r_ui_startup_startup__browser__creator__impl.cc | 4 +- .../files/patch-chrome_browser_ui_tab__helpers.cc | 28 +++------ ...h-chrome_browser_ui_views_accelerator__table.cc | 16 ++--- ...browser_ui_views_bubble__anchor__util__views.cc | 11 ---- ...rome_browser_ui_views_chrome__views__delegate.h | 4 +- ...er__non__client__frame__view__factory__views.cc | 14 ++--- ...-chrome_browser_ui_views_frame_browser__view.cc | 4 +- ...e_picture__in__picture__browser__frame__view.cc | 68 +++++++++++++++++----- ...me_picture__in__picture__browser__frame__view.h | 14 ++--- ...chrome_browser_ui_views_hung__renderer__view.cc | 4 +- ...es_signin__view__controller__delegate__views.cc | 4 +- ..._browser_ui_views_tabs_tab__drag__controller.cc | 8 +-- ..._ui_webui_app__home_app__home__page__handler.cc | 20 +++++++ ...i_webui_chrome__web__ui__controller__factory.cc | 14 ++--- ..._browser_ui_webui_ntp_app__launcher__handler.cc | 6 +- ...tings_settings__localized__strings__provider.cc | 8 +-- ...ications_extensions_extension__status__utils.cc | 8 +-- ...lications_os__integration_web__app__shortcut.cc | 12 ++-- ...plications_os__integration_web__app__shortcut.h | 10 ++-- ..._os__integration_web__app__shortcut__manager.cc | 4 +- ...browser_web__applications_web__app__provider.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__switches.cc | 4 +- .../files/patch-chrome_common_chrome__switches.h | 4 +- ...ch-chrome_common_media_cdm__host__file__path.cc | 4 +- .../files/patch-chrome_common_pref__names.cc | 10 ++-- .../files/patch-chrome_common_pref__names.h | 10 ++-- .../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 | 8 +-- ...vices_printing_print__backend__service__impl.cc | 14 ++--- .../files/patch-chrome_test_BUILD.gn | 4 +- ...ch-chrome_test_chromedriver_chrome__launcher.cc | 4 +- ...rome_test_chromedriver_chrome_chrome__finder.cc | 6 +- ...interaction_interaction__test__util__browser.cc | 4 +- .../files/patch-chrome_updater_app_app__install.cc | 11 ---- .../patch-chrome_updater_app_app__uninstall.cc | 11 ---- .../files/patch-chrome_updater_configurator.cc | 11 ++++ .../files/patch-chrome_updater_installer.cc | 11 ---- .../files/patch-chrome_updater_ipc_ipc__names.h | 11 ++++ .../files/patch-chrome_updater_updater.cc | 15 +---- .../files/patch-chrome_updater_util.cc | 20 ------- .../files/patch-chrome_updater_util_posix__util.cc | 20 +++++++ .../files/patch-chrome_utility_services.cc | 8 +-- ...hromecast_browser_cast__browser__main__parts.cc | 8 +-- ...ecast_browser_cast__content__browser__client.cc | 4 +- ..._autofill__assistant_browser_client__context.cc | 11 ---- ..._assistant_browser_client__context__unittest.cc | 20 ------- ...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 +- ...eature__engagement_public_feature__constants.cc | 4 +- ...feature__engagement_public_feature__constants.h | 4 +- ...nts_feature__engagement_public_feature__list.cc | 4 +- ...ents_feature__engagement_public_feature__list.h | 12 ++-- .../patch-components_feed_core_v2_proto__util.cc | 6 +- ...nts_named__mojo__ipc__server_connection__info.h | 20 +++++++ ...erver_named__mojo__ipc__server__client__util.cc | 11 ++++ ...patch-components_neterror_resources_neterror.js | 4 +- ...aint__preview_browser_paint__preview__client.cc | 4 +- ..._preview_player_player__compositor__delegate.cc | 4 +- ...ssword__manager_core_browser_login__database.cc | 8 +-- ...nager_core_browser_login__database__unittest.cc | 10 ++-- ...ger_core_browser_sync_password__sync__bridge.cc | 8 +-- ...ager_core_common_password__manager__features.cc | 19 ++++-- ...nager_core_common_password__manager__features.h | 10 ++-- ...icy_core_browser_policy__pref__mapping__test.cc | 4 +- ...licy_core_common_cloud_cloud__policy__client.cc | 4 +- ..._default__model_cross__device__user__segment.cc | 4 +- ...sync__device__info_local__device__info__util.cc | 8 +-- ..._formatter_spoof__checks_idn__spoof__checker.cc | 4 +- ...isplay__embedder_skia__output__surface__impl.cc | 13 +---- ..._display__embedder_software__output__surface.cc | 6 +- ...omponents_viz_service_display_skia__renderer.cc | 4 +- .../files/patch-content_app_content__main.cc | 4 +- ...atch-content_app_content__main__runner__impl.cc | 34 +++++++---- .../files/patch-content_browser_BUILD.gn | 4 +- .../patch-content_browser_browser__main__loop.cc | 8 +-- ...wser_child__process__launcher__helper__linux.cc | 4 +- ...wser_devtools_protocol_system__info__handler.cc | 4 +- ...patch-content_browser_gpu_gpu__process__host.cc | 10 ++-- ...rowser_renderer__host_delegated__frame__host.cc | 4 +- ...owser_renderer__host_render__message__filter.cc | 29 --------- ...rowser_renderer__host_render__message__filter.h | 18 ------ ...r_renderer__host_render__process__host__impl.cc | 23 +++++--- ...er_renderer__host_render__process__host__impl.h | 10 ++-- ...eduler_responsiveness_native__event__observer.h | 14 ++--- .../patch-content_browser_v8__snapshot__files.cc | 8 +-- ...rowser_zygote__host_zygote__host__impl__linux.h | 6 +- .../files/patch-content_common_BUILD.gn | 11 +++- .../patch-content_common_font__list__unittest.cc | 4 +- .../files/patch-content_gpu_gpu__main.cc | 12 ++-- ...ch-content_ppapi__plugin_ppapi__plugin__main.cc | 6 +- ...-content_public_browser_render__process__host.h | 4 +- ...blic_browser_zygote__host_zygote__host__linux.h | 4 +- ...t_public_common_common__param__traits__macros.h | 4 +- ...atch-content_public_common_content__features.cc | 17 ++++-- ...patch-content_public_common_content__features.h | 13 ++++- ...atch-content_public_common_content__switches.cc | 4 +- ...patch-content_public_common_content__switches.h | 4 +- ...ntent_public_test_mock__render__process__host.h | 4 +- .../files/patch-content_renderer_BUILD.gn | 16 +++++ ...patch-content_renderer_render__process__impl.cc | 4 +- .../patch-content_renderer_render__thread__impl.cc | 32 +++++----- ...ent_renderer_renderer__blink__platform__impl.cc | 19 ++---- ...tent_renderer_renderer__blink__platform__impl.h | 17 ++---- .../files/patch-content_shell_BUILD.gn | 4 +- ...atch-content_shell_app_shell__main__delegate.cc | 4 +- ...nt_shell_browser_shell__browser__main__parts.cc | 6 +- ...hell_utility_shell__content__utility__client.cc | 4 +- .../files/patch-content_test_BUILD.gn | 6 +- .../files/patch-content_utility_services.cc | 28 +++++++-- .../files/patch-content_zygote_zygote__linux.cc | 4 +- .../patch-device_gamepad_gamepad__provider.cc | 4 +- .../patch-extensions_browser_extension__prefs.cc | 4 +- .../files/patch-extensions_browser_pref__names.cc | 4 +- .../files/patch-extensions_browser_pref__names.h | 4 +- ...__buffer_common_gpu__memory__buffer__support.cc | 6 +- ...image_angle__vulkan__image__backing__factory.cc | 4 +- ...e_shared__image_external__vk__image__backing.cc | 12 ++-- ..._image_external__vk__image__backing__factory.cc | 11 ++++ ...ce_shared__image_gl__texture__image__backing.cc | 4 +- ...__image_gl__texture__image__backing__factory.cc | 4 +- ...service_shared__image_shared__image__manager.cc | 11 ++++ ...__image_wrapped__sk__image__backing__factory.cc | 4 +- ...ommand__buffer_service_webgpu__decoder__impl.cc | 4 +- .../files/patch-gpu_ipc_service_gpu__init.cc | 6 +- ...gpu_ipc_service_gpu__memory__buffer__factory.cc | 4 +- .../files/patch-gpu_vulkan_vulkan__image.cc | 4 +- .../files/patch-gpu_vulkan_vulkan__image.h | 6 +- ...ss_lib_browser_headless__web__contents__impl.cc | 4 +- ...adless_lib_headless__content__main__delegate.cc | 4 +- .../files/patch-ipc_ipc__channel__common.cc | 4 +- .../files/patch-ipc_ipc__channel__mojo.cc | 4 +- www/ungoogled-chromium/files/patch-media_BUILD.gn | 4 +- .../files/patch-media_audio_BUILD.gn | 4 +- ...h-media_audio_audio__output__proxy__unittest.cc | 4 +- .../files/patch-media_audio_sndio_sndio__output.cc | 4 +- .../files/patch-media_base_media__switches.cc | 32 +++++++--- .../files/patch-media_base_media__switches.h | 8 +-- ...ch-media_base_user__input__monitor__unittest.cc | 4 +- .../files/patch-media_base_video__frame.cc | 8 +-- ...capture_video_video__capture__device__client.cc | 4 +- ...-media_gpu_chromeos_video__decoder__pipeline.cc | 6 +- ...gpu_gpu__video__encode__accelerator__factory.cc | 4 +- ...dware__video__decoding__sandbox__hook__linux.cc | 38 ++++++++---- .../patch-media_gpu_vaapi_vaapi__video__decoder.cc | 4 +- .../files/patch-media_gpu_vaapi_vaapi__wrapper.cc | 4 +- .../files/patch-media_media__options.gni | 6 +- ...stable__video__decoder__types__mojom__traits.cc | 6 +- ...ideo_gpu__memory__buffer__video__frame__pool.cc | 8 +-- ...ia_video_video__encode__accelerator__adapter.cc | 8 +-- ...eo_video__encode__accelerator__adapter__test.cc | 4 +- .../files/patch-media_webrtc_helpers.cc | 22 +++---- .../files/patch-media_webrtc_helpers__unittests.cc | 31 ++++++---- .../files/patch-mojo_core_BUILD.gn | 4 +- .../files/patch-mojo_core_channel.cc | 4 +- .../patch-mojo_public_tools_bindings_mojom.gni | 4 +- www/ungoogled-chromium/files/patch-net_BUILD.gn | 18 +++--- .../files/patch-net_cert_cert__verify__proc.cc | 4 +- .../patch-net_cert_cert__verify__proc__unittest.cc | 4 +- .../files/patch-net_dns_BUILD.gn | 8 +-- .../files/patch-net_dns_dns__util.cc | 8 +-- .../patch-net_dns_host__resolver__system__task.cc | 6 +- .../files/patch-net_socket_udp__socket__posix.cc | 8 +-- .../patch-net_socket_udp__socket__unittest.cc | 12 ++-- .../patch-net_tools_net__watcher_net__watcher.cc | 29 +++++++++ ..._url__request_url__request__context__builder.cc | 4 +- .../files/patch-pdf_pdfium_pdfium__engine.cc | 6 +- .../files/patch-printing_print__settings.cc | 6 +- .../files/patch-printing_print__settings.h | 10 ++-- .../patch-printing_print__settings__conversion.cc | 8 +-- ...sandbox_print__backend__sandbox__hook__linux.cc | 14 ++--- .../files/patch-remoting_host_chromoting__host.cc | 10 ++-- ...ting_host_chromoting__host__services__client.cc | 6 +- .../files/patch-remoting_host_ipc__constants.cc | 4 +- ...ch-remoting_host_me2me__desktop__environment.cc | 13 ++++- ...bauthn_remote__webauthn__extension__notifier.cc | 8 +-- ...atch-remoting_protocol_webrtc__video__stream.cc | 4 +- .../files/patch-sandbox_linux_BUILD.gn | 49 +++++----------- ...atch-sandbox_policy_freebsd_sandbox__freebsd.cc | 16 +---- ...atch-sandbox_policy_openbsd_sandbox__openbsd.cc | 16 +---- .../files/patch-sandbox_policy_switches.cc | 6 +- ...ices_device_geolocation_location__arbitrator.cc | 4 +- .../files/patch-services_network_BUILD.gn | 4 +- ...p_stack__sampling_tracing__sampler__profiler.cc | 11 ++++ .../files/patch-third__party_angle_BUILD.gn | 10 ++-- ...tch-third__party_angle_src_libANGLE_Display.cpp | 14 ++--- .../files/patch-third__party_angle_util_BUILD.gn | 4 +- ...h-third__party_blink_public_platform_platform.h | 4 +- ...blink_renderer_core_exported_web__view__impl.cc | 4 +- ...y_blink_renderer_core_frame_web__frame__test.cc | 6 +- ...party_blink_renderer_core_paint_paint__layer.cc | 4 +- ...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 | 11 ++++ ...h-third__party_blink_renderer_platform_BUILD.gn | 4 +- ...ty_blink_renderer_platform_fonts_font__cache.cc | 4 +- ...nk_renderer_platform_fonts_font__description.cc | 4 +- ...renderer_platform_fonts_font__platform__data.cc | 4 +- ..._peerconnection_rtc__video__encoder__factory.cc | 6 +- ...derer_platform_runtime__enabled__features.json5 | 10 ++-- ...arty_blink_renderer_platform_wtf_stack__util.cc | 4 +- ...atch-third__party_boringssl_BUILD.generated.gni | 8 +-- ...ringssl_src_crypto_chacha_asm_chacha-x86__64.pl | 18 ++++++ ...rypto_cipher__extra_asm_aes128gcmsiv-x86__64.pl | 19 ++++++ ...ipher__extra_asm_chacha20__poly1305__x86__64.pl | 18 ++++++ ..._src_crypto_fipsmodule_aes_asm_aesni-x86__64.pl | 18 ++++++ ..._src_crypto_fipsmodule_aes_asm_vpaes-x86__64.pl | 10 ++++ ...l_src_crypto_fipsmodule_bn_asm_x86__64-mont5.pl | 16 +++++ ...rc_crypto_fipsmodule_ec_asm_p256-x86__64-asm.pl | 18 ++++++ ...rypto_fipsmodule_modes_asm_aesni-gcm-x86__64.pl | 18 ++++++ ...pto_fipsmodule_modes_asm_ghash-ssse3-x86__64.pl | 18 ++++++ ...rc_crypto_fipsmodule_modes_asm_ghash-x86__64.pl | 18 ++++++ ...l_src_crypto_fipsmodule_sha_asm_sha1-x86__64.pl | 18 ++++++ ...src_crypto_fipsmodule_sha_asm_sha512-x86__64.pl | 30 ++++++++++ ...ty_boringssl_src_util_generate__build__files.py | 34 +++++++++++ ...d__party_distributed__point__functions_BUILD.gn | 12 ++++ ...g_chromium_config_Chrome_openbsd_x64_config.asm | 19 ++++-- ...peg_chromium_config_Chrome_openbsd_x64_config.h | 21 +++++-- ..._config_Chrome_openbsd_x64_config__components.h | 46 ++++++++++++++- .../files/patch-third__party_libsync_src_sync.c | 10 ++-- .../files/patch-third__party_pdfium_pdfium.gni | 6 +- ...etto_src_tracing_core_tracing__service__impl.cc | 4 +- ...-third__party_sqlite_src_amalgamation_sqlite3.c | 6 +- ...patch-third__party_swiftshader_src_WSI_BUILD.gn | 11 ---- .../files/patch-third__party_wayland_BUILD.gn | 14 +++++ .../files/patch-third__party_wayland_features.gni | 20 ------- .../patch-third__party_wayland_include_config.h | 14 +++++ .../files/patch-third__party_webrtc_BUILD.gn | 4 +- ...rd__party_webrtc__overrides_metronome__source.h | 10 ---- .../patch-third__party_webrtc_rtc__base_BUILD.gn | 4 +- ...tch-third__party_webrtc_rtc__base_byte__order.h | 4 +- .../patch-third__party_webrtc_rtc__base_network.cc | 4 +- ...rty_webrtc_rtc__base_platform__thread__types.cc | 21 +++---- .../files/patch-ui_aura_screen__ozone.cc | 4 +- .../files/patch-ui_aura_screen__ozone.h | 4 +- .../patch-ui_base_clipboard_clipboard__constants.h | 8 +-- .../patch-ui_base_resource_resource__bundle.cc | 4 +- .../files/patch-ui_base_ui__base__features.cc | 4 +- .../files/patch-ui_color_color__id.h | 4 +- .../files/patch-ui_compositor_compositor.cc | 4 +- .../files/patch-ui_compositor_compositor.h | 4 +- .../files/patch-ui_display_screen.h | 6 +- www/ungoogled-chromium/files/patch-ui_gl_BUILD.gn | 12 ++-- .../files/patch-ui_gl_generate__bindings.py | 12 ---- .../files/patch-ui_gl_gl__bindings.h | 11 ++++ .../patch-ui_gl_gl__bindings__api__autogen__glx.h | 10 ---- .../patch-ui_gl_gl__bindings__autogen__glx.cc | 61 ------------------- .../files/patch-ui_gl_gl__bindings__autogen__glx.h | 43 -------------- .../patch-ui_gl_gl__image__glx__native__pixmap.cc | 11 ---- .../patch-ui_native__theme_native__theme__base.cc | 4 +- ...ne_platform_wayland_ozone__platform__wayland.cc | 29 +++++++++ ...i_platform__window_platform__window__delegate.h | 4 +- .../patch-ui_views_controls_textfield_textfield.cc | 4 +- .../files/patch-ui_views_corewm_tooltip__aura.cc | 4 +- .../files/patch-ui_views_style_platform__style.cc | 14 ++--- ...__aura_desktop__window__tree__host__platform.cc | 10 ++-- www/ungoogled-chromium/files/patch-v8_BUILD.gn | 8 +-- .../files/patch-v8_src_api_api.cc | 4 +- .../files/patch-v8_src_base_platform_memory.h | 10 ++-- .../files/patch-v8_src_execution_isolate.cc | 25 ++++++++ .../files/patch-v8_src_flags_flags.cc | 26 --------- .../files/patch-v8_src_sandbox_sandbox.cc | 4 +- ..._embedded_platform-embedded-file-writer-base.cc | 11 ++++ ...t_embedded_platform-embedded-file-writer-base.h | 10 ++++ ...bedded_platform-embedded-file-writer-generic.cc | 40 +++++++++++++ ...layer_browser_content__browser__client__impl.cc | 4 +- 366 files changed, 2188 insertions(+), 1694 deletions(-) diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile index 0545d5db3e1a..7a7274440402 100644 --- a/www/ungoogled-chromium/Makefile +++ b/www/ungoogled-chromium/Makefile @@ -1,5 +1,5 @@ PORTNAME= ungoogled-chromium -PORTVERSION= 109.0.5414.119 +PORTVERSION= 110.0.5481.77 UGVERSION= ${DISTVERSION}-1 CATEGORIES= www wayland MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ @@ -43,7 +43,9 @@ LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-atk \ libspeex.so:audio/speex \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ + libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ + libffi.so:devel/libffi \ libicuuc.so:devel/icu \ libjsoncpp.so:devel/jsoncpp \ libpci.so:devel/libpci \ @@ -112,9 +114,8 @@ GN_ARGS+= fatal_linker_warnings=false \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ + use_system_libffi=true \ use_system_libjpeg=true \ - use_system_libwayland=true \ - use_system_wayland_scanner=true \ use_udev=false \ extra_cxxflags="${CXXFLAGS}" \ extra_ldflags="${LDFLAGS}" diff --git a/www/ungoogled-chromium/distinfo b/www/ungoogled-chromium/distinfo index 438b278cd563..fce742cd2f00 100644 --- a/www/ungoogled-chromium/distinfo +++ b/www/ungoogled-chromium/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1674739343 -SHA256 (chromium-109.0.5414.119.tar.xz) = cbcdef5ee71acb53790ded3adef86871812b46e9f208dce8ec3f8ab04958be2d -SIZE (chromium-109.0.5414.119.tar.xz) = 1747968612 -SHA256 (ungoogled-chromium-109.0.5414.119-1.tar.gz) = e10fe46f3f4b7058c278ab86c6795cc2b68459bcb7ced5efad3355ab5c2f5de1 -SIZE (ungoogled-chromium-109.0.5414.119-1.tar.gz) = 671793 -SHA256 (chromium-109.0.5414.119-testdata.tar.xz) = 8781e0dde6b4ec48a2863cf14911d6d6e645b949134c9743e38e9522b889704f -SIZE (chromium-109.0.5414.119-testdata.tar.xz) = 264800856 +TIMESTAMP = 1676106046 +SHA256 (chromium-110.0.5481.77.tar.xz) = e348ab2dc4311083e729d714a81e95dd9db108ff71437dde451c97ac939881ce +SIZE (chromium-110.0.5481.77.tar.xz) = 1703346520 +SHA256 (ungoogled-chromium-110.0.5481.77-1.tar.gz) = 6620119d0b683b989da771885dd186185cc3b8e37e1b4cf143004f340446cbae +SIZE (ungoogled-chromium-110.0.5481.77-1.tar.gz) = 671991 +SHA256 (chromium-110.0.5481.77-testdata.tar.xz) = a66d415305285c71cefb26a276903abba1de94327424982745719c7b13cb9a64 +SIZE (chromium-110.0.5481.77-testdata.tar.xz) = 263374384 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 ee31e08c4ec4..6528678063ad 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-01-13 08:56:02 UTC +--- BUILD.gn.orig 2023-02-11 09:11:04 UTC +++ BUILD.gn @@ -60,7 +60,7 @@ declare_args() { root_extra_deps = [] @@ -17,7 +17,7 @@ "//net:net_unittests", "//sandbox:sandbox_unittests", "//services:services_unittests", -@@ -434,7 +433,7 @@ group("gn_all") { +@@ -425,7 +424,7 @@ group("gn_all") { ] } @@ -26,8 +26,8 @@ deps += [ "//third_party/breakpad:breakpad_unittests", "//third_party/breakpad:core-2-minidump", -@@ -629,6 +628,15 @@ group("gn_all") { - deps += [ "//gpu/tools/compositor_model_bench" ] +@@ -616,6 +615,15 @@ group("gn_all") { + } } + if (is_bsd) { @@ -42,7 +42,7 @@ if (is_mac) { deps += [ "//third_party/breakpad:crash_inspector", -@@ -677,7 +685,7 @@ group("gn_all") { +@@ -664,7 +672,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)" ] } -@@ -1107,7 +1115,7 @@ if (!is_ios) { +@@ -1086,7 +1094,7 @@ if (!is_ios) { ] } @@ -60,7 +60,7 @@ # WPT Webdriver tests runner # chrome/test/chromedriver/test/run_webdriver_tests.py script_test("webdriver_wpt_tests") { -@@ -1203,7 +1211,7 @@ if (!is_ios) { +@@ -1182,7 +1190,7 @@ if (!is_ios) { 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)" ] } -@@ -1212,7 +1220,7 @@ if (!is_ios) { +@@ -1191,7 +1199,7 @@ if (!is_ios) { data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] } @@ -78,7 +78,7 @@ data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] } -@@ -1652,7 +1660,7 @@ group("chromium_builder_perf") { +@@ -1656,7 +1664,7 @@ group("chromium_builder_perf") { data_deps += [ "//chrome/test:performance_browser_tests" ] } diff --git a/www/ungoogled-chromium/files/patch-base_BUILD.gn b/www/ungoogled-chromium/files/patch-base_BUILD.gn index e5e53824e65e..d6b9c663f0ab 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 2023-01-13 08:56:02 UTC +--- base/BUILD.gn.orig 2023-02-11 09:11:04 UTC +++ base/BUILD.gn -@@ -167,7 +167,7 @@ buildflag_header("ios_cronet_buildflags") { +@@ -162,7 +162,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" -@@ -1059,7 +1059,7 @@ mixed_component("base") { +@@ -1052,7 +1052,7 @@ component("base") { "timer/hi_res_timer_manager_posix.cc", ] @@ -18,7 +18,7 @@ sources += [ "profiler/stack_base_address_posix.cc", "profiler/stack_base_address_posix.h", -@@ -1070,6 +1070,14 @@ mixed_component("base") { +@@ -1063,6 +1063,14 @@ component("base") { "profiler/thread_delegate_posix.h", ] } @@ -33,7 +33,7 @@ } if (is_win) { -@@ -1569,11 +1577,23 @@ mixed_component("base") { +@@ -1550,11 +1558,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. @@ -58,7 +58,7 @@ if (use_allocator_shim) { sources += [ "allocator/partition_allocator/shim/allocator_shim.cc", -@@ -1601,7 +1621,7 @@ mixed_component("base") { +@@ -1582,7 +1602,7 @@ component("base") { ] configs += [ "//base/allocator:mac_no_default_new_delete_symbols" ] } @@ -67,7 +67,7 @@ sources += [ "allocator/partition_allocator/shim/allocator_shim_override_cpp_symbols.h", "allocator/partition_allocator/shim/allocator_shim_override_glibc_weak_symbols.h", -@@ -1655,7 +1675,7 @@ mixed_component("base") { +@@ -1623,7 +1643,7 @@ component("base") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -76,7 +76,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -2238,6 +2258,41 @@ mixed_component("base") { +@@ -2211,6 +2231,39 @@ component("base") { } } @@ -84,7 +84,6 @@ + sources -= [ + "files/file_path_watcher_inotify.cc", + "files/scoped_file_linux.cc", -+ "process/memory_linux.cc", + "process/process_linux.cc", + "system/sys_info_linux.cc", + "process/process_iterator_linux.cc", @@ -92,7 +91,6 @@ + "process/process_handle_linux.cc" + ] + sources += [ -+ "process/memory_stubs.cc", + "files/file_path_watcher_kqueue.cc", + "files/file_path_watcher_kqueue.h", + "files/file_path_watcher_bsd.cc", @@ -118,7 +116,7 @@ # iOS if (is_ios) { sources -= [ -@@ -2335,7 +2390,7 @@ mixed_component("base") { +@@ -2306,7 +2359,7 @@ component("base") { } if (dep_libevent) { @@ -127,7 +125,7 @@ } if (use_libevent) { -@@ -3605,7 +3660,7 @@ test("base_unittests") { +@@ -3560,7 +3613,7 @@ test("base_unittests") { } } @@ -136,7 +134,7 @@ sources += [ "debug/proc_maps_linux_unittest.cc", "files/scoped_file_linux_unittest.cc", -@@ -3651,7 +3706,7 @@ test("base_unittests") { +@@ -3606,7 +3659,7 @@ test("base_unittests") { "posix/file_descriptor_shuffle_unittest.cc", "posix/unix_domain_socket_unittest.cc", ] @@ -145,7 +143,7 @@ sources += [ "profiler/stack_base_address_posix_unittest.cc", "profiler/stack_copier_signal_unittest.cc", -@@ -3662,7 +3717,7 @@ test("base_unittests") { +@@ -3617,7 +3670,7 @@ test("base_unittests") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -154,7 +152,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -3869,7 +3924,7 @@ test("base_unittests") { +@@ -3827,7 +3880,7 @@ test("base_unittests") { } } diff --git a/www/ungoogled-chromium/files/patch-base_allocator_dispatcher_tls.h b/www/ungoogled-chromium/files/patch-base_allocator_dispatcher_tls.h new file mode 100644 index 000000000000..d1f54c7aafeb --- /dev/null +++ b/www/ungoogled-chromium/files/patch-base_allocator_dispatcher_tls.h @@ -0,0 +1,11 @@ +--- base/allocator/dispatcher/tls.h.orig 2023-02-11 09:11:04 UTC ++++ base/allocator/dispatcher/tls.h +@@ -51,7 +51,7 @@ struct BASE_EXPORT MMapAllocator { + partition_alloc::PartitionPageSize(); + #elif BUILDFLAG(IS_APPLE) + constexpr static size_t AllocationChunkSize = 16384; +-#elif BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64) ++#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64) + constexpr static size_t AllocationChunkSize = 16384; + #else + constexpr static size_t AllocationChunkSize = 4096; 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 b0c909acd0d3..f7b336ccc04e 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,8 +1,8 @@ ---- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2023-01-13 08:56:02 UTC +--- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2023-02-11 09:11:04 UTC +++ base/allocator/partition_allocator/page_allocator_internals_posix.h -@@ -370,8 +370,12 @@ bool TryRecommitSystemPagesInternal( - +@@ -371,8 +371,12 @@ bool TryRecommitSystemPagesInternal( void DiscardSystemPagesInternal(uintptr_t address, size_t length) { + #if !BUILDFLAG(IS_NACL) void* ptr = reinterpret_cast<void*>(address); -#if BUILDFLAG(IS_APPLE) +#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD) diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc index f46ce1d8ba77..e8725e5a81e6 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/partition_address_space.cc.orig 2023-01-13 08:56:02 UTC +--- base/allocator/partition_allocator/partition_address_space.cc.orig 2023-02-11 09:11:04 UTC +++ base/allocator/partition_allocator/partition_address_space.cc -@@ -432,7 +432,7 @@ void PartitionAddressSpace::UninitPkeyPoolForTesting() +@@ -440,7 +440,7 @@ void PartitionAddressSpace::UninitPkeyPoolForTesting() } #endif 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 644a6489382c..451ea599b978 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 2023-01-13 08:56:02 UTC +--- base/allocator/partition_allocator/partition_alloc.gni.orig 2023-02-11 09:11:04 UTC +++ base/allocator/partition_allocator/partition_alloc.gni -@@ -121,7 +121,7 @@ assert( - "Missing dangling pointer checks feature for its performance experiment") +@@ -200,7 +200,7 @@ assert(!use_asan_unowned_ptr || is_asan, + "AsanUnownedPtr requires AddressSanitizer") declare_args() { - enable_pkeys = is_linux && target_cpu == "x64" diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__config.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__config.h index f1b2c3aabaea..80614a440ee2 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__config.h +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__config.h @@ -1,4 +1,4 @@ ---- base/allocator/partition_allocator/partition_alloc_config.h.orig 2023-01-13 08:56:02 UTC +--- base/allocator/partition_allocator/partition_alloc_config.h.orig 2023-02-11 09:11:04 UTC +++ base/allocator/partition_allocator/partition_alloc_config.h @@ -84,7 +84,7 @@ static_assert(sizeof(void*) != 8, ""); @@ -9,7 +9,7 @@ #define PA_HAS_LINUX_KERNEL #endif -@@ -216,7 +216,7 @@ constexpr bool kUseLazyCommit = false; +@@ -220,7 +220,7 @@ constexpr bool kUseLazyCommit = false; // On these platforms, lock all the partitions before fork(), and unlock after. // This may be required on more platforms in the future. @@ -18,12 +18,12 @@ #define PA_HAS_ATFORK_HANDLER #endif -@@ -257,7 +257,7 @@ constexpr bool kUseLazyCommit = false; +@@ -264,7 +264,7 @@ constexpr bool kUseLazyCommit = false; // // Also enabled on ARM64 macOS, as the 16kiB pages on this platform lead to // larger slot spans. -#if BUILDFLAG(IS_LINUX) || (BUILDFLAG(IS_MAC) && defined(ARCH_CPU_ARM64)) +#if BUILDFLAG(IS_LINUX) || (BUILDFLAG(IS_MAC) && defined(ARCH_CPU_ARM64)) || BUILDFLAG(IS_BSD) #define PA_PREFER_SMALLER_SLOT_SPANS - #endif // BUILDFLAG(IS_LINUX) || (BUILDFLAG(IS_MAC) && defined(ARCH_CPU_ARM64)) + #endif diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h index 347a18740695..2e3cb75a345d 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__constants.h @@ -1,4 +1,4 @@ ---- base/allocator/partition_allocator/partition_alloc_constants.h.orig 2023-01-13 08:56:02 UTC +--- base/allocator/partition_allocator/partition_alloc_constants.h.orig 2023-02-11 09:11:04 UTC +++ base/allocator/partition_allocator/partition_alloc_constants.h @@ -91,7 +91,7 @@ PartitionPageShift() { return 18; // 256 KiB @@ -9,12 +9,12 @@ PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR PA_ALWAYS_INLINE size_t PartitionPageShift() { return PageAllocationGranularityShift() + 2; -@@ -274,7 +274,7 @@ constexpr size_t kNumPools = 3; - // Special-case Android and iOS, which incur test failures with larger - // pools. Regardless, allocating >8GiB with malloc() on these platforms is - // unrealistic as of 2022. --#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) -+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD) +@@ -278,7 +278,7 @@ constexpr size_t kNumPools = 3; + // When pointer compression is enabled, we cannot use large pools (at most + // 8GB for each of the glued pools). + #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) || \ +- defined(PA_POINTER_COMPRESSION) ++ defined(PA_POINTER_COMPRESSION) || BUILDFLAG(IS_BSD) constexpr size_t kPoolMaxSize = 8 * kGiB; #else constexpr size_t kPoolMaxSize = 16 * kGiB; 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 14f00b0d241f..64a90bdb77b6 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 2022-10-29 17:50:56 UTC +--- base/debug/stack_trace_posix.cc.orig 2023-02-11 09:11:04 UTC +++ base/debug/stack_trace_posix.cc @@ -39,7 +39,7 @@ #include <AvailabilityMacros.h> @@ -9,7 +9,7 @@ #include "base/debug/proc_maps_linux.h" #endif -@@ -699,6 +699,9 @@ class SandboxSymbolizeHelper { +@@ -714,6 +714,9 @@ class SandboxSymbolizeHelper { // for the modules that are loaded in the current process. // Returns true on success. bool CacheMemoryRegions() { @@ -19,7 +19,7 @@ // Reads /proc/self/maps. std::string contents; if (!ReadProcMaps(&contents)) { -@@ -716,6 +719,7 @@ class SandboxSymbolizeHelper { +@@ -731,6 +734,7 @@ class SandboxSymbolizeHelper { is_initialized_ = true; return true; @@ -27,7 +27,7 @@ } // Opens all object files and caches their file descriptors. -@@ -872,7 +876,7 @@ size_t CollectStackTrace(void** trace, size_t count) { +@@ -887,7 +891,7 @@ size_t CollectStackTrace(void** trace, size_t count) { // If we do not have unwind tables, then try tracing using frame pointers. return base::debug::TraceStackFramePointers(const_cast<const void**>(trace), count, 0); diff --git a/www/ungoogled-chromium/files/patch-base_files_file__path__watcher.h b/www/ungoogled-chromium/files/patch-base_files_file__path__watcher.h new file mode 100644 index 000000000000..39142906151a --- /dev/null +++ b/www/ungoogled-chromium/files/patch-base_files_file__path__watcher.h @@ -0,0 +1,11 @@ +--- base/files/file_path_watcher.h.orig 2023-02-11 09:11:04 UTC ++++ base/files/file_path_watcher.h +@@ -59,7 +59,7 @@ class BASE_EXPORT FilePathWatcher { + Type type = Type::kNonRecursive; + + #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ +- BUILDFLAG(IS_FUCHSIA) ++ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) + // The callback will return the full path to a changed file instead of + // the watched path supplied as |path| when Watch is called. + // So the full path can be different from the watched path when a folder is diff --git a/www/ungoogled-chromium/files/patch-base_files_file__path__watcher__unittest.cc b/www/ungoogled-chromium/files/patch-base_files_file__path__watcher__unittest.cc index 0da5585ec8dc..ad2e7803bf75 100644 --- a/www/ungoogled-chromium/files/patch-base_files_file__path__watcher__unittest.cc +++ b/www/ungoogled-chromium/files/patch-base_files_file__path__watcher__unittest.cc @@ -1,15 +1,15 @@ ---- base/files/file_path_watcher_unittest.cc.orig 2022-10-01 07:40:07 UTC +--- base/files/file_path_watcher_unittest.cc.orig 2023-02-11 09:11:04 UTC +++ base/files/file_path_watcher_unittest.cc -@@ -498,7 +498,7 @@ TEST_F(FilePathWatcherTest, MAYBE_WatchDirectory) { +@@ -521,7 +521,7 @@ TEST_F(FilePathWatcherTest, MAYBE_WatchDirectory) { VLOG(1) << "Waiting for file1 creation"; - ASSERT_TRUE(WaitForEvents()); + ASSERT_TRUE(WaitForEvent()); -#if !BUILDFLAG(IS_APPLE) +#if !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD) // Mac implementation does not detect files modified in a directory. ASSERT_TRUE(WriteFile(file1, "content v2")); VLOG(1) << "Waiting for file1 modification"; -@@ -1118,7 +1118,7 @@ enum Permission { +@@ -1345,7 +1345,7 @@ enum Permission { Execute }; @@ -18,7 +18,7 @@ bool ChangeFilePermissions(const FilePath& path, Permission perm, bool allow) { struct stat stat_buf; -@@ -1149,7 +1149,7 @@ bool ChangeFilePermissions(const FilePath& path, Permi +@@ -1376,7 +1376,7 @@ bool ChangeFilePermissions(const FilePath& path, Permi } #endif // BUILDFLAG(IS_APPLE) diff --git a/www/ungoogled-chromium/files/patch-base_functional_unretained__traits.h b/www/ungoogled-chromium/files/patch-base_functional_unretained__traits.h new file mode 100644 index 000000000000..e0916fa7404d --- /dev/null +++ b/www/ungoogled-chromium/files/patch-base_functional_unretained__traits.h @@ -0,0 +1,11 @@ +--- base/functional/unretained_traits.h.orig 2023-02-11 09:11:04 UTC ++++ base/functional/unretained_traits.h +@@ -130,7 +130,7 @@ struct TypeSupportsUnretained { + // official builds, and then in non-test code as well. + #if !defined(UNIT_TEST) && !defined(OFFICIAL_BUILD) + #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || \ +- defined(FORCE_UNRETAINED_COMPLETENESS_CHECKS_FOR_TESTS) ++ || BUILDFLAGS(IS_BSD) || defined(FORCE_UNRETAINED_COMPLETENESS_CHECKS_FOR_TESTS) + static_assert(IsCompleteTypeV<T> || + IsIncompleteTypeSafeForUnretained<std::remove_cv_t<T>>, + "T must be fully defined."); diff --git a/www/ungoogled-chromium/files/patch-base_i18n_icu__util.cc b/www/ungoogled-chromium/files/patch-base_i18n_icu__util.cc index 602edeaabf1e..db886638c86e 100644 --- a/www/ungoogled-chromium/files/patch-base_i18n_icu__util.cc +++ b/www/ungoogled-chromium/files/patch-base_i18n_icu__util.cc @@ -1,6 +1,6 @@ ---- base/i18n/icu_util.cc.orig 2022-12-02 17:56:32 UTC +--- base/i18n/icu_util.cc.orig 2023-02-11 09:11:04 UTC +++ base/i18n/icu_util.cc -@@ -52,7 +52,7 @@ +@@ -51,7 +51,7 @@ #include "third_party/icu/source/common/unicode/unistr.h" #endif @@ -9,7 +9,7 @@ BUILDFLAG(IS_CHROMEOS) || (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)) #include "third_party/icu/source/i18n/unicode/timezone.h" #endif -@@ -343,7 +343,7 @@ void InitializeIcuTimeZone() { +@@ -340,7 +340,7 @@ void InitializeIcuTimeZone() { FuchsiaIntlProfileWatcher::GetPrimaryTimeZoneIdForIcuInitialization(); icu::TimeZone::adoptDefault( icu::TimeZone::createTimeZone(icu::UnicodeString::fromUTF8(zone_id))); diff --git a/www/ungoogled-chromium/files/patch-base_logging__unittest.cc b/www/ungoogled-chromium/files/patch-base_logging__unittest.cc index e4e536b7f81e..5264a5d646fe 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 2022-10-01 07:40:07 UTC +--- base/logging_unittest.cc.orig 2023-02-11 09:11:04 UTC +++ base/logging_unittest.cc @@ -32,7 +32,7 @@ #include "base/posix/eintr_wrapper.h" @@ -9,7 +9,7 @@ #include <ucontext.h> #endif -@@ -574,14 +574,18 @@ void CheckCrashTestSighandler(int, siginfo_t* info, vo +@@ -575,14 +575,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_memory_platform__shared__memory__region__posix.cc b/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region__posix.cc index ac7afdc29e95..07a3fb4b75dd 100644 --- a/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region__posix.cc +++ b/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region__posix.cc @@ -1,4 +1,4 @@ ---- base/memory/platform_shared_memory_region_posix.cc.orig 2022-10-01 07:40:07 UTC +--- base/memory/platform_shared_memory_region_posix.cc.orig 2023-02-11 09:11:04 UTC +++ base/memory/platform_shared_memory_region_posix.cc @@ -55,7 +55,7 @@ bool CheckFDAccessMode(int fd, int expected_mode) { @@ -9,7 +9,7 @@ // static ScopedFD PlatformSharedMemoryRegion::ExecutableRegion::CreateFD(size_t size) { PlatformSharedMemoryRegion region = -@@ -171,7 +171,7 @@ bool PlatformSharedMemoryRegion::ConvertToUnsafe() { +@@ -168,7 +168,7 @@ bool PlatformSharedMemoryRegion::ConvertToUnsafe() { // static PlatformSharedMemoryRegion PlatformSharedMemoryRegion::Create(Mode mode, size_t size @@ -18,7 +18,7 @@ , bool executable #endif -@@ -200,7 +200,7 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion: +@@ -197,7 +197,7 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion: // flag. FilePath directory; if (!GetShmemTempDir( diff --git a/www/ungoogled-chromium/files/patch-base_process_memory.cc b/www/ungoogled-chromium/files/patch-base_process_memory.cc deleted file mode 100644 index 9d57b68e0962..000000000000 --- a/www/ungoogled-chromium/files/patch-base_process_memory.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- base/process/memory.cc.orig 2023-01-13 08:56:02 UTC -+++ base/process/memory.cc -@@ -28,7 +28,7 @@ namespace base { - // Defined in memory_mac.mm for macOS + use_partition_alloc_as_malloc=false. - // In case of use_partition_alloc_as_malloc=true, no need to route the call to - // the system default calloc of macOS. --#if !BUILDFLAG(IS_APPLE) || BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) -+#if (!BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD)) || BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) - - bool UncheckedCalloc(size_t num_items, size_t size, void** result) { - const size_t alloc_size = num_items * size; diff --git a/www/ungoogled-chromium/files/patch-base_process_memory__linux.cc b/www/ungoogled-chromium/files/patch-base_process_memory__linux.cc new file mode 100644 index 000000000000..2df2a75c31ae --- /dev/null +++ b/www/ungoogled-chromium/files/patch-base_process_memory__linux.cc @@ -0,0 +1,44 @@ +--- base/process/memory_linux.cc.orig 2023-02-11 09:11:04 UTC ++++ base/process/memory_linux.cc +@@ -20,6 +20,7 @@ + + namespace base { + ++#if !BUILDFLAG(IS_BSD) + namespace { + + void ReleaseReservationOrTerminate() { +@@ -29,12 +30,14 @@ void ReleaseReservationOrTerminate() { + } + + } // namespace ++#endif + + void EnableTerminationOnHeapCorruption() { + // On Linux, there nothing to do AFAIK. + } + + void EnableTerminationOnOutOfMemory() { ++#if !BUILDFLAG(IS_BSD) + // Set the new-out of memory handler. + std::set_new_handler(&ReleaseReservationOrTerminate); + // If we're using glibc's allocator, the above functions will override +@@ -43,8 +46,10 @@ void EnableTerminationOnOutOfMemory() { *** 9799 LINES SKIPPED ***