From nobody Sun Apr 09 12:01:41 2023 X-Original-To: dev-commits-ports-main@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 4PvW1216myz44LRY; Sun, 9 Apr 2023 12:01:42 +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 4PvW120sW2z3xX0; Sun, 9 Apr 2023 12:01:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681041702; 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=a8ksqKB7ofjvuqLRHdDoLMLt8aWfCxjDLJNIB8VSlHE=; b=wAvIkSX1mHfznbCiyYd4CVAObNHeK4UoFyCsAPXlISSIaEwuzDLXMHhqDWIrffY8ajqngg u3v8xFNktgLlS+usy24n1starPcuWB6rpYPEaVE7uvjrgeTvKinakeLWw523ZpZ8WzFHnB rkV3dPnBTu37OgAPze7DCqvWwPgv/JQjqrSdXtJcmBT6luZ0u61kBZRgPm/u73+oUnQztN dEzBkaZyZBk8Ts+TYPg56ElXiqFhL3O3eaTxcq5d1NgMadJ00YwKHRNMq7otTQlEdrMmgG 2WXvk20zi+FnMtqCxf18pUddia/tdqjPM8z2HZ4Yoesiqdl2m0P7sOtkzJK3SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681041702; 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=a8ksqKB7ofjvuqLRHdDoLMLt8aWfCxjDLJNIB8VSlHE=; b=Bs7SbPZbQkxmXckD8+VK2MS2QZplftkpInWXmQ48HnBxaX6p1izInBSwHSHKFrIZR4Gd5q pfoXFnfX4ZkCDGZqnT+JfibFWcwDL5d7hE1zKaCR80cNllES2gYtR192/7AmEB+Ok5CRqx pvTaxZgwvVbT3Hw7OIc/NtU+oRAja01Bd7XYQC9881YeBkzm1oBllpLyoDQzjffBy0xSXC 0N/wgX8mYdt0n5R48uHW5efK/MoLbVJeeE19mu7ZaBJQthAX8AB1iKku43AZ9EQlT0inAm ryrZ1x1M7U3qH4sznkSqMYtcF5Q7D71mLlO8vGATGjrj0BXew2WxMJ4vddA+3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681041702; a=rsa-sha256; cv=none; b=Yeyod/48RQ0ulPDIXO/8BuZlsj8dw2NUae3iC870uAgJ0ZiUHGShZLzCX7ykvsURSNmbu8 lO2ftC7cPfgphocY90eq8008whru3cWALDE2wes5pL3XtUG+W2hUM+c//tJzGI0utEds4a 9pT+3X4S4xBs8uLbviD7T+0W6iGshI9m7XNLuDLSWJkDM5V4PHkgh27P5xXRa82xVELFw5 k0RXRnl+URolhFstZaJRajNPn3iU6wpUWaki9Zt7qTlnXRPIc6CeKcuydbiX7ebT6MXHXI NrN8jpifru/F9261RbBj2ENLroD7qe1agj6wVF8DRKDxefLAqRMySeJvnTDaWA== 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 4PvW1172QSz16vS; Sun, 9 Apr 2023 12:01:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 339C1fnK026101; Sun, 9 Apr 2023 12:01:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 339C1flB026100; Sun, 9 Apr 2023 12:01:41 GMT (envelope-from git) Date: Sun, 9 Apr 2023 12:01:41 GMT Message-Id: <202304091201.339C1flB026100@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Nagy Subject: git: 6b241ff84fa3 - main - www/ungoogled-chromium: update to 112.0.5615.49 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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/main X-Git-Reftype: branch X-Git-Commit: 6b241ff84fa311d1ec189bbc22af9f28fa69b6fd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rnagy: URL: https://cgit.FreeBSD.org/ports/commit/?id=6b241ff84fa311d1ec189bbc22af9f28fa69b6fd commit 6b241ff84fa311d1ec189bbc22af9f28fa69b6fd Author: Robert Nagy AuthorDate: 2023-04-08 12:45:39 +0000 Commit: Robert Nagy CommitDate: 2023-04-09 12:01:32 +0000 www/ungoogled-chromium: update to 112.0.5615.49 Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/3d5581ff-d388-11ed-8581-a8a1599412c6.html Differential Revision: https://reviews.freebsd.org/D39473 --- www/ungoogled-chromium/Makefile | 7 +- www/ungoogled-chromium/distinfo | 14 ++-- www/ungoogled-chromium/files/patch-BUILD.gn | 16 ++-- www/ungoogled-chromium/files/patch-base_BUILD.gn | 56 +++++--------- ...__allocator_page__allocator__internals__posix.h | 6 +- ...rtition__allocator_partition__address__space.cc | 4 +- ...cator_partition__allocator_partition__alloc.gni | 4 +- ...partition__allocator_partition__alloc__config.h | 8 +- ...tition__allocator_partition__alloc__constants.h | 8 +- ...llocator_partition__allocator_partition__page.h | 4 +- ...locator_partition__allocator_partition__root.cc | 4 +- ...or_partition__allocator_starscan_stack_stack.cc | 6 +- .../files/patch-base_atomicops.h | 4 +- .../files/patch-base_debug_stack__trace__posix.cc | 10 +-- .../files/patch-base_process_kill__posix.cc | 4 +- ...atch-base_process_process__iterator__freebsd.cc | 14 ++-- ...atch-base_process_process__iterator__openbsd.cc | 12 +-- .../files/patch-base_process_process__posix.cc | 12 +-- .../files/patch-base_profiler_module__cache.cc | 14 ++-- .../files/patch-base_synchronization_lock__impl.h | 6 +- ...patch-base_threading_platform__thread__posix.cc | 12 +-- .../files/patch-build_config_compiler_BUILD.gn | 36 ++++----- .../files/patch-build_config_rust.gni | 4 +- .../files/patch-build_toolchain_gcc__toolchain.gni | 4 +- www/ungoogled-chromium/files/patch-cc_BUILD.gn | 6 +- .../files/patch-chrome_app_chrome__main.cc | 6 +- .../patch-chrome_app_chrome__main__delegate.cc | 26 +++---- .../patch-chrome_app_generated__resources.grd | 16 ++-- .../files/patch-chrome_app_settings__strings.grdp | 6 +- ...hrome_app_theme_chrome__unscaled__resources.grd | 6 +- .../files/patch-chrome_browser_about__flags.cc | 28 +++---- ..._browser_chrome__browser__interface__binders.cc | 14 ++-- .../patch-chrome_browser_chrome__browser__main.cc | 10 +-- ...ome_browser_chrome__content__browser__client.cc | 32 ++++---- ...rome_browser_devtools_devtools__eye__dropper.cc | 4 +- ...download_chrome__download__manager__delegate.cc | 6 +- ...h-chrome_browser_download_download__commands.cc | 6 +- ...hrome_browser_download_download__item__model.cc | 8 +- ...atch-chrome_browser_download_download__prefs.cc | 20 ++--- ...patch-chrome_browser_download_download__prefs.h | 4 +- ...wser_enterprise_connectors_connectors__prefs.cc | 11 +++ ...er_enterprise_connectors_connectors__service.cc | 4 +- ...evice__trust_device__trust__service__factory.cc | 13 +++- ...ice__trust_signals_signals__service__factory.cc | 16 ++-- ...tors_reporting_browser__crash__event__router.cc | 37 ++++----- ...ctors_reporting_browser__crash__event__router.h | 29 -------- ...nnectors_reporting_crash__reporting__context.cc | 11 +++ ...onnectors_reporting_crash__reporting__context.h | 29 ++++++++ .../files/patch-chrome_browser_extensions_BUILD.gn | 4 +- ..._browser__context__keyed__service__factories.cc | 6 +- ..._private_enterprise__reporting__private__api.cc | 8 +- ...__private_passwords__private__delegate__impl.cc | 4 +- ...extensions_api_settings__private_prefs__util.cc | 6 +- ...chrome_browser_extensions_api_tabs_tabs__api.cc | 11 +++ ...e__file__system__access__permission__context.cc | 4 +- .../patch-chrome_browser_flag__descriptions.cc | 16 ++-- .../patch-chrome_browser_flag__descriptions.h | 14 ++-- ...chrome_browser_headless_headless__mode__util.cc | 7 +- ...chrome__browser__main__extra__parts__metrics.cc | 22 +++++- ..._chrome__browser__main__extra__parts__metrics.h | 20 +++++ ...ser_metrics_chrome__metrics__service__client.cc | 12 +-- ...rowser_net_system__network__context__manager.cc | 37 +++++++-- ...browser_net_system__network__context__manager.h | 11 +++ ..._new__tab__page_modules_drive_drive__service.cc | 8 +- ...onfiguration__policy__handler__list__factory.cc | 51 +++++++------ .../patch-chrome_browser_prefs_browser__prefs.cc | 49 ++++++++---- ...er_prefs_pref__service__incognito__allowlist.cc | 4 +- ...er_printing_print__backend__service__manager.cc | 6 +- ...hrome__browser__main__extra__parts__profiles.cc | 42 ++++++++++- .../patch-chrome_browser_profiles_profile__impl.cc | 6 +- ...h-chrome_browser_renderer__preferences__util.cc | 8 +- ...atch-chrome_browser_resources_settings_route.ts | 4 +- ...browsing_download__protection_file__analyzer.cc | 4 +- ..._browsing_download__protection_file__analyzer.h | 10 +-- ...tch-chrome_browser_sync_chrome__sync__client.cc | 10 +-- ...h-chrome_browser_sync_sync__service__factory.cc | 8 +- .../files/patch-chrome_browser_ui_browser.h | 4 +- ...rome_browser_ui_browser__command__controller.cc | 10 +-- .../files/patch-chrome_browser_ui_chrome__pages.cc | 6 +- .../files/patch-chrome_browser_ui_chrome__pages.h | 6 +- ...sharing__hub_sharing__hub__bubble__controller.h | 8 +- ...browser_ui_startup_startup__browser__creator.cc | 17 ++++- .../files/patch-chrome_browser_ui_tab__helpers.cc | 6 +- ...chrome_browser_ui_views_frame_browser__frame.cc | 8 +- ...-chrome_browser_ui_views_frame_browser__frame.h | 6 +- ...-chrome_browser_ui_views_frame_browser__view.cc | 4 +- ..._ui_views_frame_opaque__browser__frame__view.cc | 10 +-- ...r_ui_views_frame_opaque__browser__frame__view.h | 8 +- ...e_picture__in__picture__browser__frame__view.cc | 14 ++-- ...me_picture__in__picture__browser__frame__view.h | 8 +- ..._browser_ui_views_tabs_tab__drag__controller.cc | 20 ++--- ...r_ui_views_tabs_tab__hover__card__controller.cc | 4 +- ...eb__apps_web__app__integration__test__driver.cc | 34 ++++----- .../patch-chrome_browser_ui_webui_about__ui.cc | 6 +- ..._ui_webui_app__home_app__home__page__handler.cc | 15 +++- ...i_webui_chrome__web__ui__controller__factory.cc | 14 ++-- ...tings_settings__localized__strings__provider.cc | 10 +-- ...ions_commands_install__app__locally__command.cc | 4 +- ..._integration_os__integration__test__override.cc | 22 +++--- ...__integration_os__integration__test__override.h | 8 +- ...tions_os__integration_shortcut__sub__manager.cc | 4 +- ...lications_os__integration_web__app__shortcut.cc | 13 +++- ...plications_os__integration_web__app__shortcut.h | 6 +- ..._os__integration_web__app__shortcut__manager.cc | 4 +- ...browser_web__applications_web__app__provider.cc | 11 --- ...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__switches.cc | 4 +- .../files/patch-chrome_common_chrome__switches.h | 4 +- .../files/patch-chrome_common_pref__names.cc | 32 ++++---- .../files/patch-chrome_common_pref__names.h | 27 ++++--- .../patch-chrome_common_webui__url__constants.cc | 12 +-- .../patch-chrome_common_webui__url__constants.h | 8 +- ...mojom_safe__document__analyzer__mojom__traits.h | 4 +- ...vices_printing_print__backend__service__impl.cc | 4 +- .../files/patch-chrome_test_BUILD.gn | 4 +- ...utofill_core_browser_personal__data__manager.cc | 4 +- ...ill_core_common_autofill__payments__features.cc | 4 +- ...mponents_autofill_core_common_autofill__util.cc | 4 +- ...e__engagement_public_feature__configurations.cc | 6 +- ...eature__engagement_public_feature__constants.cc | 4 +- ...feature__engagement_public_feature__constants.h | 4 +- ...nts_feature__engagement_public_feature__list.cc | 8 +- ...ents_feature__engagement_public_feature__list.h | 12 +-- ...omponents_feed_core_v2_proto__util__unittest.cc | 4 +- ...rator_browser_network__session__configurator.cc | 4 +- ...ser_network__session__configurator__unittest.cc | 4 +- ...ssword__manager_core_browser_login__database.cc | 8 +- ...ager_core_common_password__manager__features.cc | 6 +- ...nager_core_common_password__manager__features.h | 4 +- ...licy_core_common_cloud_cloud__policy__client.cc | 4 +- ..._ai_sandbox_screen__ai__sandbox__hook__linux.cc | 6 +- ...onents_translate_core_common_translate__util.cc | 8 +- ..._formatter_spoof__checks_idn__spoof__checker.cc | 4 +- ...atch-content_app_content__main__runner__impl.cc | 10 +-- .../files/patch-content_browser_BUILD.gn | 4 +- .../patch-content_browser_audio_audio__service.cc | 4 +- ...patch-content_browser_gpu_gpu__process__host.cc | 6 +- ...r_renderer__host_render__process__host__impl.cc | 10 +-- ...derer__host_render__widget__host__view__aura.cc | 8 +- .../files/patch-content_common_BUILD.gn | 6 +- .../files/patch-content_common_user__agent.cc | 18 ++--- .../files/patch-content_gpu_gpu__main.cc | 12 +-- .../patch-content_gpu_gpu__sandbox__hook__linux.cc | 12 +-- ...atch-content_public_common_content__features.cc | 8 +- ...patch-content_public_common_content__features.h | 4 +- ...atch-content_public_common_content__switches.cc | 4 +- ...patch-content_public_common_content__switches.h | 8 +- ...patch-content_public_common_zygote_features.gni | 4 +- ...content_renderer_media_render__media__client.cc | 11 --- .../patch-content_renderer_render__thread__impl.cc | 12 +-- ...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 | 10 +-- .../files/patch-content_test_BUILD.gn | 6 +- .../files/patch-content_utility_services.cc | 14 ++-- ..._browser__context__keyed__service__factories.cc | 8 +- ...sions_browser_api_messaging_message__service.cc | 4 +- ...ivate_networking__private__delegate__factory.cc | 4 +- .../patch-extensions_browser_extension__prefs.cc | 10 +-- .../files/patch-extensions_browser_pref__names.cc | 10 +-- .../files/patch-extensions_browser_pref__names.h | 6 +- ...er_api_runtime_shell__runtime__api__delegate.cc | 4 +- ...__buffer_common_gpu__memory__buffer__support.cc | 8 +- ..._command__buffer_service_gles2__cmd__decoder.cc | 11 +++ ...image_angle__vulkan__image__backing__factory.cc | 14 ++-- ...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 | 16 ++-- ...ommand__buffer_service_webgpu__decoder__impl.cc | 4 +- ...ffer_tests_gl__gpu__memory__buffer__unittest.cc | 4 +- ...__buffer_tests_gl__oes__egl__image__unittest.cc | 20 ----- ...ch-gpu_command__buffer_tests_gl__test__utils.cc | 20 ----- ...tch-gpu_command__buffer_tests_gl__test__utils.h | 11 --- .../files/patch-gpu_config_gpu__finch__features.cc | 4 +- .../files/patch-gpu_ipc_service_gpu__init.cc | 12 +-- ...ss_lib_browser_headless__browser__main__parts.h | 11 --- ...rowser_headless__browser__main__parts__linux.cc | 11 --- ...rowser_headless__browser__main__parts__posix.cc | 39 ++++++++++ ...adless_lib_headless__content__main__delegate.cc | 4 +- www/ungoogled-chromium/files/patch-media_BUILD.gn | 4 +- .../files/patch-media_audio_BUILD.gn | 4 +- .../files/patch-media_base_audio__latency.cc | 4 +- .../files/patch-media_base_media__switches.cc | 10 +-- .../files/patch-media_base_media__switches.h | 6 +- .../files/patch-media_base_supported__types.cc | 11 --- .../files/patch-media_base_video__frame.cc | 6 +- .../files/patch-media_base_video__frame.h | 12 +-- ..._video_fake__video__capture__device__factory.cc | 6 +- ...h-media_capture_video_linux_fake__v4l2__impl.cc | 4 +- ..._capture_video_linux_v4l2__capture__delegate.cc | 25 ++++++- ...a_capture_video_linux_v4l2__capture__delegate.h | 6 +- ...linux_video__capture__device__factory__v4l2.cc} | 18 ++--- ..._linux_video__capture__device__factory__v4l2.h} | 6 +- ...capture_video_video__capture__device__client.cc | 4 +- ...-media_gpu_chromeos_video__decoder__pipeline.cc | 20 ++--- .../patch-media_gpu_vaapi_vaapi__video__decoder.cc | 4 +- .../files/patch-media_media__options.gni | 10 +-- ...stable__video__decoder__types__mojom__traits.cc | 4 +- ...ia_video_video__encode__accelerator__adapter.cc | 6 +- .../patch-mojo_public_tools_bindings_mojom.gni | 10 +-- www/ungoogled-chromium/files/patch-net_BUILD.gn | 18 ++--- .../files/patch-net_cert_cert__verify__proc.cc | 4 +- .../files/patch-net_cert_cert__verify__proc.h | 6 +- .../files/patch-net_dns_dns__reloader.cc | 20 ++--- .../files/patch-net_dns_dns__reloader.h | 19 ----- .../patch-net_dns_host__resolver__system__task.cc | 22 ------ .../files/patch-net_socket_tcp__socket__posix.cc | 4 +- .../files/patch-net_socket_udp__socket__posix.cc | 8 +- .../patch-net_socket_udp__socket__unittest.cc | 12 +-- .../files/patch-printing_backend_cups__helper.cc | 11 +++ .../patch-printing_backend_cups__ipp__helper.cc | 11 +++ ...nting_mojom_printing__context__mojom__traits.cc | 4 +- .../files/patch-printing_print__settings.cc | 6 +- .../files/patch-printing_print__settings.h | 10 +-- .../patch-printing_print__settings__conversion.cc | 4 +- .../patch-printing_printing__context__linux.cc | 6 +- ..._desktop__and__cursor__conditional__composer.cc | 20 +++++ ...patch-remoting_host_desktop__capturer__proxy.cc | 13 +++- ...tch-remoting_host_desktop__capturer__wrapper.cc | 20 +++++ .../files/patch-remoting_host_heartbeat__sender.cc | 6 +- ...st_remote__open__url_remote__open__url__util.cc | 4 +- ...atch-remoting_protocol_webrtc__video__stream.cc | 4 +- .../files/patch-sandbox_policy_BUILD.gn | 4 +- ...ices_cert__verifier_cert__verifier__creation.cc | 4 +- ...services_device_hid_hid__connection__freebsd.cc | 4 +- ...ch-services_device_hid_hid__service__freebsd.cc | 6 +- .../patch-services_device_public_mojom_BUILD.gn | 6 +- ...me__zone__monitor_time__zone__monitor__linux.cc | 4 +- .../files/patch-services_network_BUILD.gn | 4 +- .../patch-services_network_network__service.cc | 4 +- ...tor_public_cpp_memory__instrumentation_BUILD.gn | 4 +- .../files/patch-third__party_angle_BUILD.gn | 6 +- ...tch-third__party_angle_src_libANGLE_Display.cpp | 10 +-- ...third__party_angle_src_libANGLE_formatutils.cpp | 4 +- ...h-third__party_blink_public_platform_platform.h | 4 +- ...blink_renderer_controller_blink__initializer.cc | 8 +- ...link_renderer_core_editing_editing__behavior.cc | 4 +- ...erer_core_execution__context_navigator__base.cc | 6 +- ...blink_renderer_core_exported_web__view__impl.cc | 6 +- ...y_blink_renderer_core_frame_web__frame__test.cc | 20 ++--- ...arty_blink_renderer_core_layout_layout__view.cc | 6 +- ...ty_blink_renderer_modules_ml_webnn_features.gni | 10 +-- ...renderer_modules_ml_webnn_ml__graph__xnnpack.cc | 4 +- ...peerconnection_webrtc__audio__renderer__test.cc | 4 +- ...modules_webgl_webgl__webcodecs__video__frame.cc | 4 +- ...rty_blink_renderer_modules_webgpu_gpu__queue.cc | 12 +-- ...h-third__party_blink_renderer_platform_BUILD.gn | 4 +- ...ty_blink_renderer_platform_fonts_font__cache.cc | 10 +-- ...rer_platform_graphics_begin__frame__provider.cc | 4 +- ...er_platform_graphics_video__frame__submitter.cc | 4 +- ...derer_platform_runtime__enabled__features.json5 | 25 ++----- ...atch-third__party_boringssl_BUILD.generated.gni | 6 +- ..._src_crypto_fipsmodule_aes_asm_aesni-x86__64.pl | 6 +- ...rypto_fipsmodule_modes_asm_aesni-gcm-x86__64.pl | 10 +-- ...pto_fipsmodule_modes_asm_ghash-ssse3-x86__64.pl | 10 +-- ...rc_crypto_fipsmodule_modes_asm_ghash-x86__64.pl | 8 +- ...ird__party_boringssl_src_include_openssl_base.h | 4 +- ...ty_boringssl_src_util_generate__build__files.py | 6 +- ...-third__party_crashpad_crashpad_client_BUILD.gn | 4 +- ...ch-third__party_dawn_src_dawn_common_Platform.h | 4 +- ...g_chromium_config_Chrome_openbsd_arm64_config.h | 11 +-- ...onfig_Chrome_openbsd_arm64_config__components.h | 29 +++++++- ..._chromium_config_Chrome_openbsd_ia32_config.asm | 9 ++- ...eg_chromium_config_Chrome_openbsd_ia32_config.h | 13 ++-- ...config_Chrome_openbsd_ia32_config__components.h | 29 +++++++- ...g_chromium_config_Chrome_openbsd_x64_config.asm | 9 ++- ...peg_chromium_config_Chrome_openbsd_x64_config.h | 15 ++-- ..._config_Chrome_openbsd_x64_config__components.h | 29 +++++++- .../patch-third__party_fontconfig_include_config.h | 22 +++--- ...atch-third__party_fontconfig_src_src_fccompat.c | 4 +- ...tch-third__party_leveldatabase_env__chromium.cc | 4 +- .../files/patch-third__party_maldoca_BUILD.gn | 6 +- ...include_perfetto_tracing_track__event__legacy.h | 11 +++ ...hird__party_perfetto_src_base_periodic__task.cc | 10 +-- ...etto_src_tracing_core_tracing__service__impl.cc | 4 +- ...-third__party_sqlite_src_amalgamation_sqlite3.c | 6 +- ...onts_fontconfig_generate__fontconfig__caches.cc | 4 +- ...ols_json__schema__compiler_feature__compiler.py | 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 +- .../files/patch-ui_gfx_gpu__memory__buffer.cc | 4 +- .../files/patch-ui_gfx_gpu__memory__buffer.h | 6 +- .../files/patch-ui_gfx_switches.h | 4 +- www/ungoogled-chromium/files/patch-ui_gl_BUILD.gn | 6 +- .../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 +- ...tform_wayland_host_wayland__toplevel__window.cc | 4 +- ...rm_wayland_host_xdg__toplevel__wrapper__impl.cc | 4 +- ...ne_platform_wayland_ozone__platform__wayland.cc | 4 +- ..._platform__window_platform__window__delegate.cc | 4 +- ...i_platform__window_platform__window__delegate.h | 4 +- .../patch-ui_views_controls_textfield_textfield.cc | 14 ++-- ...__aura_desktop__window__tree__host__platform.cc | 8 +- .../files/patch-ui_views_widget_widget.cc | 4 +- www/ungoogled-chromium/files/patch-v8_BUILD.gn | 12 +-- .../files/patch-v8_include_v8-internal.h | 4 +- .../files/patch-v8_include_v8config.h | 44 ++++------- .../files/patch-v8_src_api_api.cc | 6 +- .../files/patch-v8_src_execution_isolate.cc | 6 +- ...bedded_platform-embedded-file-writer-generic.cc | 14 ++-- ...src_wasm_baseline_ia32_liftoff-assembler-ia32.h | 87 ++++++++++++++-------- 310 files changed, 1692 insertions(+), 1427 deletions(-) diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile index 69ad6d033125..bb66f8067267 100644 --- a/www/ungoogled-chromium/Makefile +++ b/www/ungoogled-chromium/Makefile @@ -1,5 +1,5 @@ PORTNAME= ungoogled-chromium -PORTVERSION= 111.0.5563.147 +PORTVERSION= 112.0.5615.49 UGVERSION= ${DISTVERSION}-1 CATEGORIES= www wayland MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \ @@ -127,7 +127,6 @@ GN_ARGS+= build_with_tflite_lib=false \ disable_fieldtrial_testing_config=true \ enable_backup_ref_ptr_support=false \ enable_hangout_services_extension=false \ - enable_js_type_check=false \ enable_mdns=false \ enable_mse_mpeg2ts_stream_parser=true \ enable_nacl=false \ @@ -230,8 +229,8 @@ TEST_ALL_TARGET= ${TEST_TARGETS} IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif -.if ${COMPILER_VERSION} != 130 -LLVM_DEFAULT= 13 +.if ${COMPILER_VERSION} < 150 +LLVM_DEFAULT= 15 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ diff --git a/www/ungoogled-chromium/distinfo b/www/ungoogled-chromium/distinfo index ec26378369a0..34193f31bdf4 100644 --- a/www/ungoogled-chromium/distinfo +++ b/www/ungoogled-chromium/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1680189467 -SHA256 (chromium-111.0.5563.147.tar.xz) = c49d4e0bd01b264529991e74ab58aeac33903532e413cc62bfa9fca99bf77a29 -SIZE (chromium-111.0.5563.147.tar.xz) = 1741186492 -SHA256 (ungoogled-chromium-111.0.5563.147-1.tar.gz) = f6b4eeebfc7ea67dba3d80e75f735186d3c52a82256385ff88341c37cff9497f -SIZE (ungoogled-chromium-111.0.5563.147-1.tar.gz) = 672667 -SHA256 (chromium-111.0.5563.147-testdata.tar.xz) = ab5ba7d703e962126829298d0d0053839d5c40159e592017aab3f8463ac3d8ab -SIZE (chromium-111.0.5563.147-testdata.tar.xz) = 259363560 +TIMESTAMP = 1680950965 +SHA256 (chromium-112.0.5615.49.tar.xz) = ddfd37373c1fa0f433a6ac11f0baa2b1f3fdfb9c7b5867e32a4300f2eb5aff41 +SIZE (chromium-112.0.5615.49.tar.xz) = 1730346508 +SHA256 (ungoogled-chromium-112.0.5615.49-1.tar.gz) = 9048669535558d2a6cd264539c6588d0218ba2b12950d3ed057ef3ec5fee1baa +SIZE (ungoogled-chromium-112.0.5615.49-1.tar.gz) = 674494 +SHA256 (chromium-112.0.5615.49-testdata.tar.xz) = 157e9c99242c13b906e08e5693c1a13fc7888a3d1207f5cf9bd96b62d6760ff1 +SIZE (chromium-112.0.5615.49-testdata.tar.xz) = 263752520 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 86116f19a56c..d83294086a3e 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-03-10 11:01:21 UTC +--- BUILD.gn.orig 2023-04-08 11:38:38 UTC +++ BUILD.gn @@ -60,7 +60,7 @@ declare_args() { root_extra_deps = [] @@ -17,7 +17,7 @@ "//net:net_unittests", "//sandbox:sandbox_unittests", "//services:services_unittests", -@@ -417,7 +416,7 @@ group("gn_all") { +@@ -423,7 +422,7 @@ group("gn_all") { } } @@ -26,7 +26,7 @@ deps += [ "//third_party/breakpad:breakpad_unittests", "//third_party/breakpad:core-2-minidump", -@@ -608,6 +607,15 @@ group("gn_all") { +@@ -614,6 +613,15 @@ group("gn_all") { } } @@ -42,7 +42,7 @@ if (is_mac) { deps += [ "//third_party/breakpad:crash_inspector", -@@ -656,7 +664,7 @@ group("gn_all") { +@@ -662,7 +670,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)" ] } -@@ -1078,7 +1086,7 @@ if (!is_ios) { +@@ -1085,7 +1093,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") { -@@ -1178,7 +1186,7 @@ if (!is_ios) { +@@ -1185,7 +1193,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)" ] } -@@ -1187,7 +1195,7 @@ if (!is_ios) { +@@ -1194,7 +1202,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)" ] } -@@ -1653,7 +1661,7 @@ group("chromium_builder_perf") { +@@ -1662,7 +1670,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 35bf548cd320..f341d8c5a068 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-03-10 11:01:21 UTC +--- base/BUILD.gn.orig 2023-04-08 11:38:38 UTC +++ base/BUILD.gn -@@ -168,7 +168,7 @@ buildflag_header("ios_cronet_buildflags") { +@@ -188,7 +188,7 @@ buildflag_header("ios_cronet_buildflags") { flags = [ "CRONET_BUILD=$is_cronet_build" ] } @@ -9,31 +9,7 @@ buildflag_header("message_pump_buildflags") { header = "message_pump_buildflags.h" header_dir = "base/message_loop" -@@ -1053,7 +1053,7 @@ component("base") { - "timer/hi_res_timer_manager_posix.cc", - ] - -- if (!is_nacl && !is_apple) { -+ if (!is_nacl && !is_apple && !is_bsd) { - sources += [ - "profiler/stack_base_address_posix.cc", - "profiler/stack_base_address_posix.h", -@@ -1064,6 +1064,14 @@ component("base") { - "profiler/thread_delegate_posix.h", - ] - } -+ -+ if (is_bsd) { -+ sources += [ -+ "profiler/stack_base_address_posix.cc", -+ "profiler/stack_base_address_posix.h", -+ "profiler/stack_sampler_posix.cc", -+ ] -+ } - } - - if (is_win) { -@@ -1544,11 +1552,23 @@ component("base") { +@@ -1093,11 +1093,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. @@ -58,7 +34,7 @@ if (use_allocator_shim) { sources += [ "allocator/partition_allocator/shim/allocator_shim.cc", -@@ -1576,7 +1596,7 @@ component("base") { +@@ -1125,7 +1137,7 @@ component("base") { ] configs += [ "//base/allocator:mac_no_default_new_delete_symbols" ] } @@ -67,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", -@@ -1617,7 +1637,7 @@ component("base") { +@@ -1166,7 +1178,7 @@ component("base") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -76,7 +52,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -2208,6 +2228,39 @@ component("base") { +@@ -2107,6 +2119,43 @@ component("base") { } } @@ -88,7 +64,11 @@ + "system/sys_info_linux.cc", + "process/process_iterator_linux.cc", + "process/process_metrics_linux.cc", -+ "process/process_handle_linux.cc" ++ "process/process_handle_linux.cc", ++ "profiler/stack_copier_signal.cc", ++ "profiler/stack_copier_signal.h", ++ "profiler/thread_delegate_posix.cc", ++ "profiler/thread_delegate_posix.h", + ] + sources += [ + "files/file_path_watcher_kqueue.cc", @@ -115,8 +95,8 @@ + # iOS if (is_ios) { - sources -= [ -@@ -2303,7 +2356,7 @@ component("base") { + sources += [ +@@ -2202,7 +2251,7 @@ component("base") { } if (dep_libevent) { @@ -125,8 +105,8 @@ } if (use_libevent) { -@@ -3556,7 +3609,7 @@ test("base_unittests") { - } +@@ -3470,7 +3519,7 @@ test("base_unittests") { + ] } - if (is_linux || is_chromeos) { @@ -134,7 +114,7 @@ sources += [ "debug/proc_maps_linux_unittest.cc", "files/scoped_file_linux_unittest.cc", -@@ -3602,7 +3655,7 @@ test("base_unittests") { +@@ -3519,7 +3568,7 @@ test("base_unittests") { "posix/file_descriptor_shuffle_unittest.cc", "posix/unix_domain_socket_unittest.cc", ] @@ -143,7 +123,7 @@ sources += [ "profiler/stack_base_address_posix_unittest.cc", "profiler/stack_copier_signal_unittest.cc", -@@ -3613,7 +3666,7 @@ test("base_unittests") { +@@ -3530,7 +3579,7 @@ test("base_unittests") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -152,7 +132,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -3829,7 +3882,7 @@ test("base_unittests") { +@@ -3751,7 +3800,7 @@ test("base_unittests") { } } 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 f7b336ccc04e..b54c3205c162 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_page__allocator__internals__posix.h @@ -1,8 +1,8 @@ ---- base/allocator/partition_allocator/page_allocator_internals_posix.h.orig 2023-02-11 09:11:04 UTC +--- 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 -@@ -371,8 +371,12 @@ bool TryRecommitSystemPagesInternal( +@@ -380,8 +380,12 @@ bool TryRecommitSystemPagesInternal( + void DiscardSystemPagesInternal(uintptr_t address, size_t length) { - #if !BUILDFLAG(IS_NACL) void* ptr = reinterpret_cast(address); -#if BUILDFLAG(IS_APPLE) +#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD) diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc index fe455288d15b..0b03a2f199cf 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__address__space.cc @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/partition_address_space.cc.orig 2023-03-10 11:01:21 UTC +--- base/allocator/partition_allocator/partition_address_space.cc.orig 2023-04-08 11:38:38 UTC +++ base/allocator/partition_allocator/partition_address_space.cc -@@ -416,7 +416,7 @@ void PartitionAddressSpace::UninitPkeyPoolForTesting() +@@ -417,7 +417,7 @@ void PartitionAddressSpace::UninitPkeyPoolForTesting() } #endif diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni index 0261fab25a2f..63c6fe91fad6 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-03-10 11:01:21 UTC +--- base/allocator/partition_allocator/partition_alloc.gni.orig 2023-04-08 11:38:38 UTC +++ base/allocator/partition_allocator/partition_alloc.gni -@@ -233,7 +233,7 @@ assert(!use_asan_backup_ref_ptr || use_hookable_raw_pt +@@ -276,7 +276,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__config.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc__config.h index aa630f131c07..a92644c3162c 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,6 +1,6 @@ ---- base/allocator/partition_allocator/partition_alloc_config.h.orig 2023-03-10 11:01:21 UTC +--- base/allocator/partition_allocator/partition_alloc_config.h.orig 2023-04-08 11:38:38 UTC +++ base/allocator/partition_allocator/partition_alloc_config.h -@@ -120,7 +120,7 @@ static_assert(sizeof(void*) != 8, ""); +@@ -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 // features such as futex(2). #define PA_CONFIG_HAS_LINUX_KERNEL() \ @@ -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, -@@ -267,7 +267,7 @@ constexpr bool kUseLazyCommit = false; +@@ -251,7 +251,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. -@@ -312,7 +312,7 @@ constexpr bool kUseLazyCommit = false; +@@ -296,7 +296,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 5fc1c4ad9b2e..c1c944754520 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,6 +1,6 @@ ---- base/allocator/partition_allocator/partition_alloc_constants.h.orig 2023-03-10 11:01:21 UTC +--- base/allocator/partition_allocator/partition_alloc_constants.h.orig 2023-04-08 11:38:38 UTC +++ base/allocator/partition_allocator/partition_alloc_constants.h -@@ -91,7 +91,7 @@ PartitionPageShift() { +@@ -92,7 +92,7 @@ PartitionPageShift() { return 18; // 256 KiB } #elif (BUILDFLAG(IS_APPLE) && defined(ARCH_CPU_64_BITS)) || \ @@ -9,10 +9,10 @@ PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR PA_ALWAYS_INLINE size_t PartitionPageShift() { return PageAllocationGranularityShift() + 2; -@@ -277,7 +277,7 @@ constexpr size_t kNumPools = 3; - // +@@ -296,7 +296,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) -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) || PA_CONFIG(POINTER_COMPRESSION) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) || PA_CONFIG(POINTER_COMPRESSION) || BUILDFLAG(IS_BSD) constexpr size_t kPoolMaxSize = 8 * kGiB; 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 1401f0076493..e82d4e1f542c 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-01-13 08:56:02 UTC +--- base/allocator/partition_allocator/partition_page.h.orig 2023-04-08 11:38:38 UTC +++ base/allocator/partition_allocator/partition_page.h -@@ -144,7 +144,7 @@ struct SlotSpanMetadata { +@@ -143,7 +143,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 9eb8a4b38e78..a69dea01087c 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__root.cc +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__root.cc @@ -1,4 +1,4 @@ ---- base/allocator/partition_allocator/partition_root.cc.orig 2023-03-10 11:01:21 UTC +--- base/allocator/partition_allocator/partition_root.cc.orig 2023-04-08 11:38:38 UTC +++ base/allocator/partition_allocator/partition_root.cc @@ -42,7 +42,7 @@ #include "wow64apiset.h" @@ -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 -@@ -800,7 +800,7 @@ void PartitionRoot::Init(PartitionOptions +@@ -811,7 +811,7 @@ void PartitionRoot::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_starscan_stack_stack.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_starscan_stack_stack.cc index 79c8624b6350..4b5ad07bfb0b 100644 --- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_starscan_stack_stack.cc +++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_starscan_stack_stack.cc @@ -1,6 +1,6 @@ ---- base/allocator/partition_allocator/starscan/stack/stack.cc.orig 2022-10-01 07:40:07 UTC +--- base/allocator/partition_allocator/starscan/stack/stack.cc.orig 2023-04-08 11:38:38 UTC +++ base/allocator/partition_allocator/starscan/stack/stack.cc -@@ -17,6 +17,10 @@ +@@ -18,6 +18,10 @@ #include #endif @@ -11,7 +11,7 @@ #if defined(LIBC_GLIBC) extern "C" void* __libc_stack_end; #endif -@@ -47,6 +51,36 @@ void* GetStackTop() { +@@ -48,6 +52,36 @@ void* GetStackTop() { void* GetStackTop() { return pthread_get_stackaddr_np(pthread_self()); diff --git a/www/ungoogled-chromium/files/patch-base_atomicops.h b/www/ungoogled-chromium/files/patch-base_atomicops.h index ed8ded9f1c96..c65322012f20 100644 --- a/www/ungoogled-chromium/files/patch-base_atomicops.h +++ b/www/ungoogled-chromium/files/patch-base_atomicops.h @@ -1,6 +1,6 @@ ---- base/atomicops.h.orig 2022-10-01 07:40:07 UTC +--- base/atomicops.h.orig 2023-04-08 11:38:38 UTC +++ base/atomicops.h -@@ -56,7 +56,11 @@ typedef intptr_t Atomic64; +@@ -71,7 +71,11 @@ typedef intptr_t Atomic64; // Use AtomicWord for a machine-sized pointer. It will use the Atomic32 or // Atomic64 routines below, depending on your architecture. diff --git a/www/ungoogled-chromium/files/patch-base_debug_stack__trace__posix.cc b/www/ungoogled-chromium/files/patch-base_debug_stack__trace__posix.cc index 87c53e609e4b..2ea24cf09e6d 100644 --- a/www/ungoogled-chromium/files/patch-base_debug_stack__trace__posix.cc +++ b/www/ungoogled-chromium/files/patch-base_debug_stack__trace__posix.cc @@ -1,6 +1,6 @@ ---- base/debug/stack_trace_posix.cc.orig 2023-03-10 11:01:21 UTC +--- base/debug/stack_trace_posix.cc.orig 2023-04-08 11:38:38 UTC +++ base/debug/stack_trace_posix.cc -@@ -40,7 +40,7 @@ +@@ -41,7 +41,7 @@ // execinfo.h and backtrace(3) are really only present in glibc and in macOS // libc. #if BUILDFLAG(IS_APPLE) || \ @@ -9,7 +9,7 @@ #define HAVE_BACKTRACE #include #endif -@@ -58,7 +58,7 @@ +@@ -59,7 +59,7 @@ #include #endif @@ -18,7 +18,7 @@ #include "base/debug/proc_maps_linux.h" #endif -@@ -761,6 +761,9 @@ class SandboxSymbolizeHelper { +@@ -799,6 +799,9 @@ class SandboxSymbolizeHelper { // for the modules that are loaded in the current process. // Returns true on success. bool CacheMemoryRegions() { @@ -28,7 +28,7 @@ // Reads /proc/self/maps. std::string contents; if (!ReadProcMaps(&contents)) { -@@ -778,6 +781,7 @@ class SandboxSymbolizeHelper { +@@ -816,6 +819,7 @@ class SandboxSymbolizeHelper { is_initialized_ = true; return true; diff --git a/www/ungoogled-chromium/files/patch-base_process_kill__posix.cc b/www/ungoogled-chromium/files/patch-base_process_kill__posix.cc index 43688c37dc81..75f23cbb8b83 100644 --- a/www/ungoogled-chromium/files/patch-base_process_kill__posix.cc +++ b/www/ungoogled-chromium/files/patch-base_process_kill__posix.cc @@ -1,6 +1,6 @@ ---- base/process/kill_posix.cc.orig 2022-10-01 07:40:07 UTC +--- base/process/kill_posix.cc.orig 2023-04-08 11:38:38 UTC +++ base/process/kill_posix.cc -@@ -158,7 +158,7 @@ void EnsureProcessTerminated(Process process) { +@@ -157,7 +157,7 @@ void EnsureProcessTerminated(Process process) { 0, new BackgroundReaper(std::move(process), Seconds(2))); } diff --git a/www/ungoogled-chromium/files/patch-base_process_process__iterator__freebsd.cc b/www/ungoogled-chromium/files/patch-base_process_process__iterator__freebsd.cc index 461a5de769d8..212e6a4b9be8 100644 --- a/www/ungoogled-chromium/files/patch-base_process_process__iterator__freebsd.cc +++ b/www/ungoogled-chromium/files/patch-base_process_process__iterator__freebsd.cc @@ -1,15 +1,15 @@ ---- base/process/process_iterator_freebsd.cc.orig 2022-10-01 07:40:07 UTC +--- base/process/process_iterator_freebsd.cc.orig 2023-04-08 11:38:38 UTC +++ base/process/process_iterator_freebsd.cc -@@ -20,7 +20,7 @@ ProcessIterator::ProcessIterator(const ProcessFilter* - : index_of_kinfo_proc_(), - filter_(filter) { +@@ -18,7 +18,7 @@ namespace base { + ProcessIterator::ProcessIterator(const ProcessFilter* filter) + : filter_(filter) { - int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_UID, getuid() }; + int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_UID, (int) getuid() }; bool done = false; int try_num = 1; -@@ -39,7 +39,7 @@ ProcessIterator::ProcessIterator(const ProcessFilter* +@@ -37,7 +37,7 @@ ProcessIterator::ProcessIterator(const ProcessFilter* num_of_kinfo_proc += 16; kinfo_procs_.resize(num_of_kinfo_proc); len = num_of_kinfo_proc * sizeof(struct kinfo_proc); @@ -18,7 +18,7 @@ // If we get a mem error, it just means we need a bigger buffer, so // loop around again. Anything else is a real error and give up. if (errno != ENOMEM) { -@@ -49,7 +49,7 @@ ProcessIterator::ProcessIterator(const ProcessFilter* +@@ -47,7 +47,7 @@ ProcessIterator::ProcessIterator(const ProcessFilter* } } else { // Got the list, just make sure we're sized exactly right @@ -27,7 +27,7 @@ kinfo_procs_.resize(num_of_kinfo_proc); done = true; } -@@ -71,18 +71,13 @@ bool ProcessIterator::CheckForNextProcess() { +@@ -68,18 +68,13 @@ bool ProcessIterator::CheckForNextProcess() { for (; index_of_kinfo_proc_ < kinfo_procs_.size(); ++index_of_kinfo_proc_) { size_t length; struct kinfo_proc kinfo = kinfo_procs_[index_of_kinfo_proc_]; diff --git a/www/ungoogled-chromium/files/patch-base_process_process__iterator__openbsd.cc b/www/ungoogled-chromium/files/patch-base_process_process__iterator__openbsd.cc index 56f8a2f82b3e..24e55add26c9 100644 --- a/www/ungoogled-chromium/files/patch-base_process_process__iterator__openbsd.cc +++ b/www/ungoogled-chromium/files/patch-base_process_process__iterator__openbsd.cc @@ -1,4 +1,4 @@ ---- base/process/process_iterator_openbsd.cc.orig 2022-10-01 07:40:07 UTC +--- base/process/process_iterator_openbsd.cc.orig 2023-04-08 11:38:38 UTC +++ base/process/process_iterator_openbsd.cc @@ -6,6 +6,9 @@ @@ -10,10 +10,10 @@ #include #include "base/logging.h" -@@ -18,12 +21,13 @@ ProcessIterator::ProcessIterator(const ProcessFilter* - : index_of_kinfo_proc_(), - filter_(filter) { +@@ -16,12 +19,13 @@ namespace base { + ProcessIterator::ProcessIterator(const ProcessFilter* filter) + : filter_(filter) { - int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_UID, getuid(), + int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_UID, static_cast(getuid()), sizeof(struct kinfo_proc), 0 }; @@ -25,7 +25,7 @@ do { size_t len = 0; -@@ -32,7 +36,7 @@ ProcessIterator::ProcessIterator(const ProcessFilter* +@@ -30,7 +34,7 @@ ProcessIterator::ProcessIterator(const ProcessFilter* kinfo_procs_.resize(0); done = true; } else { @@ -34,7 +34,7 @@ // Leave some spare room for process table growth (more could show up // between when we check and now) num_of_kinfo_proc += 16; -@@ -48,7 +52,7 @@ ProcessIterator::ProcessIterator(const ProcessFilter* +@@ -46,7 +50,7 @@ ProcessIterator::ProcessIterator(const ProcessFilter* } } else { // Got the list, just make sure we're sized exactly right diff --git a/www/ungoogled-chromium/files/patch-base_process_process__posix.cc b/www/ungoogled-chromium/files/patch-base_process_process__posix.cc index 3251a7edddfb..e065ba6098dc 100644 --- a/www/ungoogled-chromium/files/patch-base_process_process__posix.cc +++ b/www/ungoogled-chromium/files/patch-base_process_process__posix.cc @@ -1,8 +1,8 @@ ---- base/process/process_posix.cc.orig 2022-10-01 07:40:07 UTC +--- base/process/process_posix.cc.orig 2023-04-08 11:38:38 UTC +++ base/process/process_posix.cc -@@ -25,10 +25,15 @@ +@@ -23,10 +23,15 @@ + #include "base/trace_event/base_tracing.h" #include "build/build_config.h" - #include "third_party/abseil-cpp/absl/types/optional.h" -#if BUILDFLAG(IS_MAC) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) @@ -17,7 +17,7 @@ #if BUILDFLAG(CLANG_PROFILING) #include "base/test/clang_profiling.h" #endif -@@ -95,7 +100,7 @@ bool WaitpidWithTimeout(base::ProcessHandle handle, +@@ -93,7 +98,7 @@ bool WaitpidWithTimeout(base::ProcessHandle handle, return ret_pid > 0; } @@ -26,7 +26,7 @@ // Using kqueue on Mac so that we can wait on non-child processes. // We can't use kqueues on child processes because we need to reap // our own children using wait. -@@ -200,7 +205,7 @@ bool WaitForExitWithTimeoutImpl(base::ProcessHandle ha +@@ -198,7 +203,7 @@ bool WaitForExitWithTimeoutImpl(base::ProcessHandle ha const bool exited = (parent_pid < 0); if (!exited && parent_pid != our_pid) { @@ -35,7 +35,7 @@ // On Mac we can wait on non child processes. return WaitForSingleNonChildProcess(handle, timeout); #else -@@ -392,7 +397,55 @@ void Process::Exited(int exit_code) const { +@@ -387,7 +392,55 @@ void Process::Exited(int exit_code) const { int Process::GetPriority() const { DCHECK(IsValid()); diff --git a/www/ungoogled-chromium/files/patch-base_profiler_module__cache.cc b/www/ungoogled-chromium/files/patch-base_profiler_module__cache.cc index 02c7a0fc4eb0..34ca59f784f5 100644 --- a/www/ungoogled-chromium/files/patch-base_profiler_module__cache.cc +++ b/www/ungoogled-chromium/files/patch-base_profiler_module__cache.cc @@ -1,11 +1,11 @@ ---- base/profiler/module_cache.cc.orig 2022-10-01 07:40:07 UTC +--- base/profiler/module_cache.cc.orig 2023-04-08 11:38:38 UTC +++ base/profiler/module_cache.cc -@@ -34,7 +34,7 @@ struct ModuleAddressCompare { - - std::string TransformModuleIDToBreakpadFormat(StringPiece module_id) { - std::string mangled_id(module_id); --#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) +@@ -37,7 +37,7 @@ std::string TransformModuleIDToSymbolServerFormat(Stri + // Android and Linux Chrome builds use the "breakpad" format to index their + // build id, so we transform the build id for these platforms. All other + // platforms keep their symbols indexed by the original build ID. +-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Linux ELF module IDs are 160bit integers, which we need to mangle // down to 128bit integers to match the id that Breakpad outputs. // Example on version '66.0.3359.170' x64: diff --git a/www/ungoogled-chromium/files/patch-base_synchronization_lock__impl.h b/www/ungoogled-chromium/files/patch-base_synchronization_lock__impl.h index 41f5326626f4..d75c80809b73 100644 --- a/www/ungoogled-chromium/files/patch-base_synchronization_lock__impl.h +++ b/www/ungoogled-chromium/files/patch-base_synchronization_lock__impl.h @@ -1,6 +1,6 @@ ---- base/synchronization/lock_impl.h.orig 2022-10-01 07:40:07 UTC +--- base/synchronization/lock_impl.h.orig 2023-04-08 11:38:38 UTC +++ base/synchronization/lock_impl.h -@@ -107,6 +107,10 @@ void LockImpl::Unlock() { +@@ -104,6 +104,10 @@ void LockImpl::Unlock() { } #elif BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA) @@ -11,7 +11,7 @@ #if DCHECK_IS_ON() BASE_EXPORT void dcheck_trylock_result(int rv); -@@ -127,6 +131,9 @@ void LockImpl::Unlock() { +@@ -124,6 +128,9 @@ void LockImpl::Unlock() { dcheck_unlock_result(rv); #endif } diff --git a/www/ungoogled-chromium/files/patch-base_threading_platform__thread__posix.cc b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__posix.cc index 65322412247f..ff6b968604f1 100644 --- a/www/ungoogled-chromium/files/patch-base_threading_platform__thread__posix.cc +++ b/www/ungoogled-chromium/files/patch-base_threading_platform__thread__posix.cc @@ -1,15 +1,15 @@ ---- base/threading/platform_thread_posix.cc.orig 2023-03-10 11:01:21 UTC +--- base/threading/platform_thread_posix.cc.orig 2023-04-08 11:38:38 UTC +++ base/threading/platform_thread_posix.cc *** 8837 LINES SKIPPED ***