From nobody Sat Feb 03 16:15:10 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TRyR32Nm8z59fXx; Sat, 3 Feb 2024 16:15:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TRyR323YNz4RTf; Sat, 3 Feb 2024 16:15:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706976911; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Osp+jhKrsD4CihUkYVhCxnOqngdtTI/uEz2MQU9TKHA=; b=otaudncuAGQ74k87RPxFa6SzLaWbYfL8ccalvjowCMs54EHZF7fwd/SABvfCdSObuUvDIc JkGCejKCDrlYSFPu6RcSaHUB284lrWQiGGsLtQWaT2i5mKdIfnHB/HCtmnq79T1NTTVbz2 NRsSOXO8FYEKeKXXy5meJh3hrnDpFYFpvPA0qfo3nZcjYh0nQCLMi7gEXzr2sdvQiP8Olo qARzDI06O8iBeTGgW3IXyHs4YPasd2cI41Q4nzX1z4V6RlTfboi3izEweqQcuVXDOJcFNR 1g803oH09t/oNZhfyxBWBFr/qt+u4120o9SHvhDwRMPwMGaVj3MIDqAxZTpBgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706976911; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Osp+jhKrsD4CihUkYVhCxnOqngdtTI/uEz2MQU9TKHA=; b=nCTNdX6OnIJavQOoFzyeu+FZijt4Ju4rGEqzysMGY538x7/B8SSScCs4DArXPWLQHfxibc 74XOw9inWQuj4jbFFxlaTTWHIPfiMZZmp3imWkLjYuHGkHzrMj0nUmSQ8rNyYArbrkOElZ KeRhrerE7154XLywB91z/UlJWEvYKRP5AUYUSveZFrfNnVqRQ0dCB/rxDDyirOFwtm+2sG nxV1/Vs4hs8p+et+3jmYhYIGfkJP23jfRDA3fqTHnvwN2Sib7RrkeMf1PbC/UyUqNcvBnY DMe9dW3cAMIWRWamUF80mC/uGD8VQR4NbO82NoIg1LkFVOqoF5sGKz2SlbF8eQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706976911; a=rsa-sha256; cv=none; b=dFbbE2hrReopcyp8Zj45sy1E+W2LzYvqIFQ4ebkXsQvrLv2Y21USuDAe18ws6cY3tu1VZR jyGs8Gyo4inmSJt4VRw5MFZ95716nd6k2BjwVkfvcykk5JmcQSG0H+z5DROMhhlDt7Hz40 xxg6WrcEJl1jwLU4AMYGq4VzQePa6ptUTOn6JAzHFytDfsL+FxmZllzfM6P4Q6emaQDqt6 atkv/2rJ7vuEjs8U+PgXfs65ns9dhJ1p5tnmry9OnIKxRO47U+cHTXcP/IuCRKs4bgNAel JRSJYyfVnS5tmlcrLfrN4FbH20dQOvTdXS4pozYyWgYnUByKcj3GjwQFywqwMA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TRyR315sNzKkK; Sat, 3 Feb 2024 16:15:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 413GFBu4093839; Sat, 3 Feb 2024 16:15:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 413GFAmY093836; Sat, 3 Feb 2024 16:15:10 GMT (envelope-from git) Date: Sat, 3 Feb 2024 16:15:10 GMT Message-Id: <202402031615.413GFAmY093836@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Robert Nagy Subject: git: 4cfdc610b7e8 - 2024Q1 - www/ungoogled-chromium: update to 121.0.6167.139 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rnagy X-Git-Repository: ports X-Git-Refname: refs/heads/2024Q1 X-Git-Reftype: branch X-Git-Commit: 4cfdc610b7e8e0bc694f884fef867ab53833136b Auto-Submitted: auto-generated The branch 2024Q1 has been updated by rnagy: URL: https://cgit.FreeBSD.org/ports/commit/?id=4cfdc610b7e8e0bc694f884fef867ab53833136b commit 4cfdc610b7e8e0bc694f884fef867ab53833136b Author: Robert Nagy AuthorDate: 2024-02-03 16:07:19 +0000 Commit: Robert Nagy CommitDate: 2024-02-03 16:14:58 +0000 www/ungoogled-chromium: update to 121.0.6167.139 Security: https://vuxml.freebsd.org/freebsd/dc9e5237-c197-11ee-86bb-a8a1599412c6.html (cherry picked from commit 52eee8b78d38ef94e15a5ce4f36c80468e99cb9a) --- www/ungoogled-chromium/Makefile | 14 +- www/ungoogled-chromium/distinfo | 14 +- www/ungoogled-chromium/files/patch-BUILD.gn | 20 +- ...patch-apps_ui_views_app__window__frame__view.cc | 4 +- www/ungoogled-chromium/files/patch-base_BUILD.gn | 20 +- ...cator_partition__allocator_partition__alloc.gni | 4 +- ...tition__allocator_src_partition__alloc_BUILD.gn | 10 +- ...ition__alloc__base_debug_stack__trace__posix.cc | 8 +- ...lloc__base_threading_platform__thread__posix.cc | 6 +- ...src_partition__alloc_partition__alloc__config.h | 27 +- ..._partition__alloc_partition__alloc__constants.h | 6 +- .../files/patch-base_compiler__specific.h | 8 +- .../files/patch-base_files_file__path__watcher.h | 4 +- ...tch-base_files_file__path__watcher__unittest.cc | 8 +- .../files/patch-base_files_file__util__posix.cc | 4 +- .../files/patch-base_logging__unittest.cc | 4 +- .../files/patch-base_native__library__unittest.cc | 4 +- .../files/patch-base_process_memory__linux.cc | 10 +- .../files/patch-base_process_process__handle.h | 4 +- .../files/patch-base_rand__util.h | 4 +- .../files/patch-base_system_sys__info.h | 6 +- .../patch-base_test_launcher_test__launcher.cc | 4 +- .../files/patch-build_config_compiler_BUILD.gn | 20 +- .../files/patch-build_config_linux_atspi2_BUILD.gn | 25 - www/ungoogled-chromium/files/patch-cc_BUILD.gn | 4 +- .../files/patch-cc_base_features.cc | 4 +- .../patch-chrome_app_app__management__strings.grdp | 4 +- .../files/patch-chrome_app_chrome__main.cc | 15 +- .../patch-chrome_app_chrome__main__delegate.cc | 24 +- .../files/patch-chrome_app_chromium__strings.grd | 8 +- .../patch-chrome_app_generated__resources.grd | 20 +- .../patch-chrome_app_google__chrome__strings.grd | 6 +- ...hrome_app_theme_chrome__unscaled__resources.grd | 39 +- .../patch-chrome_app_theme_theme__resources.grd | 69 +- .../files/patch-chrome_browser_BUILD.gn | 4 +- .../files/patch-chrome_browser_about__flags.cc | 93 +- ...e_browser_accessibility_pdf__ocr__controller.cc | 11 + ...apps_app__service_publishers_extension__apps.cc | 4 +- .../patch-chrome_browser_browser__features.cc | 18 +- .../files/patch-chrome_browser_browser__features.h | 11 - .../patch-chrome_browser_browser__process__impl.cc | 6 +- .../patch-chrome_browser_browser__process__impl.h | 4 +- ..._browser_chrome__browser__interface__binders.cc | 20 +- .../patch-chrome_browser_chrome__browser__main.cc | 42 +- ...ome_browser_chrome__content__browser__client.cc | 34 +- ...rome_browser_chrome__content__browser__client.h | 4 +- ...rome_browser_component__updater_registration.cc | 11 - ...rome_browser_compose_chrome__compose__client.cc | 19 + ...nt__settings_one__time__permission__provider.cc | 6 +- ...download_chrome__download__manager__delegate.cc | 6 +- ...hrome_browser_download_download__item__model.cc | 8 +- ...atch-chrome_browser_download_download__prefs.cc | 14 +- ...nectors_analysis_analysis__service__settings.cc | 4 +- .../files/patch-chrome_browser_extensions_BUILD.gn | 4 +- ..._browser__context__keyed__service__factories.cc | 8 +- ...ate_chrome__desktop__report__request__helper.cc | 6 +- ..._private_enterprise__reporting__private__api.cc | 4 +- ...__private_passwords__private__delegate__impl.cc | 4 +- ...extensions_api_settings__private_prefs__util.cc | 20 +- ...gging__private_webrtc__logging__private__api.cc | 4 +- ...api_webstore__private_webstore__private__api.cc | 4 +- ...e__file__system__access__permission__context.cc | 4 +- .../patch-chrome_browser_flag__descriptions.cc | 24 +- .../patch-chrome_browser_flag__descriptions.h | 22 +- ...dia__galleries_media__file__system__registry.cc | 4 +- ...er_media_webrtc_webrtc__event__log__uploader.cc | 11 - ...e_browser_media_webrtc_webrtc__log__uploader.cc | 20 +- ...ser_media_webrtc_webrtc__logging__controller.cc | 6 +- ...wser_media_webrtc_webrtc__logging__controller.h | 6 +- .../files/patch-chrome_browser_memory__details.cc | 4 +- ...chrome__browser__main__extra__parts__metrics.cc | 10 +- ..._chrome__browser__main__extra__parts__metrics.h | 4 +- ...ser_metrics_chrome__metrics__service__client.cc | 42 +- ...rowser_net_system__network__context__manager.cc | 24 +- ...browser_net_system__network__context__manager.h | 8 +- ...d__manager_password__reuse__manager__factory.cc | 4 +- ...wser__cloud__management__controller__desktop.cc | 10 +- ...onfiguration__policy__handler__list__factory.cc | 68 +- .../patch-chrome_browser_prefs_browser__prefs.cc | 14 +- ...patch-chrome_browser_printing_printer__query.cc | 4 +- ...hrome__browser__main__extra__parts__profiles.cc | 20 +- ...h-chrome_browser_renderer__preferences__util.cc | 6 +- ...atch-chrome_browser_resources_settings_route.ts | 4 +- ...d__content__scanning_binary__upload__service.cc | 4 +- ...browsing_download__protection_file__analyzer.cc | 4 +- ..._search__engine__choice__client__side__trial.cc | 11 + .../files/patch-chrome_browser_ui_chrome__pages.cc | 6 +- .../files/patch-chrome_browser_ui_chrome__pages.h | 4 +- ...browser_ui_startup_startup__browser__creator.cc | 10 +- .../files/patch-chrome_browser_ui_tab__helpers.cc | 6 +- .../files/patch-chrome_browser_ui_ui__features.cc | 4 +- .../files/patch-chrome_browser_ui_ui__features.h | 4 +- ...e_browser_ui_views_dark__mode__manager__linux.h | 10 - ...-chrome_browser_ui_views_frame_browser__view.cc | 4 +- ...e_picture__in__picture__browser__frame__view.cc | 22 +- ...__web__signin__interception__backdrop__layer.cc | 11 - ..._ui_views_profiles_profile__menu__view__base.cc | 4 +- ...e_browser_ui_views_tab__search__bubble__host.cc | 4 +- .../patch-chrome_browser_ui_views_tabs_tab.cc | 4 +- ..._education_browser__user__education__service.cc | 11 + ...rowser_ui_web__applications_web__app__dialogs.h | 4 +- ...tch-chrome_browser_ui_webui_about_about__ui.cc} | 8 +- ...i_webui_chrome__web__ui__controller__factory.cc | 14 +- ...me_browser_ui_webui_realbox_realbox__handler.cc | 19 +- ..._webui_settings_accessibility__main__handler.cc | 37 + ...i_webui_settings_accessibility__main__handler.h | 38 + ...tings_settings__localized__strings__provider.cc | 16 +- ...thn_chrome__authenticator__request__delegate.cc | 4 +- .../files/patch-chrome_common_chrome__features.cc | 10 +- .../files/patch-chrome_common_chrome__features.h | 10 +- .../files/patch-chrome_common_chrome__paths.cc | 12 +- .../files/patch-chrome_common_chrome__paths.h | 14 +- .../files/patch-chrome_common_chrome__switches.cc | 4 +- .../files/patch-chrome_common_pref__names.h | 20 +- .../files/patch-chrome_common_url__constants.h | 4 +- .../patch-chrome_common_webui__url__constants.cc | 12 +- .../patch-chrome_common_webui__url__constants.h | 10 +- ...ome_renderer_chrome__render__frame__observer.cc | 4 +- ...vices_printing_print__backend__service__impl.cc | 4 +- .../files/patch-chrome_test_BUILD.gn | 4 +- .../files/patch-chrome_updater_configurator.cc | 4 +- .../files/patch-chrome_updater_util_posix__util.cc | 4 +- .../files/patch-chrome_utility_services.cc | 14 +- ...ecast_browser_cast__content__browser__client.cc | 4 +- ..._core_browser_data__model_autofill__i18n__api.h | 16 - ...ll_core_browser_payments_iban__save__manager.cc | 14 - ...utofill_core_browser_personal__data__manager.cc | 4 +- ...ill_core_common_autofill__payments__features.cc | 4 +- ...mponents_autofill_core_common_autofill__util.cc | 4 +- .../files/patch-components_commerce__strings.grdp | 4 +- ...onents_commerce_core_commerce__feature__list.cc | 13 +- ...ch-components_components__chromium__strings.grd | 4 +- ...ponents_components__google__chrome__strings.grd | 4 +- ...omponents_cookie__config_cookie__store__util.cc | 6 +- ...nents_crash_core_app_crashpad__handler__main.cc | 20 + ...ponents_embedder__support_user__agent__utils.cc | 4 +- ...e__engagement_public_feature__configurations.cc | 15 +- ...eature__engagement_public_feature__constants.cc | 13 +- ...feature__engagement_public_feature__constants.h | 15 +- ...nts_feature__engagement_public_feature__list.cc | 17 +- ...ents_feature__engagement_public_feature__list.h | 32 +- .../patch-components_gwp__asan_client_gwp__asan.cc | 4 +- ...ponents_gwp__asan_client_gwp__asan__features.cc | 8 +- .../patch-components_management__strings.grdp | 4 +- .../files/patch-components_metrics_metrics__log.cc | 8 +- ...patch-components_neterror_resources_neterror.js | 4 +- ...rator_browser_network__session__configurator.cc | 4 +- ...ser_network__session__configurator__unittest.cc | 4 +- ...ponents_omnibox_browser_omnibox__edit__model.cc | 6 +- ...zation__guide_core_optimization__guide__util.cc | 4 +- ...imization__guide_core_tflite__model__executor.h | 12 +- ...aint__preview_browser_paint__preview__client.cc | 18 +- ...iew_browser_paint__preview__client__unittest.cc | 18 +- ..._preview_player_player__compositor__delegate.cc | 18 +- ...ger_core_browser_features_password__features.cc | 13 +- ...ager_core_browser_features_password__features.h | 11 - ...r_password__store_login__database__unittest.cc} | 6 +- ...icy_core_browser_policy__pref__mapping__test.cc | 4 +- ...licy_core_common_cloud_cloud__policy__client.cc | 4 +- ...ts_policy_core_common_policy__loader__common.cc | 10 +- ...-components_policy_core_common_policy__paths.cc | 10 +- ...-components_policy_core_common_policy__utils.cc | 11 + .../patch-components_qr__code__generator_BUILD.gn | 32 + ...atch-components_qr__code__generator_features.cc | 11 + ...patch-components_qr__code__generator_features.h | 14 + ...ents_qr__code__generator_qr__code__generator.cc | 47 + ...nents_search__engines_template__url__service.cc | 11 + ...paint__preview__compositor__collection__impl.cc | 10 +- ..._ai_sandbox_screen__ai__sandbox__hook__linux.cc | 4 +- ...ices_screen__ai_screen__ai__library__wrapper.cc | 29 - ...supervised__user_core_browser_proto__fetcher.cc | 8 +- ..._user_core_browser_supervised__user__service.cc | 4 +- ...onents_supervised__user_core_common_features.cc | 6 +- .../files/patch-components_sync_base_features.cc | 4 +- ...cation_common_product__messaging__controller.cc | 10 - ...nts_user__education_views_help__bubble__view.cc | 4 +- ...ch-components_viz_host_host__display__client.cc | 11 + ...tch-components_viz_host_host__display__client.h | 11 + ...isplay__embedder_skia__output__surface__impl.cc | 4 +- ...mbedder_skia__output__surface__impl__on__gpu.cc | 4 +- ...omponents_viz_service_display_skia__renderer.cc | 4 +- ...e__sinks_root__compositor__frame__sink__impl.cc | 20 + ...me__sinks_root__compositor__frame__sink__impl.h | 11 + ...ch-components_viz_test_fake__display__client.cc | 11 + ...tch-components_viz_test_fake__display__client.h | 11 + ...tch-components_viz_test_mock__display__client.h | 11 + ...atch-content_app_content__main__runner__impl.cc | 20 +- .../files/patch-content_browser_BUILD.gn | 4 +- .../patch-content_browser_audio_audio__service.cc | 4 +- .../patch-content_browser_browser__main__loop.cc | 8 +- ..._compositor_viz__process__transport__factory.cc | 11 + ...neric__sensor_frame__sensor__provider__proxy.cc | 14 - .../patch-content_browser_gpu_compositor__util.cc | 26 +- ..._group_header__direct__from__seller__signals.cc | 10 +- ...r_media_media__keys__listener__manager__impl.cc | 14 +- ...ent_browser_network__service__instance__impl.cc | 8 +- ...rowser_renderer__host_delegated__frame__host.cc | 4 +- ...r_renderer__host_render__process__host__impl.cc | 12 +- ...derer__host_render__widget__host__view__aura.cc | 6 +- ...nderer__host_render__widget__host__view__aura.h | 4 +- ...t_render__widget__host__view__event__handler.cc | 4 +- ...h-content_browser_utility__sandbox__delegate.cc | 14 +- ...owser_zygote__host_zygote__host__impl__linux.cc | 6 +- .../files/patch-content_child_BUILD.gn | 4 +- .../files/patch-content_common_BUILD.gn | 39 +- .../files/patch-content_common_features.cc | 6 +- .../files/patch-content_common_features.h | 6 +- ...content_common_gpu__pre__sandbox__hook__bsd.cc} | 8 +- ...h-content_common_gpu__pre__sandbox__hook__bsd.h | 23 + .../files/patch-content_gpu_BUILD.gn | 20 - .../files/patch-content_gpu_gpu__main.cc | 12 +- .../patch-content_gpu_gpu__sandbox__hook__bsd.h | 19 - ...tent_public_browser_content__browser__client.cc | 4 +- ...atch-content_public_common_content__features.cc | 6 +- ...atch-content_public_common_content__switches.cc | 4 +- ...patch-content_public_common_content__switches.h | 4 +- ...patch-content_renderer_render__process__impl.cc | 27 +- .../patch-content_renderer_render__thread__impl.cc | 10 +- ...ent_renderer_renderer__blink__platform__impl.cc | 12 +- ...tent_renderer_renderer__blink__platform__impl.h | 4 +- .../files/patch-content_shell_BUILD.gn | 4 +- .../files/patch-content_test_BUILD.gn | 4 +- .../files/patch-content_utility_services.cc | 12 +- .../files/patch-content_utility_utility__main.cc | 31 +- .../files/patch-extensions_common_api_runtime.json | 4 +- ...mand__buffer_service_dawn__context__provider.cc | 8 +- ...e_shared__image_external__vk__image__backing.cc | 8 +- ..._image_external__vk__image__backing__factory.cc | 13 +- ...service_shared__image_shared__image__manager.cc | 4 +- ...ommand__buffer_service_webgpu__decoder__impl.cc | 4 +- .../files/patch-gpu_config_gpu__control__list.cc | 4 +- .../files/patch-gpu_config_gpu__finch__features.cc | 4 +- .../files/patch-gpu_config_gpu__info__collector.cc | 11 + .../files/patch-gpu_ipc_service_gpu__init.cc | 14 +- .../patch-gpu_vulkan_vulkan__function__pointers.cc | 6 +- .../files/patch-ipc_ipc__channel.h | 4 +- .../files/patch-media_base_media__switches.cc | 25 +- .../files/patch-media_base_media__switches.h | 12 +- .../files/patch-media_base_video__frame.cc | 8 +- ..._video_fake__video__capture__device__factory.cc | 4 +- ..._capture_video_linux_v4l2__capture__delegate.cc | 30 +- ...u_chromeos_libyuv__image__processor__backend.cc | 29 + ...pu_chromeos_mailbox__video__frame__converter.cc | 4 +- ...a_gpu_chromeos_platform__video__frame__utils.cc | 11 + ...-media_gpu_chromeos_video__decoder__pipeline.cc | 6 +- .../patch-media_gpu_vaapi_vaapi__video__decoder.cc | 4 +- .../files/patch-media_gpu_vaapi_vaapi__wrapper.cc | 31 +- ...ideo_gpu__memory__buffer__video__frame__pool.cc | 8 +- ...ia_video_video__encode__accelerator__adapter.cc | 6 +- .../files/patch-mojo_public_c_system_thunks.cc | 6 +- .../patch-mojo_public_tools_bindings_mojom.gni | 4 +- www/ungoogled-chromium/files/patch-net_BUILD.gn | 14 +- .../files/patch-net_base_features.cc | 4 +- .../files/patch-net_cert_cert__verify__proc.h | 4 +- .../files/patch-net_cert_pki_general__names.h | 10 - .../files/patch-net_filter_zstd__source__stream.cc | 6 +- .../files/patch-net_socket_udp__socket__posix.cc | 8 +- .../patch-net_socket_udp__socket__unittest.cc | 12 +- ...verify__tool_cert__verify__comparision__tool.cc | 4 +- ..._tools_cert__verify__tool_cert__verify__tool.cc | 12 +- ...ting_host_base_desktop__environment__options.cc | 4 +- .../files/patch-remoting_host_client__session.cc | 4 +- .../files/patch-remoting_host_host__attributes.cc | 4 +- .../files/patch-remoting_host_it2me_it2me__host.cc | 8 +- ...ch-remoting_host_me2me__desktop__environment.cc | 8 +- .../patch-remoting_host_remoting__me2me__host.cc | 4 +- .../patch-remoting_host_setup_start__host__main.cc | 6 +- ...hn_remote__webauthn__caller__security__utils.cc | 8 +- .../files/patch-sandbox_policy_features.cc | 6 +- .../files/patch-sandbox_policy_features.h | 4 +- ...h-services_audio_audio__sandbox__hook__linux.cc | 8 +- ...services_device_compute__pressure_cpu__probe.cc | 4 +- ...ices_device_geolocation_location__arbitrator.cc | 4 +- .../files/patch-services_device_hid_BUILD.gn | 4 +- .../files/patch-services_device_usb_BUILD.gn | 8 +- .../files/patch-services_network_BUILD.gn | 4 +- .../patch-services_network_network__context.cc | 6 +- .../patch-services_network_network__context.h | 4 +- .../patch-services_network_network__service.cc | 8 +- .../patch-services_network_network__service.h | 8 +- .../patch-services_network_public_mojom_BUILD.gn | 6 +- ..._on__device__model_on__device__model__service.h | 22 + ...ervices_on__device__model_pre__sandbox__init.cc | 38 + ..._instrumentation_queued__request__dispatcher.cc | 16 +- ...p_stack__sampling_tracing__sampler__profiler.cc | 4 +- ...video__capture_video__capture__service__impl.cc | 10 +- ..._video__capture_video__capture__service__impl.h | 8 +- ...y_abseil-cpp_absl_base_internal_raw__logging.cc | 16 - .../files/patch-third__party_angle_BUILD.gn | 8 +- ...third__party_angle_src_common_system__utils.cpp | 11 + ...party_angle_src_common_system__utils__linux.cpp | 35 + ...erences_renderer__preferences__mojom__traits.cc | 4 +- ...n_renderer__preferences_renderer__preferences.h | 4 +- ...ferences_renderer__preferences__mojom__traits.h | 4 +- ...h-third__party_blink_public_platform_platform.h | 4 +- ...hird__party_blink_public_platform_web__vector.h | 4 +- ...blink_renderer_controller_blink__initializer.cc | 6 +- ...blink_renderer_core_exported_web__view__impl.cc | 6 +- ...y_blink_renderer_core_frame_web__frame__test.cc | 6 +- ...ore_html_canvas_canvas__async__blob__creator.cc | 4 +- ...erer_core_inspector_inspector__memory__agent.cc | 4 +- ...arty_blink_renderer_core_layout_layout__view.cc | 8 +- ...core_layout_ng_physical__fragment__rare__data.h | 10 - ..._renderer_core_scroll_scrollbar__theme__aura.cc | 6 +- ...party_blink_renderer_core_xml_xslt__processor.h | 14 + ...k_renderer_core_xml_xslt__processor__libxslt.cc | 14 + ...ty_blink_renderer_modules_ml_webnn_features.gni | 16 +- ...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 | 4 +- ...h-third__party_blink_renderer_platform_BUILD.gn | 4 +- ...ty_blink_renderer_platform_fonts_font__cache.cc | 6 +- ...nderer_platform_fonts_skia_font__cache__skia.cc | 6 +- ...er_platform_graphics_video__frame__submitter.cc | 4 +- ..._peerconnection_rtc__video__encoder__factory.cc | 4 +- ...derer_platform_runtime__enabled__features.json5 | 14 +- ...hird__party_crashpad_crashpad_util_misc_uuid.cc | 4 +- ...d__party_distributed__point__functions_BUILD.gn | 12 - .../files/patch-third__party_ffmpeg_configure | 4 +- ...ch-third__party_ffmpeg_libavutil_x86_x86inc.asm | 4 +- ...tch-third__party_leveldatabase_env__chromium.cc | 4 +- .../patch-third__party_libc++_src_src_chrono.cpp | 11 + ...libc++_src_src_filesystem_filesystem__clock.cpp | 11 + ...ird__party_libc++abi_src_src_cxa__guard__impl.h | 24 + ...x_source_libvpx_vpx__ports_aarch64__cpudetect.c | 4 +- ...rd__party_perfetto_include_perfetto_base_time.h | 8 +- ...trace__processor_db_storage_numeric__storage.cc | 4 +- ...etto_src_tracing_core_tracing__service__impl.cc | 4 +- ...__party_speech-dispatcher_libspeechd__version.h | 4 +- ...vulkan-loader_src_loader_vk__loader__platform.h | 4 +- ...kan__memory__allocator_include_vk__mem__alloc.h | 39390 +------------------ .../patch-third__party_wayland_include_config.h | 23 +- ...rd__party_webrtc_modules_audio__device_BUILD.gn | 4 +- .../files/patch-tools_gn_build_gen.py | 4 +- ...ols_json__schema__compiler_feature__compiler.py | 4 +- .../patch-ui_base_resource_resource__bundle.cc | 4 +- .../files/patch-ui_base_ui__base__features.cc | 6 +- .../files/patch-ui_base_webui_web__ui__util.cc | 6 +- .../files/patch-ui_base_x_x11__cursor__loader.cc | 12 +- .../files/patch-ui_base_x_x11__display__manager.cc | 4 +- .../files/patch-ui_color_color__id.h | 4 +- .../files/patch-ui_compositor_compositor.cc | 11 + .../files/patch-ui_compositor_compositor.h | 20 + .../patch-ui_compositor_compositor__observer.h | 20 + .../files/patch-ui_display_screen.h | 4 +- ...vents_devices_x11_device__data__manager__x11.cc | 4 +- www/ungoogled-chromium/files/patch-ui_gfx_BUILD.gn | 4 +- .../files/patch-ui_gfx_font__fallback__linux.cc | 4 +- .../files/patch-ui_gfx_font__render__params.h | 10 +- .../files/patch-ui_gfx_platform__font__skia.cc | 6 +- .../files/patch-ui_gfx_x_generated__protos_dri3.cc | 4 +- .../files/patch-ui_gfx_x_generated__protos_shm.cc | 4 +- www/ungoogled-chromium/files/patch-ui_gl_BUILD.gn | 10 +- .../files/patch-ui_gl_gl__context.cc | 4 +- .../files/patch-ui_gl_gl__switches.cc | 4 +- ...tch-ui_native__theme_native__theme__features.cc | 20 + ..._ozone_platform_wayland_common_wayland__util.cc | 11 + ...tform_wayland_host_wayland__toplevel__window.cc | 4 +- ...atform_wayland_host_wayland__toplevel__window.h | 4 +- ..._ozone_platform_wayland_host_wayland__window.cc | 10 +- ...rm_wayland_host_xdg__toplevel__wrapper__impl.cc | 4 +- ...m_wayland_host_zwp__text__input__wrapper__v1.cc | 21 + ...ne_platform_wayland_ozone__platform__wayland.cc | 4 +- .../files/patch-ui_ozone_public_platform__screen.h | 11 - www/ungoogled-chromium/files/patch-ui_qt_BUILD.gn | 11 + .../patch-ui_views_controls_textfield_textfield.cc | 14 +- .../patch-ui_views_controls_textfield_textfield.h | 6 +- .../files/patch-ui_views_views__delegate.cc | 4 +- .../files/patch-ui_views_views__delegate.h | 4 +- ...__aura_desktop__window__tree__host__platform.cc | 4 +- .../files/patch-ui_views_widget_widget.cc | 4 +- .../files/patch-ui_views_widget_widget.h | 4 +- www/ungoogled-chromium/files/patch-v8_BUILD.gn | 10 +- .../files/patch-v8_src_api_api.cc | 4 +- ...8_src_baseline_x64_baseline-assembler-x64-inl.h | 13 - .../patch-v8_src_builtins_x64_builtins-x64.cc | 46 - .../patch-v8_src_codegen_x64_assembler-x64.cc | 42 - .../files/patch-v8_src_codegen_x64_assembler-x64.h | 21 - ...patch-v8_src_codegen_x64_macro-assembler-x64.cc | 20 - .../patch-v8_src_codegen_x64_macro-assembler-x64.h | 20 - ..._src_compiler_backend_x64_code-generator-x64.cc | 16 - ...patch-v8_src_deoptimizer_x64_deoptimizer-x64.cc | 11 - .../files/patch-v8_src_execution_isolate.cc | 6 +- .../files/patch-v8_src_flags_flags.cc | 4 +- ...ch-v8_src_maglev_x64_maglev-assembler-x64-inl.h | 14 - ...patch-v8_src_maglev_x64_maglev-assembler-x64.cc | 16 - ...v8_src_regexp_x64_regexp-macro-assembler-x64.cc | 22 - ...-v8_src_regexp_x64_regexp-macro-assembler-x64.h | 12 - .../patch-v8_src_wasm_jump-table-assembler.cc | 51 - .../files/patch-v8_src_wasm_jump-table-assembler.h | 16 - www/ungoogled-chromium/pkg-plist | 1 + 391 files changed, 2223 insertions(+), 41342 deletions(-) diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile index 31c8b86f321d..c630062506b9 100644 --- a/www/ungoogled-chromium/Makefile +++ b/www/ungoogled-chromium/Makefile @@ -1,5 +1,5 @@ PORTNAME= ungoogled-chromium -PORTVERSION= 120.0.6099.224 +PORTVERSION= 121.0.6167.139 UGVERSION= ${DISTVERSION}-1 CATEGORIES= www wayland MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ @@ -37,7 +37,6 @@ BUILD_DEPENDS= bash:shells/bash \ LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libspeechd.so:accessibility/speech-dispatcher \ - libsnappy.so:archivers/snappy \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libspeex.so:audio/speex \ @@ -108,7 +107,8 @@ GN_ARGS+= enable_widevine=true \ toolkit_views=true \ use_allocator_shim=false \ use_aura=true \ - use_custom_libcxx=false \ + use_custom_libcxx=true \ + use_custom_libunwind=true \ use_lld=true \ use_partition_alloc=true \ use_partition_alloc_as_malloc=false \ @@ -128,6 +128,7 @@ GN_ARGS+= build_with_tflite_lib=false \ clang_use_chrome_plugins=false \ disable_fieldtrial_testing_config=true \ enable_backup_ref_ptr_support=false \ + enable_log_error_not_reached=true \ enable_hangout_services_extension=false \ enable_mdns=false \ enable_nacl=false \ @@ -242,8 +243,8 @@ TEST_ALL_TARGET= ${TEST_TARGETS} IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif -.if ${COMPILER_VERSION} < 160 -LLVM_DEFAULT= 16 +.if ${COMPILER_VERSION} < 170 +LLVM_DEFAULT= 17 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ @@ -311,7 +312,7 @@ pre-configure: cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ dav1d flac fontconfig freetype harfbuzz-ng icu libdrm libevent libpng \ - libusb libwebp libxml libxslt openh264 opus snappy || ${FALSE} + libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it cd ${WRKSRC}/third_party/ffmpeg && \ ${PYTHON_CMD} chromium/scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ @@ -384,6 +385,7 @@ do-install: # SwiftShader .if ${ARCH} != aarch64 ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvk_swiftshader.so ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/vk_swiftshader_icd.json ${STAGEDIR}${DATADIR} .endif post-install-DEBUG-on: diff --git a/www/ungoogled-chromium/distinfo b/www/ungoogled-chromium/distinfo index abeeb60bfdf9..67fae4ef012a 100644 --- a/www/ungoogled-chromium/distinfo +++ b/www/ungoogled-chromium/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1705683725 -SHA256 (chromium-120.0.6099.224.tar.xz) = 850a85c8d8a01041a07dfaaea8289fa5f8294b4e375e6b77997b61434e0a2f1a -SIZE (chromium-120.0.6099.224.tar.xz) = 3299542904 -SHA256 (ungoogled-chromium-120.0.6099.224-1.tar.gz) = b96fd3d5d64ffd5efa3bc52966adfd7fd1dd3e85ebf3517924054b577ac03750 -SIZE (ungoogled-chromium-120.0.6099.224-1.tar.gz) = 665887 -SHA256 (chromium-120.0.6099.224-testdata.tar.xz) = db8ef8f50dd759f548fd269202f9d084e3d1bb92b587bd5e0023707ac29518ea -SIZE (chromium-120.0.6099.224-testdata.tar.xz) = 268575524 +TIMESTAMP = 1706973655 +SHA256 (chromium-121.0.6167.139.tar.xz) = e12cc967bef7a79630828792f02d95297a06eb905c98e4c6e065fd5e74d6f9ff +SIZE (chromium-121.0.6167.139.tar.xz) = 3340424948 +SHA256 (ungoogled-chromium-121.0.6167.139-1.tar.gz) = a4f389f9159effbbe47a07ade0b8b9b86ebb64a56230ea7a4b43664cd499f829 +SIZE (ungoogled-chromium-121.0.6167.139-1.tar.gz) = 666180 +SHA256 (chromium-121.0.6167.139-testdata.tar.xz) = ea1431ca694fd314ec542642f1ef5112df737792106dd991edf46eb012732a15 +SIZE (chromium-121.0.6167.139-testdata.tar.xz) = 272290844 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 cb8b72117f53..a0b35734ba84 100644 --- a/www/ungoogled-chromium/files/patch-BUILD.gn +++ b/www/ungoogled-chromium/files/patch-BUILD.gn @@ -1,6 +1,6 @@ ---- BUILD.gn.orig 2023-12-23 12:33:28 UTC +--- BUILD.gn.orig 2024-02-03 15:42:55 UTC +++ BUILD.gn -@@ -61,7 +61,7 @@ declare_args() { +@@ -62,7 +62,7 @@ declare_args() { root_extra_deps = [] } @@ -9,7 +9,7 @@ # An official (maximally optimized!) component (optimized for build times) # build doesn't make sense and usually doesn't work. assert(!is_component_build) -@@ -95,7 +95,6 @@ group("gn_all") { +@@ -94,7 +94,6 @@ group("gn_all") { "//codelabs", "//components:components_unittests", "//components/gwp_asan:gwp_asan_unittests", @@ -17,7 +17,7 @@ "//net:net_unittests", "//sandbox:sandbox_unittests", "//services:services_unittests", -@@ -415,7 +414,7 @@ group("gn_all") { +@@ -417,7 +416,7 @@ group("gn_all") { } } @@ -26,7 +26,7 @@ deps += [ "//third_party/breakpad:breakpad_unittests", "//third_party/breakpad:core-2-minidump", -@@ -607,6 +606,15 @@ group("gn_all") { +@@ -609,6 +608,15 @@ group("gn_all") { } } @@ -42,7 +42,7 @@ if (is_mac) { deps += [ "//third_party/breakpad:dump_syms", -@@ -656,7 +664,7 @@ group("gn_all") { +@@ -655,7 +663,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)" ] } -@@ -1077,7 +1085,7 @@ if (use_blink && !is_cronet_build) { +@@ -1076,7 +1084,7 @@ if (use_blink && !is_cronet_build) { ] } @@ -60,7 +60,7 @@ script_test("chrome_wpt_tests") { script = "//third_party/blink/tools/run_wpt_tests.py" args = [ -@@ -1150,7 +1158,7 @@ if (use_blink && !is_cronet_build) { +@@ -1166,7 +1174,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ] } @@ -69,7 +69,7 @@ data_deps += [ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ] } -@@ -1159,7 +1167,7 @@ if (use_blink && !is_cronet_build) { +@@ -1175,7 +1183,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] } @@ -78,7 +78,7 @@ data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ] } -@@ -1624,7 +1632,7 @@ group("chromium_builder_perf") { +@@ -1616,7 +1624,7 @@ group("chromium_builder_perf") { data_deps += [ "//chrome/test:performance_browser_tests" ] } diff --git a/www/ungoogled-chromium/files/patch-apps_ui_views_app__window__frame__view.cc b/www/ungoogled-chromium/files/patch-apps_ui_views_app__window__frame__view.cc index 91ad45d16a5a..9060c0d436ee 100644 --- a/www/ungoogled-chromium/files/patch-apps_ui_views_app__window__frame__view.cc +++ b/www/ungoogled-chromium/files/patch-apps_ui_views_app__window__frame__view.cc @@ -1,6 +1,6 @@ ---- apps/ui/views/app_window_frame_view.cc.orig 2023-12-23 12:33:28 UTC +--- apps/ui/views/app_window_frame_view.cc.orig 2024-02-03 15:42:55 UTC +++ apps/ui/views/app_window_frame_view.cc -@@ -149,7 +149,7 @@ gfx::Rect AppWindowFrameView::GetWindowBoundsForClient +@@ -148,7 +148,7 @@ gfx::Rect AppWindowFrameView::GetWindowBoundsForClient gfx::Rect window_bounds = client_bounds; // TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is // complete. diff --git a/www/ungoogled-chromium/files/patch-base_BUILD.gn b/www/ungoogled-chromium/files/patch-base_BUILD.gn index a9c528e7a0b8..16ea2291458f 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-12-23 12:33:28 UTC +--- base/BUILD.gn.orig 2024-02-03 15:42:55 UTC +++ base/BUILD.gn @@ -186,7 +186,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" -@@ -1105,11 +1105,23 @@ component("base") { +@@ -1098,11 +1098,23 @@ component("base") { # Needed for if using newer C++ library than sysroot, except if # building inside the cros_sdk environment - use host_toolchain as a # more robust check for this. @@ -34,7 +34,7 @@ if (use_allocator_shim) { if (is_apple) { sources += [ "allocator/early_zone_registration_apple.h" ] -@@ -1129,7 +1141,7 @@ component("base") { +@@ -1122,7 +1134,7 @@ component("base") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -43,7 +43,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -2088,6 +2100,22 @@ component("base") { +@@ -2077,6 +2089,22 @@ component("base") { ] } @@ -66,7 +66,7 @@ # iOS if (is_ios) { sources += [ -@@ -2220,6 +2248,29 @@ component("base") { +@@ -2207,6 +2235,29 @@ component("base") { } } @@ -96,7 +96,7 @@ if (use_blink) { sources += [ "files/file_path_watcher.cc", -@@ -2230,7 +2281,7 @@ component("base") { +@@ -2217,7 +2268,7 @@ component("base") { } if (dep_libevent) { @@ -105,7 +105,7 @@ } if (use_libevent) { -@@ -3619,7 +3670,7 @@ test("base_unittests") { +@@ -3615,7 +3666,7 @@ test("base_unittests") { ] } @@ -114,7 +114,7 @@ sources += [ "debug/proc_maps_linux_unittest.cc", "files/scoped_file_linux_unittest.cc", -@@ -3640,7 +3691,7 @@ test("base_unittests") { +@@ -3637,7 +3688,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", -@@ -3651,7 +3702,7 @@ test("base_unittests") { +@@ -3648,7 +3699,7 @@ test("base_unittests") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -132,7 +132,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -3913,7 +3964,7 @@ test("base_unittests") { +@@ -3909,7 +3960,7 @@ test("base_unittests") { } } 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 042ffbd2d64c..dcc48c6c3a9b 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,6 +1,6 @@ ---- base/allocator/partition_allocator/partition_alloc.gni.orig 2023-11-04 07:08:51 UTC +--- base/allocator/partition_allocator/partition_alloc.gni.orig 2024-02-03 15:42:55 UTC +++ base/allocator/partition_allocator/partition_alloc.gni -@@ -319,7 +319,7 @@ declare_args() { +@@ -333,7 +333,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. diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn index 1ea41bbd5f5f..05b7ea1ba80d 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_BUILD.gn @@ -1,11 +1,11 @@ ---- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2023-12-23 12:33:28 UTC +--- base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2024-02-03 15:42:55 UTC +++ base/allocator/partition_allocator/src/partition_alloc/BUILD.gn -@@ -582,7 +582,7 @@ source_set("allocator_shim") { - ] - configs += [ ":mac_no_default_new_delete_symbols" ] +@@ -855,7 +855,7 @@ if (is_clang_or_gcc) { + configs -= [ "//build/config/compiler:enable_arc" ] + } } - if (is_chromeos || is_linux) { + if ((is_chromeos || is_linux) && !is_bsd) { - sources += [ + shim_headers += [ "shim/allocator_shim_override_cpp_symbols.h", "shim/allocator_shim_override_glibc_weak_symbols.h", diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc index 7a76584417bf..1691ac5222bf 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc @@ -1,4 +1,4 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc.orig 2023-12-23 12:33:28 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc.orig 2024-02-03 15:42:55 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc @@ -12,11 +12,11 @@ #include @@ -11,10 +11,10 @@ -#if BUILDFLAG(IS_APPLE) +#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD) - #define HAVE_DLADDR #include #endif -@@ -25,7 +25,7 @@ namespace partition_alloc::internal::base::debug { + +@@ -24,7 +24,7 @@ namespace partition_alloc::internal::base::debug { namespace { @@ -23,7 +23,7 @@ constexpr size_t kBufferSize = 4096u; -@@ -359,7 +359,7 @@ void PrintStackTraceInternal(const void** trace, size_ +@@ -358,7 +358,7 @@ void PrintStackTraceInternal(const void** trace, size_ } #endif // !BUILDFLAG(IS_APPLE) diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc index 4dc47dee29c3..04d72ef5dc44 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc @@ -1,8 +1,8 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc.orig 2023-12-23 12:33:28 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc.orig 2024-02-03 15:42:55 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc @@ -17,7 +17,7 @@ - #include "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h" - #include "build/build_config.h" + #include "partition_alloc/partition_alloc_base/logging.h" + #include "partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h index 85a99bacad9e..2c7dcf90d524 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h @@ -1,15 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2023-12-23 12:33:28 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2024-02-03 15:42:55 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h -@@ -94,7 +94,7 @@ static_assert(sizeof(void*) != 8, ""); - // POSIX is not only UNIX, e.g. macOS and other OSes. We do use Linux-specific - // features such as futex(2). - #define PA_CONFIG_HAS_LINUX_KERNEL() \ -- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)) -+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)) - - // On some platforms, we implement locking by spinning in userspace, then going - // into the kernel only if there is contention. This requires platform support, -@@ -241,7 +241,7 @@ constexpr bool kUseLazyCommit = false; +@@ -255,7 +255,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. #define PA_CONFIG_HAS_ATFORK_HANDLER() \ @@ -18,12 +9,12 @@ // PartitionAlloc uses PartitionRootEnumerator to acquire all // PartitionRoots at BeforeFork and to release at AfterFork. -@@ -288,7 +288,7 @@ constexpr bool kUseLazyCommit = false; +@@ -301,7 +301,7 @@ constexpr bool kUseLazyCommit = false; + // // Also enabled on ARM64 macOS, as the 16kiB pages on this platform lead to // larger slot spans. - #define PA_CONFIG_PREFER_SMALLER_SLOT_SPANS() \ -- (BUILDFLAG(IS_LINUX) || (BUILDFLAG(IS_MAC) && defined(ARCH_CPU_ARM64))) -+ (BUILDFLAG(IS_LINUX) || (BUILDFLAG(IS_MAC) && defined(ARCH_CPU_ARM64)) || BUILDFLAG(IS_BSD)) - - // Enable shadow metadata. - // +-#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_CONFIG_PREFER_SMALLER_SLOT_SPANS() 1 + #else + #define PA_CONFIG_PREFER_SMALLER_SLOT_SPANS() 0 diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h index b2aeb5832373..69d14e15a403 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2023-12-23 12:33:28 UTC +--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2024-02-03 15:42:55 UTC +++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h -@@ -107,7 +107,7 @@ PartitionPageShift() { +@@ -111,7 +111,7 @@ PartitionPageShift() { return 18; // 256 KiB } #elif (BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)) || \ @@ -9,7 +9,7 @@ PA_ALWAYS_INLINE PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR size_t PartitionPageShift() { return PageAllocationGranularityShift() + 2; -@@ -309,7 +309,8 @@ constexpr size_t kNumPools = kMaxPoolHandle - 1; +@@ -313,7 +313,8 @@ constexpr size_t kNumPools = kMaxPoolHandle - 1; // 8GB for each of the glued pools). #if BUILDFLAG(HAS_64_BIT_POINTERS) #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) || \ diff --git a/www/ungoogled-chromium/files/patch-base_compiler__specific.h b/www/ungoogled-chromium/files/patch-base_compiler__specific.h index 97e912d487ba..993dd32e52f5 100644 --- a/www/ungoogled-chromium/files/patch-base_compiler__specific.h +++ b/www/ungoogled-chromium/files/patch-base_compiler__specific.h @@ -1,4 +1,4 @@ ---- base/compiler_specific.h.orig 2023-05-05 12:12:41 UTC +--- base/compiler_specific.h.orig 2024-02-03 15:42:55 UTC +++ base/compiler_specific.h @@ -41,9 +41,9 @@ // Annotate a function indicating it should not be inlined. @@ -12,8 +12,8 @@ #define NOINLINE __attribute__((noinline)) #elif defined(COMPILER_MSVC) #define NOINLINE __declspec(noinline) -@@ -51,9 +51,9 @@ - #define NOINLINE +@@ -60,9 +60,9 @@ + #define NOOPT #endif -#if defined(__clang__) && defined(NDEBUG) && HAS_ATTRIBUTE(always_inline) @@ -24,7 +24,7 @@ #define ALWAYS_INLINE inline __attribute__((__always_inline__)) #elif defined(COMPILER_MSVC) && defined(NDEBUG) #define ALWAYS_INLINE __forceinline -@@ -69,7 +69,7 @@ +@@ -78,7 +78,7 @@ // prevent code folding, see NO_CODE_FOLDING() in base/debug/alias.h. // Use like: // NOT_TAIL_CALLED void FooBar(); 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 index 39142906151a..b280ba971e02 100644 --- a/www/ungoogled-chromium/files/patch-base_files_file__path__watcher.h +++ b/www/ungoogled-chromium/files/patch-base_files_file__path__watcher.h @@ -1,6 +1,6 @@ ---- base/files/file_path_watcher.h.orig 2023-02-11 09:11:04 UTC +--- base/files/file_path_watcher.h.orig 2024-02-03 15:42:55 UTC +++ base/files/file_path_watcher.h -@@ -59,7 +59,7 @@ class BASE_EXPORT FilePathWatcher { +@@ -105,7 +105,7 @@ class BASE_EXPORT FilePathWatcher { Type type = Type::kNonRecursive; #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ 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 ae01847cfb6b..b597267cc7f9 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,6 +1,6 @@ ---- base/files/file_path_watcher_unittest.cc.orig 2023-12-23 12:33:28 UTC +--- base/files/file_path_watcher_unittest.cc.orig 2024-02-03 15:42:55 UTC +++ base/files/file_path_watcher_unittest.cc -@@ -703,7 +703,7 @@ TEST_F(FilePathWatcherTest, WatchDirectory) { +@@ -836,7 +836,7 @@ TEST_F(FilePathWatcherTest, WatchDirectory) { } delegate.RunUntilEventsMatch(event_expecter); @@ -9,7 +9,7 @@ ASSERT_TRUE(WriteFile(file1, "content v2")); // Mac implementation does not detect files modified in a directory. // TODO(https://crbug.com/1432064): Expect that no events are fired on Mac. -@@ -1639,7 +1639,7 @@ namespace { +@@ -1772,7 +1772,7 @@ namespace { enum Permission { Read, Write, Execute }; @@ -18,7 +18,7 @@ bool ChangeFilePermissions(const FilePath& path, Permission perm, bool allow) { struct stat stat_buf; -@@ -1673,7 +1673,7 @@ bool ChangeFilePermissions(const FilePath& path, Permi +@@ -1806,7 +1806,7 @@ bool ChangeFilePermissions(const FilePath& path, Permi } // namespace diff --git a/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc b/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc index 66d45ef47f19..55558c3efc75 100644 --- a/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc +++ b/www/ungoogled-chromium/files/patch-base_files_file__util__posix.cc @@ -1,6 +1,6 @@ ---- base/files/file_util_posix.cc.orig 2023-11-04 07:08:51 UTC +--- base/files/file_util_posix.cc.orig 2024-02-03 15:42:55 UTC +++ base/files/file_util_posix.cc -@@ -756,33 +756,34 @@ bool CreateDirectoryAndGetError(const FilePath& full_p +@@ -772,33 +772,34 @@ bool CreateDirectoryAndGetError(const FilePath& full_p File::Error* error) { ScopedBlockingCall scoped_blocking_call( FROM_HERE, BlockingType::MAY_BLOCK); // For call to mkdir(). diff --git a/www/ungoogled-chromium/files/patch-base_logging__unittest.cc b/www/ungoogled-chromium/files/patch-base_logging__unittest.cc index 5264a5d646fe..ca8f3e9ab943 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 2023-02-11 09:11:04 UTC +--- base/logging_unittest.cc.orig 2024-02-03 15:42:55 UTC +++ base/logging_unittest.cc @@ -32,7 +32,7 @@ #include "base/posix/eintr_wrapper.h" @@ -9,7 +9,7 @@ #include #endif -@@ -575,14 +575,18 @@ void CheckCrashTestSighandler(int, siginfo_t* info, vo +@@ -570,14 +570,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_native__library__unittest.cc b/www/ungoogled-chromium/files/patch-base_native__library__unittest.cc index 366ca9740016..8d6f7841fee7 100644 --- a/www/ungoogled-chromium/files/patch-base_native__library__unittest.cc +++ b/www/ungoogled-chromium/files/patch-base_native__library__unittest.cc @@ -1,6 +1,6 @@ ---- base/native_library_unittest.cc.orig 2022-10-29 17:50:56 UTC +--- base/native_library_unittest.cc.orig 2024-02-03 15:42:55 UTC +++ base/native_library_unittest.cc -@@ -134,7 +134,7 @@ TEST(NativeLibraryTest, LoadLibrary) { +@@ -135,7 +135,7 @@ TEST(NativeLibraryTest, LoadLibrary) { // versions with respect to symbol resolution scope. // TSan and MSan error out on RTLD_DEEPBIND, https://crbug.com/705255 #if !BUILDFLAG(IS_ANDROID) && !defined(THREAD_SANITIZER) && \ diff --git a/www/ungoogled-chromium/files/patch-base_process_memory__linux.cc b/www/ungoogled-chromium/files/patch-base_process_memory__linux.cc index 2df2a75c31ae..e2285cb45b47 100644 --- a/www/ungoogled-chromium/files/patch-base_process_memory__linux.cc +++ b/www/ungoogled-chromium/files/patch-base_process_memory__linux.cc @@ -1,6 +1,6 @@ ---- base/process/memory_linux.cc.orig 2023-02-11 09:11:04 UTC +--- base/process/memory_linux.cc.orig 2024-02-03 15:42:55 UTC +++ base/process/memory_linux.cc -@@ -20,6 +20,7 @@ +@@ -28,6 +28,7 @@ void __libc_free(void*); namespace base { @@ -8,7 +8,7 @@ namespace { void ReleaseReservationOrTerminate() { -@@ -29,12 +30,14 @@ void ReleaseReservationOrTerminate() { +@@ -37,12 +38,14 @@ void ReleaseReservationOrTerminate() { } } // namespace @@ -23,7 +23,7 @@ // 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() { +@@ -51,8 +54,10 @@ void EnableTerminationOnOutOfMemory() { #if BUILDFLAG(USE_ALLOCATOR_SHIM) allocator_shim::SetCallNewHandlerOnMallocFailure(true); #endif @@ -34,7 +34,7 @@ // ScopedAllowBlocking() has private constructor and it can only be used in // friend classes/functions. Declaring a class is easier in this situation to // avoid adding more dependency to thread_restrictions.h because of the -@@ -104,6 +109,7 @@ bool AdjustOOMScoreHelper::AdjustOOMScore(ProcessId pr +@@ -112,6 +117,7 @@ bool AdjustOOMScoreHelper::AdjustOOMScore(ProcessId pr bool AdjustOOMScore(ProcessId process, int score) { *** 49659 LINES SKIPPED ***