git: e89219e9fe0c - main - www/ungoogled-chromium: update to 113.0.5672.63
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 May 2023 12:58:14 UTC
The branch main has been updated by rnagy: URL: https://cgit.FreeBSD.org/ports/commit/?id=e89219e9fe0c76b9d0ffb46a1d7f757c35908999 commit e89219e9fe0c76b9d0ffb46a1d7f757c35908999 Author: Robert Nagy <rnagy@FreeBSD.org> AuthorDate: 2023-05-05 12:57:23 +0000 Commit: Robert Nagy <rnagy@FreeBSD.org> CommitDate: 2023-05-05 12:58:04 +0000 www/ungoogled-chromium: update to 113.0.5672.63 Approved by: rene (mentor, implicit) Security: https://vuxml.freebsd.org/freebsd/246174d3-e979-11ed-8290-a8a1599412c6.html --- www/ungoogled-chromium/Makefile | 6 +- www/ungoogled-chromium/distinfo | 14 +- www/ungoogled-chromium/files/patch-BUILD.gn | 20 +- www/ungoogled-chromium/files/patch-base_BUILD.gn | 22 +- ...rtition__allocator_page__allocator__constants.h | 4 +- ...__allocator_page__allocator__internals__posix.h | 4 +- ...cator_partition__allocator_partition__alloc.gni | 4 +- ...tor_partition__alloc__base_compiler__specific.h | 32 +++ ...partition__allocator_partition__alloc__config.h | 6 +- ...tition__allocator_partition__alloc__constants.h | 6 +- ...llocator_partition__allocator_partition__page.h | 4 +- ...locator_partition__allocator_partition__root.cc | 10 +- ...locator_partition__allocator_spinning__mutex.cc | 6 +- .../files/patch-base_base__switches.cc | 4 +- .../files/patch-base_base__switches.h | 4 +- .../files/patch-base_compiler__specific.h | 35 +++ .../files/patch-base_files_file__util__posix.cc | 4 +- .../files/patch-base_files_file__util__unittest.cc | 6 +- .../files/patch-base_process_launch.h | 4 +- .../files/patch-base_process_process__unittest.cc | 4 +- ...ofiler_stack__sampling__profiler__test__util.cc | 4 +- ...ch-base_threading_platform__thread__unittest.cc | 8 +- .../files/patch-build_config_compiler_BUILD.gn | 22 +- .../files/patch-build_config_rust.gni | 4 +- .../files/patch-build_toolchain_gcc__toolchain.gni | 4 +- www/ungoogled-chromium/files/patch-cc_BUILD.gn | 8 +- .../files/patch-chrome_app_chrome__main.cc | 20 +- .../patch-chrome_app_chrome__main__delegate.cc | 35 +-- .../files/patch-chrome_app_chromium__strings.grd | 4 +- .../patch-chrome_app_generated__resources.grd | 16 +- .../files/patch-chrome_browser_about__flags.cc | 30 +-- ...owser_background_background__mode__optimizer.cc | 8 +- .../patch-chrome_browser_browser__process__impl.cc | 8 +- .../patch-chrome_browser_browser__process__impl.h | 4 +- ..._browser_chrome__browser__interface__binders.cc | 14 +- .../patch-chrome_browser_chrome__browser__main.cc | 10 +- ...-chrome_browser_chrome__browser__main__linux.cc | 6 +- ...ome_browser_chrome__content__browser__client.cc | 34 +-- ...rome_browser_chrome__content__browser__client.h | 4 +- ...rome_browser_devtools_devtools__eye__dropper.cc | 11 - ...oad_bubble_download__bubble__update__service.cc | 32 +++ ...load_bubble_download__bubble__update__service.h | 13 + ...download_chrome__download__manager__delegate.cc | 6 +- ...hrome_browser_download_download__item__model.cc | 8 +- ...atch-chrome_browser_download_download__prefs.cc | 6 +- ...wser_enterprise_connectors_connectors__prefs.cc | 11 - ...onnectors_reporting_crash__reporting__context.h | 29 --- ..._browser__context__keyed__service__factories.cc | 6 +- ..._private_enterprise__reporting__private__api.cc | 8 +- ...__private_passwords__private__delegate__impl.cc | 4 +- ..._browser_extensions_external__provider__impl.cc | 6 +- .../patch-chrome_browser_flag__descriptions.cc | 16 +- .../patch-chrome_browser_flag__descriptions.h | 14 +- ..._browser_media_webrtc_capture__policy__utils.cc | 6 +- ...e_browser_media_webrtc_webrtc__log__uploader.cc | 4 +- ...ser_media_webrtc_webrtc__logging__controller.cc | 10 +- ...wser_media_webrtc_webrtc__logging__controller.h | 10 +- ...chrome__browser__main__extra__parts__metrics.cc | 16 +- ..._chrome__browser__main__extra__parts__metrics.h | 6 +- ...ser_metrics_chrome__metrics__service__client.cc | 28 +- ...rowser_net_system__network__context__manager.cc | 4 +- ...onfiguration__policy__handler__list__factory.cc | 51 ++-- .../patch-chrome_browser_prefs_browser__prefs.cc | 22 +- ...er_printing_print__backend__service__manager.cc | 8 +- ...patch-chrome_browser_printing_printer__query.cc | 4 +- ...hrome__browser__main__extra__parts__profiles.cc | 27 +- .../patch-chrome_browser_profiles_profile__impl.cc | 10 +- ...sync__confirmation_sync__confirmation__app.html | 12 +- ...browsing_download__protection_file__analyzer.cc | 8 +- ...tch-chrome_browser_sync_chrome__sync__client.cc | 14 +- ...h-chrome_browser_sync_sync__service__factory.cc | 4 +- ...r_task__manager_sampling_task__manager__impl.cc | 4 +- ...rome_browser_ui_browser__command__controller.cc | 6 +- ...browser_ui_startup_startup__browser__creator.cc | 8 +- ...r_ui_startup_startup__browser__creator__impl.cc | 4 +- .../files/patch-chrome_browser_ui_tab__helpers.cc | 6 +- ...chrome_browser_ui_views_frame_browser__frame.cc | 12 +- ...-chrome_browser_ui_views_frame_browser__frame.h | 6 +- ...er__non__client__frame__view__factory__views.cc | 6 +- ...-chrome_browser_ui_views_frame_browser__view.cc | 4 +- ..._ui_views_frame_opaque__browser__frame__view.cc | 10 +- ...e_picture__in__picture__browser__frame__view.cc | 10 +- ...es_signin__view__controller__delegate__views.cc | 4 +- .../patch-chrome_browser_ui_views_tabs_tab.cc | 4 +- ..._browser_ui_views_tabs_tab__drag__controller.cc | 14 +- ...ui_views_tabs_tab__hover__card__bubble__view.cc | 11 + ...eb__apps_web__app__integration__test__driver.cc | 42 +-- ..._ui_webui_app__home_app__home__page__handler.cc | 16 +- ...i_webui_chrome__web__ui__controller__factory.cc | 16 +- ...tings_settings__localized__strings__provider.cc | 14 +- ..._integration_os__integration__test__override.cc | 22 +- ...__integration_os__integration__test__override.h | 10 +- ...integration_run__on__os__login__sub__manager.cc | 11 + ...plications_os__integration_web__app__shortcut.h | 4 +- ...thn_chrome__authenticator__request__delegate.cc | 4 +- .../files/patch-chrome_common_channel__info.h | 11 +- .../patch-chrome_common_channel__info__posix.cc | 13 +- .../files/patch-chrome_common_chrome__features.cc | 6 +- .../files/patch-chrome_common_chrome__features.h | 6 +- .../files/patch-chrome_common_chrome__paths.cc | 16 +- .../files/patch-chrome_common_chrome__switches.cc | 4 +- .../files/patch-chrome_common_pref__names.cc | 16 +- .../files/patch-chrome_common_pref__names.h | 18 +- .../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 | 6 +- ...services_speech_audio__source__fetcher__impl.cc | 4 +- .../files/patch-chrome_test_BUILD.gn | 10 +- .../files/patch-chrome_updater_configurator.cc | 10 +- .../files/patch-chrome_updater_util_posix__util.cc | 4 +- ...utofill_core_browser_personal__data__manager.cc | 4 +- ...ill_core_common_autofill__payments__features.cc | 4 +- ...h_core_browser_crash__upload__list__crashpad.cc | 12 +- ...nents_device__signals_test_signals__contract.cc | 4 +- ...e__engagement_public_feature__configurations.cc | 4 +- ...eature__engagement_public_feature__constants.cc | 6 +- ...feature__engagement_public_feature__constants.h | 4 +- ...nts_feature__engagement_public_feature__list.cc | 10 +- ...ents_feature__engagement_public_feature__list.h | 20 +- ...nts_gwp__asan_crash__handler_crash__analyzer.cc | 6 +- .../files/patch-components_metrics_metrics__log.cc | 8 +- ...rator_browser_network__session__configurator.cc | 4 +- ...ch-components_os__crypt_keyring__util__linux.cc | 17 -- ...mponents_os__crypt_sync_keyring__util__linux.cc | 26 ++ ...nents_os__crypt_sync_libsecret__util__linux.cc} | 19 +- ...=> patch-components_os__crypt_sync_os__crypt.h} | 4 +- ...nager_core_browser_login__database__unittest.cc | 8 +- ...ger_core_browser_sync_password__sync__bridge.cc | 6 +- ...ager_core_common_password__manager__features.cc | 8 +- ...nager_core_common_password__manager__features.h | 8 +- ...mponents_performance__manager_public_features.h | 4 +- ...icy_core_browser_policy__pref__mapping__test.cc | 4 +- ..._core_browser_db_v4__protocol__manager__util.cc | 4 +- ...en__ai_public_cpp_screen__ai__install__state.cc | 20 ++ ...__ai_sandbox_screen__ai__sandbox__hook__linux.h | 4 +- ...ore_browser_translate__ui__languages__manager.h | 10 + ...nents_variations_service_variations__service.cc | 4 +- ...patch-components_version__info_version__info.cc | 131 ++++++++++ .../patch-components_version__info_version__info.h | 145 +++++++++++ ...isplay__embedder_skia__output__surface__impl.cc | 4 +- ...omponents_viz_service_display_skia__renderer.cc | 4 +- ...e__sinks_root__compositor__frame__sink__impl.cc | 6 +- ...atch-content_app_content__main__runner__impl.cc | 62 ++--- .../files/patch-content_browser_BUILD.gn | 4 +- ..._browser_browser__child__process__host__impl.cc | 4 +- ...content_browser_gpu_gpu__data__manager__impl.cc | 11 + ...-content_browser_gpu_gpu__data__manager__impl.h | 11 + ...rowser_gpu_gpu__data__manager__impl__private.cc | 11 + ...browser_gpu_gpu__data__manager__impl__private.h | 20 ++ ..._gpu_gpu__memory__buffer__manager__singleton.cc | 20 ++ ...patch-content_browser_gpu_gpu__process__host.cc | 6 +- ...er_renderer__host_back__forward__cache__impl.cc | 4 +- ...r_renderer__host_render__process__host__impl.cc | 16 +- ...er_renderer__host_render__process__host__impl.h | 8 +- ...derer__host_render__widget__host__view__aura.cc | 8 +- .../files/patch-content_child_child__process.cc | 10 +- .../files/patch-content_common_BUILD.gn | 6 +- .../files/patch-content_gpu_BUILD.gn | 20 ++ .../patch-content_gpu_gpu__sandbox__hook__bsd.cc | 72 ++++++ .../patch-content_gpu_gpu__sandbox__hook__bsd.h | 19 ++ .../patch-content_gpu_gpu__sandbox__hook__linux.cc | 70 ----- ...ch-content_ppapi__plugin_ppapi__plugin__main.cc | 6 +- ...-content_public_browser_render__process__host.h | 6 +- ...atch-content_public_common_content__features.cc | 8 +- ...atch-content_public_common_content__switches.cc | 6 +- ...patch-content_public_common_content__switches.h | 6 +- ...ntent_public_test_mock__render__process__host.h | 4 +- ...patch-content_renderer_render__process__impl.cc | 8 +- .../patch-content_renderer_render__thread__impl.cc | 10 +- ...ent_renderer_renderer__blink__platform__impl.cc | 10 +- ...tent_renderer_renderer__blink__platform__impl.h | 6 +- .../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 +- .../files/patch-content_test_BUILD.gn | 6 +- .../files/patch-content_utility_services.cc | 14 +- ...ech_speech__recognition__sandbox__hook__linux.h | 4 +- .../files/patch-content_utility_utility__main.cc | 4 +- .../patch-content_zygote_zygote__main__linux.cc | 20 +- .../patch-device_bluetooth_bluetooth__adapter.cc | 12 +- ...tensions_common_api___permission__features.json | 8 +- ...h-google__apis_gcm_engine_heartbeat__manager.cc | 8 +- ...__buffer_common_gpu__memory__buffer__support.cc | 6 +- ..._command__buffer_service_gles2__cmd__decoder.cc | 4 +- ...image_angle__vulkan__image__backing__factory.cc | 4 +- ...e_shared__image_external__vk__image__backing.cc | 6 +- ..._image_external__vk__image__backing__factory.cc | 4 +- ...service_shared__image_shared__image__manager.cc | 4 +- ...ce_shared__image_wrapped__sk__image__backing.cc | 10 +- ...ommand__buffer_service_webgpu__decoder__impl.cc | 4 +- ...ffer_tests_gl__gpu__memory__buffer__unittest.cc | 8 +- .../files/patch-gpu_config_gpu__finch__features.cc | 6 +- .../files/patch-gpu_ipc_service_gpu__init.cc | 29 +-- .../patch-gpu_vulkan_vulkan__device__queue.cc | 6 +- .../files/patch-gpu_vulkan_vulkan__device__queue.h | 4 +- ...rowser_headless__browser__main__parts__posix.cc | 14 +- ...adless_lib_headless__content__main__delegate.cc | 4 +- .../files/patch-ipc_ipc__message__utils.cc | 4 +- .../patch-media_audio_audio__input__device.cc | 4 +- .../files/patch-media_audio_sndio_sndio__input.cc | 4 +- .../files/patch-media_base_media__switches.cc | 10 +- .../files/patch-media_base_media__switches.h | 4 +- .../files/patch-media_base_video__frame.h | 8 +- ..._capture_video_linux_v4l2__capture__delegate.cc | 288 +-------------------- ...a_capture_video_linux_v4l2__capture__delegate.h | 4 +- ..._linux_video__capture__device__factory__v4l2.cc | 8 +- ...capture_video_video__capture__device__client.cc | 4 +- ...gpu_gpu__video__encode__accelerator__factory.cc | 4 +- ...dware__video__decoding__sandbox__hook__linux.cc | 8 +- ...rdware__video__decoding__sandbox__hook__linux.h | 4 +- ...dware__video__encoding__sandbox__hook__linux.cc | 7 +- ...rdware__video__encoding__sandbox__hook__linux.h | 4 +- .../patch-media_gpu_vaapi_vaapi__video__decoder.cc | 4 +- .../files/patch-media_media__options.gni | 6 +- ...ideo_gpu__memory__buffer__video__frame__pool.cc | 8 +- ...ia_video_video__encode__accelerator__adapter.cc | 4 +- ...eo_video__encode__accelerator__adapter__test.cc | 4 +- .../files/patch-mojo_core_BUILD.gn | 4 +- .../files/patch-mojo_core_embedder_features.h | 8 +- .../patch-mojo_public_tools_bindings_mojom.gni | 4 +- www/ungoogled-chromium/files/patch-net_BUILD.gn | 18 +- .../files/patch-net_cert_cert__verifier.cc | 14 +- .../files/patch-net_cert_cert__verify__proc.cc | 10 +- .../files/patch-net_cert_cert__verify__proc.h | 8 +- .../patch-net_cert_cert__verify__proc__unittest.cc | 23 +- .../patch-net_cert_test__root__certs__unittest.cc | 14 +- .../files/patch-net_dns_address__sorter__posix.cc | 12 +- .../patch-net_http_http__auth__gssapi__posix.cc | 4 +- .../files/patch-net_socket_udp__socket__posix.cc | 8 +- ...verify__tool_cert__verify__comparision__tool.cc | 8 +- ..._tools_cert__verify__tool_cert__verify__tool.cc | 16 +- .../patch-printing_backend_cups__ipp__helper.cc | 4 +- .../files/patch-printing_print__settings.h | 6 +- ...sandbox_print__backend__sandbox__hook__linux.cc | 11 +- ..._sandbox_print__backend__sandbox__hook__linux.h | 4 +- .../files/patch-remoting_base_mojo__util.cc | 11 + ...ch-remoting_host_basic__desktop__environment.cc | 4 +- .../files/patch-remoting_host_policy__watcher.cc | 10 +- ...atch-sandbox_policy_freebsd_sandbox__freebsd.cc | 74 +++--- ...atch-sandbox_policy_openbsd_sandbox__openbsd.cc | 157 ++++++----- .../files/patch-sandbox_policy_sandbox.cc | 4 +- .../files/patch-sandbox_policy_sandbox.h | 12 +- ...ch-services_audio_audio__sandbox__hook__linux.h | 4 +- ...ices_cert__verifier_cert__verifier__creation.cc | 6 +- ...services_device_compute__pressure_cpu__probe.cc | 6 +- .../patch-services_device_public_mojom_BUILD.gn | 6 +- .../files/patch-services_network_BUILD.gn | 4 +- ...rvices_network_network__sandbox__hook__linux.cc | 22 +- ...ervices_network_network__sandbox__hook__linux.h | 12 +- .../patch-services_network_network__service.cc | 4 +- .../patch-skia_ext_SkMemory__new__handler.cpp | 4 +- ...atch-third__party_abseil-cpp_absl_base_config.h | 6 +- .../files/patch-third__party_angle_BUILD.gn | 8 +- ...third__party_angle_src_libANGLE_formatutils.cpp | 4 +- ...link_common_privacy__budget_active__sampling.cc | 11 - ...h-third__party_blink_public_platform_platform.h | 4 +- ...blink_renderer_controller_blink__initializer.cc | 14 +- ...blink_renderer_core_exported_web__view__impl.cc | 4 +- ...y_blink_renderer_core_frame_web__frame__test.cc | 6 +- ...e_layout_ng_grid_ng__grid__layout__algorithm.cc | 34 +++ ...party_blink_renderer_core_paint_paint__layer.cc | 4 +- ..._audio_audio__renderer__mixer__manager__test.cc | 4 +- ...ty_blink_renderer_modules_ml_webnn_features.gni | 6 +- ...renderer_modules_ml_webnn_ml__graph__xnnpack.cc | 4 +- ...odules_webgl_webgl__rendering__context__base.cc | 4 +- ...rty_blink_renderer_modules_webgpu_gpu__queue.cc | 14 +- ...h-third__party_blink_renderer_platform_BUILD.gn | 4 +- ...rty_blink_renderer_platform_fonts_font__cache.h | 12 +- ...nderer_platform_fonts_skia_font__cache__skia.cc | 15 +- ...derer_platform_runtime__enabled__features.json5 | 30 ++- ...nk_renderer_platform_scheduler_common_thread.cc | 4 +- ...atch-third__party_boringssl_BUILD.generated.gni | 4 +- ...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 | 6 +- .../files/patch-third__party_crc32c_BUILD.gn | 4 +- ...g_chromium_config_Chrome_openbsd_arm64_config.h | 11 +- ...onfig_Chrome_openbsd_arm64_config__components.h | 29 +-- ...eg_chromium_config_Chrome_openbsd_ia32_config.h | 4 +- ...rd__party_ipcz_src_reference__drivers_random.cc | 4 +- .../files/patch-third__party_libevent_event.h | 14 - .../files/patch-third__party_pdfium_pdfium.gni | 4 +- ...rfetto_tracing_internal_track__event__legacy.h} | 6 +- ...atch-third__party_perfetto_src_tracing_track.cc | 11 + .../files/patch-third__party_ruy_BUILD.gn | 6 +- ...ayers_src_layers_external_vma_vk__mem__alloc.h} | 4 +- ...__capture_linux_x11_x__server__pixel__buffer.cc | 4 +- ...ty_webrtc_rtc__base_physical__socket__server.cc | 16 +- ...rty_webrtc_rtc__base_physical__socket__server.h | 14 +- .../files/patch-third__party_zlib_BUILD.gn | 8 +- ...erate__shim__headers_generate__shim__headers.py | 21 ++ .../patch-ui_base_ime_fake__text__input__client.cc | 4 +- .../patch-ui_base_ime_fake__text__input__client.h | 4 +- .../files/patch-ui_base_ui__base__features.cc | 6 +- .../files/patch-ui_base_webui_web__ui__util.cc | 4 +- .../files/patch-ui_color_color__id.h | 4 +- .../files/patch-ui_compositor_compositor.cc | 4 +- .../files/patch-ui_compositor_compositor.h | 4 +- www/ungoogled-chromium/files/patch-ui_gfx_BUILD.gn | 4 +- www/ungoogled-chromium/files/patch-ui_gl_BUILD.gn | 10 +- .../files/patch-ui_gl_gl__bindings.h | 4 +- .../files/patch-ui_gl_gl__context.cc | 4 +- .../files/patch-ui_gl_gl__implementation.cc | 4 +- .../files/patch-ui_gl_gl__switches.cc | 4 +- .../files/patch-ui_ozone_public_ozone__platform.h | 4 +- .../patch-ui_views_controls_textfield_textfield.cc | 14 +- .../patch-ui_views_controls_textfield_textfield.h | 4 +- .../files/patch-ui_views_corewm_tooltip__aura.cc | 4 +- ...top__aura_desktop__drag__drop__client__ozone.cc | 4 +- ...__aura_desktop__window__tree__host__platform.cc | 8 +- .../files/patch-ui_views_widget_widget.cc | 6 +- .../files/patch-ui_views_widget_widget.h | 4 +- www/ungoogled-chromium/files/patch-v8_BUILD.gn | 8 +- .../files/patch-v8_include_v8-internal.h | 4 +- .../files/patch-v8_src_api_api.cc | 6 +- .../patch-v8_src_base_platform_platform-openbsd.cc | 4 +- .../patch-v8_src_base_platform_platform-posix.cc | 4 +- ...piler_backend_ia32_instruction-selector-ia32.cc | 6 +- .../files/patch-v8_src_execution_isolate.cc | 8 +- ...bedded_platform-embedded-file-writer-generic.cc | 14 +- ...src_wasm_baseline_ia32_liftoff-assembler-ia32.h | 30 +-- 333 files changed, 2110 insertions(+), 2003 deletions(-) diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile index 5dd0257a82f4..ebb64c866879 100644 --- a/www/ungoogled-chromium/Makefile +++ b/www/ungoogled-chromium/Makefile @@ -1,7 +1,6 @@ PORTNAME= ungoogled-chromium -PORTVERSION= 112.0.5615.165 +PORTVERSION= 113.0.5672.63 UGVERSION= ${DISTVERSION}-1 -PORTREVISION= 3 CATEGORIES= www wayland MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ https://nerd.hu/distfiles/:external @@ -57,6 +56,7 @@ LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libexif.so:graphics/libexif \ libpng.so:graphics/png \ libwebp.so:graphics/webp \ + libdav1d.so:multimedia/dav1d \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ @@ -287,7 +287,7 @@ pre-configure: #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ - flac fontconfig freetype harfbuzz-ng icu libdrm libevent libpng \ + dav1d flac fontconfig freetype harfbuzz-ng icu libdrm libevent libpng \ libusb libwebp libxml libxslt openh264 opus snappy || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it .for brand in Chrome Chromium diff --git a/www/ungoogled-chromium/distinfo b/www/ungoogled-chromium/distinfo index 5fbfa52a990c..744e6c9d0c77 100644 --- a/www/ungoogled-chromium/distinfo +++ b/www/ungoogled-chromium/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1681996510 -SHA256 (chromium-112.0.5615.165.tar.xz) = 168c62fea9f428f99fbf967f36a75ee5da160429e3a5b86bf02188c5fe7c79fd -SIZE (chromium-112.0.5615.165.tar.xz) = 1730146076 -SHA256 (ungoogled-chromium-112.0.5615.165-1.tar.gz) = 3e28fa0a5988be4086993e483bd031ac6d2f3284ffbebdf1f7954c7ef2b86398 -SIZE (ungoogled-chromium-112.0.5615.165-1.tar.gz) = 674815 -SHA256 (chromium-112.0.5615.165-testdata.tar.xz) = d10ec115c80ffa9a07af737cdfc976a7f092f16f777c2c42dcaa9e3648831d96 -SIZE (chromium-112.0.5615.165-testdata.tar.xz) = 256178092 +TIMESTAMP = 1683288940 +SHA256 (chromium-113.0.5672.63.tar.xz) = 76cec11dc13abe6703305b0300e1fe24c8f547c1ff313f7be09db0e23d12ee1e +SIZE (chromium-113.0.5672.63.tar.xz) = 1556641240 +SHA256 (ungoogled-chromium-113.0.5672.63-1.tar.gz) = ad7a3169d95f182df748940349e2c25868a201949486257829fdb42c69a83a51 +SIZE (ungoogled-chromium-113.0.5672.63-1.tar.gz) = 672552 +SHA256 (chromium-113.0.5672.63-testdata.tar.xz) = 707ebc13e231cb303fc84d11a8c1a43ea514f958eeec155205d2b5c7754bc2cd +SIZE (chromium-113.0.5672.63-testdata.tar.xz) = 264055676 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 d83294086a3e..58d02bbd3662 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-04-08 11:38:38 UTC +--- BUILD.gn.orig 2023-05-05 12:12:41 UTC +++ BUILD.gn @@ -60,7 +60,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) -@@ -90,7 +90,6 @@ group("gn_all") { +@@ -85,7 +85,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", -@@ -423,7 +422,7 @@ group("gn_all") { +@@ -426,7 +425,7 @@ group("gn_all") { } } @@ -26,7 +26,7 @@ deps += [ "//third_party/breakpad:breakpad_unittests", "//third_party/breakpad:core-2-minidump", -@@ -614,6 +613,15 @@ group("gn_all") { +@@ -622,6 +621,15 @@ group("gn_all") { } } @@ -41,8 +41,8 @@ + if (is_mac) { deps += [ - "//third_party/breakpad:crash_inspector", -@@ -662,7 +670,7 @@ group("gn_all") { + "//third_party/breakpad:dump_syms", +@@ -669,7 +677,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)" ] } -@@ -1085,7 +1093,7 @@ if (!is_ios) { +@@ -1092,7 +1100,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") { -@@ -1185,7 +1193,7 @@ if (!is_ios) { +@@ -1192,7 +1200,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)" ] } -@@ -1194,7 +1202,7 @@ if (!is_ios) { +@@ -1201,7 +1209,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)" ] } -@@ -1662,7 +1670,7 @@ group("chromium_builder_perf") { +@@ -1669,7 +1677,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 f341d8c5a068..ed38e02a0524 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-04-08 11:38:38 UTC +--- base/BUILD.gn.orig 2023-05-05 12:12:41 UTC +++ base/BUILD.gn -@@ -188,7 +188,7 @@ buildflag_header("ios_cronet_buildflags") { +@@ -198,7 +198,7 @@ buildflag_header("ios_cronet_buildflags") { flags = [ "CRONET_BUILD=$is_cronet_build" ] } @@ -9,7 +9,7 @@ buildflag_header("message_pump_buildflags") { header = "message_pump_buildflags.h" header_dir = "base/message_loop" -@@ -1093,11 +1093,23 @@ component("base") { +@@ -1105,11 +1105,23 @@ component("base") { # Needed for <atomic> if using newer C++ library than sysroot, except if # building inside the cros_sdk environment - use host_toolchain as a # more robust check for this. @@ -34,7 +34,7 @@ if (use_allocator_shim) { sources += [ "allocator/partition_allocator/shim/allocator_shim.cc", -@@ -1125,7 +1137,7 @@ component("base") { +@@ -1137,7 +1149,7 @@ component("base") { ] configs += [ "//base/allocator:mac_no_default_new_delete_symbols" ] } @@ -43,7 +43,7 @@ sources += [ "allocator/partition_allocator/shim/allocator_shim_override_cpp_symbols.h", "allocator/partition_allocator/shim/allocator_shim_override_glibc_weak_symbols.h", -@@ -1166,7 +1178,7 @@ component("base") { +@@ -1178,7 +1190,7 @@ component("base") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -52,7 +52,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -2107,6 +2119,43 @@ component("base") { +@@ -2135,6 +2147,43 @@ component("base") { } } @@ -96,7 +96,7 @@ # iOS if (is_ios) { sources += [ -@@ -2202,7 +2251,7 @@ component("base") { +@@ -2244,7 +2293,7 @@ component("base") { } if (dep_libevent) { @@ -105,7 +105,7 @@ } if (use_libevent) { -@@ -3470,7 +3519,7 @@ test("base_unittests") { +@@ -3562,7 +3611,7 @@ test("base_unittests") { ] } @@ -114,7 +114,7 @@ sources += [ "debug/proc_maps_linux_unittest.cc", "files/scoped_file_linux_unittest.cc", -@@ -3519,7 +3568,7 @@ test("base_unittests") { +@@ -3611,7 +3660,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", -@@ -3530,7 +3579,7 @@ test("base_unittests") { +@@ -3622,7 +3671,7 @@ test("base_unittests") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -132,7 +132,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -3751,7 +3800,7 @@ test("base_unittests") { +@@ -3848,7 +3897,7 @@ test("base_unittests") { } } diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__constants.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__constants.h index c8db5e5a3584..a028ac797af0 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__constants.h +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__constants.h @@ -1,4 +1,4 @@ ---- base/allocator/partition_allocator/page_allocator_constants.h.orig 2022-10-01 07:40:07 UTC +--- base/allocator/partition_allocator/page_allocator_constants.h.orig 2023-05-05 12:12:41 UTC +++ base/allocator/partition_allocator/page_allocator_constants.h @@ -25,7 +25,7 @@ // elimination. @@ -28,7 +28,7 @@ // initialize cache. size_t size = page_characteristics.size.load(std::memory_order_relaxed); @@ -141,7 +141,7 @@ SystemPageShift() { - PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR PA_ALWAYS_INLINE size_t + PA_ALWAYS_INLINE PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR size_t SystemPageSize() { #if (BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)) || \ - (BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64)) 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 b54c3205c162..4bea35599953 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2023-04-08 11:38:38 UTC +--- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2023-05-05 12:12:41 UTC +++ base/allocator/partition_allocator/page_allocator_internals_posix.h -@@ -380,8 +380,12 @@ bool TryRecommitSystemPagesInternal( +@@ -383,8 +383,12 @@ bool TryRecommitSystemPagesInternal( void DiscardSystemPagesInternal(uintptr_t address, size_t length) { void* ptr = reinterpret_cast<void*>(address); diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni index 63c6fe91fad6..2b195ed5dcf6 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-04-08 11:38:38 UTC +--- base/allocator/partition_allocator/partition_alloc.gni.orig 2023-05-05 12:12:41 UTC +++ base/allocator/partition_allocator/partition_alloc.gni -@@ -276,7 +276,7 @@ assert(!use_asan_backup_ref_ptr || use_hookable_raw_pt +@@ -285,7 +285,7 @@ assert(!use_asan_backup_ref_ptr || use_hookable_raw_pt "AsanBackupRefPtr requires RawPtrHookableImpl") declare_args() { diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_compiler__specific.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_compiler__specific.h new file mode 100644 index 000000000000..2f6869ec88fd --- /dev/null +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__base_compiler__specific.h @@ -0,0 +1,32 @@ +--- base/allocator/partition_allocator/partition_alloc_base/compiler_specific.h.orig 2023-05-05 12:12:41 UTC ++++ base/allocator/partition_allocator/partition_alloc_base/compiler_specific.h +@@ -24,9 +24,9 @@ + // Annotate a function indicating it should not be inlined. + // Use like: + // NOINLINE void DoStuff() { ... } +-#if defined(__clang__) && PA_HAS_ATTRIBUTE(noinline) ++#if defined(__clang__) && (__clang_major__ >= 15) && PA_HAS_ATTRIBUTE(noinline) + #define PA_NOINLINE [[clang::noinline]] +-#elif defined(COMPILER_GCC) && PA_HAS_ATTRIBUTE(noinline) ++#elif (defined(COMPILER_GCC) || defined(__clang__)) && PA_HAS_ATTRIBUTE(noinline) + #define PA_NOINLINE __attribute__((noinline)) + #elif defined(COMPILER_MSVC) + #define PA_NOINLINE __declspec(noinline) +@@ -34,7 +34,7 @@ + #define PA_NOINLINE + #endif + +-#if defined(__clang__) && defined(NDEBUG) && PA_HAS_ATTRIBUTE(always_inline) ++#if defined(__clang__) && (__clang_major__ >= 15) && defined(NDEBUG) && PA_HAS_ATTRIBUTE(always_inline) + #define PA_ALWAYS_INLINE [[clang::always_inline]] inline + #elif defined(COMPILER_GCC) && defined(NDEBUG) && \ + PA_HAS_ATTRIBUTE(always_inline) +@@ -53,7 +53,7 @@ + // prevent code folding, see NO_CODE_FOLDING() in base/debug/alias.h. + // Use like: + // void NOT_TAIL_CALLED FooBar(); +-#if defined(__clang__) && PA_HAS_ATTRIBUTE(not_tail_called) ++#if defined(__clang__) && (__clang_major__ >= 15) && PA_HAS_ATTRIBUTE(not_tail_called) + #define PA_NOT_TAIL_CALLED [[clang::not_tail_called]] + #else + #define PA_NOT_TAIL_CALLED 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 a92644c3162c..6cde1ad43350 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-04-08 11:38:38 UTC +--- base/allocator/partition_allocator/partition_alloc_config.h.orig 2023-05-05 12:12:41 UTC +++ base/allocator/partition_allocator/partition_alloc_config.h @@ -104,7 +104,7 @@ static_assert(sizeof(void*) != 8, ""); // POSIX is not only UNIX, e.g. macOS and other OSes. We do use Linux-specific @@ -9,7 +9,7 @@ // On some platforms, we implement locking by spinning in userspace, then going // into the kernel only if there is contention. This requires platform support, -@@ -251,7 +251,7 @@ constexpr bool kUseLazyCommit = false; +@@ -232,7 +232,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,7 +18,7 @@ // PartitionAlloc uses PartitionRootEnumerator to acquire all // PartitionRoots at BeforeFork and to release at AfterFork. -@@ -296,7 +296,7 @@ constexpr bool kUseLazyCommit = false; +@@ -277,7 +277,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() \ 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 c1c944754520..8596ccf06f5c 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-04-08 11:38:38 UTC +--- base/allocator/partition_allocator/partition_alloc_constants.h.orig 2023-05-05 12:12:41 UTC +++ base/allocator/partition_allocator/partition_alloc_constants.h @@ -92,7 +92,7 @@ PartitionPageShift() { return 18; // 256 KiB @@ -6,10 +6,10 @@ #elif (BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)) || \ - (BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64)) + ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64)) - PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR PA_ALWAYS_INLINE size_t + PA_ALWAYS_INLINE PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR size_t PartitionPageShift() { return PageAllocationGranularityShift() + 2; -@@ -296,7 +296,7 @@ constexpr size_t kNumPools = kMaxPoolHandle - 1; +@@ -293,7 +293,7 @@ constexpr size_t kNumPools = kMaxPoolHandle - 1; // When pointer compression is enabled, we cannot use large pools (at most // 8GB for each of the glued pools). #if BUILDFLAG(HAS_64_BIT_POINTERS) diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__page.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__page.h index e82d4e1f542c..1f9a8548a9eb 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__page.h +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__page.h @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/partition_page.h.orig 2023-04-08 11:38:38 UTC +--- base/allocator/partition_allocator/partition_page.h.orig 2023-05-05 12:12:41 UTC +++ base/allocator/partition_allocator/partition_page.h -@@ -143,7 +143,7 @@ struct SlotSpanMetadata { +@@ -141,7 +141,7 @@ struct SlotSpanMetadata { // PartitionPageSize() is 4 times the OS page size. static constexpr size_t kMaxSlotsPerSlotSpan = 4 * (1 << 14) / kSmallestBucket; diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__root.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__root.cc index a69dea01087c..03593e710a3d 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__root.cc +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__root.cc @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/partition_root.cc.orig 2023-04-08 11:38:38 UTC +--- base/allocator/partition_allocator/partition_root.cc.orig 2023-05-05 12:12:41 UTC +++ base/allocator/partition_allocator/partition_root.cc -@@ -42,7 +42,7 @@ +@@ -43,7 +43,7 @@ #include "wow64apiset.h" #endif @@ -9,7 +9,7 @@ #include <pthread.h> #endif -@@ -245,7 +245,7 @@ void PartitionAllocMallocInitOnce() { +@@ -284,7 +284,7 @@ void PartitionAllocMallocInitOnce() { return; } @@ -18,7 +18,7 @@ // When fork() is called, only the current thread continues to execute in the // child process. If the lock is held, but *not* by this thread when fork() is // called, we have a deadlock. -@@ -339,7 +339,7 @@ static size_t PartitionPurgeSlotSpan( +@@ -378,7 +378,7 @@ static size_t PartitionPurgeSlotSpan( constexpr size_t kMaxSlotCount = (PartitionPageSize() * kMaxPartitionPagesPerRegularSlotSpan) / MinPurgeableSlotSize(); @@ -27,7 +27,7 @@ // It's better for slot_usage to be stack-allocated and fixed-size, which // demands that its size be constexpr. On IS_APPLE and Linux on arm64, // PartitionPageSize() is always SystemPageSize() << 2, so regardless of -@@ -811,7 +811,7 @@ void PartitionRoot<thread_safe>::Init(PartitionOptions +@@ -850,7 +850,7 @@ void PartitionRoot<thread_safe>::Init(PartitionOptions // apple OSes. PA_CHECK((internal::SystemPageSize() == (size_t{1} << 12)) || (internal::SystemPageSize() == (size_t{1} << 14))); diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.cc index 284fcc7a5542..2b6b22d395d5 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.cc +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_spinning__mutex.cc @@ -1,4 +1,4 @@ ---- base/allocator/partition_allocator/spinning_mutex.cc.orig 2023-03-10 11:01:21 UTC +--- base/allocator/partition_allocator/spinning_mutex.cc.orig 2023-05-05 12:12:41 UTC +++ base/allocator/partition_allocator/spinning_mutex.cc @@ -18,7 +18,16 @@ @@ -17,7 +17,7 @@ #include <sys/syscall.h> #include <unistd.h> #endif // PA_CONFIG(HAS_LINUX_KERNEL) -@@ -107,8 +116,16 @@ void SpinningMutex::FutexWait() { +@@ -108,8 +117,16 @@ void SpinningMutex::FutexWait() { // |kLockedContended| anymore. Note that even without spurious wakeups, the // value of |state_| is not guaranteed when this returns, as another thread // may get the lock before we get to run. @@ -34,7 +34,7 @@ if (err) { // These are programming error, check them. -@@ -120,8 +137,16 @@ void SpinningMutex::FutexWait() { +@@ -121,8 +138,16 @@ void SpinningMutex::FutexWait() { void SpinningMutex::FutexWake() { int saved_errno = errno; diff --git a/www/ungoogled-chromium/files/patch-base_base__switches.cc b/www/ungoogled-chromium/files/patch-base_base__switches.cc index a5d89d37a139..c9196b403a8d 100644 --- a/www/ungoogled-chromium/files/patch-base_base__switches.cc +++ b/www/ungoogled-chromium/files/patch-base_base__switches.cc @@ -1,6 +1,6 @@ ---- base/base_switches.cc.orig 2022-10-01 07:40:07 UTC +--- base/base_switches.cc.orig 2023-05-05 12:12:41 UTC +++ base/base_switches.cc -@@ -170,7 +170,7 @@ const char kForceFieldTrialParams[] = "force-fieldtria +@@ -167,7 +167,7 @@ const char kForceFieldTrialParams[] = "force-fieldtria #endif diff --git a/www/ungoogled-chromium/files/patch-base_base__switches.h b/www/ungoogled-chromium/files/patch-base_base__switches.h index 71316c4d96ef..461d1b033c5a 100644 --- a/www/ungoogled-chromium/files/patch-base_base__switches.h +++ b/www/ungoogled-chromium/files/patch-base_base__switches.h @@ -1,6 +1,6 @@ ---- base/base_switches.h.orig 2022-10-01 07:40:07 UTC +--- base/base_switches.h.orig 2023-05-05 12:12:41 UTC +++ base/base_switches.h -@@ -60,7 +60,7 @@ extern const char kEnableIdleTracing[]; +@@ -57,7 +57,7 @@ extern const char kEnableIdleTracing[]; extern const char kForceFieldTrialParams[]; #endif diff --git a/www/ungoogled-chromium/files/patch-base_compiler__specific.h b/www/ungoogled-chromium/files/patch-base_compiler__specific.h new file mode 100644 index 000000000000..97e912d487ba --- /dev/null +++ b/www/ungoogled-chromium/files/patch-base_compiler__specific.h @@ -0,0 +1,35 @@ +--- base/compiler_specific.h.orig 2023-05-05 12:12:41 UTC ++++ base/compiler_specific.h +@@ -41,9 +41,9 @@ + // Annotate a function indicating it should not be inlined. + // Use like: + // NOINLINE void DoStuff() { ... } +-#if defined(__clang__) && HAS_ATTRIBUTE(noinline) ++#if defined(__clang__) && (__clang_major__ >= 15) && HAS_ATTRIBUTE(noinline) + #define NOINLINE [[clang::noinline]] +-#elif defined(COMPILER_GCC) && HAS_ATTRIBUTE(noinline) ++#elif (defined(COMPILER_GCC) || defined(__clang__)) && HAS_ATTRIBUTE(noinline) + #define NOINLINE __attribute__((noinline)) + #elif defined(COMPILER_MSVC) + #define NOINLINE __declspec(noinline) +@@ -51,9 +51,9 @@ + #define NOINLINE + #endif + +-#if defined(__clang__) && defined(NDEBUG) && HAS_ATTRIBUTE(always_inline) ++#if defined(__clang__) && (__clang_major__ >= 15) && defined(NDEBUG) && HAS_ATTRIBUTE(always_inline) + #define ALWAYS_INLINE [[clang::always_inline]] inline +-#elif defined(COMPILER_GCC) && defined(NDEBUG) && HAS_ATTRIBUTE(always_inline) ++#elif (defined(COMPILER_GCC) || defined(__clang__)) && defined(NDEBUG) && HAS_ATTRIBUTE(always_inline) + #define ALWAYS_INLINE inline __attribute__((__always_inline__)) + #elif defined(COMPILER_MSVC) && defined(NDEBUG) + #define ALWAYS_INLINE __forceinline +@@ -69,7 +69,7 @@ + // prevent code folding, see NO_CODE_FOLDING() in base/debug/alias.h. + // Use like: + // NOT_TAIL_CALLED void FooBar(); +-#if defined(__clang__) && HAS_ATTRIBUTE(not_tail_called) ++#if defined(__clang__) && (__clang_major__ >= 15) && HAS_ATTRIBUTE(not_tail_called) + #define NOT_TAIL_CALLED [[clang::not_tail_called]] + #else + #define NOT_TAIL_CALLED 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 50b63ab9e370..0f2476efd374 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 2022-10-01 07:40:07 UTC +--- base/files/file_util_posix.cc.orig 2023-05-05 12:12:41 UTC +++ base/files/file_util_posix.cc -@@ -700,32 +700,34 @@ bool CreateDirectoryAndGetError(const FilePath& full_p +@@ -756,32 +756,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_files_file__util__unittest.cc b/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc index b53006827443..23afe7fc269e 100644 --- a/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc +++ b/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc @@ -1,6 +1,6 @@ ---- base/files/file_util_unittest.cc.orig 2023-03-10 11:01:21 UTC +--- base/files/file_util_unittest.cc.orig 2023-05-05 12:12:41 UTC +++ base/files/file_util_unittest.cc -@@ -3749,7 +3749,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithNamedPipe) { +@@ -3853,7 +3853,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithNamedPipe) { } #endif // BUILDFLAG(IS_WIN) @@ -9,7 +9,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithProcFileSystem) { FilePath file_path("/proc/cpuinfo"); std::string data = "temp"; -@@ -4472,7 +4472,7 @@ TEST(FileUtilMultiThreadedTest, MultiThreadedTempFiles +@@ -4576,7 +4576,7 @@ TEST(FileUtilMultiThreadedTest, MultiThreadedTempFiles NULL); #else size_t bytes_written = diff --git a/www/ungoogled-chromium/files/patch-base_process_launch.h b/www/ungoogled-chromium/files/patch-base_process_launch.h index f77e6e9d9143..4d798ddb2b35 100644 --- a/www/ungoogled-chromium/files/patch-base_process_launch.h +++ b/www/ungoogled-chromium/files/patch-base_process_launch.h @@ -1,6 +1,6 @@ ---- base/process/launch.h.orig 2022-10-01 07:40:07 UTC +--- base/process/launch.h.orig 2023-05-05 12:12:41 UTC +++ base/process/launch.h -@@ -198,7 +198,7 @@ struct BASE_EXPORT LaunchOptions { +@@ -200,7 +200,7 @@ struct BASE_EXPORT LaunchOptions { bool clear_environment = false; #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA) diff --git a/www/ungoogled-chromium/files/patch-base_process_process__unittest.cc b/www/ungoogled-chromium/files/patch-base_process_process__unittest.cc index 754c10a4cbed..04a4a227d43b 100644 --- a/www/ungoogled-chromium/files/patch-base_process_process__unittest.cc +++ b/www/ungoogled-chromium/files/patch-base_process_process__unittest.cc @@ -1,6 +1,6 @@ ---- base/process/process_unittest.cc.orig 2023-03-10 11:01:21 UTC +--- base/process/process_unittest.cc.orig 2023-05-05 12:12:41 UTC +++ base/process/process_unittest.cc -@@ -194,7 +194,7 @@ TEST_F(ProcessTest, CreationTimeOtherProcess) { +@@ -195,7 +195,7 @@ TEST_F(ProcessTest, CreationTimeOtherProcess) { // was spawned and a time recorded after it was spawned. However, since the // base::Time and process creation clocks don't match, tolerate some error. constexpr base::TimeDelta kTolerance = diff --git a/www/ungoogled-chromium/files/patch-base_profiler_stack__sampling__profiler__test__util.cc b/www/ungoogled-chromium/files/patch-base_profiler_stack__sampling__profiler__test__util.cc index 06bf26e62c2c..e7729a1c6aef 100644 --- a/www/ungoogled-chromium/files/patch-base_profiler_stack__sampling__profiler__test__util.cc +++ b/www/ungoogled-chromium/files/patch-base_profiler_stack__sampling__profiler__test__util.cc @@ -1,6 +1,6 @@ ---- base/profiler/stack_sampling_profiler_test_util.cc.orig 2023-02-11 09:11:04 UTC +--- base/profiler/stack_sampling_profiler_test_util.cc.orig 2023-05-05 12:12:41 UTC +++ base/profiler/stack_sampling_profiler_test_util.cc -@@ -33,7 +33,7 @@ +@@ -36,7 +36,7 @@ // Fortunately, it provides _alloca, which functions identically. #include <malloc.h> #define alloca _alloca diff --git a/www/ungoogled-chromium/files/patch-base_threading_platform__thread__unittest.cc b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__unittest.cc index d16fbe34a5bc..b25e60f14fd8 100644 --- a/www/ungoogled-chromium/files/patch-base_threading_platform__thread__unittest.cc +++ b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__unittest.cc @@ -1,6 +1,6 @@ ---- base/threading/platform_thread_unittest.cc.orig 2023-03-10 11:01:21 UTC +--- base/threading/platform_thread_unittest.cc.orig 2023-05-05 12:12:41 UTC +++ base/threading/platform_thread_unittest.cc -@@ -31,7 +31,7 @@ +@@ -32,7 +32,7 @@ #include "base/time/time.h" #endif @@ -9,7 +9,7 @@ #include <pthread.h> #include <sys/syscall.h> #include <sys/types.h> -@@ -422,7 +422,7 @@ TEST(PlatformThreadTest, +@@ -423,7 +423,7 @@ TEST(PlatformThreadTest, // and hardcodes what we know. Please inform scheduler-dev@ch40m1um.qjz9zk if this // proprerty changes for a given platform. TEST(PlatformThreadTest, CanChangeThreadType) { @@ -18,7 +18,7 @@ // On Ubuntu, RLIMIT_NICE and RLIMIT_RTPRIO are 0 by default, so we won't be // able to increase priority to any level. constexpr bool kCanIncreasePriority = false; -@@ -701,12 +701,16 @@ INSTANTIATE_TEST_SUITE_P( +@@ -704,12 +704,16 @@ INSTANTIATE_TEST_SUITE_P( #endif // BUILDFLAG(IS_APPLE) diff --git a/www/ungoogled-chromium/files/patch-build_config_compiler_BUILD.gn b/www/ungoogled-chromium/files/patch-build_config_compiler_BUILD.gn index a8e5eccaf053..db9f66592f8d 100644 --- a/www/ungoogled-chromium/files/patch-build_config_compiler_BUILD.gn +++ b/www/ungoogled-chromium/files/patch-build_config_compiler_BUILD.gn @@ -1,4 +1,4 @@ ---- build/config/compiler/BUILD.gn.orig 2023-04-08 11:38:38 UTC +--- build/config/compiler/BUILD.gn.orig 2023-05-05 12:12:41 UTC +++ build/config/compiler/BUILD.gn @@ -237,13 +237,16 @@ config("default_include_dirs") { # Compiler instrumentation can introduce dependencies in DSOs to symbols in @@ -38,7 +38,7 @@ cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ] if (save_reproducers_on_lld_crash && use_lld) { ldflags += [ -@@ -826,7 +833,7 @@ config("compiler") { +@@ -816,7 +823,7 @@ config("compiler") { # * Apple platforms (e.g. MacOS, iPhone, iPad) aren't supported because xcode # lldb doesn't have the needed changes yet. # TODO(crbug.com/1379070): Remove if the upstream default ever changes. @@ -47,7 +47,7 @@ cflags_cc += [ "-gsimple-template-names" ] *** 9909 LINES SKIPPED ***