diff options
Diffstat (limited to 'www')
1118 files changed, 5019 insertions, 5006 deletions
diff --git a/www/Makefile b/www/Makefile index 4a1e8626801d..4f3e7155ed96 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1953,7 +1953,6 @@ SUBDIR += py-requests-file SUBDIR += py-requests-futures SUBDIR += py-requests-gssapi - SUBDIR += py-requests-kerberos SUBDIR += py-requests-mock SUBDIR += py-requests-oauthlib SUBDIR += py-requests-toolbelt diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 0777430a96a8..d76b052f36cc 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -1,6 +1,5 @@ PORTNAME= chromium -PORTVERSION= 143.0.7499.109 -PORTREVISION= 2 +PORTVERSION= 143.0.7499.146 PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= www wayland diff --git a/www/chromium/distinfo b/www/chromium/distinfo index 1bb61bf5483f..05d5bf52031b 100644 --- a/www/chromium/distinfo +++ b/www/chromium/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1765526502 -SHA256 (chromium-143.0.7499.109-lite.tar.xz) = d3a3f3acbae7c9edc75fcea8c7725f90c6e5b57a21c8e37d3e629f2224184b51 -SIZE (chromium-143.0.7499.109-lite.tar.xz) = 1140751164 +TIMESTAMP = 1766134552 +SHA256 (chromium-143.0.7499.146-lite.tar.xz) = d79916348f34ecb154201ba2908a0c1ffaf8ae9670215c575b76cf95b10fb076 +SIZE (chromium-143.0.7499.146-lite.tar.xz) = 1140736788 SHA256 (pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92 SIZE (pulseaudio-16.1.tar.gz) = 2763111 -SHA256 (chromium-143.0.7499.109-testdata.tar.xz) = 64df31b9d193c71705ec43a3fcd1120f6ec775e1660aa94276b9bc86fef715ce -SIZE (chromium-143.0.7499.109-testdata.tar.xz) = 1155272172 +SHA256 (chromium-143.0.7499.146-testdata.tar.xz) = 20b86e1557beeb1654005a7793dd796205a3b75fdb05df94ffbedf376485db17 +SIZE (chromium-143.0.7499.146-testdata.tar.xz) = 1155417248 diff --git a/www/chromium/files/patch-BUILD.gn b/www/chromium/files/patch-BUILD.gn index 58b7175718a4..31618ed2e0a6 100644 --- a/www/chromium/files/patch-BUILD.gn +++ b/www/chromium/files/patch-BUILD.gn @@ -1,6 +1,6 @@ ---- BUILD.gn.orig 2025-12-05 10:12:50 UTC +--- BUILD.gn.orig 2025-12-19 09:02:31 UTC +++ BUILD.gn -@@ -68,7 +68,7 @@ declare_args() { +@@ -67,7 +67,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) -@@ -101,7 +101,6 @@ group("gn_all") { +@@ -100,7 +100,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", -@@ -431,7 +430,7 @@ group("gn_all") { +@@ -430,7 +429,7 @@ group("gn_all") { } } @@ -26,7 +26,7 @@ deps += [ "//third_party/breakpad:breakpad_unittests", "//third_party/breakpad:core-2-minidump", -@@ -598,6 +597,15 @@ group("gn_all") { +@@ -597,6 +596,15 @@ group("gn_all") { } } @@ -42,7 +42,7 @@ if (is_mac) { deps += [ "//third_party/breakpad:dump_syms($host_system_allocator_toolchain)", -@@ -646,7 +654,7 @@ group("gn_all") { +@@ -645,7 +653,7 @@ group("gn_all") { } } @@ -51,7 +51,7 @@ # The official builders use this binary from the default toolchain's # output directory after building in order to upload the symbols of that # binary. They build the binary like `ninja symupload` which requires the -@@ -681,7 +689,7 @@ group("gn_all") { +@@ -680,7 +688,7 @@ group("gn_all") { ] } @@ -60,7 +60,7 @@ deps += [ "//third_party/crashpad/crashpad:crashpad_tests", "//third_party/crashpad/crashpad/handler:crashpad_handler", -@@ -1072,7 +1080,7 @@ if (use_blink && !is_cronet_build) { +@@ -1071,7 +1079,7 @@ if (use_blink && !is_cronet_build) { "//third_party/blink/public:all_blink", ] @@ -69,7 +69,7 @@ deps += [ ":chrome_wpt_tests", ":headless_shell_wpt", -@@ -1225,7 +1233,7 @@ if (use_blink && !is_cronet_build) { +@@ -1224,7 +1232,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ] } @@ -78,7 +78,7 @@ # Using the default toolchain for this tool, as it's run during tests not # during the build. This places a symlink in the root_build_dir for scrips # to use. -@@ -1239,7 +1247,7 @@ if (use_blink && !is_cronet_build) { +@@ -1238,7 +1246,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//third_party/breakpad:dump_syms" ] } @@ -87,7 +87,7 @@ # Using the default toolchain for this tool, as it's run during tests not # during the build. This places a symlink in the root_build_dir for scrips # to use. -@@ -1536,7 +1544,7 @@ group("chromium_builder_perf") { +@@ -1535,7 +1543,7 @@ group("chromium_builder_perf") { data_deps += [ "//chrome/test:performance_browser_tests" ] } diff --git a/www/chromium/files/patch-chrome_browser_about__flags.cc b/www/chromium/files/patch-chrome_browser_about__flags.cc index a5d4ad8ace4f..7f84417c5abc 100644 --- a/www/chromium/files/patch-chrome_browser_about__flags.cc +++ b/www/chromium/files/patch-chrome_browser_about__flags.cc @@ -1,4 +1,4 @@ ---- chrome/browser/about_flags.cc.orig 2025-12-12 12:11:50 UTC +--- chrome/browser/about_flags.cc.orig 2025-12-19 09:02:31 UTC +++ chrome/browser/about_flags.cc @@ -332,12 +332,12 @@ #include "components/stylus_handwriting/win/features.h" @@ -42,7 +42,7 @@ const FeatureEntry::FeatureParam kClipboardMaximumAge60Seconds[] = { {"UIClipboardMaximumAge", "60"}}; const FeatureEntry::FeatureParam kClipboardMaximumAge90Seconds[] = { -@@ -1321,7 +1341,7 @@ const FeatureEntry::FeatureVariation kRemotePageMetada +@@ -1336,7 +1356,7 @@ const FeatureEntry::FeatureVariation kRemotePageMetada }; #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -51,7 +51,7 @@ // A limited number of combinations of the rich autocompletion params. const FeatureEntry::FeatureParam kOmniboxRichAutocompletionAggressive1[] = { -@@ -3975,7 +3995,7 @@ const FeatureEntry::FeatureVariation +@@ -3990,7 +4010,7 @@ const FeatureEntry::FeatureVariation #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -60,7 +60,7 @@ const flags_ui::FeatureEntry::FeatureParam kPwaNavigationCapturingDefaultOn[] = {{"link_capturing_state", "on_by_default"}}; const flags_ui::FeatureEntry::FeatureParam kPwaNavigationCapturingDefaultOff[] = -@@ -4005,7 +4025,7 @@ const flags_ui::FeatureEntry::FeatureVariation +@@ -4020,7 +4040,7 @@ const flags_ui::FeatureEntry::FeatureVariation #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || // BUILDFLAG(IS_CHROMEOS) @@ -69,7 +69,7 @@ const FeatureEntry::Choice kReplaceSyncPromosWithSignInPromosChoices[] = { {"Default", "", ""}, {"Disabled", switches::kDisableFeatures, -@@ -4231,7 +4251,7 @@ const FeatureEntry::FeatureVariation kSkiaGraphiteVari +@@ -4246,7 +4266,7 @@ const FeatureEntry::FeatureVariation kSkiaGraphiteVari std::size(kSkiaGraphite_DebugLabelsEnabled), nullptr}, }; @@ -78,7 +78,7 @@ const FeatureEntry::FeatureParam kTranslationAPI_SkipLanguagePackLimit[] = { {"TranslationAPIAcceptLanguagesCheck", "false"}, {"TranslationAPILimitLanguagePackCount", "false"}}; -@@ -4251,7 +4271,7 @@ const FeatureEntry::FeatureVariation kSensitiveContent +@@ -4266,7 +4286,7 @@ const FeatureEntry::FeatureVariation kSensitiveContent }; #endif // BUILDFLAG(IS_ANDROID) @@ -87,7 +87,7 @@ const FeatureEntry::FeatureParam kContextualCueingEnabledNoEngagementCap[] = { {"BackoffTime", "0h"}, {"BackoffMultiplierBase", "0.0"}, -@@ -5020,7 +5040,7 @@ const FeatureEntry::FeatureVariation kMobilePromoOnDes +@@ -5035,7 +5055,7 @@ const FeatureEntry::FeatureVariation kMobilePromoOnDes }; #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -96,7 +96,7 @@ const FeatureEntry::FeatureParam kNtpCustomizeChromeAutoOpenOnEveryNTP[] = { {"max_customize_chrome_auto_shown_count", "5"}, {"max_customize_chrome_auto_shown_session_count", "5"}}; -@@ -5156,7 +5176,7 @@ const FeatureEntry::FeatureVariation kSeamlessSigninVa +@@ -5171,7 +5191,7 @@ const FeatureEntry::FeatureVariation kSeamlessSigninVa nullptr}}; #endif // BUILDFLAG(IS_ANDROID) @@ -105,7 +105,7 @@ const FeatureEntry::FeatureParam kProfilePickerTextVariation1[] = { {"profile-picker-variation", "keep-work-and-life-separate"}}; const FeatureEntry::FeatureParam kProfilePickerTextVariation2[] = { -@@ -5735,7 +5755,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -5750,7 +5770,7 @@ const FeatureEntry kFeatureEntries[] = { }, #endif // BUILDFLAG(IS_WIN) @@ -114,7 +114,7 @@ { "fluent-overlay-scrollbars", flag_descriptions::kFluentOverlayScrollbarsName, -@@ -6033,7 +6053,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -6048,7 +6068,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kEnableIsolatedWebAppDevModeName, flag_descriptions::kEnableIsolatedWebAppDevModeDescription, kOsDesktop, FEATURE_VALUE_TYPE(features::kIsolatedWebAppDevMode)}, @@ -123,7 +123,7 @@ {"enable-iwa-key-distribution-component", flag_descriptions::kEnableIwaKeyDistributionComponentName, flag_descriptions::kEnableIwaKeyDistributionComponentDescription, -@@ -6225,7 +6245,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -6240,7 +6260,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(media::kUseSCContentSharingPicker)}, #endif // BUILDFLAG(IS_MAC) @@ -132,7 +132,7 @@ {"pulseaudio-loopback-for-cast", flag_descriptions::kPulseaudioLoopbackForCastName, flag_descriptions::kPulseaudioLoopbackForCastDescription, kOsLinux, -@@ -6254,6 +6274,16 @@ const FeatureEntry kFeatureEntries[] = { +@@ -6269,6 +6289,16 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kWaylandSessionManagementName, flag_descriptions::kWaylandSessionManagementDescription, kOsLinux, FEATURE_VALUE_TYPE(features::kWaylandSessionManagement)}, @@ -149,7 +149,7 @@ #endif // BUILDFLAG(IS_LINUX) #if BUILDFLAG(ENABLE_VR) -@@ -7124,7 +7154,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -7139,7 +7169,7 @@ const FeatureEntry kFeatureEntries[] = { "MlUrlScoring")}, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -158,7 +158,7 @@ {"contextual-search-box-uses-contextual-search-provider", flag_descriptions::kContextualSearchBoxUsesContextualSearchProviderName, flag_descriptions:: -@@ -7540,7 +7570,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -7555,7 +7585,7 @@ const FeatureEntry kFeatureEntries[] = { kNumSrpZpsRelatedSearches, "PowerTools")}, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -167,7 +167,7 @@ {"history-embeddings", flag_descriptions::kHistoryEmbeddingsName, flag_descriptions::kHistoryEmbeddingsDescription, kOsDesktop, FEATURE_VALUE_TYPE(history_embeddings::kHistoryEmbeddings)}, -@@ -7755,7 +7785,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -7770,7 +7800,7 @@ const FeatureEntry kFeatureEntries[] = { "NtpRealboxNext")}, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -176,7 +176,7 @@ {"ntp-customize-chrome-auto-open", flag_descriptions::kNtpCustomizeChromeAutoOpenName, flag_descriptions::kNtpCustomizeChromeAutoOpenDescription, kOsDesktop, -@@ -8034,7 +8064,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -8049,7 +8079,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(printing::features::kAddPrinterViaPrintscanmgr)}, #endif // BUILDFLAG(IS_CHROMEOS) @@ -185,7 +185,7 @@ {"cups-ipp-printing-backend", flag_descriptions::kCupsIppPrintingBackendName, flag_descriptions::kCupsIppPrintingBackendDescription, kOsDesktop, -@@ -8972,7 +9002,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -8987,7 +9017,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(media::kGlobalMediaControlsUpdatedUI)}, #endif // !BUILDFLAG(IS_CHROMEOS) @@ -194,7 +194,7 @@ {"enable-network-service-sandbox", flag_descriptions::kEnableNetworkServiceSandboxName, flag_descriptions::kEnableNetworkServiceSandboxDescription, -@@ -9543,7 +9573,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -9558,7 +9588,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kGlobalVaapiLockDescription, kOsCrOS | kOsLinux, FEATURE_VALUE_TYPE(media::kGlobalVaapiLock)}, @@ -203,7 +203,7 @@ { "ui-debug-tools", flag_descriptions::kUIDebugToolsName, -@@ -10000,7 +10030,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10015,7 +10045,7 @@ const FeatureEntry kFeatureEntries[] = { #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -212,7 +212,7 @@ {"media-session-enter-picture-in-picture", flag_descriptions::kMediaSessionEnterPictureInPictureName, flag_descriptions::kMediaSessionEnterPictureInPictureDescription, -@@ -10197,7 +10227,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10212,7 +10242,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kReduceTransferSizeUpdatedIPCDescription, kOsAll, FEATURE_VALUE_TYPE(network::features::kReduceTransferSizeUpdatedIPC)}, @@ -221,7 +221,7 @@ {"reduce-user-agent-data-linux-platform-version", flag_descriptions::kReduceUserAgentDataLinuxPlatformVersionName, flag_descriptions::kReduceUserAgentDataLinuxPlatformVersionDescription, -@@ -10759,7 +10789,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10774,7 +10804,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kRcapsDynamicProfileCountryDescription, kOsAll, FEATURE_VALUE_TYPE(switches::kDynamicProfileCountry)}, @@ -230,7 +230,7 @@ {"enable-generic-oidc-auth-profile-management", flag_descriptions::kEnableGenericOidcAuthProfileManagementName, flag_descriptions::kEnableGenericOidcAuthProfileManagementDescription, -@@ -10780,7 +10810,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10795,7 +10825,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -239,7 +239,7 @@ {"enable-user-navigation-capturing-pwa", flag_descriptions::kPwaNavigationCapturingName, flag_descriptions::kPwaNavigationCapturingDescription, -@@ -11294,7 +11324,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11309,7 +11339,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kResponsiveIframesDescription, kOsAll, FEATURE_VALUE_TYPE(blink::features::kResponsiveIframes)}, @@ -248,7 +248,7 @@ {"replace-sync-promos-with-sign-in-promos-desktop", flag_descriptions::kReplaceSyncPromosWithSignInPromosName, flag_descriptions::kReplaceSyncPromosWithSignInPromosDescription, -@@ -11710,7 +11740,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11725,7 +11755,7 @@ const FeatureEntry kFeatureEntries[] = { segmentation_platform::features::kSegmentationSurveyPage)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -257,7 +257,7 @@ {"autofill-enable-buy-now-pay-later", flag_descriptions::kAutofillEnableBuyNowPayLaterName, flag_descriptions::kAutofillEnableBuyNowPayLaterDescription, -@@ -11781,7 +11811,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11796,7 +11826,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE( autofill::features::kAutofillEnableCardInfoRuntimeRetrieval)}, @@ -266,7 +266,7 @@ {"translation-api", flag_descriptions::kTranslationAPIName, flag_descriptions::kTranslationAPIDescription, kOsMac | kOsWin | kOsLinux, FEATURE_WITH_PARAMS_VALUE_TYPE(blink::features::kTranslationAPI, -@@ -11807,7 +11837,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11822,7 +11852,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE( password_manager::features::kPasswordFormClientsideClassifier)}, @@ -275,7 +275,7 @@ {"contextual-cueing", flag_descriptions::kContextualCueingName, flag_descriptions::kContextualCueingDescription, kOsLinux | kOsMac | kOsWin, -@@ -12183,7 +12213,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12198,7 +12228,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(ui::kUseNewEtc1Encoder)}, #endif // !BUILDFLAG(IS_ANDROID) @@ -284,7 +284,7 @@ {"automatic-usb-detach", flag_descriptions::kAutomaticUsbDetachName, flag_descriptions::kAutomaticUsbDetachDescription, kOsAndroid | kOsLinux, FEATURE_VALUE_TYPE(features::kAutomaticUsbDetach)}, -@@ -12219,7 +12249,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12234,7 +12264,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // !BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -293,7 +293,7 @@ {"autofill-enable-amount-extraction", flag_descriptions::kAutofillEnableAmountExtractionName, flag_descriptions::kAutofillEnableAmountExtractionDescription, -@@ -12364,7 +12394,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12379,7 +12409,7 @@ const FeatureEntry kFeatureEntries[] = { apps::chrome_app_deprecation::kAllowUserInstalledChromeApps)}, #endif // BUILDFLAG(IS_CHROMEOS) @@ -302,7 +302,7 @@ {"chrome-web-store-navigation-throttle", flag_descriptions::kChromeWebStoreNavigationThrottleName, flag_descriptions::kChromeWebStoreNavigationThrottleDescription, -@@ -12393,7 +12423,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12408,7 +12438,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(supervised_user::kSupervisedUserBlockInterstitialV3)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -311,7 +311,7 @@ {"autofill-enable-amount-extraction-testing", flag_descriptions::kAutofillEnableAmountExtractionTestingName, flag_descriptions::kAutofillEnableAmountExtractionTestingDescription, -@@ -12408,7 +12438,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12423,7 +12453,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kEnableWebAppPredictableAppUpdatingDescription, kOsAll, FEATURE_VALUE_TYPE(features::kWebAppPredictableAppUpdating)}, @@ -320,7 +320,7 @@ {"root-scrollbar-follows-browser-theme", flag_descriptions::kRootScrollbarFollowsTheme, flag_descriptions::kRootScrollbarFollowsThemeDescription, -@@ -12685,7 +12715,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12700,7 +12730,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -329,7 +329,7 @@ {"tab-group-home", tabs::flag_descriptions::kTabGroupHomeName, tabs::flag_descriptions::kTabGroupHomeDescription, kOsDesktop, FEATURE_VALUE_TYPE(tabs::kTabGroupHome)}, -@@ -12775,7 +12805,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12790,7 +12820,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -338,7 +338,7 @@ {"enable-site-search-allow-user-override-policy", flag_descriptions::kEnableSiteSearchAllowUserOverridePolicyName, flag_descriptions::kEnableSiteSearchAllowUserOverridePolicyDescription, -@@ -12887,7 +12917,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12902,7 +12932,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -347,7 +347,7 @@ {"autofill-enable-buy-now-pay-later-for-klarna", flag_descriptions::kAutofillEnableBuyNowPayLaterForKlarnaName, flag_descriptions::kAutofillEnableBuyNowPayLaterForKlarnaDescription, -@@ -12960,7 +12990,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12975,7 +13005,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(ENABLE_DICE_SUPPORT) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -356,7 +356,7 @@ {"autofill-enable-buy-now-pay-later-for-externally-linked", flag_descriptions::kAutofillEnableBuyNowPayLaterForExternallyLinkedName, flag_descriptions:: -@@ -13238,7 +13268,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13253,7 +13283,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // !BUILDFLAG(IS_ANDROID), #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -365,7 +365,7 @@ {"enable-ntp-enterprise-shortcuts", flag_descriptions::kEnableNtpEnterpriseShortcutsName, flag_descriptions::kEnableNtpEnterpriseShortcutsDescription, -@@ -13345,7 +13375,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13360,7 +13390,7 @@ const FeatureEntry kFeatureEntries[] = { autofill::features::kAutofillAndPasswordsInSameSurface)}, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -374,7 +374,7 @@ {"contextual-suggestion-ui-improvements", flag_descriptions::kContextualSuggestionsUiImprovementsName, flag_descriptions::kContextualSuggestionsUiImprovementsDescription, -@@ -13373,7 +13403,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13388,7 +13418,7 @@ const FeatureEntry kFeatureEntries[] = { "EnableBlockCanvasReadback")}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -383,7 +383,7 @@ {"autofill-enable-ai-based-amount-extraction", flag_descriptions::kAutofillEnableAiBasedAmountExtractionName, flag_descriptions::kAutofillEnableAiBasedAmountExtractionDescription, -@@ -13423,7 +13453,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13438,7 +13468,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(features::kCryptographyComplianceCnsa)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -392,7 +392,7 @@ {"lens-reinvocation-affordance", flag_descriptions::kLensSearchReinvocationAffordanceName, flag_descriptions::kLensSearchReinvocationAffordanceDescription, -@@ -13481,7 +13511,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13496,7 +13526,7 @@ const FeatureEntry kFeatureEntries[] = { STRING_VALUE_TYPE(variations::switches::kVariationsSeedCorpus, "")}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -401,7 +401,7 @@ {"passkey-unlock-error-ui", flag_descriptions::kPasskeyUnlockErrorUiName, flag_descriptions::kPasskeyUnlockErrorUiDescription, kOsDesktop, FEATURE_VALUE_TYPE(device::kPasskeyUnlockErrorUi)}, -@@ -13518,7 +13548,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13533,7 +13563,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(features::kUserValueDefaultBrowserStrings)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -410,7 +410,7 @@ {"read-anything-read-aloud-ts-text-segmentation", flag_descriptions::kReadAnythingReadAloudTsTextSegmentationName, flag_descriptions::kReadAnythingReadAloudTsTextSegmentationDescription, -@@ -13530,7 +13560,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13545,7 +13575,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kHandleMdmErrorsForDasherAccountsDescription, kOsAll, FEATURE_VALUE_TYPE(switches::kHandleMdmErrorsForDasherAccounts)}, @@ -419,7 +419,7 @@ {"profile-creation-decline-signin-cta-experiment", flag_descriptions::kProfileCreationDeclineSigninCTAExperimentName, flag_descriptions::kProfileCreationDeclineSigninCTAExperimentDescription, -@@ -13538,7 +13568,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13553,7 +13583,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(switches::kProfileCreationDeclineSigninCTAExperiment)}, #endif @@ -428,7 +428,7 @@ {"show-profile-picker-to-all-users-experiment", flag_descriptions::kShowProfilePickerToAllUsersExperimentName, flag_descriptions::kShowProfilePickerToAllUsersExperimentDescription, -@@ -13588,7 +13618,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13603,7 +13633,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(features::kAndroidDesktopZoomScaling)}, #endif @@ -437,7 +437,7 @@ {"profile-picker-text-variations", flag_descriptions::kProfilePickerTextVariationsName, flag_descriptions::kProfilePickerTextVariationsDescription, -@@ -13599,7 +13629,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13614,7 +13644,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -446,7 +446,7 @@ {"lens-overlay-optimization-filter", flag_descriptions::kLensOverlayOptimizationFilterName, flag_descriptions::kLensOverlayOptimizationFilterDescription, kOsDesktop, -@@ -13618,7 +13648,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13633,7 +13663,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(network::features::kConnectionAllowlists)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -455,7 +455,7 @@ {"read-anything-with-readability-enabled", flag_descriptions::kReadAnythingWithReadabilityName, flag_descriptions::kReadAnythingWithReadabilityDescription, kOsDesktop, -@@ -13626,7 +13656,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13641,7 +13671,7 @@ const FeatureEntry kFeatureEntries[] = { #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/element-web/Makefile b/www/element-web/Makefile index 4caff09b42bd..ddc1f171483e 100644 --- a/www/element-web/Makefile +++ b/www/element-web/Makefile @@ -1,6 +1,6 @@ PORTNAME= element DISTVERSIONPREFIX= v -DISTVERSION= 1.12.6 +DISTVERSION= 1.12.7 CATEGORIES= www MASTER_SITES= https://github.com/element-hq/element-web/releases/download/${DISTVERSIONFULL}/ PKGNAMESUFFIX= -web @@ -18,7 +18,7 @@ CPE_VENDOR= matrix NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message -PLIST_SUB= COMMITID=36e06bd268d95d600abf +PLIST_SUB= COMMITID=b205bf1af9bdedd81a8b do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} diff --git a/www/element-web/distinfo b/www/element-web/distinfo index 78b3fae33dd1..1656d657b701 100644 --- a/www/element-web/distinfo +++ b/www/element-web/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1764967880 -SHA256 (element-v1.12.6.tar.gz) = d31c04c72e87811a94eb39bcb8fd16c83f7a6b2611b30fd22ad3aaa594efdfe4 -SIZE (element-v1.12.6.tar.gz) = 39736687 +TIMESTAMP = 1765970134 +SHA256 (element-v1.12.7.tar.gz) = c1ad3ebe39be1c6962f43e486a3647f1e99b91f8ce249718f47e3ba81af32b27 +SIZE (element-v1.12.7.tar.gz) = 39675081 diff --git a/www/element-web/pkg-plist b/www/element-web/pkg-plist index d693db35a0be..86d0d16dc90e 100644 --- a/www/element-web/pkg-plist +++ b/www/element-web/pkg-plist @@ -8,6 +8,11 @@ %%WWWDIR%%/bundles/%%COMMITID%%/1127.js.map %%WWWDIR%%/bundles/%%COMMITID%%/1188.js %%WWWDIR%%/bundles/%%COMMITID%%/1188.js.map +%%WWWDIR%%/bundles/%%COMMITID%%/1298.js +%%WWWDIR%%/bundles/%%COMMITID%%/1298.js.LICENSE.txt +%%WWWDIR%%/bundles/%%COMMITID%%/1298.js.map +%%WWWDIR%%/bundles/%%COMMITID%%/1385.js +%%WWWDIR%%/bundles/%%COMMITID%%/1385.js.map %%WWWDIR%%/bundles/%%COMMITID%%/1436.js %%WWWDIR%%/bundles/%%COMMITID%%/1436.js.map %%WWWDIR%%/bundles/%%COMMITID%%/170d052a33d061493d85.wasm @@ -48,18 +53,14 @@ %%WWWDIR%%/bundles/%%COMMITID%%/485.js.map %%WWWDIR%%/bundles/%%COMMITID%%/4b8cc1fdfc588dd3972f.wasm %%WWWDIR%%/bundles/%%COMMITID%%/5215.js +%%WWWDIR%%/bundles/%%COMMITID%%/5215.js.map %%WWWDIR%%/bundles/%%COMMITID%%/5438.js %%WWWDIR%%/bundles/%%COMMITID%%/5438.js.map -%%WWWDIR%%/bundles/%%COMMITID%%/5587.js -%%WWWDIR%%/bundles/%%COMMITID%%/5587.js.LICENSE.txt -%%WWWDIR%%/bundles/%%COMMITID%%/5587.js.map -%%WWWDIR%%/bundles/%%COMMITID%%/623.js -%%WWWDIR%%/bundles/%%COMMITID%%/623.js.map -%%WWWDIR%%/bundles/%%COMMITID%%/624.js -%%WWWDIR%%/bundles/%%COMMITID%%/624.js.LICENSE.txt -%%WWWDIR%%/bundles/%%COMMITID%%/624.js.map %%WWWDIR%%/bundles/%%COMMITID%%/6311.js %%WWWDIR%%/bundles/%%COMMITID%%/6311.js.map +%%WWWDIR%%/bundles/%%COMMITID%%/6470.js +%%WWWDIR%%/bundles/%%COMMITID%%/6470.js.LICENSE.txt +%%WWWDIR%%/bundles/%%COMMITID%%/6470.js.map %%WWWDIR%%/bundles/%%COMMITID%%/6501.js %%WWWDIR%%/bundles/%%COMMITID%%/6501.js.map %%WWWDIR%%/bundles/%%COMMITID%%/6717.js @@ -74,6 +75,7 @@ %%WWWDIR%%/bundles/%%COMMITID%%/7491.js %%WWWDIR%%/bundles/%%COMMITID%%/7491.js.LICENSE.txt %%WWWDIR%%/bundles/%%COMMITID%%/7491.js.map +%%WWWDIR%%/bundles/%%COMMITID%%/7596.js %%WWWDIR%%/bundles/%%COMMITID%%/7692.js %%WWWDIR%%/bundles/%%COMMITID%%/7692.js.map %%WWWDIR%%/bundles/%%COMMITID%%/7697.js @@ -353,95 +355,104 @@ %%WWWDIR%%/fonts/inter-vietnamese-700-italic.bde1c88.woff2 %%WWWDIR%%/fonts/inter-vietnamese-700-normal.05b640f.woff %%WWWDIR%%/fonts/inter-vietnamese-700-normal.d1c85ca.woff2 -%%WWWDIR%%/i18n/cs.ef40265.json -%%WWWDIR%%/i18n/cy.d443b6c.json -%%WWWDIR%%/i18n/de_DE.88bc494.json -%%WWWDIR%%/i18n/el.4478e8d.json -%%WWWDIR%%/i18n/en_EN.ad4882b.json -%%WWWDIR%%/i18n/eo.01dec4c.json -%%WWWDIR%%/i18n/es.8801af0.json -%%WWWDIR%%/i18n/et.e29f38b.json +%%WWWDIR%%/i18n/cs.4c75826.json +%%WWWDIR%%/i18n/cy.035dc87.json +%%WWWDIR%%/i18n/de_DE.c89acd8.json +%%WWWDIR%%/i18n/el.9da3e33.json +%%WWWDIR%%/i18n/en_EN.aa93079.json +%%WWWDIR%%/i18n/eo.03dd57f.json +%%WWWDIR%%/i18n/es.2efe1b1.json +%%WWWDIR%%/i18n/et.4c7195f.json %%WWWDIR%%/i18n/fa.8c12691.json -%%WWWDIR%%/i18n/fi.6a3bbcc.json -%%WWWDIR%%/i18n/fr.3640e2f.json -%%WWWDIR%%/i18n/gl.20fbad8.json -%%WWWDIR%%/i18n/he.40e844b.json -%%WWWDIR%%/i18n/hu.312e3a6.json -%%WWWDIR%%/i18n/hy.94dd155.json -%%WWWDIR%%/i18n/id.7f82dc3.json -%%WWWDIR%%/i18n/is.005fb1b.json -%%WWWDIR%%/i18n/it.8258942.json -%%WWWDIR%%/i18n/ja.b6c6f98.json -%%WWWDIR%%/i18n/ka.e712974.json +%%WWWDIR%%/i18n/fi.22b54d2.json +%%WWWDIR%%/i18n/fr.5a4583a.json +%%WWWDIR%%/i18n/gl.7065ccc.json +%%WWWDIR%%/i18n/he.b83d000.json +%%WWWDIR%%/i18n/hu.cc250cb.json +%%WWWDIR%%/i18n/hy.de33a67.json +%%WWWDIR%%/i18n/id.06ce851.json +%%WWWDIR%%/i18n/is.863e288.json +%%WWWDIR%%/i18n/it.74bccd9.json +%%WWWDIR%%/i18n/ja.2aeddc4.json +%%WWWDIR%%/i18n/ka.e064701.json %%WWWDIR%%/i18n/languages.json -%%WWWDIR%%/i18n/lo.29de4f9.json -%%WWWDIR%%/i18n/lt.36d2363.json -%%WWWDIR%%/i18n/lv.bddc7bf.json -%%WWWDIR%%/i18n/mg_MG.35de0d2.json -%%WWWDIR%%/i18n/nb_NO.af8acab.json -%%WWWDIR%%/i18n/nl.0d0030f.json -%%WWWDIR%%/i18n/pl.b5c9b7e.json -%%WWWDIR%%/i18n/pt.6243350.json -%%WWWDIR%%/i18n/pt_BR.91e964d.json -%%WWWDIR%%/i18n/ru.5fc7e5a.json -%%WWWDIR%%/i18n/sk.ff31ec0.json -%%WWWDIR%%/i18n/sq.62f47ee.json -%%WWWDIR%%/i18n/sv.32c7379.json -%%WWWDIR%%/i18n/tr.9f2694e.json -%%WWWDIR%%/i18n/uk.b423d2a.json -%%WWWDIR%%/i18n/vi.c529dca.json -%%WWWDIR%%/i18n/zh_Hans.4150743.json -%%WWWDIR%%/i18n/zh_Hant.00b4e29.json +%%WWWDIR%%/i18n/lo.48b8551.json +%%WWWDIR%%/i18n/lt.4e7eaae.json +%%WWWDIR%%/i18n/lv.9d75a93.json +%%WWWDIR%%/i18n/mg_MG.a1da06d.json +%%WWWDIR%%/i18n/nb_NO.cc8fcc5.json +%%WWWDIR%%/i18n/nl.a5c8438.json +%%WWWDIR%%/i18n/pl.58f9f8c.json +%%WWWDIR%%/i18n/pt.c39ae76.json +%%WWWDIR%%/i18n/pt_BR.dec1bce.json +%%WWWDIR%%/i18n/ru.2a039a4.json +%%WWWDIR%%/i18n/sk.658b388.json +%%WWWDIR%%/i18n/sq.0a454c4.json +%%WWWDIR%%/i18n/sv.89ad476.json +%%WWWDIR%%/i18n/tr.0085c6b.json +%%WWWDIR%%/i18n/uk.1949a1a.json +%%WWWDIR%%/i18n/vi.f7d2307.json +%%WWWDIR%%/i18n/zh_Hans.bda4f9c.json +%%WWWDIR%%/i18n/zh_Hant.d964491.json +%%WWWDIR%%/icons/admin.114d462.svg +%%WWWDIR%%/icons/arrow-down.54f69f9.svg +%%WWWDIR%%/icons/attachment.3e04cf8.svg %%WWWDIR%%/icons/bold.b7f0698.svg +%%WWWDIR%%/icons/chat-solid.30315ba.svg %%WWWDIR%%/icons/check-circle.99c21d7.svg %%WWWDIR%%/icons/check.aaad650.svg %%WWWDIR%%/icons/chevron-down.9ea2899.svg -%%WWWDIR%%/icons/chevron-left.18c22d7.svg -%%WWWDIR%%/icons/chevron-right.a1fc7b0.svg %%WWWDIR%%/icons/chevron-up.a7ca3bc.svg +%%WWWDIR%%/icons/circle.41e6537.svg %%WWWDIR%%/icons/close.5ef7caf.svg %%WWWDIR%%/icons/collapse.fc765b9.svg %%WWWDIR%%/icons/copy.95010ef.svg %%WWWDIR%%/icons/delete.8165351.svg +%%WWWDIR%%/icons/dial-pad.02b5cb9.svg %%WWWDIR%%/icons/download.364c774.svg +%%WWWDIR%%/icons/edit.194d02e.svg +%%WWWDIR%%/icons/end-call.b85abd5.svg %%WWWDIR%%/icons/error-solid.7cb2e4d.svg +%%WWWDIR%%/icons/error.396f357.svg %%WWWDIR%%/icons/expand.867af0b.svg -%%WWWDIR%%/icons/export-archive.f43ec04.svg -%%WWWDIR%%/icons/extensions-solid.4aa63de.svg +%%WWWDIR%%/icons/explore.79f2ce1.svg %%WWWDIR%%/icons/favourite-solid.a1d4606.svg -%%WWWDIR%%/icons/files.453e84c.svg %%WWWDIR%%/icons/forward.7d44a5b.svg +%%WWWDIR%%/icons/group.e34a818.svg %%WWWDIR%%/icons/home-solid.88e9e19.svg %%WWWDIR%%/icons/image.9142b42.svg %%WWWDIR%%/icons/info-solid.ef2d524.svg %%WWWDIR%%/icons/info.d42d785.svg %%WWWDIR%%/icons/inline-code.f51200e.svg %%WWWDIR%%/icons/italic.be1e35d.svg +%%WWWDIR%%/icons/labs.518b890.svg %%WWWDIR%%/icons/leave.8b03b57.svg %%WWWDIR%%/icons/link.d0734d2.svg -%%WWWDIR%%/icons/location-pin-solid.5b99343.svg %%WWWDIR%%/icons/lock-solid.6847293.svg +%%WWWDIR%%/icons/mark-as-read.7e26490.svg +%%WWWDIR%%/icons/mark-as-unread.11c736a.svg %%WWWDIR%%/icons/mic-off-solid.b535c73.svg %%WWWDIR%%/icons/mic-on-solid.5e29984.svg +%%WWWDIR%%/icons/offline.8af7188.svg %%WWWDIR%%/icons/overflow-horizontal.e4b97af.svg -%%WWWDIR%%/icons/pause-solid.a64b426.svg %%WWWDIR%%/icons/pin.7c59c5e.svg -%%WWWDIR%%/icons/play-solid.05663a6.svg %%WWWDIR%%/icons/plus.95ca4d1.svg +%%WWWDIR%%/icons/polls.6cdea72.svg %%WWWDIR%%/icons/pop-out.0a8fde3.svg +%%WWWDIR%%/icons/preferences.771aa50.svg %%WWWDIR%%/icons/public.0e971dd.svg %%WWWDIR%%/icons/qr-code.b517d20.svg %%WWWDIR%%/icons/quote.60f93d6.svg +%%WWWDIR%%/icons/reaction-add.47b0ce6.svg %%WWWDIR%%/icons/reply.d3e6417.svg %%WWWDIR%%/icons/restart.514c8f1.svg +%%WWWDIR%%/icons/room.3223c81.svg %%WWWDIR%%/icons/search.7258145.svg -%%WWWDIR%%/icons/send-solid.9074f92.svg %%WWWDIR%%/icons/settings-solid.94c318a.svg %%WWWDIR%%/icons/share-screen-solid.c7c1310.svg +%%WWWDIR%%/icons/share.4e345b7.svg +%%WWWDIR%%/icons/shield.bb49379.svg %%WWWDIR%%/icons/strikethrough.17fd61f.svg -%%WWWDIR%%/icons/take-photo-solid.f40d394.svg -%%WWWDIR%%/icons/text-formatting.0b0dd78.svg -%%WWWDIR%%/icons/threads-solid.7fe60f4.svg %%WWWDIR%%/icons/threads.52e135e.svg %%WWWDIR%%/icons/time.8c3060c.svg %%WWWDIR%%/icons/unpin.bb6290d.svg @@ -451,15 +462,13 @@ %%WWWDIR%%/icons/video-call-missed-solid.f54bda6.svg %%WWWDIR%%/icons/video-call-off-solid.8b0f3e2.svg %%WWWDIR%%/icons/video-call-solid.d584e19.svg +%%WWWDIR%%/icons/visibility-off.0464e4f.svg +%%WWWDIR%%/icons/visibility-on.3629cf4.svg +%%WWWDIR%%/icons/voice-call-solid.4e697dc.svg +%%WWWDIR%%/icons/volume-off-solid.77ba3fb.svg %%WWWDIR%%/icons/volume-on-solid.3f0544f.svg %%WWWDIR%%/icons/warning.80e5cc2.svg %%WWWDIR%%/img/betas/video_rooms.7fada3d.png -%%WWWDIR%%/img/e2e/decryption-failure.d4a03e3.svg -%%WWWDIR%%/img/e2e/lock-warning-filled.655a613.svg -%%WWWDIR%%/img/e2e/normal.ab42a7b.svg -%%WWWDIR%%/img/e2e/verified.2ccf64e.svg -%%WWWDIR%%/img/e2e/warning-deprecated.b45047c.svg -%%WWWDIR%%/img/e2e/warning.71ffc83.svg %%WWWDIR%%/img/element-desktop-logo.9ad01e8.svg %%WWWDIR%%/img/element-icons/ask-to-join.a351162.svg %%WWWDIR%%/img/element-icons/brands/apple.734de1e.svg @@ -467,33 +476,19 @@ %%WWWDIR%%/img/element-icons/brands/github.a229f06.svg %%WWWDIR%%/img/element-icons/brands/gitlab.9958062.svg %%WWWDIR%%/img/element-icons/brands/google.1573797.svg +%%WWWDIR%%/img/element-icons/brands/linux.3246363.svg +%%WWWDIR%%/img/element-icons/brands/microsoft.c4cdbfc.svg %%WWWDIR%%/img/element-icons/brands/twitter.b825e3c.svg %%WWWDIR%%/img/element-icons/call/delete.1f69b87.svg -%%WWWDIR%%/img/element-icons/call/dialpad.b652586.svg -%%WWWDIR%%/img/element-icons/call/hangup.a9876fc.svg -%%WWWDIR%%/img/element-icons/call/video-call.515f9f9.svg -%%WWWDIR%%/img/element-icons/call/voice-call.85002aa.svg -%%WWWDIR%%/img/element-icons/chat-bubbles.7946de9.svg %%WWWDIR%%/img/element-icons/check-all.89b31cf.svg %%WWWDIR%%/img/element-icons/child-relationship.f8cfd49.svg -%%WWWDIR%%/img/element-icons/circle-sending.394023e.svg -%%WWWDIR%%/img/element-icons/circle-sent.4ba3d6b.svg -%%WWWDIR%%/img/element-icons/cloud-off.97663f7.svg %%WWWDIR%%/img/element-icons/collapse-message.2764ac2.svg %%WWWDIR%%/img/element-icons/email-prompt.67a8ba4.svg %%WWWDIR%%/img/element-icons/expand-message.b3c80a6.svg -%%WWWDIR%%/img/element-icons/eye.e715558.svg %%WWWDIR%%/img/element-icons/feedback.0bc9353.svg -%%WWWDIR%%/img/element-icons/flask.6aca159.svg -%%WWWDIR%%/img/element-icons/group-members.d86d751.svg -%%WWWDIR%%/img/element-icons/hide.72c451b.svg %%WWWDIR%%/img/element-icons/i.cf33278.svg %%WWWDIR%%/img/element-icons/new-and-improved.65a63c7.svg %%WWWDIR%%/img/element-icons/notifications.988ddb0.svg -%%WWWDIR%%/img/element-icons/room/composer/attach.7eed7d0.svg -%%WWWDIR%%/img/element-icons/room/composer/emoji.d7b1970.svg -%%WWWDIR%%/img/element-icons/room/composer/plain_text.ad262e9.svg -%%WWWDIR%%/img/element-icons/room/composer/poll.a8ee2f3.svg %%WWWDIR%%/img/element-icons/room/composer/sticker.6a92ae6.svg %%WWWDIR%%/img/element-icons/room/default_app.79b63ba.svg %%WWWDIR%%/img/element-icons/room/default_cal.6bea887.svg @@ -501,47 +496,28 @@ %%WWWDIR%%/img/element-icons/room/default_doc.a42767c.svg %%WWWDIR%%/img/element-icons/room/default_video.f29df7d.svg %%WWWDIR%%/img/element-icons/room/invite.440bc20.svg -%%WWWDIR%%/img/element-icons/room/message-bar/edit.940a38c.svg -%%WWWDIR%%/img/element-icons/room/message-bar/emoji.27bdbc0.svg %%WWWDIR%%/img/element-icons/room/pin-upright.340b3b6.svg -%%WWWDIR%%/img/element-icons/room/pin.c358af7.svg %%WWWDIR%%/img/element-icons/room/search-inset.7a9a2eb.svg %%WWWDIR%%/img/element-icons/room/settings/advanced.5744e03.svg -%%WWWDIR%%/img/element-icons/room/settings/roles.ace4f24.svg -%%WWWDIR%%/img/element-icons/room/share.6a6396f.svg %%WWWDIR%%/img/element-icons/roomlist/dark-light-mode.328ce0f.svg %%WWWDIR%%/img/element-icons/roomlist/decorated-avatar-mask.376375b.svg -%%WWWDIR%%/img/element-icons/roomlist/dialpad.024cc1d.svg -%%WWWDIR%%/img/element-icons/roomlist/explore.6738ed6.svg -%%WWWDIR%%/img/element-icons/roomlist/hash-circle.221168c.svg -%%WWWDIR%%/img/element-icons/roomlist/hash-plus.0f56725.svg -%%WWWDIR%%/img/element-icons/roomlist/hash-search.53e3a04.svg %%WWWDIR%%/img/element-icons/roomlist/hash-video.0d44220.svg -%%WWWDIR%%/img/element-icons/roomlist/hash.9de9cf7.svg -%%WWWDIR%%/img/element-icons/roomlist/low-priority.d46a05a.svg -%%WWWDIR%%/img/element-icons/roomlist/mark-as-read.273067d.svg -%%WWWDIR%%/img/element-icons/roomlist/mark-as-unread.f1a2c4d.svg %%WWWDIR%%/img/element-icons/roomlist/notifications-default.63a2b44.svg %%WWWDIR%%/img/element-icons/roomlist/notifications-dm.6739542.svg %%WWWDIR%%/img/element-icons/roomlist/notifications-off.0b8adcc.svg -%%WWWDIR%%/img/element-icons/roomlist/plus-circle.4fbd7e8.svg %%WWWDIR%%/img/element-icons/roomlist/room-avatar-view-icon-mask.dfdc337.svg %%WWWDIR%%/img/element-icons/roomlist/room-avatar-view-presence-mask.e2f8b62.svg %%WWWDIR%%/img/element-icons/roomlist/room-list-item-skeleton.b543c8a.svg %%WWWDIR%%/img/element-icons/roomlist/skeleton-ui.fde3810.svg -%%WWWDIR%%/img/element-icons/settings/appearance.90cad21.svg %%WWWDIR%%/img/element-icons/settings/desktop.05314b6.svg -%%WWWDIR%%/img/element-icons/settings/flask.40eebdf.svg %%WWWDIR%%/img/element-icons/settings/img-size-large.9c06d67.svg %%WWWDIR%%/img/element-icons/settings/img-size-normal.769b56e.svg %%WWWDIR%%/img/element-icons/settings/inactive.0c6bfa4.svg %%WWWDIR%%/img/element-icons/settings/mobile.471adda.svg -%%WWWDIR%%/img/element-icons/settings/preference.dd3ae3c.svg %%WWWDIR%%/img/element-icons/settings/unknown-device.a72c1a6.svg %%WWWDIR%%/img/element-icons/settings/web.59c702a.svg %%WWWDIR%%/img/element-icons/spaces.8a53f25.svg %%WWWDIR%%/img/element-icons/trophy.1ab5e03.svg -%%WWWDIR%%/img/element-icons/upload.1018a2f.svg %%WWWDIR%%/img/element-icons/view-in-room.afeddb7.svg %%WWWDIR%%/img/element-shiny.f5a5e6e.svg %%WWWDIR%%/img/emojipicker/activity.b1bd2e6.svg @@ -556,7 +532,6 @@ %%WWWDIR%%/img/emojipicker/recent.ac61335.svg %%WWWDIR%%/img/emojipicker/search.fc4e297.svg %%WWWDIR%%/img/emojipicker/symbols.9e36ce6.svg -%%WWWDIR%%/img/external-link.8197a77.svg %%WWWDIR%%/img/feather-customised/bridge.8ca4493.svg %%WWWDIR%%/img/feather-customised/bug.4551a84.svg %%WWWDIR%%/img/feather-customised/secure-backup.7e95b34.svg @@ -583,15 +558,10 @@ %%WWWDIR%%/img/stickerpack-placeholder.877b5d0.png %%WWWDIR%%/img/typing-indicator-2x.e13c259.gif %%WWWDIR%%/img/upload-big.ade34b1.svg -%%WWWDIR%%/img/voip/call-view/dialpad.44caf66.svg %%WWWDIR%%/img/voip/call-view/sidebar-off.9164266.svg %%WWWDIR%%/img/voip/call-view/sidebar-on.c8ce983.svg %%WWWDIR%%/img/voip/missed-voice.8a2b762.svg %%WWWDIR%%/img/voip/paused.b00e0b4.svg -%%WWWDIR%%/img/voip/silence.fff021d.svg -%%WWWDIR%%/img/voip/tab-dialpad.5fb10f3.svg -%%WWWDIR%%/img/voip/tab-userdirectory.6dac23d.svg -%%WWWDIR%%/img/voip/un-silence.fd94a16.svg %%WWWDIR%%/img/warning.76eaf74.svg %%WWWDIR%%/index.html %%WWWDIR%%/jitsi.html @@ -629,14 +599,8 @@ %%WWWDIR%%/themes/dark/css/_dark.pcss %%WWWDIR%%/themes/dark/css/dark.pcss %%WWWDIR%%/themes/element/img/backgrounds/lake.jpg -%%WWWDIR%%/themes/element/img/compound/apple.1ab7e70.svg -%%WWWDIR%%/themes/element/img/compound/apple.svg %%WWWDIR%%/themes/element/img/compound/fade-arc-light.c8ae4ed.png %%WWWDIR%%/themes/element/img/compound/fade-arc-light.png -%%WWWDIR%%/themes/element/img/compound/linux.3246363.svg -%%WWWDIR%%/themes/element/img/compound/linux.svg -%%WWWDIR%%/themes/element/img/compound/microsoft.c4cdbfc.svg -%%WWWDIR%%/themes/element/img/compound/microsoft.svg %%WWWDIR%%/themes/element/img/download/apple.svg %%WWWDIR%%/themes/element/img/download/fdroid.svg %%WWWDIR%%/themes/element/img/download/google.svg diff --git a/www/filebrowser/Makefile b/www/filebrowser/Makefile index 4f1666456b0f..dc73175397d4 100644 --- a/www/filebrowser/Makefile +++ b/www/filebrowser/Makefile @@ -1,6 +1,6 @@ PORTNAME= filebrowser DISTVERSIONPREFIX= v -DISTVERSION= 2.51.2 +DISTVERSION= 2.52.0 CATEGORIES= www MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/ DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}.frontend${EXTRACT_SUFX} @@ -33,7 +33,7 @@ PLIST_SUB= GROUP=${GROUPS:[1]} \ # Run 'git checkout ${DISTVERSIONPREFIX}${DISTVERSION} && git rev-parse HEAD' # in the File Browser repository to get the value of GITID. -GITID= 849f5ad4434ef60744e3a2b3834e9b6a1fd5a8cb +GITID= c11c986b7383a5c1f18d82ee7e6093dc0544cff9 FILEBROWSER_USER= ${PORTNAME} FILEBROWSER_GROUP= ${FILEBROWSER_USER} diff --git a/www/filebrowser/distinfo b/www/filebrowser/distinfo index 9bdcdf955aa7..6a69666590ed 100644 --- a/www/filebrowser/distinfo +++ b/www/filebrowser/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1765479164 -SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.51.2_GH0/filebrowser-v2.51.2.frontend.tar.gz) = 91e5721373d839d077f89f5ae4f6c61dbe727c0cda03c013bfd5043078f3e23c -SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.51.2_GH0/filebrowser-v2.51.2.frontend.tar.gz) = 3798985 -SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.51.2_GH0/go.mod) = 44143940b96214bb80cead161127aafb29231c2be840da8875473c367281db2d -SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.51.2_GH0/go.mod) = 3491 -SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.51.2_GH0/filebrowser-filebrowser-v2.51.2_GH0.tar.gz) = 4c8df679613b10364dc6440bb7d63a06c2569d60a224de0e9fa3aeb0ea2b6642 -SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.51.2_GH0/filebrowser-filebrowser-v2.51.2_GH0.tar.gz) = 5367555 +TIMESTAMP = 1766094921 +SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.52.0_GH0/filebrowser-v2.52.0.frontend.tar.gz) = 08ee0692fe929e59fa4d50d3d6d3b223885301553521a7cb0d465dacc11c3837 +SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.52.0_GH0/filebrowser-v2.52.0.frontend.tar.gz) = 3799257 +SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.52.0_GH0/go.mod) = b1e7bb2b90145671180b1125b44dd8904d3a447f1a9d502ca48958a451a72d26 +SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.52.0_GH0/go.mod) = 3491 +SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.52.0_GH0/filebrowser-filebrowser-v2.52.0_GH0.tar.gz) = f0a78ffe3f296b01992fe166b4191eddd7deea2e00b9449f748072391dff48a9 +SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.52.0_GH0/filebrowser-filebrowser-v2.52.0_GH0.tar.gz) = 5368181 diff --git a/www/firefox/Makefile b/www/firefox/Makefile index a5e164acf915..ec606d2c016e 100644 --- a/www/firefox/Makefile +++ b/www/firefox/Makefile @@ -1,10 +1,9 @@ PORTNAME= firefox -DISTVERSION= 146.0 -PORTREVISION= 2 +DISTVERSION= 146.0.1 PORTEPOCH= 2 CATEGORIES= www wayland MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}${DISTVERSIONSUFFIX}/source \ - MOZILLA/${PORTNAME}/candidates/${DISTVERSION}${DISTVERSIONSUFFIX}-candidates/build2/source + MOZILLA/${PORTNAME}/candidates/${DISTVERSION}${DISTVERSIONSUFFIX}-candidates/build1/source DISTFILES= ${DISTNAME}.source${EXTRACT_SUFX} MAINTAINER= gecko@FreeBSD.org diff --git a/www/firefox/distinfo b/www/firefox/distinfo index 0ec29cbdef59..338c658b64f9 100644 --- a/www/firefox/distinfo +++ b/www/firefox/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1764960487 -SHA256 (firefox-146.0.source.tar.xz) = 08d4cae010abc31603ef74091a5d1f81da8e62d3b66c806690e70f03c422df16 -SIZE (firefox-146.0.source.tar.xz) = 646002476 +TIMESTAMP = 1765990443 +SHA256 (firefox-146.0.1.source.tar.xz) = e9678a0e8473923953e1dc312c37919068623b6aa20adade16266049258191eb +SIZE (firefox-146.0.1.source.tar.xz) = 648938528 diff --git a/www/gatus/Makefile b/www/gatus/Makefile index 18e98ac2ba6e..90aa9b82c2be 100644 --- a/www/gatus/Makefile +++ b/www/gatus/Makefile @@ -1,7 +1,6 @@ PORTNAME= gatus DISTVERSIONPREFIX= v -DISTVERSION= 5.33.0 -PORTREVISION= 1 +DISTVERSION= 5.33.1 CATEGORIES= www MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/ DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}.vendor${EXTRACT_SUFX} diff --git a/www/gatus/distinfo b/www/gatus/distinfo index 354fe5607f88..2f3f8973fbee 100644 --- a/www/gatus/distinfo +++ b/www/gatus/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1764192075 -SHA256 (gatus-v5.33.0.vendor.tar.gz) = ad1bfb7ba7181e4c5b34b01a9559a20697ad5de282f71a74e52bdd68f9062083 -SIZE (gatus-v5.33.0.vendor.tar.gz) = 51695185 -SHA256 (TwiN-gatus-v5.33.0_GH0.tar.gz) = e93ce6de9a39a20434fa62aa4dfd071ebb8f822b3d813c83f3506b2a30440014 -SIZE (TwiN-gatus-v5.33.0_GH0.tar.gz) = 2965861 +TIMESTAMP = 1766096862 +SHA256 (gatus-v5.33.1.vendor.tar.gz) = 00f86029e5ef23cbec8524c62794adf2c9aa030c1f7913e1b7e022ece3708780 +SIZE (gatus-v5.33.1.vendor.tar.gz) = 51749517 +SHA256 (TwiN-gatus-v5.33.1_GH0.tar.gz) = a49cd2a3aa20656b7d47904f6f9525c65067771e24b43a073ff0644f60f63627 +SIZE (TwiN-gatus-v5.33.1_GH0.tar.gz) = 2965884 diff --git a/www/iridium/Makefile b/www/iridium/Makefile index b5f84715b032..900ffb3932ed 100644 --- a/www/iridium/Makefile +++ b/www/iridium/Makefile @@ -1,6 +1,5 @@ PORTNAME= iridium -PORTVERSION= 2025.12.143.1 -PORTREVISION= 2 +PORTVERSION= 2025.12.143.2 PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= www wayland diff --git a/www/iridium/distinfo b/www/iridium/distinfo index 3cd9e3764666..55059834a91f 100644 --- a/www/iridium/distinfo +++ b/www/iridium/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1765541839 -SHA256 (iridium-browser-2025.12.143.1.tar.xz) = 09d3bc85345a6ee39e55180b0f10a5213679bc27354560c40eb05c8f16e568b6 -SIZE (iridium-browser-2025.12.143.1.tar.xz) = 1098988876 +TIMESTAMP = 1766134983 +SHA256 (iridium-browser-2025.12.143.2.tar.xz) = 1d87b7e54aba0dce38ef4e5c0ed5d3e54ed4ba5083417eb19332c10fa8b48122 +SIZE (iridium-browser-2025.12.143.2.tar.xz) = 1099082032 SHA256 (pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92 SIZE (pulseaudio-16.1.tar.gz) = 2763111 diff --git a/www/iridium/files/patch-BUILD.gn b/www/iridium/files/patch-BUILD.gn index 06dbe3d96ab4..37cdc444dc75 100644 --- a/www/iridium/files/patch-BUILD.gn +++ b/www/iridium/files/patch-BUILD.gn @@ -1,6 +1,6 @@ ---- BUILD.gn.orig 2025-12-10 15:04:57 UTC +--- BUILD.gn.orig 2025-12-19 09:09:46 UTC +++ BUILD.gn -@@ -68,7 +68,7 @@ declare_args() { +@@ -67,7 +67,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) -@@ -101,7 +101,6 @@ group("gn_all") { +@@ -100,7 +100,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", -@@ -431,7 +430,7 @@ group("gn_all") { +@@ -430,7 +429,7 @@ group("gn_all") { } } @@ -26,7 +26,7 @@ deps += [ "//third_party/breakpad:breakpad_unittests", "//third_party/breakpad:core-2-minidump", -@@ -598,6 +597,15 @@ group("gn_all") { +@@ -597,6 +596,15 @@ group("gn_all") { } } @@ -42,7 +42,7 @@ if (is_mac) { deps += [ "//third_party/breakpad:dump_syms($host_system_allocator_toolchain)", -@@ -646,7 +654,7 @@ group("gn_all") { +@@ -645,7 +653,7 @@ group("gn_all") { } } @@ -51,7 +51,7 @@ # The official builders use this binary from the default toolchain's # output directory after building in order to upload the symbols of that # binary. They build the binary like `ninja symupload` which requires the -@@ -681,7 +689,7 @@ group("gn_all") { +@@ -680,7 +688,7 @@ group("gn_all") { ] } @@ -60,7 +60,7 @@ deps += [ "//third_party/crashpad/crashpad:crashpad_tests", "//third_party/crashpad/crashpad/handler:crashpad_handler", -@@ -1072,7 +1080,7 @@ if (use_blink && !is_cronet_build) { +@@ -1071,7 +1079,7 @@ if (use_blink && !is_cronet_build) { "//third_party/blink/public:all_blink", ] @@ -69,7 +69,7 @@ deps += [ ":chrome_wpt_tests", ":headless_shell_wpt", -@@ -1225,7 +1233,7 @@ if (use_blink && !is_cronet_build) { +@@ -1224,7 +1232,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ] } @@ -78,7 +78,7 @@ # Using the default toolchain for this tool, as it's run during tests not # during the build. This places a symlink in the root_build_dir for scrips # to use. -@@ -1239,7 +1247,7 @@ if (use_blink && !is_cronet_build) { +@@ -1238,7 +1246,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//third_party/breakpad:dump_syms" ] } @@ -87,7 +87,7 @@ # Using the default toolchain for this tool, as it's run during tests not # during the build. This places a symlink in the root_build_dir for scrips # to use. -@@ -1536,7 +1544,7 @@ group("chromium_builder_perf") { +@@ -1535,7 +1543,7 @@ group("chromium_builder_perf") { data_deps += [ "//chrome/test:performance_browser_tests" ] } diff --git a/www/iridium/files/patch-chrome_browser_about__flags.cc b/www/iridium/files/patch-chrome_browser_about__flags.cc index ccb333a20f34..c555cdc004ae 100644 --- a/www/iridium/files/patch-chrome_browser_about__flags.cc +++ b/www/iridium/files/patch-chrome_browser_about__flags.cc @@ -1,4 +1,4 @@ ---- chrome/browser/about_flags.cc.orig 2025-12-12 12:17:57 UTC +--- chrome/browser/about_flags.cc.orig 2025-12-19 09:09:46 UTC +++ chrome/browser/about_flags.cc @@ -332,12 +332,12 @@ #include "components/stylus_handwriting/win/features.h" @@ -42,7 +42,7 @@ const FeatureEntry::FeatureParam kClipboardMaximumAge60Seconds[] = { {"UIClipboardMaximumAge", "60"}}; const FeatureEntry::FeatureParam kClipboardMaximumAge90Seconds[] = { -@@ -1321,7 +1341,7 @@ const FeatureEntry::FeatureVariation kRemotePageMetada +@@ -1336,7 +1356,7 @@ const FeatureEntry::FeatureVariation kRemotePageMetada }; #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -51,7 +51,7 @@ // A limited number of combinations of the rich autocompletion params. const FeatureEntry::FeatureParam kOmniboxRichAutocompletionAggressive1[] = { -@@ -3975,7 +3995,7 @@ const FeatureEntry::FeatureVariation +@@ -3990,7 +4010,7 @@ const FeatureEntry::FeatureVariation #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -60,7 +60,7 @@ const flags_ui::FeatureEntry::FeatureParam kPwaNavigationCapturingDefaultOn[] = {{"link_capturing_state", "on_by_default"}}; const flags_ui::FeatureEntry::FeatureParam kPwaNavigationCapturingDefaultOff[] = -@@ -4005,7 +4025,7 @@ const flags_ui::FeatureEntry::FeatureVariation +@@ -4020,7 +4040,7 @@ const flags_ui::FeatureEntry::FeatureVariation #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || // BUILDFLAG(IS_CHROMEOS) @@ -69,7 +69,7 @@ const FeatureEntry::Choice kReplaceSyncPromosWithSignInPromosChoices[] = { {"Default", "", ""}, {"Disabled", switches::kDisableFeatures, -@@ -4231,7 +4251,7 @@ const FeatureEntry::FeatureVariation kSkiaGraphiteVari +@@ -4246,7 +4266,7 @@ const FeatureEntry::FeatureVariation kSkiaGraphiteVari std::size(kSkiaGraphite_DebugLabelsEnabled), nullptr}, }; @@ -78,7 +78,7 @@ const FeatureEntry::FeatureParam kTranslationAPI_SkipLanguagePackLimit[] = { {"TranslationAPIAcceptLanguagesCheck", "false"}, {"TranslationAPILimitLanguagePackCount", "false"}}; -@@ -4251,7 +4271,7 @@ const FeatureEntry::FeatureVariation kSensitiveContent +@@ -4266,7 +4286,7 @@ const FeatureEntry::FeatureVariation kSensitiveContent }; #endif // BUILDFLAG(IS_ANDROID) @@ -87,7 +87,7 @@ const FeatureEntry::FeatureParam kContextualCueingEnabledNoEngagementCap[] = { {"BackoffTime", "0h"}, {"BackoffMultiplierBase", "0.0"}, -@@ -5020,7 +5040,7 @@ const FeatureEntry::FeatureVariation kMobilePromoOnDes +@@ -5035,7 +5055,7 @@ const FeatureEntry::FeatureVariation kMobilePromoOnDes }; #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -96,7 +96,7 @@ const FeatureEntry::FeatureParam kNtpCustomizeChromeAutoOpenOnEveryNTP[] = { {"max_customize_chrome_auto_shown_count", "5"}, {"max_customize_chrome_auto_shown_session_count", "5"}}; -@@ -5156,7 +5176,7 @@ const FeatureEntry::FeatureVariation kSeamlessSigninVa +@@ -5171,7 +5191,7 @@ const FeatureEntry::FeatureVariation kSeamlessSigninVa nullptr}}; #endif // BUILDFLAG(IS_ANDROID) @@ -105,7 +105,7 @@ const FeatureEntry::FeatureParam kProfilePickerTextVariation1[] = { {"profile-picker-variation", "keep-work-and-life-separate"}}; const FeatureEntry::FeatureParam kProfilePickerTextVariation2[] = { -@@ -5735,7 +5755,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -5750,7 +5770,7 @@ const FeatureEntry kFeatureEntries[] = { }, #endif // BUILDFLAG(IS_WIN) @@ -114,7 +114,7 @@ { "fluent-overlay-scrollbars", flag_descriptions::kFluentOverlayScrollbarsName, -@@ -6033,7 +6053,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -6048,7 +6068,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kEnableIsolatedWebAppDevModeName, flag_descriptions::kEnableIsolatedWebAppDevModeDescription, kOsDesktop, FEATURE_VALUE_TYPE(features::kIsolatedWebAppDevMode)}, @@ -123,7 +123,7 @@ {"enable-iwa-key-distribution-component", flag_descriptions::kEnableIwaKeyDistributionComponentName, flag_descriptions::kEnableIwaKeyDistributionComponentDescription, -@@ -6225,7 +6245,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -6240,7 +6260,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(media::kUseSCContentSharingPicker)}, #endif // BUILDFLAG(IS_MAC) @@ -132,7 +132,7 @@ {"pulseaudio-loopback-for-cast", flag_descriptions::kPulseaudioLoopbackForCastName, flag_descriptions::kPulseaudioLoopbackForCastDescription, kOsLinux, -@@ -6254,6 +6274,16 @@ const FeatureEntry kFeatureEntries[] = { +@@ -6269,6 +6289,16 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kWaylandSessionManagementName, flag_descriptions::kWaylandSessionManagementDescription, kOsLinux, FEATURE_VALUE_TYPE(features::kWaylandSessionManagement)}, @@ -149,7 +149,7 @@ #endif // BUILDFLAG(IS_LINUX) #if BUILDFLAG(ENABLE_VR) -@@ -7124,7 +7154,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -7139,7 +7169,7 @@ const FeatureEntry kFeatureEntries[] = { "MlUrlScoring")}, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -158,7 +158,7 @@ {"contextual-search-box-uses-contextual-search-provider", flag_descriptions::kContextualSearchBoxUsesContextualSearchProviderName, flag_descriptions:: -@@ -7540,7 +7570,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -7555,7 +7585,7 @@ const FeatureEntry kFeatureEntries[] = { kNumSrpZpsRelatedSearches, "PowerTools")}, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -167,7 +167,7 @@ {"history-embeddings", flag_descriptions::kHistoryEmbeddingsName, flag_descriptions::kHistoryEmbeddingsDescription, kOsDesktop, FEATURE_VALUE_TYPE(history_embeddings::kHistoryEmbeddings)}, -@@ -7755,7 +7785,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -7770,7 +7800,7 @@ const FeatureEntry kFeatureEntries[] = { "NtpRealboxNext")}, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -176,7 +176,7 @@ {"ntp-customize-chrome-auto-open", flag_descriptions::kNtpCustomizeChromeAutoOpenName, flag_descriptions::kNtpCustomizeChromeAutoOpenDescription, kOsDesktop, -@@ -8034,7 +8064,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -8049,7 +8079,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(printing::features::kAddPrinterViaPrintscanmgr)}, #endif // BUILDFLAG(IS_CHROMEOS) @@ -185,7 +185,7 @@ {"cups-ipp-printing-backend", flag_descriptions::kCupsIppPrintingBackendName, flag_descriptions::kCupsIppPrintingBackendDescription, kOsDesktop, -@@ -8972,7 +9002,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -8987,7 +9017,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(media::kGlobalMediaControlsUpdatedUI)}, #endif // !BUILDFLAG(IS_CHROMEOS) @@ -194,7 +194,7 @@ {"enable-network-service-sandbox", flag_descriptions::kEnableNetworkServiceSandboxName, flag_descriptions::kEnableNetworkServiceSandboxDescription, -@@ -9543,7 +9573,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -9558,7 +9588,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kGlobalVaapiLockDescription, kOsCrOS | kOsLinux, FEATURE_VALUE_TYPE(media::kGlobalVaapiLock)}, @@ -203,7 +203,7 @@ { "ui-debug-tools", flag_descriptions::kUIDebugToolsName, -@@ -10000,7 +10030,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10015,7 +10045,7 @@ const FeatureEntry kFeatureEntries[] = { #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -212,7 +212,7 @@ {"media-session-enter-picture-in-picture", flag_descriptions::kMediaSessionEnterPictureInPictureName, flag_descriptions::kMediaSessionEnterPictureInPictureDescription, -@@ -10197,7 +10227,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10212,7 +10242,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kReduceTransferSizeUpdatedIPCDescription, kOsAll, FEATURE_VALUE_TYPE(network::features::kReduceTransferSizeUpdatedIPC)}, @@ -221,7 +221,7 @@ {"reduce-user-agent-data-linux-platform-version", flag_descriptions::kReduceUserAgentDataLinuxPlatformVersionName, flag_descriptions::kReduceUserAgentDataLinuxPlatformVersionDescription, -@@ -10759,7 +10789,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10774,7 +10804,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kRcapsDynamicProfileCountryDescription, kOsAll, FEATURE_VALUE_TYPE(switches::kDynamicProfileCountry)}, @@ -230,7 +230,7 @@ {"enable-generic-oidc-auth-profile-management", flag_descriptions::kEnableGenericOidcAuthProfileManagementName, flag_descriptions::kEnableGenericOidcAuthProfileManagementDescription, -@@ -10780,7 +10810,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10795,7 +10825,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -239,7 +239,7 @@ {"enable-user-navigation-capturing-pwa", flag_descriptions::kPwaNavigationCapturingName, flag_descriptions::kPwaNavigationCapturingDescription, -@@ -11294,7 +11324,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11309,7 +11339,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kResponsiveIframesDescription, kOsAll, FEATURE_VALUE_TYPE(blink::features::kResponsiveIframes)}, @@ -248,7 +248,7 @@ {"replace-sync-promos-with-sign-in-promos-desktop", flag_descriptions::kReplaceSyncPromosWithSignInPromosName, flag_descriptions::kReplaceSyncPromosWithSignInPromosDescription, -@@ -11710,7 +11740,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11725,7 +11755,7 @@ const FeatureEntry kFeatureEntries[] = { segmentation_platform::features::kSegmentationSurveyPage)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -257,7 +257,7 @@ {"autofill-enable-buy-now-pay-later", flag_descriptions::kAutofillEnableBuyNowPayLaterName, flag_descriptions::kAutofillEnableBuyNowPayLaterDescription, -@@ -11781,7 +11811,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11796,7 +11826,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE( autofill::features::kAutofillEnableCardInfoRuntimeRetrieval)}, @@ -266,7 +266,7 @@ {"translation-api", flag_descriptions::kTranslationAPIName, flag_descriptions::kTranslationAPIDescription, kOsMac | kOsWin | kOsLinux, FEATURE_WITH_PARAMS_VALUE_TYPE(blink::features::kTranslationAPI, -@@ -11807,7 +11837,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11822,7 +11852,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE( password_manager::features::kPasswordFormClientsideClassifier)}, @@ -275,7 +275,7 @@ {"contextual-cueing", flag_descriptions::kContextualCueingName, flag_descriptions::kContextualCueingDescription, kOsLinux | kOsMac | kOsWin, -@@ -12183,7 +12213,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12198,7 +12228,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(ui::kUseNewEtc1Encoder)}, #endif // !BUILDFLAG(IS_ANDROID) @@ -284,7 +284,7 @@ {"automatic-usb-detach", flag_descriptions::kAutomaticUsbDetachName, flag_descriptions::kAutomaticUsbDetachDescription, kOsAndroid | kOsLinux, FEATURE_VALUE_TYPE(features::kAutomaticUsbDetach)}, -@@ -12219,7 +12249,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12234,7 +12264,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // !BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -293,7 +293,7 @@ {"autofill-enable-amount-extraction", flag_descriptions::kAutofillEnableAmountExtractionName, flag_descriptions::kAutofillEnableAmountExtractionDescription, -@@ -12364,7 +12394,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12379,7 +12409,7 @@ const FeatureEntry kFeatureEntries[] = { apps::chrome_app_deprecation::kAllowUserInstalledChromeApps)}, #endif // BUILDFLAG(IS_CHROMEOS) @@ -302,7 +302,7 @@ {"chrome-web-store-navigation-throttle", flag_descriptions::kChromeWebStoreNavigationThrottleName, flag_descriptions::kChromeWebStoreNavigationThrottleDescription, -@@ -12393,7 +12423,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12408,7 +12438,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(supervised_user::kSupervisedUserBlockInterstitialV3)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -311,7 +311,7 @@ {"autofill-enable-amount-extraction-testing", flag_descriptions::kAutofillEnableAmountExtractionTestingName, flag_descriptions::kAutofillEnableAmountExtractionTestingDescription, -@@ -12408,7 +12438,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12423,7 +12453,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kEnableWebAppPredictableAppUpdatingDescription, kOsAll, FEATURE_VALUE_TYPE(features::kWebAppPredictableAppUpdating)}, @@ -320,7 +320,7 @@ {"root-scrollbar-follows-browser-theme", flag_descriptions::kRootScrollbarFollowsTheme, flag_descriptions::kRootScrollbarFollowsThemeDescription, -@@ -12685,7 +12715,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12700,7 +12730,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -329,7 +329,7 @@ {"tab-group-home", tabs::flag_descriptions::kTabGroupHomeName, tabs::flag_descriptions::kTabGroupHomeDescription, kOsDesktop, FEATURE_VALUE_TYPE(tabs::kTabGroupHome)}, -@@ -12775,7 +12805,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12790,7 +12820,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -338,7 +338,7 @@ {"enable-site-search-allow-user-override-policy", flag_descriptions::kEnableSiteSearchAllowUserOverridePolicyName, flag_descriptions::kEnableSiteSearchAllowUserOverridePolicyDescription, -@@ -12887,7 +12917,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12902,7 +12932,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -347,7 +347,7 @@ {"autofill-enable-buy-now-pay-later-for-klarna", flag_descriptions::kAutofillEnableBuyNowPayLaterForKlarnaName, flag_descriptions::kAutofillEnableBuyNowPayLaterForKlarnaDescription, -@@ -12960,7 +12990,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12975,7 +13005,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(ENABLE_DICE_SUPPORT) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -356,7 +356,7 @@ {"autofill-enable-buy-now-pay-later-for-externally-linked", flag_descriptions::kAutofillEnableBuyNowPayLaterForExternallyLinkedName, flag_descriptions:: -@@ -13238,7 +13268,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13253,7 +13283,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // !BUILDFLAG(IS_ANDROID), #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -365,7 +365,7 @@ {"enable-ntp-enterprise-shortcuts", flag_descriptions::kEnableNtpEnterpriseShortcutsName, flag_descriptions::kEnableNtpEnterpriseShortcutsDescription, -@@ -13345,7 +13375,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13360,7 +13390,7 @@ const FeatureEntry kFeatureEntries[] = { autofill::features::kAutofillAndPasswordsInSameSurface)}, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -374,7 +374,7 @@ {"contextual-suggestion-ui-improvements", flag_descriptions::kContextualSuggestionsUiImprovementsName, flag_descriptions::kContextualSuggestionsUiImprovementsDescription, -@@ -13373,7 +13403,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13388,7 +13418,7 @@ const FeatureEntry kFeatureEntries[] = { "EnableBlockCanvasReadback")}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -383,7 +383,7 @@ {"autofill-enable-ai-based-amount-extraction", flag_descriptions::kAutofillEnableAiBasedAmountExtractionName, flag_descriptions::kAutofillEnableAiBasedAmountExtractionDescription, -@@ -13423,7 +13453,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13438,7 +13468,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(features::kCryptographyComplianceCnsa)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -392,7 +392,7 @@ {"lens-reinvocation-affordance", flag_descriptions::kLensSearchReinvocationAffordanceName, flag_descriptions::kLensSearchReinvocationAffordanceDescription, -@@ -13481,7 +13511,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13496,7 +13526,7 @@ const FeatureEntry kFeatureEntries[] = { STRING_VALUE_TYPE(variations::switches::kVariationsSeedCorpus, "")}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -401,7 +401,7 @@ {"passkey-unlock-error-ui", flag_descriptions::kPasskeyUnlockErrorUiName, flag_descriptions::kPasskeyUnlockErrorUiDescription, kOsDesktop, FEATURE_VALUE_TYPE(device::kPasskeyUnlockErrorUi)}, -@@ -13518,7 +13548,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13533,7 +13563,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(features::kUserValueDefaultBrowserStrings)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -410,7 +410,7 @@ {"read-anything-read-aloud-ts-text-segmentation", flag_descriptions::kReadAnythingReadAloudTsTextSegmentationName, flag_descriptions::kReadAnythingReadAloudTsTextSegmentationDescription, -@@ -13530,7 +13560,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13545,7 +13575,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kHandleMdmErrorsForDasherAccountsDescription, kOsAll, FEATURE_VALUE_TYPE(switches::kHandleMdmErrorsForDasherAccounts)}, @@ -419,7 +419,7 @@ {"profile-creation-decline-signin-cta-experiment", flag_descriptions::kProfileCreationDeclineSigninCTAExperimentName, flag_descriptions::kProfileCreationDeclineSigninCTAExperimentDescription, -@@ -13538,7 +13568,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13553,7 +13583,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(switches::kProfileCreationDeclineSigninCTAExperiment)}, #endif @@ -428,7 +428,7 @@ {"show-profile-picker-to-all-users-experiment", flag_descriptions::kShowProfilePickerToAllUsersExperimentName, flag_descriptions::kShowProfilePickerToAllUsersExperimentDescription, -@@ -13588,7 +13618,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13603,7 +13633,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(features::kAndroidDesktopZoomScaling)}, #endif @@ -437,7 +437,7 @@ {"profile-picker-text-variations", flag_descriptions::kProfilePickerTextVariationsName, flag_descriptions::kProfilePickerTextVariationsDescription, -@@ -13599,7 +13629,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13614,7 +13644,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -446,7 +446,7 @@ {"lens-overlay-optimization-filter", flag_descriptions::kLensOverlayOptimizationFilterName, flag_descriptions::kLensOverlayOptimizationFilterDescription, kOsDesktop, -@@ -13618,7 +13648,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13633,7 +13663,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(network::features::kConnectionAllowlists)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -455,7 +455,7 @@ {"read-anything-with-readability-enabled", flag_descriptions::kReadAnythingWithReadabilityName, flag_descriptions::kReadAnythingWithReadabilityDescription, kOsDesktop, -@@ -13626,7 +13656,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13641,7 +13671,7 @@ const FeatureEntry kFeatureEntries[] = { #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/nextcloud-calendar/Makefile b/www/nextcloud-calendar/Makefile index 80f18c3a2031..3887aebcf409 100644 --- a/www/nextcloud-calendar/Makefile +++ b/www/nextcloud-calendar/Makefile @@ -1,5 +1,5 @@ PORTNAME= calendar -PORTVERSION= 6.1.1 +PORTVERSION= 6.1.2 DISTVERSIONPREFIX= v CATEGORIES= www diff --git a/www/nextcloud-calendar/distinfo b/www/nextcloud-calendar/distinfo index 27e6c7b080df..81f332de0b18 100644 --- a/www/nextcloud-calendar/distinfo +++ b/www/nextcloud-calendar/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1764869465 -SHA256 (nextcloud/calendar-v6.1.1.tar.gz) = 4cdbe908373575a23bfcc38c4778eea10caf71857586def61e394f1296b31c1c -SIZE (nextcloud/calendar-v6.1.1.tar.gz) = 19884640 +TIMESTAMP = 1766128626 +SHA256 (nextcloud/calendar-v6.1.2.tar.gz) = 6622fdc1b5d5fce838a39e52eab1514d186e0812c8e4871dce44a0ab97f8f5e5 +SIZE (nextcloud/calendar-v6.1.2.tar.gz) = 19880448 diff --git a/www/nextcloud-contacts/Makefile b/www/nextcloud-contacts/Makefile index 6a58cc86ebef..90b751f79671 100644 --- a/www/nextcloud-contacts/Makefile +++ b/www/nextcloud-contacts/Makefile @@ -1,5 +1,5 @@ PORTNAME= contacts -PORTVERSION= 8.1.1 +PORTVERSION= 8.1.2 DISTVERSIONPREFIX= v CATEGORIES= www diff --git a/www/nextcloud-contacts/distinfo b/www/nextcloud-contacts/distinfo index 47dea13f3617..5eb7282cd6c5 100644 --- a/www/nextcloud-contacts/distinfo +++ b/www/nextcloud-contacts/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1764757196 -SHA256 (nextcloud/contacts-v8.1.1.tar.gz) = 77a3b8f2e6138e8aae0bf5f0b49d9074f09b9b1928d17ebef0c88a6fb508a5aa -SIZE (nextcloud/contacts-v8.1.1.tar.gz) = 4820818 +TIMESTAMP = 1766128426 +SHA256 (nextcloud/contacts-v8.1.2.tar.gz) = 8bbd2d10d6bcb90c67603d8bb144444f62ceac436d814b242ee898f663be7c60 +SIZE (nextcloud/contacts-v8.1.2.tar.gz) = 4832846 diff --git a/www/phpmyfaq/Makefile b/www/phpmyfaq/Makefile index 26e1e83e22ac..96df8ddf64b4 100644 --- a/www/phpmyfaq/Makefile +++ b/www/phpmyfaq/Makefile @@ -1,5 +1,5 @@ PORTNAME= phpmyfaq -DISTVERSION= 4.0.13 +DISTVERSION= 4.0.14 CATEGORIES= www MASTER_SITES= https://download.phpmyfaq.de/files/ PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} diff --git a/www/phpmyfaq/distinfo b/www/phpmyfaq/distinfo index 2df0a7287659..2851c51f22ca 100644 --- a/www/phpmyfaq/distinfo +++ b/www/phpmyfaq/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1759506005 -SHA256 (phpmyfaq-4.0.13.tar.gz) = 26832842b511e0527ffcc41bd9c6ada9c3a3fa8378ce174c755be9eeafd22d7b -SIZE (phpmyfaq-4.0.13.tar.gz) = 15533610 +TIMESTAMP = 1765401760 +SHA256 (phpmyfaq-4.0.14.tar.gz) = f45e092287a2faaa54d402fccd8a9ba75a1135f443a1f187a23ea6beb711dea7 +SIZE (phpmyfaq-4.0.14.tar.gz) = 15540090 diff --git a/www/py-dj52-django-stubs-ext/Makefile b/www/py-dj52-django-stubs-ext/Makefile index 0453eda17d50..b19f9c731d37 100644 --- a/www/py-dj52-django-stubs-ext/Makefile +++ b/www/py-dj52-django-stubs-ext/Makefile @@ -1,5 +1,5 @@ PORTNAME= django-stubs-ext -PORTVERSION= 5.2.7 +PORTVERSION= 5.2.8 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- diff --git a/www/py-dj52-django-stubs-ext/distinfo b/www/py-dj52-django-stubs-ext/distinfo index 4e13fb7cf2b0..5b97797a585a 100644 --- a/www/py-dj52-django-stubs-ext/distinfo +++ b/www/py-dj52-django-stubs-ext/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1760650698 -SHA256 (django_stubs_ext-5.2.7.tar.gz) = b690655bd4cb8a44ae57abb314e0995dc90414280db8f26fff0cb9fb367d1cac -SIZE (django_stubs_ext-5.2.7.tar.gz) = 6524 +TIMESTAMP = 1766091528 +SHA256 (django_stubs_ext-5.2.8.tar.gz) = b39938c46d7a547cd84e4a6378dbe51a3dd64d70300459087229e5fee27e5c6b +SIZE (django_stubs_ext-5.2.8.tar.gz) = 6487 diff --git a/www/py-dj52-django-stubs-ext/files/patch-pyproject.toml b/www/py-dj52-django-stubs-ext/files/patch-pyproject.toml deleted file mode 100644 index a8dfa7f5477c..000000000000 --- a/www/py-dj52-django-stubs-ext/files/patch-pyproject.toml +++ /dev/null @@ -1,11 +0,0 @@ ---- pyproject.toml.orig 2025-10-16 21:46:00 UTC -+++ pyproject.toml -@@ -40,7 +40,7 @@ Funding = "https://github.com/sponsors/typeddjango" - "Release notes" = "https://github.com/typeddjango/django-stubs/releases" - - [build-system] --requires = ["uv_build>=0.8.22,<0.9.0"] -+requires = ["uv_build"] - build-backend = "uv_build" - - [tool.uv.build-backend] diff --git a/www/py-qt6-webengine/Makefile b/www/py-qt6-webengine/Makefile index 81ae168450ea..becd950af8ac 100644 --- a/www/py-qt6-webengine/Makefile +++ b/www/py-qt6-webengine/Makefile @@ -1,6 +1,5 @@ PORTNAME= webengine DISTVERSION= ${PYQTWEBENGINE_VERSION} -PORTREVISION= 1 CATEGORIES= www devel python MASTER_SITES= ${MASTER_SITES_PYQTWEBENGINE} PKGNAMEPREFIX= ${PYQT_PY_RELNAME}- diff --git a/www/py-qt6-webengine/distinfo b/www/py-qt6-webengine/distinfo index 1d8386e1f8ae..e43491e531a6 100644 --- a/www/py-qt6-webengine/distinfo +++ b/www/py-qt6-webengine/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1743732713 -SHA256 (pyqt6_webengine-6.9.0.tar.gz) = 6ae537e3bbda06b8e06535e4852297e0bc3b00543c47929541fcc9b11981aa25 -SIZE (pyqt6_webengine-6.9.0.tar.gz) = 34616 +TIMESTAMP = 1761269283 +SHA256 (pyqt6_webengine-6.10.0.tar.gz) = 267d27275d0c79ae270bca4b03520a41fa7e85c2a4d9632da8cb9cc233a55ad1 +SIZE (pyqt6_webengine-6.10.0.tar.gz) = 37053 diff --git a/www/py-qt6-webengine/files/patch-sip_QtWebEngineCore_qwebenginesettings.sip b/www/py-qt6-webengine/files/patch-sip_QtWebEngineCore_qwebenginesettings.sip new file mode 100644 index 000000000000..8c921699e496 --- /dev/null +++ b/www/py-qt6-webengine/files/patch-sip_QtWebEngineCore_qwebenginesettings.sip @@ -0,0 +1,18 @@ +quint8 is more on point. uint8_t requires <sys/types.h> + +--- sip/QtWebEngineCore/qwebenginesettings.sip.orig 2025-10-16 10:34:51 UTC ++++ sip/QtWebEngineCore/qwebenginesettings.sip +@@ -125,11 +125,11 @@ class QWebEngineSettings /NoDefaultCtors/ (public) + void setUnknownUrlSchemePolicy(QWebEngineSettings::UnknownUrlSchemePolicy policy); + void resetUnknownUrlSchemePolicy(); + %If (QtWebEngine_6_10_0 -) +- typedef unsigned char uint8_t /PyInt/; ++ typedef unsigned char quint8 /PyInt/; + %End + %If (QtWebEngine_6_8_0 -) + +- enum class ImageAnimationPolicy : uint8_t ++ enum class ImageAnimationPolicy : quint8 + { + Allow, + AnimateOnce, diff --git a/www/py-qt6-webengine/pkg-plist b/www/py-qt6-webengine/pkg-plist index 2c7525047edf..3ab3752f93b2 100644 --- a/www/py-qt6-webengine/pkg-plist +++ b/www/py-qt6-webengine/pkg-plist @@ -10,6 +10,8 @@ %%PYQT_SIPDIR%%/QtWebEngineCore/qwebenginecookiestore.sip %%PYQT_SIPDIR%%/QtWebEngineCore/qwebenginedesktopmediarequest.sip %%PYQT_SIPDIR%%/QtWebEngineCore/qwebenginedownloadrequest.sip +%%PYQT_SIPDIR%%/QtWebEngineCore/qwebengineextensioninfo.sip +%%PYQT_SIPDIR%%/QtWebEngineCore/qwebengineextensionmanager.sip %%PYQT_SIPDIR%%/QtWebEngineCore/qwebenginefilesystemaccessrequest.sip %%PYQT_SIPDIR%%/QtWebEngineCore/qwebenginefindtextresult.sip %%PYQT_SIPDIR%%/QtWebEngineCore/qwebengineframe.sip @@ -49,3 +51,4 @@ %%PYTHON_SITELIBDIR%%/pyqt6_webengine-%%PYQT_WEBENGINE_VERSION%%.dist-info/INSTALLER %%PYTHON_SITELIBDIR%%/pyqt6_webengine-%%PYQT_WEBENGINE_VERSION%%.dist-info/METADATA %%PYTHON_SITELIBDIR%%/pyqt6_webengine-%%PYQT_WEBENGINE_VERSION%%.dist-info/RECORD +%%PYTHON_SITELIBDIR%%/pyqt6_webengine-%%PYQT_WEBENGINE_VERSION%%.dist-info/licenses/LICENSE diff --git a/www/py-requests-kerberos/Makefile b/www/py-requests-kerberos/Makefile deleted file mode 100644 index 99e0e760e8de..000000000000 --- a/www/py-requests-kerberos/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -PORTNAME= requests-kerberos -PORTVERSION= 0.15.0 -CATEGORIES= www python -MASTER_SITES= PYPI -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= requests_kerberos-${PORTVERSION} - -MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Kerberos authentication handler for python-requests -WWW= https://github.com/requests/requests-kerberos - -LICENSE= ISCL -LICENSE_FILE= ${WRKSRC}/LICENSE - -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyspnego>=0:security/py-pyspnego@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}requests>=1.1.0:www/py-requests@${PY_FLAVOR} -# pyspnego[kerberos] -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gssapi>=1.6.0:security/py-gssapi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}krb5>=0.3.0:security/py-krb5@${PY_FLAVOR} - -USES= python -USE_PYTHON= autoplist concurrent cryptography pep517 - -NO_ARCH= yes - -.include <bsd.port.mk> diff --git a/www/py-requests-kerberos/distinfo b/www/py-requests-kerberos/distinfo deleted file mode 100644 index 35acb117d5ea..000000000000 --- a/www/py-requests-kerberos/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1765032634 -SHA256 (requests_kerberos-0.15.0.tar.gz) = 437512e424413d8113181d696e56694ffa4259eb9a5fc4e803926963864eaf4e -SIZE (requests_kerberos-0.15.0.tar.gz) = 24410 diff --git a/www/py-requests-kerberos/pkg-descr b/www/py-requests-kerberos/pkg-descr deleted file mode 100644 index 416f8e1632f0..000000000000 --- a/www/py-requests-kerberos/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -Requests is an HTTP library, written in Python, for human beings. This library -adds optional Kerberos/GSSAPI authentication support and supports mutual -authentication. diff --git a/www/qt6-httpserver/distinfo b/www/qt6-httpserver/distinfo index 8727118083c5..262bd69dfde1 100644 --- a/www/qt6-httpserver/distinfo +++ b/www/qt6-httpserver/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1759303925 -SHA256 (KDE/Qt/6.9.3/qthttpserver-everywhere-src-6.9.3.tar.xz) = 7aa78793dba5cfb81a1d1e4b840bf0faf1e31beea08945b5689f404160dd2e8f -SIZE (KDE/Qt/6.9.3/qthttpserver-everywhere-src-6.9.3.tar.xz) = 175312 +TIMESTAMP = 1763965165 +SHA256 (KDE/Qt/6.10.1/qthttpserver-everywhere-src-6.10.1.tar.xz) = a26c8d96d34bb4d4e2455e2c5df6e684aafb530927763eab84794ef71944e93b +SIZE (KDE/Qt/6.10.1/qthttpserver-everywhere-src-6.10.1.tar.xz) = 177852 diff --git a/www/qt6-httpserver/pkg-plist b/www/qt6-httpserver/pkg-plist index 47945d989d73..0353f59c0e17 100644 --- a/www/qt6-httpserver/pkg-plist +++ b/www/qt6-httpserver/pkg-plist @@ -3,6 +3,7 @@ %%QT_INCDIR%%/QtHttpServer/%%FULLVER%%/QtHttpServer/private/qhttpserverhttp1protocolhandler_p.h %%QT_INCDIR%%/QtHttpServer/%%FULLVER%%/QtHttpServer/private/qhttpserverhttp2protocolhandler_p.h %%QT_INCDIR%%/QtHttpServer/%%FULLVER%%/QtHttpServer/private/qhttpserverliterals_p.h +%%QT_INCDIR%%/QtHttpServer/%%FULLVER%%/QtHttpServer/private/qhttpserverparser_p.h %%QT_INCDIR%%/QtHttpServer/%%FULLVER%%/QtHttpServer/private/qhttpserverrequest_p.h %%QT_INCDIR%%/QtHttpServer/%%FULLVER%%/QtHttpServer/private/qhttpserverrequestfilter_p.h %%QT_INCDIR%%/QtHttpServer/%%FULLVER%%/QtHttpServer/private/qhttpserverresponder_p.h @@ -59,7 +60,7 @@ lib/cmake/Qt6HttpServerPrivate/Qt6HttpServerPrivateVersionlessTargets.cmake %%QT_LIBDIR%%/libQt6HttpServer.so %%QT_LIBDIR%%/libQt6HttpServer.so.6 %%QT_LIBDIR%%/libQt6HttpServer.so.%%FULLVER%% -%%QT_LIBDIR%%/metatypes/qt6httpserver_%%CMAKE_BUILD_TYPE%%_metatypes.json +%%QT_LIBDIR%%/metatypes/qt6httpserver_metatypes.json %%QT_MKSPECDIR%%/modules/qt_lib_httpserver.pri %%QT_MKSPECDIR%%/modules/qt_lib_httpserver_private.pri %%QT_SBOMDIR%%/qthttpserver-%%FULLVER%%.spdx diff --git a/www/qt6-webchannel/distinfo b/www/qt6-webchannel/distinfo index 5c98c4e78c96..a7b6052e3e0d 100644 --- a/www/qt6-webchannel/distinfo +++ b/www/qt6-webchannel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1759303934 -SHA256 (KDE/Qt/6.9.3/qtwebchannel-everywhere-src-6.9.3.tar.xz) = 9457bbc1e5a13d9cf277c1fc121cdeb0a21546abf7fba091779b7ce9806fa305 -SIZE (KDE/Qt/6.9.3/qtwebchannel-everywhere-src-6.9.3.tar.xz) = 193888 +TIMESTAMP = 1763964417 +SHA256 (KDE/Qt/6.10.1/qtwebchannel-everywhere-src-6.10.1.tar.xz) = 7ba16925f230e60f58efce02c1ce214bcb6b0740e24f5dd40c06f40f37d93111 +SIZE (KDE/Qt/6.10.1/qtwebchannel-everywhere-src-6.10.1.tar.xz) = 194020 diff --git a/www/qt6-webchannel/pkg-plist b/www/qt6-webchannel/pkg-plist index cee08b6d05ff..fd0318dfd57b 100644 --- a/www/qt6-webchannel/pkg-plist +++ b/www/qt6-webchannel/pkg-plist @@ -69,8 +69,8 @@ lib/cmake/Qt6WebChannelQuickPrivate/Qt6WebChannelQuickPrivateVersionlessTargets. %%QT_LIBDIR%%/libQt6WebChannelQuick.so %%QT_LIBDIR%%/libQt6WebChannelQuick.so.6 %%QT_LIBDIR%%/libQt6WebChannelQuick.so.%%FULLVER%% -%%QT_LIBDIR%%/metatypes/qt6webchannel_%%CMAKE_BUILD_TYPE%%_metatypes.json -%%QT_LIBDIR%%/metatypes/qt6webchannelquick_%%CMAKE_BUILD_TYPE%%_metatypes.json +%%QT_LIBDIR%%/metatypes/qt6webchannel_metatypes.json +%%QT_LIBDIR%%/metatypes/qt6webchannelquick_metatypes.json %%QT_MKSPECDIR%%/modules/qt_lib_webchannel.pri %%QT_MKSPECDIR%%/modules/qt_lib_webchannel_private.pri %%QT_MKSPECDIR%%/modules/qt_lib_webchannelquick.pri diff --git a/www/qt6-webengine/Makefile b/www/qt6-webengine/Makefile index 9939ff2dc4d5..00fda5fd8e1a 100644 --- a/www/qt6-webengine/Makefile +++ b/www/qt6-webengine/Makefile @@ -55,7 +55,6 @@ LIB_DEPENDS+= libabsl_base.so:devel/abseil \ libdbus-1.so:devel/dbus \ libdrm.so:graphics/libdrm \ libepoll-shim.so:devel/libepoll-shim \ - libevent.so:devel/libevent \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz \ @@ -84,7 +83,7 @@ CMAKE_OFF+= QT_FEATURE_qtpdf_build CXXFLAGS+= -I${LOCALBASE}/include/libepoll-shim -SYS_LIBS= freetype harfbuzz-ng libdrm libevent libpng libxml libxslt openh264 opus +SYS_LIBS= freetype harfbuzz-ng libdrm libpng libxml libxslt openh264 opus .endif # The build system reads the environment variable $NINJA_PATH to decide whether @@ -157,6 +156,7 @@ post-extract: @${MKDIR} ${WRKSRC}/src/3rdparty/chromium/media/audio/sndio \ ${WRKSRC}/src/3rdparty/chromium/sandbox/policy/freebsd \ ${WRKSRC}/src/3rdparty/chromium/sandbox/policy/openbsd + (cd ${WRKSRC}/src/3rdparty/chromium/third_party/libdrm/src/include && ${CP} drm/drm.h .) post-patch: @${REINPLACE_CMD} -e 's|%%CPPFLAGS%%|${CPPFLAGS}|;s|%%CXXFLAGS%%|${CXXFLAGS}|;s|%%LDFLAGS%%|${LDFLAGS}|' \ diff --git a/www/qt6-webengine/distinfo b/www/qt6-webengine/distinfo index ebc6277308d8..fd63a9eef52e 100644 --- a/www/qt6-webengine/distinfo +++ b/www/qt6-webengine/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1759301809 -SHA256 (KDE/Qt/6.9.3/qtwebengine-everywhere-src-6.9.3.tar.xz) = d50b3b11d51dd876418cc36b4d6c96b4721e0aab773a3dd6beda606d46da8966 -SIZE (KDE/Qt/6.9.3/qtwebengine-everywhere-src-6.9.3.tar.xz) = 672100216 +TIMESTAMP = 1763964830 +SHA256 (KDE/Qt/6.10.1/qtwebengine-everywhere-src-6.10.1.tar.xz) = 77b5ea6186a0429a6b8e656faedd5cd3e8019d33856ee59637698ab578ead1e3 +SIZE (KDE/Qt/6.10.1/qtwebengine-everywhere-src-6.10.1.tar.xz) = 881148292 diff --git a/www/qt6-webengine/files/patch-cmake_QtToolchainHelpers.cmake b/www/qt6-webengine/files/patch-cmake_QtToolchainHelpers.cmake index b732070f2d7e..5630415eae74 100644 --- a/www/qt6-webengine/files/patch-cmake_QtToolchainHelpers.cmake +++ b/www/qt6-webengine/files/patch-cmake_QtToolchainHelpers.cmake @@ -1,4 +1,4 @@ ---- cmake/QtToolchainHelpers.cmake.orig 2025-08-18 00:53:11 UTC +--- cmake/QtToolchainHelpers.cmake.orig 2025-08-15 18:30:00 UTC +++ cmake/QtToolchainHelpers.cmake @@ -95,6 +95,8 @@ function(get_gn_os result) set(${result} "mac" PARENT_SCOPE) @@ -9,7 +9,7 @@ else() message(DEBUG "Unrecognized OS") endif() -@@ -323,7 +325,7 @@ macro(append_build_type_setup) +@@ -326,7 +328,7 @@ macro(append_build_type_setup) extend_gn_list(gnArgArg ARGS enable_precompiled_headers @@ -18,7 +18,7 @@ ) extend_gn_list(gnArgArg ARGS dcheck_always_on -@@ -415,7 +417,7 @@ macro(append_compiler_linker_sdk_setup) +@@ -418,7 +420,7 @@ macro(append_compiler_linker_sdk_setup) use_libcxx=true ) endif() @@ -27,7 +27,7 @@ extend_gn_list(gnArgArg ARGS use_libcxx CONDITION QT_FEATURE_stdlib_libcpp ) -@@ -456,7 +458,7 @@ macro(append_compiler_linker_sdk_setup) +@@ -459,7 +461,7 @@ macro(append_compiler_linker_sdk_setup) ) endif() get_gn_arch(cpu ${TEST_architecture_arch}) @@ -36,7 +36,7 @@ extend_gn_list_cflag(gnArgArg ARG arm_tune -@@ -561,7 +563,7 @@ macro(append_toolchain_setup) +@@ -568,7 +570,7 @@ macro(append_toolchain_setup) endif() unset(host_cpu) unset(target_cpu) diff --git a/www/qt6-webengine/files/patch-configure.cmake b/www/qt6-webengine/files/patch-configure.cmake index b9217899f331..ccc6c81ff6f0 100644 --- a/www/qt6-webengine/files/patch-configure.cmake +++ b/www/qt6-webengine/files/patch-configure.cmake @@ -1,6 +1,6 @@ ---- configure.cmake.orig 2025-08-18 00:53:11 UTC +--- configure.cmake.orig 2025-10-02 00:36:39 UTC +++ configure.cmake -@@ -291,12 +291,12 @@ qt_webengine_configure_check("supported-platform" +@@ -292,12 +292,12 @@ qt_webengine_configure_check("supported-platform" qt_webengine_configure_check("supported-platform" MODULES QtWebEngine @@ -15,7 +15,7 @@ MESSAGE "Build can be done only on Linux, Windows, macO, iOS and Android." ) -@@ -316,15 +316,6 @@ qt_webengine_configure_check("static-build" +@@ -317,15 +317,6 @@ qt_webengine_configure_check("static-build" MESSAGE "Static build is not supported." ) @@ -31,7 +31,7 @@ qt_webengine_configure_check("python3" MODULES QtWebEngine QtPdf CONDITION Python3_FOUND -@@ -455,6 +446,8 @@ qt_webengine_configure_check("compiler" +@@ -456,6 +447,8 @@ qt_webengine_configure_check("compiler" CONDITION MSVC OR (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR @@ -40,7 +40,7 @@ (MACOS AND CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") MESSAGE "${CMAKE_CXX_COMPILER_ID} compiler is not supported." -@@ -464,6 +457,8 @@ qt_webengine_configure_check("compiler" +@@ -465,6 +458,8 @@ qt_webengine_configure_check("compiler" CONDITION MSVC OR (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR @@ -49,7 +49,7 @@ (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") OR (ANDROID AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR (MINGW AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR -@@ -725,7 +720,7 @@ qt_feature("webengine-ozone-x11" PRIVATE +@@ -727,7 +722,7 @@ qt_feature("webengine-ozone-x11" PRIVATE qt_feature("webengine-ozone-x11" PRIVATE LABEL "Support X11 on qpa-xcb" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_BUILD.gn index 67f845c974a5..8e344ba15176 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/BUILD.gn -@@ -67,7 +67,7 @@ declare_args() { +@@ -72,7 +72,7 @@ declare_args() { qtwebengine_target = "//tools/gn" } @@ -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) -@@ -99,7 +99,6 @@ group("gn_all") { +@@ -104,7 +104,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", -@@ -438,7 +437,7 @@ group("gn_all") { +@@ -447,7 +446,7 @@ group("gn_all") { } } @@ -26,7 +26,7 @@ deps += [ "//third_party/breakpad:breakpad_unittests", "//third_party/breakpad:core-2-minidump", -@@ -629,6 +628,15 @@ group("gn_all") { +@@ -637,6 +636,15 @@ group("gn_all") { } } @@ -42,7 +42,7 @@ if (is_mac && !is_qtwebengine) { deps += [ "//third_party/breakpad:dump_syms($host_system_allocator_toolchain)", -@@ -677,7 +685,7 @@ group("gn_all") { +@@ -685,7 +693,7 @@ group("gn_all") { } } @@ -51,16 +51,16 @@ # The official builders use this binary from the default toolchain's # output directory after building in order to upload the symbols of that # binary. They build the binary like `ninja symupload` which requires the -@@ -1159,7 +1167,7 @@ if (use_blink && !is_cronet_build) { +@@ -1130,7 +1138,7 @@ if (use_blink && !is_cronet_build) { ] - } -- if (!is_chromeos_ash && !is_ios && !is_fuchsia && !is_android && !is_castos) { -+ if (!is_chromeos_ash && !is_ios && !is_fuchsia && !is_android && !is_castos && !is_bsd) { - script_test("chrome_wpt_tests") { - script = "//third_party/blink/tools/run_wpt_tests.py" - args = _common_web_test_options + [ "--product=chrome" ] -@@ -1252,7 +1260,7 @@ if (use_blink && !is_cronet_build) { + if (!is_chromeos_ash && !is_ios && !is_fuchsia && !is_android && +- !is_castos) { ++ !is_castos && !is_bsd) { + deps += [ + ":chrome_wpt_tests", + ":headless_shell_wpt", +@@ -1280,7 +1288,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ] } @@ -69,7 +69,7 @@ # Using the default toolchain for this tool, as it's run during tests not # during the build. This places a symlink in the root_build_dir for scrips # to use. -@@ -1266,7 +1274,7 @@ if (use_blink && !is_cronet_build) { +@@ -1294,7 +1302,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//third_party/breakpad:dump_syms" ] } @@ -78,7 +78,7 @@ # Using the default toolchain for this tool, as it's run during tests not # during the build. This places a symlink in the root_build_dir for scrips # to use. -@@ -1730,7 +1738,7 @@ group("chromium_builder_perf") { +@@ -1764,7 +1772,7 @@ group("chromium_builder_perf") { data_deps += [ "//chrome/test:performance_browser_tests" ] } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_BUILD.gn index d7ff343cada4..09cc4d4d1581 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/base/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/BUILD.gn -@@ -1107,11 +1107,26 @@ jumbo_component("base") { +@@ -1111,11 +1111,26 @@ jumbo_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. @@ -28,7 +28,7 @@ if (use_allocator_shim) { if (is_apple) { sources += [ "allocator/early_zone_registration_apple.h" ] -@@ -1131,7 +1146,7 @@ jumbo_component("base") { +@@ -1135,7 +1150,7 @@ jumbo_component("base") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -37,7 +37,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -2116,6 +2131,22 @@ jumbo_component("base") { +@@ -2153,6 +2168,22 @@ jumbo_component("base") { ] } @@ -60,7 +60,7 @@ # iOS if (is_ios) { sources += [ -@@ -2260,6 +2291,33 @@ jumbo_component("base") { +@@ -2298,6 +2329,33 @@ jumbo_component("base") { } } @@ -94,7 +94,7 @@ if (use_blink) { sources += [ "files/file_path_watcher.cc", -@@ -2586,7 +2644,7 @@ buildflag_header("protected_memory_buildflags") { +@@ -2650,7 +2708,7 @@ buildflag_header("protected_memory_buildflags") { header = "protected_memory_buildflags.h" header_dir = "base/memory" @@ -103,7 +103,7 @@ (is_win || is_linux || is_android || is_mac) flags = [ "PROTECTED_MEMORY_ENABLED=$protected_memory_enabled" ] -@@ -3069,7 +3127,7 @@ if (is_apple) { +@@ -3129,7 +3187,7 @@ if (is_apple) { } } @@ -112,7 +112,7 @@ # This test must compile with -fstack-protector-all source_set("stack_canary_linux_unittests") { testonly = true -@@ -3731,7 +3789,7 @@ test("base_unittests") { +@@ -3825,7 +3883,7 @@ test("base_unittests") { ] } @@ -121,7 +121,7 @@ sources += [ "debug/proc_maps_linux_unittest.cc", "files/scoped_file_linux_unittest.cc", -@@ -3758,7 +3816,7 @@ test("base_unittests") { +@@ -3853,7 +3911,7 @@ test("base_unittests") { "posix/file_descriptor_shuffle_unittest.cc", "posix/unix_domain_socket_unittest.cc", ] @@ -130,7 +130,7 @@ sources += [ "profiler/stack_base_address_posix_unittest.cc", "profiler/stack_copier_signal_unittest.cc", -@@ -3769,7 +3827,7 @@ test("base_unittests") { +@@ -3864,7 +3922,7 @@ test("base_unittests") { # Allow more direct string conversions on platforms with native utf8 # strings @@ -139,7 +139,7 @@ defines += [ "SYSTEM_NATIVE_UTF8" ] } -@@ -3956,7 +4014,7 @@ test("base_unittests") { +@@ -4052,7 +4110,7 @@ test("base_unittests") { deps += [ ":base_profiler_test_support_library" ] } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_dispatcher_tls.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_dispatcher_tls.h index c3d862b9eb2c..8e6cf6da703d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_dispatcher_tls.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_dispatcher_tls.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/allocator/dispatcher/tls.h.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/base/allocator/dispatcher/tls.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/dispatcher/tls.h -@@ -77,7 +77,7 @@ struct BASE_EXPORT MMapAllocator { +@@ -81,7 +81,7 @@ struct BASE_EXPORT MMapAllocator { constexpr static size_t AllocationChunkSize = 16384; #elif BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_64_BITS) constexpr static size_t AllocationChunkSize = 16384; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_partition__alloc.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_partition__alloc.gni index 9b89f7f392e8..c345a6dabeb1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_partition__alloc.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_partition__alloc.gni @@ -1,15 +1,24 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/partition_alloc.gni.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/partition_alloc.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/partition_alloc.gni -@@ -31,7 +31,7 @@ if (is_nacl) { - use_large_empty_slot_span_ring = is_mac +@@ -89,7 +89,7 @@ has_memory_tagging = + use_large_empty_slot_span_ring = true has_memory_tagging = - current_cpu == "arm64" && is_clang && !is_asan && (is_linux || is_android) + current_cpu == "arm64" && is_clang && !is_asan && !is_bsd && (is_linux || is_android) declare_args() { - # Causes all the allocations to be routed via allocator_shim.cc. Usually, -@@ -391,7 +391,7 @@ assert(!use_asan_backup_ref_ptr || use_raw_ptr_hookabl + # Debug configuration. +@@ -347,7 +347,7 @@ declare_args() { + declare_args() { + # Shadow metadata is still under development and only supports Linux + # for now. +- enable_shadow_metadata = is_linux && has_64_bit_pointers ++ enable_shadow_metadata = !is_bsd && is_linux && has_64_bit_pointers + } + + declare_args() { +@@ -490,7 +490,7 @@ is_pkeys_available = # dependencies that use partition_allocator are compiled in AOSP against a # version of glibc that does not include pkeys syscall numbers. is_pkeys_available = diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_BUILD.gn index cc1021369a9b..795d28e8d30c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/BUILD.gn -@@ -860,7 +860,7 @@ if (is_clang_or_gcc || is_msvc || is_mingw) { +@@ -869,7 +869,7 @@ if (is_clang_or_gcc || is_msvc || is_mingw) { configs -= [ partition_alloc_enable_arc_config ] } } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h index fde21bf3e5c3..bbf036716d7b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_address__space__randomization.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.h @@ -38,7 +38,7 @@ AslrMask(uintptr_t bits) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator.h index 140506fd1bc6..ba3e28192e23 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator.h.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator.h -@@ -269,7 +269,7 @@ bool DecommitAndZeroSystemPages(void* address, +@@ -269,7 +269,7 @@ constexpr PA_COMPONENT_EXPORT( // recommitted. Do not assume that this will not change over time. constexpr PA_COMPONENT_EXPORT( PARTITION_ALLOC) bool DecommittedMemoryIsAlwaysZeroed() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h index 4c0d3da78778..29fdb839f59f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__constants.h @@ -1,12 +1,12 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_constants.h @@ -26,8 +26,8 @@ #define PAGE_ALLOCATOR_CONSTANTS_DECLARE_CONSTEXPR __attribute__((const)) #elif (PA_BUILDFLAG(IS_ANDROID) && PA_BUILDFLAG(PA_ARCH_CPU_64_BITS)) || \ -- (PA_BUILDFLAG(IS_LINUX) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64)) || \ +- (PA_BUILDFLAG(IS_LINUX) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64)) || \ - (PA_BUILDFLAG(IS_LINUX) && PA_BUILDFLAG(PA_ARCH_CPU_PPC64)) -+ ((PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_BSD)) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64)) || \ ++ ((PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_BSD)) && PA_BUILDFLAG(PA_ARCH_CPU_ARM64)) || \ + ((PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_BSD)) && PA_BUILDFLAG(PA_ARCH_CPU_PPC64)) // This should work for all POSIX (if needed), but currently all other // supported OS/architecture combinations use either hard-coded values diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc index fe5ef967ecc3..40eaf397b21a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.cc -@@ -9,7 +9,7 @@ - #include "partition_alloc/page_allocator.h" +@@ -39,7 +39,7 @@ uint32_t SecTaskGetCodeSignStatus(SecTaskRef task) API - #if PA_BUILDFLAG(HAS_MEMORY_TAGGING) || \ -- (defined(__ARM_FEATURE_BTI_DEFAULT) && (__ARM_FEATURE_BTI_DEFAULT == 1)) -+ (defined(__ARM_FEATURE_BTI_DEFAULT) && (__ARM_FEATURE_BTI_DEFAULT == 1) && !PA_BUILDFLAG(IS_BSD)) + #if PA_BUILDFLAG(HAS_MEMORY_TAGGING) || \ + (defined(__ARM_FEATURE_BTI_DEFAULT) && (__ARM_FEATURE_BTI_DEFAULT == 1) && \ +- __has_include(<sys/ifunc.h>)) ++ __has_include(<sys/ifunc.h>) && !PA_BUILDFLAG(IS_BSD)) struct __ifunc_arg_t; #include "partition_alloc/aarch64_support.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h index 60bec9706295..566a005c5765 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_page__allocator__internals__posix.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.h -@@ -412,8 +412,12 @@ bool TryRecommitSystemPagesInternal( +@@ -302,8 +302,12 @@ void DiscardSystemPagesInternal(uintptr_t address, siz void DiscardSystemPagesInternal(uintptr_t address, size_t length) { void* ptr = reinterpret_cast<void*>(address); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_proc__maps__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_proc__maps__linux.cc index 1ce0cc6c6e8a..417e42ce62a3 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_proc__maps__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_proc__maps__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/proc_maps_linux.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/proc_maps_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/proc_maps_linux.cc @@ -19,7 +19,7 @@ #include "partition_alloc/partition_alloc_check.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc index 4e2d93083c04..c8b4d008d6d1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_debug_stack__trace__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc @@ -13,11 +13,11 @@ #include "partition_alloc/partition_alloc_base/posix/eintr_wrapper.h" @@ -14,7 +14,7 @@ #include <dlfcn.h> #endif -@@ -25,7 +25,7 @@ namespace partition_alloc::internal::base::debug { +@@ -25,7 +25,7 @@ namespace { namespace { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc index 32b9763b2a86..127b28b51137 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_rand__util__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util_posix.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util_posix.cc @@ -102,6 +102,10 @@ void RandBytes(void* output, size_t output_length) { if (getentropy(output, output_length) == 0) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h index 1fa753339d45..f12a278c6df2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.h -@@ -37,6 +37,8 @@ typedef DWORD PlatformThreadId; +@@ -37,6 +37,8 @@ typedef mach_port_t PlatformThreadId; typedef zx_handle_t PlatformThreadId; #elif PA_BUILDFLAG(IS_APPLE) typedef mach_port_t PlatformThreadId; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h index aaaf1dec6610..28fb7f66a2e2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__internal__posix.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_internal_posix.h -@@ -10,7 +10,7 @@ +@@ -10,7 +10,7 @@ namespace partition_alloc::internal::base::internal { namespace partition_alloc::internal::base::internal { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc index 95a79724e7f6..a4b69deabecf 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__base_threading_platform__thread__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc @@ -18,7 +18,7 @@ #include "partition_alloc/partition_alloc_base/logging.h" @@ -7,5 +7,5 @@ -#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) +#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD) #include <sys/syscall.h> + #include <atomic> - #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h index 6c552b7d1562..3417bf4c0a39 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__config.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h -@@ -168,7 +168,7 @@ constexpr bool kUseLazyCommit = false; +@@ -170,7 +170,7 @@ constexpr bool kUseLazyCommit = false; // This may be required on more platforms in the future. #define PA_CONFIG_HAS_ATFORK_HANDLER() \ (PA_BUILDFLAG(IS_APPLE) || PA_BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ // Enable shadow metadata. // -@@ -231,7 +231,7 @@ constexpr bool kUseLazyCommit = false; +@@ -233,7 +233,7 @@ constexpr bool kUseLazyCommit = false; // Also enabled on ARM64 macOS and iOS, as the 16kiB pages on this platform lead // to larger slot spans. #if PA_BUILDFLAG(IS_LINUX) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h index ee90eacba8f2..d564272639ac 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h -@@ -329,7 +329,7 @@ PA_DEFINE_OPERATORS_FOR_FLAGS(PoolHandleMask); +@@ -327,7 +327,7 @@ PA_DEFINE_OPERATORS_FOR_FLAGS(PoolHandleMask); // 8GB for each of the glued pools). #if PA_BUILDFLAG(HAS_64_BIT_POINTERS) #if PA_BUILDFLAG(IS_ANDROID) || PA_BUILDFLAG(IS_IOS) || \ @@ -9,7 +9,7 @@ constexpr size_t kPoolMaxSize = 8 * kGiB; #else constexpr size_t kPoolMaxSize = 16 * kGiB; -@@ -446,7 +446,7 @@ PA_ALWAYS_INLINE constexpr size_t MaxDirectMapped() { +@@ -444,7 +444,7 @@ PA_ALWAYS_INLINE constexpr size_t MaxDirectMapped() { // TODO(casey.smalley@arm.com): under 64k pages we can end up in a situation // where a normal slot span will be large enough to contain multiple items, // but the address will go over the final partition page after being aligned. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__root.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__root.cc index 851a06098206..646d20edca49 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__root.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_partition__root.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_root.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/partition_root.cc @@ -44,7 +44,7 @@ #include "wow64apiset.h" @@ -7,9 +7,9 @@ -#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) +#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_CHROMEOS) || PA_BUILDFLAG(IS_BSD) #include <pthread.h> - #endif - -@@ -290,7 +290,7 @@ void PartitionAllocMallocInitOnce() { + #if PA_CONFIG(ENABLE_SHADOW_METADATA) + #include <sys/mman.h> +@@ -297,7 +297,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. -@@ -1110,7 +1110,7 @@ void PartitionRoot::Init(PartitionOptions opts) { +@@ -1117,7 +1117,7 @@ void PartitionRoot::Init(PartitionOptions opts) { // apple OSes. PA_CHECK((internal::SystemPageSize() == (size_t{1} << 12)) || (internal::SystemPageSize() == (size_t{1} << 14))); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc index 91edf0242df2..14e11bcb1108 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_spinning__mutex.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/spinning_mutex.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/spinning_mutex.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/spinning_mutex.cc @@ -17,7 +17,16 @@ #endif @@ -34,7 +34,7 @@ if (err) { // These are programming error, check them. -@@ -119,8 +136,16 @@ void SpinningMutex::FutexWait() { +@@ -119,8 +136,16 @@ void SpinningMutex::FutexWake() { void SpinningMutex::FutexWake() { int saved_errno = errno; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc index 2a9b857b50d8..98f6824b7844 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_stack_stack.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc @@ -18,6 +18,10 @@ #include <pthread.h> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc index 20ba1c5aed33..7b6759b846e7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_allocator_partition__allocator_src_partition__alloc_thread__isolation_pkey.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/thread_isolation/pkey.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/thread_isolation/pkey.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/allocator/partition_allocator/src/partition_alloc/thread_isolation/pkey.cc @@ -16,7 +16,7 @@ #include "partition_alloc/partition_alloc_check.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_atomicops.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_atomicops.h index c38bd16de747..0b1dd72a2571 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_atomicops.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_atomicops.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/atomicops.h.orig 2023-04-05 11:05:06 UTC +--- src/3rdparty/chromium/base/atomicops.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/atomicops.h -@@ -71,7 +71,11 @@ typedef intptr_t Atomic64; +@@ -74,7 +74,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/qt6-webengine/files/patch-src_3rdparty_chromium_base_base__paths__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_base__paths__posix.cc index 12f4f54f202b..1d3652e4a950 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_base__paths__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_base__paths__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/base_paths_posix.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/base_paths_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/base_paths_posix.cc @@ -15,6 +15,7 @@ #include <ostream> @@ -27,23 +27,22 @@ *result = bin_dir; return true; #elif BUILDFLAG(IS_FREEBSD) -- int name[] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 }; +- int name[] = {CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1}; - std::optional<std::string> bin_dir = StringSysctl(name, std::size(name)); + std::optional<std::string> bin_dir = StringSysctl({ CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 }); if (!bin_dir.has_value() || bin_dir.value().length() <= 1) { NOTREACHED() << "Unable to resolve path."; } -@@ -62,13 +66,65 @@ bool PathProviderPosix(int key, FilePath* result) { +@@ -62,14 +66,65 @@ bool PathProviderPosix(int key, FilePath* result) { *result = FilePath(bin_dir); return true; #elif BUILDFLAG(IS_OPENBSD) || BUILDFLAG(IS_AIX) - // There is currently no way to get the executable path on OpenBSD - char* cpath; -- if ((cpath = getenv("CHROME_EXE_PATH")) != NULL) +- if ((cpath = getenv("CHROME_EXE_PATH")) != NULL) { - *result = FilePath(cpath); -- else +- } else { - *result = FilePath("/usr/local/chrome/chrome"); -- return true; + char *cpath; +#if !BUILDFLAG(IS_AIX) + struct kinfo_file *files; @@ -71,7 +70,8 @@ + *result = FilePath(retval); + VLOG(1) << "PathProviderPosix (sandbox) result: " << retval; + goto out; -+ } + } +- return true; + + if ((kd = kvm_openfiles(NULL, NULL, NULL, (int)KVM_NO_FILES, errbuf)) == NULL) + goto out; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_compiler__specific.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_compiler__specific.h index bc82bddbe5cf..6cc6517860b2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_compiler__specific.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_compiler__specific.h @@ -1,20 +1,10 @@ ---- src/3rdparty/chromium/base/compiler_specific.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/compiler_specific.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/compiler_specific.h -@@ -257,7 +257,7 @@ - // - // In some cases it's desirable to remove this, e.g. on hot functions, or if - // we have purposely changed the reference canary. --#if defined(COMPILER_GCC) || defined(__clang__) -+#if (defined(COMPILER_GCC) || defined(__clang__)) && !defined(__OpenBSD__) && !defined(__FreeBSD__) - #if HAS_ATTRIBUTE(__no_stack_protector__) - #define NO_STACK_PROTECTOR __attribute__((__no_stack_protector__)) +@@ -729,6 +729,7 @@ inline constexpr bool AnalyzerAssumeTrue(bool arg) { + #if __has_cpp_attribute(clang::preserve_most) && \ + (defined(ARCH_CPU_ARM64) || defined(ARCH_CPU_X86_64)) && \ + !defined(COMPONENT_BUILD) && \ ++ !BUILDFLAG(IS_OPENBSD) && \ + !(BUILDFLAG(IS_WIN) && defined(ARCH_CPU_ARM64)) + #define PRESERVE_MOST [[clang::preserve_most]] #else -@@ -388,7 +388,7 @@ inline constexpr bool AnalyzerAssumeTrue(bool arg) { - // See https://clang.llvm.org/docs/AttributeReference.html#preserve-most for - // more details. - #if (defined(ARCH_CPU_ARM64) || defined(ARCH_CPU_X86_64)) && \ -- !(BUILDFLAG(IS_WIN) && defined(ARCH_CPU_ARM64)) && \ -+ !((BUILDFLAG(IS_WIN) || BUILDFLAG(IS_OPENBSD)) && defined(ARCH_CPU_ARM64)) && \ - !defined(COMPONENT_BUILD) && defined(__clang__) && \ - __clang_major__ >= 17 && HAS_ATTRIBUTE(preserve_most) - #define PRESERVE_MOST __attribute__((preserve_most)) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_debugger__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_debugger__posix.cc index 3f636803c471..a13e697fad35 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_debugger__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_debugger__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/debug/debugger_posix.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/base/debug/debugger_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/debug/debugger_posix.cc @@ -41,6 +41,10 @@ #include <sys/sysctl.h> @@ -11,7 +11,7 @@ #if BUILDFLAG(IS_FREEBSD) #include <sys/user.h> #endif -@@ -100,32 +104,51 @@ bool BeingDebugged() { +@@ -99,33 +103,52 @@ bool BeingDebugged() { // Caution: struct kinfo_proc is marked __APPLE_API_UNSTABLE. The source and // binary interfaces may change. @@ -24,8 +24,9 @@ +#endif #if BUILDFLAG(IS_OPENBSD) - if (sysctl(mib, std::size(mib), NULL, &info_size, NULL, 0) < 0) + if (sysctl(mib, std::size(mib), NULL, &info_size, NULL, 0) < 0) { return -1; + } - mib[5] = (info_size / sizeof(struct kinfo_proc)); + mib[5] = static_cast<int>((info_size / sizeof(struct kinfo_proc))); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_elf__reader.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_elf__reader.cc index 65fbfc3a27f9..3557949ec7ad 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_elf__reader.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_elf__reader.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/debug/elf_reader.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/base/debug/elf_reader.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/debug/elf_reader.cc -@@ -50,6 +50,10 @@ using Xword = Elf64_Xword; +@@ -49,6 +49,10 @@ constexpr char kGnuNoteName[] = "GNU"; constexpr char kGnuNoteName[] = "GNU"; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_proc__maps__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_proc__maps__linux.cc index 3fd2fef67f76..fc44bcb890dc 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_proc__maps__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_proc__maps__linux.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/debug/proc_maps_linux.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/base/debug/proc_maps_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/debug/proc_maps_linux.cc -@@ -18,7 +18,7 @@ +@@ -22,7 +22,7 @@ #include "base/strings/string_split.h" #include "build/build_config.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_stack__trace.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_stack__trace.cc index 36e7dfe9bdd2..c01f574eb16a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_stack__trace.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_stack__trace.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/debug/stack_trace.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/base/debug/stack_trace.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/debug/stack_trace.cc -@@ -258,7 +258,7 @@ bool StackTrace::WillSymbolizeToStreamForTesting() { +@@ -267,7 +267,7 @@ bool StackTrace::WillSymbolizeToStreamForTesting() { // Symbols are not expected to be reliable when gn args specifies // symbol_level=0. return false; @@ -9,7 +9,17 @@ // StackTrace::OutputToStream() is not implemented under uclibc, nor AIX. // See https://crbug.com/706728 return false; -@@ -320,7 +320,7 @@ std::string StackTrace::ToString() const { +@@ -320,7 +320,9 @@ void StackTrace::OutputToStreamWithPrefix(std::ostream + } + return; + } ++#if !BUILDFLAG(IS_BSD) + OutputToStreamWithPrefixImpl(os, prefix_string); ++#endif + } + + std::string StackTrace::ToString() const { +@@ -329,7 +331,7 @@ std::string StackTrace::ToStringWithPrefix(cstring_vie std::string StackTrace::ToStringWithPrefix(cstring_view prefix_string) const { std::stringstream stream; @@ -18,7 +28,7 @@ OutputToStreamWithPrefix(&stream, prefix_string); #endif return stream.str(); -@@ -344,7 +344,7 @@ bool StackTrace::ShouldSuppressOutput() { +@@ -353,7 +355,7 @@ std::ostream& operator<<(std::ostream& os, const Stack } std::ostream& operator<<(std::ostream& os, const StackTrace& s) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_stack__trace__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_stack__trace__posix.cc index 532d94c4327c..95f0c76285fe 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_stack__trace__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_debug_stack__trace__posix.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/debug/stack_trace_posix.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/base/debug/stack_trace_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/debug/stack_trace_posix.cc -@@ -46,7 +46,7 @@ +@@ -51,7 +51,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 <execinfo.h> #endif -@@ -64,8 +64,10 @@ +@@ -69,8 +69,10 @@ #include <AvailabilityMacros.h> #endif @@ -21,7 +21,7 @@ #include "base/debug/proc_maps_linux.h" #endif -@@ -307,7 +309,7 @@ void PrintToStderr(const char* output) { +@@ -329,7 +331,7 @@ void PrintToStderr(const char* output) { std::ignore = HANDLE_EINTR(write(STDERR_FILENO, output, strlen(output))); } @@ -30,7 +30,7 @@ void AlarmSignalHandler(int signal, siginfo_t* info, void* void_context) { // We have seen rare cases on AMD linux where the default signal handler // either does not run or a thread (Probably an AMD driver thread) prevents -@@ -324,7 +326,11 @@ void AlarmSignalHandler(int signal, siginfo_t* info, v +@@ -346,7 +348,11 @@ void AlarmSignalHandler(int signal, siginfo_t* info, v "Warning: Default signal handler failed to terminate process.\n"); PrintToStderr("Calling exit_group() directly to prevent timeout.\n"); // See: https://man7.org/linux/man-pages/man2/exit_group.2.html @@ -42,7 +42,7 @@ } #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || // BUILDFLAG(IS_CHROMEOS) -@@ -541,7 +547,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf +@@ -552,7 +558,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf _exit(EXIT_FAILURE); } @@ -51,7 +51,7 @@ // Set an alarm to trigger in case the default handler does not terminate // the process. See 'AlarmSignalHandler' for more details. struct sigaction action; -@@ -566,6 +572,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf +@@ -577,6 +583,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf // signals that do not re-raise autonomously), such as signals delivered via // kill() and asynchronous hardware faults such as SEGV_MTEAERR, which would // otherwise be lost when re-raising the signal via raise(). @@ -59,7 +59,7 @@ long retval = syscall(SYS_rt_tgsigqueueinfo, getpid(), syscall(SYS_gettid), info->si_signo, info); if (retval == 0) { -@@ -580,6 +587,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf +@@ -591,6 +598,7 @@ void StackDumpSignalHandler(int signal, siginfo_t* inf if (errno != EPERM) { _exit(EXIT_FAILURE); } @@ -67,7 +67,7 @@ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || // BUILDFLAG(IS_CHROMEOS) -@@ -769,6 +777,7 @@ class SandboxSymbolizeHelper { +@@ -783,6 +791,7 @@ class SandboxSymbolizeHelper { return -1; } @@ -75,7 +75,7 @@ // This class is copied from // third_party/crashpad/crashpad/util/linux/scoped_pr_set_dumpable.h. // It aims at ensuring the process is dumpable before opening /proc/self/mem. -@@ -861,11 +870,15 @@ class SandboxSymbolizeHelper { +@@ -875,11 +884,15 @@ class SandboxSymbolizeHelper { r.base = cur_base; } } @@ -91,7 +91,7 @@ // Reads /proc/self/maps. std::string contents; if (!ReadProcMaps(&contents)) { -@@ -883,6 +896,7 @@ class SandboxSymbolizeHelper { +@@ -897,6 +910,7 @@ class SandboxSymbolizeHelper { is_initialized_ = true; return true; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_dir__reader__linux.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_dir__reader__linux.h index 2bc1103a6e28..efabd30f36e0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_dir__reader__linux.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_dir__reader__linux.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/files/dir_reader_linux.h.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/base/files/dir_reader_linux.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/files/dir_reader_linux.h @@ -21,10 +21,16 @@ #include "base/logging.h" @@ -15,25 +15,25 @@ +typedef struct dirent linux_dirent; +#else struct linux_dirent { - uint64_t d_ino; - int64_t d_off; + uint64_t d_ino; + int64_t d_off; @@ -32,6 +38,7 @@ struct linux_dirent { - unsigned char d_type; - char d_name[0]; + unsigned char d_type; + char d_name[0]; }; +#endif class DirReaderLinux { public: @@ -66,7 +73,11 @@ class DirReaderLinux { - if (offset_ != size_) return true; + } +#if BUILDFLAG(IS_BSD) + const int r = getdents(fd_, reinterpret_cast<char *>(buf_), sizeof(buf_)); +#else const long r = syscall(__NR_getdents64, fd_, buf_, sizeof(buf_)); +#endif - if (r == 0) + if (r == 0) { return false; - if (r < 0) { + } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_dir__reader__posix.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_dir__reader__posix.h index a53355faf2e1..8f95ce252423 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_dir__reader__posix.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_dir__reader__posix.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/files/dir_reader_posix.h.orig 2022-06-17 14:20:10 UTC +--- src/3rdparty/chromium/base/files/dir_reader_posix.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/files/dir_reader_posix.h @@ -17,7 +17,7 @@ // seems worse than falling back to enumerating all file descriptors so we will @@ -9,7 +9,7 @@ #include "base/files/dir_reader_linux.h" #else #include "base/files/dir_reader_fallback.h" -@@ -25,7 +25,7 @@ +@@ -25,7 +25,7 @@ namespace base { namespace base { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_drive__info.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_drive__info.h new file mode 100644 index 000000000000..e0bfcf5061dd --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_drive__info.h @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/base/files/drive_info.h.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/base/files/drive_info.h +@@ -48,7 +48,7 @@ struct BASE_EXPORT DriveInfo { + std::optional<bool> has_seek_penalty; + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + // Whether the drive is a removable drive. + // + // Note on macOS: that SSDs that are connected over USB that you can eject diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_drive__info__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_drive__info__posix.cc new file mode 100644 index 000000000000..b560f9ad80de --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_drive__info__posix.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/base/files/drive_info_posix.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/base/files/drive_info_posix.cc +@@ -24,7 +24,7 @@ std::optional<DriveInfo> GetFileDriveInfo(const FilePa + + std::optional<DriveInfo> GetFileDriveInfo(const FilePath& file_path) { + DriveInfo drive_info; +-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) ++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) + drive_info.has_seek_penalty = false; + return drive_info; + #elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_file__path__watcher.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_file__path__watcher.h index cce37c868e1e..8f7327a1ee2b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_file__path__watcher.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_file__path__watcher.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/files/file_path_watcher.h.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/base/files/file_path_watcher.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/files/file_path_watcher.h @@ -105,7 +105,7 @@ class BASE_EXPORT FilePathWatcher { Type type = Type::kNonRecursive; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_file__path__watcher__bsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_file__path__watcher__bsd.cc index 2bd433b2f522..01eee447f916 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_file__path__watcher__bsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_file__path__watcher__bsd.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/files/file_path_watcher_bsd.cc.orig 2022-10-24 13:33:33 UTC +--- src/3rdparty/chromium/base/files/file_path_watcher_bsd.cc.orig 2025-09-01 08:52:28 UTC +++ src/3rdparty/chromium/base/files/file_path_watcher_bsd.cc @@ -0,0 +1,54 @@ +// Copyright 2021 The Chromium Authors. All rights reserved. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_file__path__watcher__kqueue.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_file__path__watcher__kqueue.h index 2c5cde0740ef..62c5ed958c06 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_file__path__watcher__kqueue.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_file__path__watcher__kqueue.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/files/file_path_watcher_kqueue.h.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/base/files/file_path_watcher_kqueue.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/files/file_path_watcher_kqueue.h @@ -5,6 +5,7 @@ #ifndef BASE_FILES_FILE_PATH_WATCHER_KQUEUE_H_ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_file__util__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_file__util__posix.cc index a8fb145e6498..4bd48571afc3 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_file__util__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_file__util__posix.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/files/file_util_posix.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/base/files/file_util_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/files/file_util_posix.cc -@@ -889,36 +889,33 @@ bool CreateNewTempDirectory(const FilePath::StringType +@@ -902,36 +902,33 @@ bool CreateDirectoryAndGetError(const FilePath& full_p bool CreateDirectoryAndGetError(const FilePath& full_path, File::Error* error) { ScopedBlockingCall scoped_blocking_call( FROM_HERE, BlockingType::MAY_BLOCK); // For call to mkdir(). diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_important__file__writer__cleaner.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_important__file__writer__cleaner.cc index d4d2e7a6d24a..19a3b406fa6f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_important__file__writer__cleaner.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_important__file__writer__cleaner.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/files/important_file_writer_cleaner.cc.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/base/files/important_file_writer_cleaner.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/files/important_file_writer_cleaner.cc -@@ -25,7 +25,8 @@ namespace base { +@@ -25,7 +25,8 @@ base::Time GetUpperBoundTime() { namespace { base::Time GetUpperBoundTime() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_scoped__file.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_scoped__file.cc index 75923df84853..de77aa25a613 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_scoped__file.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_files_scoped__file.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/files/scoped_file.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/base/files/scoped_file.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/files/scoped_file.cc @@ -32,7 +32,7 @@ void ScopedFDCloseTraits::Free(int fd) { int ret = IGNORE_EINTR(close(fd)); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_functional_unretained__traits.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_functional_unretained__traits.h index 8374300b070d..6c4bf2010476 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_functional_unretained__traits.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_functional_unretained__traits.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/functional/unretained_traits.h.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/base/functional/unretained_traits.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/functional/unretained_traits.h -@@ -93,7 +93,7 @@ struct SupportsUnretainedImpl { +@@ -90,7 +90,7 @@ struct SupportsUnretainedImpl { // official builds, and then in non-test code as well. #if defined(FORCE_UNRETAINED_COMPLETENESS_CHECKS_FOR_TESTS) || \ (!defined(UNIT_TEST) && !defined(OFFICIAL_BUILD) && \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_i18n_icu__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_i18n_icu__util.cc index 1f0efe7dec51..3865616b448c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_i18n_icu__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_i18n_icu__util.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/i18n/icu_util.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/base/i18n/icu_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/i18n/icu_util.cc @@ -52,7 +52,7 @@ #include "third_party/icu/source/common/unicode/unistr.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_linux__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_linux__util.cc index d53a58671d7a..09e8d9b7b182 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_linux__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_linux__util.cc @@ -1,13 +1,13 @@ ---- src/3rdparty/chromium/base/linux_util.cc.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/base/linux_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/linux_util.cc -@@ -154,10 +154,14 @@ void SetLinuxDistro(const std::string& distro) { +@@ -164,10 +164,14 @@ bool GetThreadsForProcess(pid_t pid, std::vector<pid_t } bool GetThreadsForProcess(pid_t pid, std::vector<pid_t>* tids) { +#if BUILDFLAG(IS_BSD) + return false; +#else - // 25 > strlen("/proc//task") + strlen(std::to_string(INT_MAX)) + 1 = 22 + // 25 > strlen("/proc//task") + strlen(base::NumberToString(INT_MAX)) + 1 = 22 char buf[25]; strings::SafeSPrintf(buf, "/proc/%d/task", pid); return GetThreadsFromProcessDir(buf, tids); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_discardable__memory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_discardable__memory.cc index e546de79d949..5721a6c215f0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_discardable__memory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_discardable__memory.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/memory/discardable_memory.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/base/memory/discardable_memory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/memory/discardable_memory.cc @@ -26,7 +26,7 @@ BASE_FEATURE(kMadvFreeDiscardableMemory, base::FEATURE_DISABLED_BY_DEFAULT); @@ -9,7 +9,7 @@ BASE_FEATURE(kDiscardableMemoryBackingTrial, "DiscardableMemoryBackingTrial", base::FEATURE_DISABLED_BY_DEFAULT); -@@ -39,7 +39,7 @@ BASE_FEATURE(kDiscardableMemoryBackingTrial, +@@ -44,7 +44,7 @@ namespace { namespace { @@ -18,7 +18,7 @@ DiscardableMemoryBacking GetBackingForFieldTrial() { DiscardableMemoryTrialGroup trial_group = -@@ -58,7 +58,7 @@ DiscardableMemoryBacking GetBackingForFieldTrial() { +@@ -63,7 +63,7 @@ DiscardableMemoryBacking GetBackingForFieldTrial() { } // namespace @@ -27,7 +27,7 @@ // Probe capabilities of this device to determine whether we should participate // in the discardable memory backing trial. -@@ -88,7 +88,7 @@ DiscardableMemory::DiscardableMemory() = default; +@@ -95,7 +95,7 @@ DiscardableMemoryBacking GetDiscardableMemoryBacking() DiscardableMemory::~DiscardableMemory() = default; DiscardableMemoryBacking GetDiscardableMemoryBacking() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_discardable__memory__internal.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_discardable__memory__internal.h index b6ab089f204e..03efc236c804 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_discardable__memory__internal.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_discardable__memory__internal.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/memory/discardable_memory_internal.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/base/memory/discardable_memory_internal.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/memory/discardable_memory_internal.h @@ -12,7 +12,7 @@ #include "base/metrics/field_trial_params.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_madv__free__discardable__memory__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_madv__free__discardable__memory__posix.cc index 671729a68d2e..0945c3f67c65 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_madv__free__discardable__memory__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_madv__free__discardable__memory__posix.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/memory/madv_free_discardable_memory_posix.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/memory/madv_free_discardable_memory_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/memory/madv_free_discardable_memory_posix.cc -@@ -310,6 +310,10 @@ void MadvFreeDiscardableMemoryPosix::SetKeepMemoryForT +@@ -305,6 +305,10 @@ bool MadvFreeDiscardableMemoryPosix::IsResident() cons bool MadvFreeDiscardableMemoryPosix::IsResident() const { DFAKE_SCOPED_RECURSIVE_LOCK(thread_collision_warner_); @@ -11,8 +11,8 @@ #if BUILDFLAG(IS_APPLE) std::vector<char> vec(allocated_pages_); #else -@@ -325,6 +329,7 @@ bool MadvFreeDiscardableMemoryPosix::IsResident() cons - return false; +@@ -321,6 +325,7 @@ bool MadvFreeDiscardableMemoryPosix::IsResident() cons + } } return true; +#endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_platform__shared__memory__region.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_platform__shared__memory__region.h index 374baa4ef15c..193ad867dcb0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_platform__shared__memory__region.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_platform__shared__memory__region.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/memory/platform_shared_memory_region.h.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/base/memory/platform_shared_memory_region.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/memory/platform_shared_memory_region.h -@@ -17,7 +17,7 @@ +@@ -18,7 +18,7 @@ #include "base/unguessable_token.h" #include "build/build_config.h" @@ -9,7 +9,7 @@ namespace content { class SandboxIPCHandler; } -@@ -84,7 +84,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion { +@@ -85,7 +85,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion { kMaxValue = GET_SHMEM_TEMP_DIR_FAILURE }; @@ -18,7 +18,7 @@ // Structure to limit access to executable region creation. struct ExecutableRegion { private: -@@ -216,7 +216,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion { +@@ -217,7 +217,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion { CheckPlatformHandlePermissionsCorrespondToMode); static PlatformSharedMemoryRegion Create(Mode mode, size_t size diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_platform__shared__memory__region__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_platform__shared__memory__region__posix.cc index e1acc2bacf25..13cb3f1cd0c6 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_platform__shared__memory__region__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_platform__shared__memory__region__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/memory/platform_shared_memory_region_posix.cc.orig 2023-02-08 09:03:45 UTC +--- src/3rdparty/chromium/base/memory/platform_shared_memory_region_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/memory/platform_shared_memory_region_posix.cc @@ -55,7 +55,7 @@ bool CheckFDAccessMode(int fd, int expected_mode) { @@ -9,7 +9,7 @@ // static ScopedFD PlatformSharedMemoryRegion::ExecutableRegion::CreateFD(size_t size) { PlatformSharedMemoryRegion region = -@@ -168,7 +168,7 @@ bool PlatformSharedMemoryRegion::ConvertToUnsafe() { +@@ -175,7 +175,7 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion: // static PlatformSharedMemoryRegion PlatformSharedMemoryRegion::Create(Mode mode, size_t size @@ -18,7 +18,7 @@ , bool executable #endif -@@ -197,7 +197,7 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion: +@@ -204,7 +204,7 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion: // flag. FilePath directory; if (!GetShmemTempDir( diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_protected__memory.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_protected__memory.h index 53c605f89aa9..924c04390201 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_protected__memory.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_protected__memory.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/memory/protected_memory.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/memory/protected_memory.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/memory/protected_memory.h -@@ -119,12 +119,12 @@ __declspec(selectany) char __stop_protected_memory; +@@ -120,12 +120,12 @@ __declspec(selectany) char __stop_protected_memory; #define DECLARE_PROTECTED_DATA constinit #define DEFINE_PROTECTED_DATA constinit __declspec(allocate("prot$mem")) @@ -15,7 +15,7 @@ // arm64 supports 4kb, 16kb, and 64kb pages. Set to the largest of 64kb as that // will guarantee the section is page aligned regardless of the choice. inline constexpr int kProtectedMemoryAlignment = 65536; -@@ -339,7 +339,7 @@ class BASE_EXPORT AutoWritableMemoryBase { +@@ -340,7 +340,7 @@ class BASE_EXPORT AutoWritableMemoryBase { // where an attacker could overwrite it with a large value and invoke code // that constructs and destructs an AutoWritableMemory. After such a call // protected memory would still be set writable because writers > 0. @@ -24,7 +24,7 @@ // On Linux, the protected memory section is not automatically page aligned. // This means that attempts to reset the protected memory region to readonly // will set some of the preceding section that is on the same page readonly -@@ -353,7 +353,7 @@ class BASE_EXPORT AutoWritableMemoryBase { +@@ -354,7 +354,7 @@ class BASE_EXPORT AutoWritableMemoryBase { #endif static inline size_t writers GUARDED_BY(writers_lock()) = 0; @@ -33,7 +33,7 @@ // On Linux, there is no guarantee the section following the protected // memory section is page aligned. This can result in attempts to change // the access permissions of the end of the protected memory section -@@ -411,7 +411,7 @@ class BASE_EXPORT AutoWritableMemoryInitializer +@@ -412,7 +412,7 @@ class BASE_EXPORT AutoWritableMemoryInitializer // the variable to something large before the section was read-only. WriterData::writers = 0; CHECK(SetProtectedSectionReadOnly()); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_protected__memory__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_protected__memory__posix.cc index 3b7ae7170a9d..af539ea52020 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_protected__memory__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_memory_protected__memory__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/memory/protected_memory_posix.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/memory/protected_memory_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/memory/protected_memory_posix.cc @@ -6,7 +6,7 @@ @@ -9,7 +9,7 @@ #include <sys/resource.h> #endif // BUILDFLAG(IS_LINUX) -@@ -34,7 +34,7 @@ bool SetMemory(void* start, void* end, int prot) { +@@ -34,7 +34,7 @@ namespace internal { } // namespace namespace internal { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.cc index 15e0a2880760..bd44eb78fe43 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/message_loop/message_pump_epoll.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/message_loop/message_pump_epoll.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/message_loop/message_pump_epoll.cc -@@ -42,7 +42,7 @@ std::atomic_bool g_use_batched_version = false; +@@ -47,7 +47,7 @@ constexpr std::pair<uint32_t, short int> kEpollToPollE std::atomic_bool g_use_poll = false; constexpr std::pair<uint32_t, short int> kEpollToPollEvents[] = { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.h index 8fcfda985316..aa273bd17f32 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_message__loop_message__pump__epoll.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/message_loop/message_pump_epoll.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/message_loop/message_pump_epoll.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/message_loop/message_pump_epoll.h -@@ -51,7 +51,11 @@ namespace base { +@@ -51,7 +51,11 @@ BASE_FEATURE(kUsePollForMessagePumpEpoll, // every call, don't do it when we have too many FDs. BASE_FEATURE(kUsePollForMessagePumpEpoll, "UsePollForMessagePumpEpoll", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_message__loop_message__pump__glib.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_message__loop_message__pump__glib.cc index 52157b1be2e5..95152a264708 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_message__loop_message__pump__glib.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_message__loop_message__pump__glib.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/message_loop/message_pump_glib.cc.orig 2022-08-31 12:19:35 UTC +--- src/3rdparty/chromium/base/message_loop/message_pump_glib.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/message_loop/message_pump_glib.cc @@ -8,6 +8,11 @@ #include <glib.h> @@ -12,7 +12,7 @@ #include "base/logging.h" #include "base/memory/raw_ptr.h" #include "base/notreached.h" -@@ -51,9 +56,13 @@ int GetTimeIntervalMilliseconds(TimeTicks next_task_ti +@@ -52,9 +57,13 @@ bool RunningOnMainThread() { } bool RunningOnMainThread() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_native__library__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_native__library__posix.cc index 93238786b383..7c30762c5214 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_native__library__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_native__library__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/native_library_posix.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/base/native_library_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/native_library_posix.cc @@ -34,7 +34,7 @@ NativeLibrary LoadNativeLibraryWithOptions(const FileP // http://crbug.com/17943, http://crbug.com/17557, http://crbug.com/36892, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_posix_can__lower__nice__to.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_posix_can__lower__nice__to.cc index 737b02c2c0c1..ddb61c81d368 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_posix_can__lower__nice__to.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_posix_can__lower__nice__to.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/posix/can_lower_nice_to.cc.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/base/posix/can_lower_nice_to.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/posix/can_lower_nice_to.cc @@ -11,8 +11,12 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_posix_file__descriptor__shuffle.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_posix_file__descriptor__shuffle.h index 7a46b4188cc7..be99e9541b46 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_posix_file__descriptor__shuffle.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_posix_file__descriptor__shuffle.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/posix/file_descriptor_shuffle.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/posix/file_descriptor_shuffle.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/posix/file_descriptor_shuffle.h @@ -26,6 +26,8 @@ #include "base/base_export.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_posix_sysctl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_posix_sysctl.cc index 7d5759301125..b0eb20bbebdd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_posix_sysctl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_posix_sysctl.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/posix/sysctl.cc.orig 2023-12-17 20:01:00 UTC +--- src/3rdparty/chromium/base/posix/sysctl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/posix/sysctl.cc @@ -4,6 +4,7 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_posix_unix__domain__socket.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_posix_unix__domain__socket.cc index b6927dc6ad07..797f95ce4387 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_posix_unix__domain__socket.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_posix_unix__domain__socket.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/posix/unix_domain_socket.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/base/posix/unix_domain_socket.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/posix/unix_domain_socket.cc -@@ -56,7 +56,7 @@ bool CreateSocketPair(ScopedFD* one, ScopedFD* two) { +@@ -47,7 +47,7 @@ bool UnixDomainSocket::EnableReceiveProcessId(int fd) // static bool UnixDomainSocket::EnableReceiveProcessId(int fd) { @@ -9,7 +9,7 @@ const int enable = 1; return setsockopt(fd, SOL_SOCKET, SO_PASSCRED, &enable, sizeof(enable)) == 0; #else -@@ -82,7 +82,7 @@ bool UnixDomainSocket::SendMsg(int fd, +@@ -73,7 +73,7 @@ bool UnixDomainSocket::SendMsg(int fd, struct cmsghdr* cmsg; msg.msg_control = control_buffer; @@ -18,7 +18,7 @@ msg.msg_controllen = checked_cast<socklen_t>(control_len); #else msg.msg_controllen = control_len; -@@ -90,7 +90,7 @@ bool UnixDomainSocket::SendMsg(int fd, +@@ -81,7 +81,7 @@ bool UnixDomainSocket::SendMsg(int fd, cmsg = CMSG_FIRSTHDR(&msg); cmsg->cmsg_level = SOL_SOCKET; cmsg->cmsg_type = SCM_RIGHTS; @@ -27,7 +27,7 @@ cmsg->cmsg_len = checked_cast<u_int>(CMSG_LEN(sizeof(int) * fds.size())); #else cmsg->cmsg_len = CMSG_LEN(sizeof(int) * fds.size()); -@@ -154,7 +154,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd, +@@ -133,7 +133,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd, const size_t kControlBufferSize = CMSG_SPACE(sizeof(int) * kMaxFileDescriptors) @@ -36,7 +36,7 @@ // macOS does not support ucred. // macOS supports xucred, but this structure is insufficient. + CMSG_SPACE(sizeof(struct ucred)) -@@ -182,7 +182,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd, +@@ -162,7 +162,7 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd, wire_fds = reinterpret_cast<int*>(CMSG_DATA(cmsg)); wire_fds_len = payload_len / sizeof(int); } @@ -45,10 +45,10 @@ // macOS does not support SCM_CREDENTIALS. if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_CREDENTIALS) { -@@ -216,6 +216,9 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd, - socklen_t pid_size = sizeof(pid); - if (getsockopt(fd, SOL_LOCAL, LOCAL_PEERPID, &pid, &pid_size) != 0) +@@ -199,6 +199,9 @@ ssize_t UnixDomainSocket::RecvMsgWithFlags(int fd, + if (getsockopt(fd, SOL_LOCAL, LOCAL_PEERPID, &pid, &pid_size) != 0) { pid = -1; + } +#elif BUILDFLAG(IS_BSD) + NOTIMPLEMENTED(); + pid = -1; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_internal__linux.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_internal__linux.h index 05dd70e96c00..6c5f8df74499 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_internal__linux.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_internal__linux.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/process/internal_linux.h.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/base/process/internal_linux.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/process/internal_linux.h -@@ -140,6 +140,9 @@ TimeDelta ClockTicksToTimeDelta(int64_t clock_ticks); +@@ -144,6 +144,9 @@ void ForEachProcessTask(base::ProcessHandle process, L // arguments to the lambda. template <typename Lambda> void ForEachProcessTask(base::ProcessHandle process, Lambda&& lambda) { @@ -10,7 +10,7 @@ // Iterate through the different threads tracked in /proc/<pid>/task. FilePath fd_path = GetProcPidDir(process).Append("task"); -@@ -159,6 +162,7 @@ void ForEachProcessTask(base::ProcessHandle process, L +@@ -166,6 +169,7 @@ void ForEachProcessTask(base::ProcessHandle process, L FilePath task_path = fd_path.Append(tid_str); lambda(tid, task_path); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_kill.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_kill.h index a215df6ca76f..964114405e2c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_kill.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_kill.h @@ -1,8 +1,8 @@ ---- src/3rdparty/chromium/base/process/kill.h.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/base/process/kill.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/process/kill.h -@@ -123,7 +123,7 @@ BASE_EXPORT TerminationStatus GetTerminationStatus(Pro - BASE_EXPORT TerminationStatus GetKnownDeadTerminationStatus( - ProcessHandle handle, int* exit_code); +@@ -123,7 +123,7 @@ GetKnownDeadTerminationStatus(ProcessHandle handle, in + BASE_EXPORT TerminationStatus + GetKnownDeadTerminationStatus(ProcessHandle handle, int* exit_code); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_kill__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_kill__posix.cc index 47dda45a443b..ce4f16998b28 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_kill__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_kill__posix.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/process/kill_posix.cc.orig 2023-04-05 11:05:06 UTC +--- src/3rdparty/chromium/base/process/kill_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/process/kill_posix.cc -@@ -157,7 +157,7 @@ void EnsureProcessTerminated(Process process) { +@@ -161,7 +161,7 @@ void EnsureProcessTerminated(Process process) { 0, new BackgroundReaper(std::move(process), Seconds(2))); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_launch.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_launch.h index a5003c3ff20a..d58769d66a94 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_launch.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_launch.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/process/launch.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/process/launch.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/process/launch.h -@@ -237,7 +237,7 @@ struct BASE_EXPORT LaunchOptions { +@@ -241,7 +241,7 @@ struct BASE_EXPORT LaunchOptions { bool clear_environment = false; #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_memory__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_memory__linux.cc index 5cb2bba4120b..53cf201c2825 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_memory__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_memory__linux.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/process/memory_linux.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/base/process/memory_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/process/memory_linux.cc -@@ -28,6 +28,7 @@ void __libc_free(void*); +@@ -28,6 +28,7 @@ namespace base { namespace base { @@ -8,7 +8,7 @@ namespace { void ReleaseReservationOrTerminate() { -@@ -37,12 +38,14 @@ void ReleaseReservationOrTerminate() { +@@ -38,12 +39,14 @@ void ReleaseReservationOrTerminate() { } } // namespace @@ -23,7 +23,7 @@ // Set the new-out of memory handler. std::set_new_handler(&ReleaseReservationOrTerminate); // If we're using glibc's allocator, the above functions will override -@@ -51,8 +54,10 @@ void EnableTerminationOnOutOfMemory() { +@@ -52,8 +55,10 @@ void EnableTerminationOnOutOfMemory() { #if PA_BUILDFLAG(USE_ALLOCATOR_SHIM) allocator_shim::SetCallNewHandlerOnMallocFailure(true); #endif @@ -34,7 +34,7 @@ // ScopedAllowBlocking() has private constructor and it can only be used in // friend classes/functions. Declaring a class is easier in this situation to // avoid adding more dependency to thread_restrictions.h because of the -@@ -110,6 +115,7 @@ bool AdjustOOMScoreHelper::AdjustOOMScore(ProcessId pr +@@ -111,6 +116,7 @@ bool AdjustOOMScore(ProcessId process, int score) { bool AdjustOOMScore(ProcessId process, int score) { return AdjustOOMScoreHelper::AdjustOOMScore(process, score); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle.cc index f5b6d46a9371..da4de5e46405 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/process/process_handle.cc.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/base/process/process_handle.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/process/process_handle.cc @@ -30,7 +30,7 @@ UniqueProcId GetUniqueIdForProcess() { : UniqueProcId(GetCurrentProcId()); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle.h index 8a388dabb032..53c7420911e9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/process/process_handle.h.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/base/process/process_handle.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/process/process_handle.h -@@ -86,7 +86,7 @@ BASE_EXPORT ProcessId GetCurrentProcId(); +@@ -86,7 +86,7 @@ BASE_EXPORT UniqueProcId GetUniqueIdForProcess(); // processes may be reused. BASE_EXPORT UniqueProcId GetUniqueIdForProcess(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle__freebsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle__freebsd.cc index 7955f1506b36..570389cc3f16 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle__freebsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle__freebsd.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/process/process_handle_freebsd.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/base/process/process_handle_freebsd.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/process/process_handle_freebsd.cc @@ -3,6 +3,7 @@ // found in the LICENSE file. @@ -8,18 +8,18 @@ #include <limits.h> #include <stddef.h> -@@ -20,10 +21,13 @@ namespace base { +@@ -20,10 +21,13 @@ ProcessId GetParentProcessId(ProcessHandle process) { ProcessId GetParentProcessId(ProcessHandle process) { struct kinfo_proc info; - size_t length; + size_t length = sizeof(struct kinfo_proc); - int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process }; + int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, process}; - if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) + if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) { + return -1; + + if (length < sizeof(struct kinfo_proc)) return -1; + } - return info.ki_ppid; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle__openbsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle__openbsd.cc index ea674c1ef515..4f73cec3813e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle__openbsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__handle__openbsd.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/process/process_handle_openbsd.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/base/process/process_handle_openbsd.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/process/process_handle_openbsd.cc -@@ -3,48 +3,112 @@ +@@ -3,17 +3,25 @@ // found in the LICENSE file. #include "base/process/process_handle.h" @@ -24,25 +24,26 @@ + struct kinfo_proc *info; size_t length; + pid_t ppid; - int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process, - sizeof(struct kinfo_proc), 0 }; - - if (sysctl(mib, std::size(mib), NULL, &length, NULL, 0) < 0) + int mib[] = { + CTL_KERN, KERN_PROC, KERN_PROC_PID, process, sizeof(struct kinfo_proc), + 0}; +@@ -22,37 +30,87 @@ ProcessId GetParentProcessId(ProcessHandle process) { return -1; + } - mib[5] = (length / sizeof(struct kinfo_proc)); + info = (struct kinfo_proc *)malloc(length); -- if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) +- if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) { - return -1; + mib[5] = static_cast<int>((length / sizeof(struct kinfo_proc))); - -- return info.p_ppid; ++ + if (sysctl(mib, std::size(mib), info, &length, NULL, 0) < 0) { + ppid = -1; + goto out; -+ } -+ + } + +- return info.p_ppid; + ppid = info->p_ppid; + +out: @@ -58,24 +59,17 @@ + char **retvalargs, *cpath, retval[PATH_MAX]; + int cnt; size_t len; -- int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process, -- sizeof(struct kinfo_proc), 0 }; +- int mib[] = { +- CTL_KERN, KERN_PROC, KERN_PROC_PID, process, sizeof(struct kinfo_proc), +- 0}; + char *tokens[2]; + struct stat sb; + FilePath result; -- if (sysctl(mib, std::size(mib), NULL, &len, NULL, 0) == -1) -- return FilePath(); -- mib[5] = (len / sizeof(struct kinfo_proc)); -- if (sysctl(mib, std::size(mib), &kp, &len, NULL, 0) < 0) +- if (sysctl(mib, std::size(mib), NULL, &len, NULL, 0) == -1) { - return FilePath(); -- if ((kp.p_flag & P_SYSTEM) != 0) -- return FilePath(); -- if (strcmp(kp.p_comm, "chrome") == 0) -- return FilePath(kp.p_comm); + int mib[] = { CTL_KERN, KERN_PROC_ARGS, process, KERN_PROC_ARGV }; - -- return FilePath(); ++ + if ((cpath = getenv("CHROME_EXE_PATH")) != NULL) + result = FilePath(cpath); + else @@ -125,8 +119,19 @@ + result = FilePath(retval); + } + } -+ } -+ + } +- mib[5] = (len / sizeof(struct kinfo_proc)); +- if (sysctl(mib, std::size(mib), &kp, &len, NULL, 0) < 0) { +- return FilePath(); +- } +- if ((kp.p_flag & P_SYSTEM) != 0) { +- return FilePath(); +- } +- if (strcmp(kp.p_comm, "chrome") == 0) { +- return FilePath(kp.p_comm); +- } + +- return FilePath(); + return result; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__iterator__freebsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__iterator__freebsd.cc index 8e5f1e5f45b9..c86cadfdf237 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__iterator__freebsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__iterator__freebsd.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/base/process/process_iterator_freebsd.cc.orig 2023-04-05 11:05:06 UTC +--- src/3rdparty/chromium/base/process/process_iterator_freebsd.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/process/process_iterator_freebsd.cc -@@ -18,7 +18,7 @@ namespace base { +@@ -18,7 +18,7 @@ ProcessIterator::ProcessIterator(const ProcessFilter* 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() }; +- 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; @@ -23,19 +23,20 @@ } else { // Got the list, just make sure we're sized exactly right - size_t num_of_kinfo_proc = len / sizeof(struct kinfo_proc); -+ num_of_kinfo_proc = len / sizeof(struct kinfo_proc); ++ num_of_kinfo_proc = len / sizeof(struct kinfo_proc); kinfo_procs_.resize(num_of_kinfo_proc); done = true; } -@@ -68,18 +68,13 @@ bool ProcessIterator::CheckForNextProcess() { +@@ -68,19 +68,14 @@ 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_]; -- int mib[] = { CTL_KERN, KERN_PROC_ARGS, kinfo.ki_pid }; +- int mib[] = {CTL_KERN, KERN_PROC_ARGS, kinfo.ki_pid}; + int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_ARGS, kinfo.ki_pid }; - if ((kinfo.ki_pid > 0) && (kinfo.ki_stat == SZOMB)) + if ((kinfo.ki_pid > 0) && (kinfo.ki_stat == SZOMB)) { continue; + } - length = 0; - if (sysctl(mib, std::size(mib), NULL, &length, NULL, 0) < 0) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__iterator__openbsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__iterator__openbsd.cc index a74f523e9d2a..cd802d16f7e7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__iterator__openbsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__iterator__openbsd.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/process/process_iterator_openbsd.cc.orig 2023-04-05 11:05:06 UTC +--- src/3rdparty/chromium/base/process/process_iterator_openbsd.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/process/process_iterator_openbsd.cc @@ -6,6 +6,9 @@ @@ -10,13 +10,14 @@ #include <sys/sysctl.h> #include "base/logging.h" -@@ -16,12 +19,13 @@ namespace base { - +@@ -17,12 +20,13 @@ ProcessIterator::ProcessIterator(const ProcessFilter* 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<int>(getuid()), - sizeof(struct kinfo_proc), 0 }; + int mib[] = { +- CTL_KERN, KERN_PROC, KERN_PROC_UID, getuid(), sizeof(struct kinfo_proc), +- 0}; ++ CTL_KERN, KERN_PROC, KERN_PROC_UID, static_cast<int>(getuid()), ++ sizeof(struct kinfo_proc), 0 }; bool done = false; int try_num = 1; @@ -25,7 +26,7 @@ do { size_t len = 0; -@@ -30,7 +34,7 @@ ProcessIterator::ProcessIterator(const ProcessFilter* +@@ -31,7 +35,7 @@ ProcessIterator::ProcessIterator(const ProcessFilter* kinfo_procs_.resize(0); done = true; } else { @@ -34,7 +35,7 @@ // Leave some spare room for process table growth (more could show up // between when we check and now) num_of_kinfo_proc += 16; -@@ -46,7 +50,7 @@ ProcessIterator::ProcessIterator(const ProcessFilter* +@@ -47,7 +51,7 @@ ProcessIterator::ProcessIterator(const ProcessFilter* } } else { // Got the list, just make sure we're sized exactly right diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics.cc index 172c53d091da..0ee01ecc8886 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/process/process_metrics.cc.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/base/process/process_metrics.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/process/process_metrics.cc -@@ -17,7 +17,7 @@ namespace base { +@@ -17,7 +17,7 @@ namespace { namespace { #if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ @@ -35,7 +35,7 @@ double ProcessMetrics::GetPlatformIndependentCPUUsage( TimeDelta cumulative_cpu) { TimeTicks time = TimeTicks::Now(); -@@ -129,10 +128,9 @@ ProcessMetrics::GetPlatformIndependentCPUUsage() { +@@ -130,10 +129,9 @@ ProcessMetrics::GetPlatformIndependentCPUUsage() { return GetPlatformIndependentCPUUsage(cpu_usage); }); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics.h index c3620d9ab69b..1358224d3597 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/process/process_metrics.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/process/process_metrics.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/process/process_metrics.h -@@ -38,7 +38,7 @@ +@@ -39,7 +39,7 @@ #endif #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ @@ -9,7 +9,7 @@ #include <string> #include <utility> #include <vector> -@@ -48,7 +48,7 @@ +@@ -49,7 +49,7 @@ namespace base { namespace base { @@ -18,16 +18,7 @@ // Minor and major page fault counts since the process creation. // Both counts are process-wide, and exclude child processes. // -@@ -113,7 +113,7 @@ class BASE_EXPORT ProcessMetrics { - // convenience wrapper for CreateProcessMetrics(). - static std::unique_ptr<ProcessMetrics> CreateCurrentProcessMetrics(); - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) - // Resident Set Size is a Linux/Android specific memory concept. Do not - // attempt to extend this to other platforms. - BASE_EXPORT size_t GetResidentSetSize() const; -@@ -147,7 +147,7 @@ class BASE_EXPORT ProcessMetrics { +@@ -179,7 +179,7 @@ class BASE_EXPORT ProcessMetrics { base::expected<TimeDelta, ProcessCPUUsageError> GetCumulativeCPUUsage(); #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ @@ -36,16 +27,16 @@ // Emits the cumulative CPU usage for all currently active threads since they // were started into the output parameter (replacing its current contents). // Threads that have already terminated will not be reported. Thus, the sum of -@@ -192,7 +192,7 @@ class BASE_EXPORT ProcessMetrics { +@@ -224,7 +224,7 @@ class BASE_EXPORT ProcessMetrics { int GetOpenFdSoftLimit() const; #endif // BUILDFLAG(IS_POSIX) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) - // Bytes of swap as reported by /proc/[pid]/status. - uint64_t GetVmSwapBytes() const; - -@@ -213,7 +213,7 @@ class BASE_EXPORT ProcessMetrics { + // Minor and major page fault count as reported by /proc/[pid]/stat. + // Returns true for success. + bool GetPageFaultCounts(PageFaultCounts* counts) const; +@@ -242,7 +242,7 @@ class BASE_EXPORT ProcessMetrics { #endif // !BUILDFLAG(IS_MAC) #if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ @@ -54,7 +45,7 @@ int CalculateIdleWakeupsPerSecond(uint64_t absolute_idle_wakeups); #endif #if BUILDFLAG(IS_APPLE) -@@ -235,12 +235,10 @@ class BASE_EXPORT ProcessMetrics { +@@ -264,12 +264,10 @@ class BASE_EXPORT ProcessMetrics { // Used to store the previous times and CPU usage counts so we can // compute the CPU usage between calls. TimeTicks last_cpu_time_; @@ -68,7 +59,7 @@ // Same thing for idle wakeups. TimeTicks last_idle_wakeups_time_; uint64_t last_absolute_idle_wakeups_; -@@ -281,7 +279,7 @@ BASE_EXPORT void IncreaseFdLimitTo(unsigned int max_de +@@ -310,7 +308,7 @@ BASE_EXPORT void IncreaseFdLimitTo(unsigned int max_de #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_AIX) || \ @@ -77,7 +68,7 @@ // Data about system-wide memory consumption. Values are in KB. Available on // Windows, Mac, Linux, Android and Chrome OS. // -@@ -316,7 +314,7 @@ struct BASE_EXPORT SystemMemoryInfoKB { +@@ -345,7 +343,7 @@ struct BASE_EXPORT SystemMemoryInfoKB { #endif #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ @@ -86,7 +77,7 @@ // This provides an estimate of available memory as described here: // https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773 // NOTE: this is ONLY valid in kernels 3.14 and up. Its value will always -@@ -331,7 +329,7 @@ struct BASE_EXPORT SystemMemoryInfoKB { +@@ -360,7 +358,7 @@ struct BASE_EXPORT SystemMemoryInfoKB { #endif #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ @@ -95,7 +86,7 @@ int buffers = 0; int cached = 0; int active_anon = 0; -@@ -368,7 +366,7 @@ BASE_EXPORT bool GetSystemMemoryInfo(SystemMemoryInfoK +@@ -397,7 +395,7 @@ BASE_EXPORT bool GetSystemMemoryInfo(SystemMemoryInfoK // BUILDFLAG(IS_FUCHSIA) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ @@ -104,7 +95,7 @@ // Parse the data found in /proc/<pid>/stat and return the sum of the // CPU-related ticks. Returns -1 on parse error. // Exposed for testing. -@@ -563,7 +561,7 @@ class BASE_EXPORT SystemMetrics { +@@ -591,7 +589,7 @@ class BASE_EXPORT SystemMetrics { FRIEND_TEST_ALL_PREFIXES(SystemMetricsTest, SystemMetrics); size_t committed_memory_; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics__freebsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics__freebsd.cc index dcd0e2e90543..b0cb374e9220 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics__freebsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics__freebsd.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/process/process_metrics_freebsd.cc.orig 2024-10-23 07:00:35 UTC +--- src/3rdparty/chromium/base/process/process_metrics_freebsd.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/process/process_metrics_freebsd.cc -@@ -3,43 +3,58 @@ +@@ -3,41 +3,92 @@ // found in the LICENSE file. #include "base/process/process_metrics.h" @@ -26,8 +26,7 @@ + int pageshift = 0; -ProcessMetrics::ProcessMetrics(ProcessHandle process) -- : process_(process), -- last_cpu_(0) {} +- : process_(process), last_cpu_(0) {} + while (pagesize > 1) { + pageshift++; + pagesize >>= 1; @@ -47,36 +46,68 @@ -base::expected<double, ProcessCPUUsageError> -ProcessMetrics::GetPlatformIndependentCPUUsage() { -+base::expected<TimeDelta, ProcessCPUUsageError> -+ProcessMetrics::GetCumulativeCPUUsage() { - struct kinfo_proc info; +- struct kinfo_proc info; - int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_PID, process_}; - size_t length = sizeof(info); -+ size_t length = sizeof(struct kinfo_proc); -+ struct timeval tv; ++base::expected<ProcessMemoryInfo, ProcessUsageError> ++ProcessMetrics::GetMemoryInfo() const { ++ ProcessMemoryInfo memory_info; ++ kvm_t *kd = kvm_open(nullptr, "/dev/null", nullptr, O_RDONLY, "kvm_open"); ++ struct kinfo_proc *pp; ++ int nproc; -+ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process_ }; -+ - if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) +- if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) { - return base::unexpected(ProcessCPUUsageError::kSystemError); -+ return base::ok(TimeDelta()); ++ if (kd == nullptr) { ++ return base::unexpected(ProcessUsageError::kSystemError); + } - return base::ok(double{info.ki_pctcpu} / FSCALE * 100.0); -+ return base::ok(Microseconds(info.ki_runtime)); ++ if ((pp = kvm_getprocs(kd, KERN_PROC_PID, process_, &nproc)) == nullptr) { ++ kvm_close(kd); ++ return base::unexpected(ProcessUsageError::kProcessNotFound); ++ } ++ ++ if (nproc > 0) { ++ memory_info.resident_set_bytes = pp->ki_rssize << GetPageShift(); ++ } else { ++ kvm_close(kd); ++ return base::unexpected(ProcessUsageError::kProcessNotFound); ++ } ++ ++ kvm_close(kd); ++ return memory_info; } --base::expected<TimeDelta, ProcessCPUUsageError> --ProcessMetrics::GetCumulativeCPUUsage() { + base::expected<TimeDelta, ProcessCPUUsageError> + ProcessMetrics::GetCumulativeCPUUsage() { - NOTREACHED(); --} -- ++ struct kinfo_proc info; ++ size_t length = sizeof(struct kinfo_proc); ++ struct timeval tv; ++ ++ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process_ }; ++ ++ if (process_ == 0) { ++ return base::unexpected(ProcessCPUUsageError::kSystemError); ++ } ++ ++ if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) { ++ return base::unexpected(ProcessCPUUsageError::kSystemError); ++ } ++ ++ if (length == 0) { ++ return base::unexpected(ProcessCPUUsageError::kProcessNotFound); ++ } ++ ++ return base::ok(Microseconds(info.ki_runtime)); + } + size_t GetSystemCommitCharge() { - int mib[2], pagesize; - unsigned long mem_total, mem_free, mem_inactive; -@@ -61,6 +76,230 @@ size_t GetSystemCommitCharge() { +@@ -64,6 +115,176 @@ size_t GetSystemCommitCharge() { pagesize = getpagesize(); - return mem_total - (mem_free*pagesize) - (mem_inactive*pagesize); + return mem_total - (mem_free * pagesize) - (mem_inactive * pagesize); +} + +int64_t GetNumberOfThreads(ProcessHandle process) { @@ -159,60 +190,6 @@ + return total_count; +} + -+size_t ProcessMetrics::GetResidentSetSize() const { -+ kvm_t *kd = kvm_open(nullptr, "/dev/null", nullptr, O_RDONLY, "kvm_open"); -+ -+ if (kd == nullptr) -+ return 0; -+ -+ struct kinfo_proc *pp; -+ int nproc; -+ -+ if ((pp = kvm_getprocs(kd, KERN_PROC_PID, process_, &nproc)) == nullptr) { -+ kvm_close(kd); -+ return 0; -+ } -+ -+ size_t rss; -+ -+ if (nproc > 0) { -+ rss = pp->ki_rssize << GetPageShift(); -+ } else { -+ rss = 0; -+ } -+ -+ kvm_close(kd); -+ return rss; -+} -+ -+uint64_t ProcessMetrics::GetVmSwapBytes() const { -+ kvm_t *kd = kvm_open(nullptr, "/dev/null", nullptr, O_RDONLY, "kvm_open"); -+ -+ if (kd == nullptr) -+ return 0; -+ -+ struct kinfo_proc *pp; -+ int nproc; -+ -+ if ((pp = kvm_getprocs(kd, KERN_PROC_PID, process_, &nproc)) == nullptr) { -+ kvm_close(kd); -+ return 0; -+ } -+ -+ size_t swrss; -+ -+ if (nproc > 0) { -+ swrss = pp->ki_swrss > pp->ki_rssize -+ ? (pp->ki_swrss - pp->ki_rssize) << GetPageShift() -+ : 0; -+ } else { -+ swrss = 0; -+ } -+ -+ kvm_close(kd); -+ return swrss; -+} -+ +int ProcessMetrics::GetIdleWakeupsPerSecond() { + NOTIMPLEMENTED(); + return 0; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics__openbsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics__openbsd.cc index e174db973827..b53e0b760a66 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics__openbsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics__openbsd.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/process/process_metrics_openbsd.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/process/process_metrics_openbsd.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/process/process_metrics_openbsd.cc -@@ -6,74 +6,50 @@ +@@ -6,73 +6,85 @@ #include <stddef.h> #include <stdint.h> @@ -22,119 +22,127 @@ +ProcessMetrics::ProcessMetrics(ProcessHandle process) : process_(process) {} -base::expected<int, ProcessCPUUsageError> GetProcessCPU(pid_t pid) { -+base::expected<TimeDelta, ProcessCPUUsageError> -+ProcessMetrics::GetCumulativeCPUUsage() { ++base::expected<ProcessMemoryInfo, ProcessUsageError> ++ProcessMetrics::GetMemoryInfo() const { ++ ProcessMemoryInfo memory_info; struct kinfo_proc info; - size_t length; -- int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, pid, -- sizeof(struct kinfo_proc), 0 }; +- int mib[] = { +- CTL_KERN, KERN_PROC, KERN_PROC_PID, pid, sizeof(struct kinfo_proc), 0}; + size_t length = sizeof(struct kinfo_proc); -+ struct timeval tv; - if (sysctl(mib, std::size(mib), NULL, &length, NULL, 0) < 0) { - return base::unexpected(ProcessCPUUsageError::kSystemError); -- } + int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process_, + sizeof(struct kinfo_proc), 1 }; ++ ++ if (process_ == 0) { ++ return base::unexpected(ProcessUsageError::kSystemError); + } - mib[5] = (length / sizeof(struct kinfo_proc)); - if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) { - return base::unexpected(ProcessCPUUsageError::kSystemError); +- return base::unexpected(ProcessCPUUsageError::kSystemError); ++ return base::unexpected(ProcessUsageError::kSystemError); } - return base::ok(info.p_pctcpu); -+ tv.tv_sec = info.p_rtime_sec; -+ tv.tv_usec = info.p_rtime_usec; -+ -+ return base::ok(Microseconds(TimeValToMicroseconds(tv))); - } +-} ++ if (length == 0) { ++ return base::unexpected(ProcessUsageError::kProcessNotFound); ++ } -} // namespace -- - // static - std::unique_ptr<ProcessMetrics> ProcessMetrics::CreateProcessMetrics( - ProcessHandle process) { - return WrapUnique(new ProcessMetrics(process)); ++ memory_info.resident_set_bytes = ++ checked_cast<uint64_t>(info.p_vm_rssize * getpagesize()); + +-// static +-std::unique_ptr<ProcessMetrics> ProcessMetrics::CreateProcessMetrics( +- ProcessHandle process) { +- return WrapUnique(new ProcessMetrics(process)); ++ return memory_info; } -base::expected<double, ProcessCPUUsageError> -ProcessMetrics::GetPlatformIndependentCPUUsage() { - TimeTicks time = TimeTicks::Now(); -- ++base::expected<TimeDelta, ProcessCPUUsageError> ++ProcessMetrics::GetCumulativeCPUUsage() { ++ struct kinfo_proc info; ++ size_t length = sizeof(struct kinfo_proc); ++ struct timeval tv; + - if (last_cpu_time_.is_zero()) { - // First call, just set the last values. - last_cpu_time_ = time; - return base::ok(0.0); -- } -- ++ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, process_, ++ sizeof(struct kinfo_proc), 1 }; ++ ++ if (process_ == 0) { ++ return base::unexpected(ProcessCPUUsageError::kSystemError); + } + - const base::expected<int, ProcessCPUUsageError> cpu = GetProcessCPU(process_); - if (!cpu.has_value()) { - return base::unexpected(cpu.error()); -- } -- ++ if (sysctl(mib, std::size(mib), &info, &length, NULL, 0) < 0) { ++ return base::unexpected(ProcessCPUUsageError::kSystemError); + } + - last_cpu_time_ = time; - return base::ok(double{cpu.value()} / FSCALE * 100.0); --} -- ++ if (length == 0) { ++ return base::unexpected(ProcessCPUUsageError::kProcessNotFound); ++ } ++ ++ tv.tv_sec = info.p_rtime_sec; ++ tv.tv_usec = info.p_rtime_usec; ++ ++ return base::ok(Microseconds(TimeValToMicroseconds(tv))); + } + -base::expected<TimeDelta, ProcessCPUUsageError> -ProcessMetrics::GetCumulativeCPUUsage() { - NOTREACHED(); --} -- ++// static ++std::unique_ptr<ProcessMetrics> ProcessMetrics::CreateProcessMetrics( ++ ProcessHandle process) { ++ return WrapUnique(new ProcessMetrics(process)); + } + -ProcessMetrics::ProcessMetrics(ProcessHandle process) -- : process_(process), -- last_cpu_(0) {} +- : process_(process), last_cpu_(0) {} - size_t GetSystemCommitCharge() { - int mib[] = { CTL_VM, VM_METER }; + int mib[] = {CTL_VM, VM_METER}; - int pagesize; + size_t pagesize; struct vmtotal vmtotal; unsigned long mem_total, mem_free, mem_inactive; size_t len = sizeof(vmtotal); -@@ -85,9 +61,136 @@ size_t GetSystemCommitCharge() { +@@ -85,9 +97,115 @@ size_t GetSystemCommitCharge() { mem_free = vmtotal.t_free; mem_inactive = vmtotal.t_vm - vmtotal.t_avm; - pagesize = getpagesize(); + pagesize = checked_cast<size_t>(getpagesize()); - return mem_total - (mem_free*pagesize) - (mem_inactive*pagesize); + return mem_total - (mem_free * pagesize) - (mem_inactive * pagesize); +} + +int ProcessMetrics::GetOpenFdCount() const { -+#if 0 -+ struct kinfo_file *files; -+ kvm_t *kd = NULL; -+ int total_count = 0; -+ char errbuf[_POSIX2_LINE_MAX]; -+ -+ if ((kd = kvm_openfiles(NULL, NULL, NULL, KVM_NO_FILES, errbuf)) == NULL) -+ goto out; -+ -+ if ((files = kvm_getfiles(kd, KERN_FILE_BYPID, process_, -+ sizeof(struct kinfo_file), &total_count)) == NULL) { -+ total_count = 0; -+ goto out; -+ } -+ -+ kvm_close(kd); -+ -+out: -+ return total_count; -+#endif -+ return getdtablecount(); ++ return (process_ == getpid()) ? getdtablecount() : -1; +} + +int ProcessMetrics::GetOpenFdSoftLimit() const { + return getdtablesize(); -+// return GetMaxFds(); +} + -+uint64_t ProcessMetrics::GetVmSwapBytes() const { ++bool ProcessMetrics::GetPageFaultCounts(PageFaultCounts* counts) const { + NOTIMPLEMENTED(); -+ return 0; ++ return false; +} + +bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo) { @@ -164,14 +172,14 @@ + res.Set("available", available); + res.Set("buffers", buffers); + res.Set("cached", cached); -+ res.Set("active_anon", active_anon); ++ res.Set("active_anon", active_anon); + res.Set("inactive_anon", inactive_anon); + res.Set("active_file", active_file); + res.Set("inactive_file", inactive_file); + res.Set("swap_total", swap_total); + res.Set("swap_free", swap_free); + res.Set("swap_used", swap_total - swap_free); -+ res.Set("dirty", dirty); ++ res.Set("dirty", dirty); + res.Set("reclaimable", reclaimable); + + NOTIMPLEMENTED(); @@ -188,7 +196,7 @@ + NOTIMPLEMENTED(); + + return res; -+} ++} + +SystemDiskInfo::SystemDiskInfo() { + reads = 0; @@ -210,7 +218,7 @@ + +Value::Dict SystemDiskInfo::ToDict() const { + Value::Dict res; -+ ++ + // Write out uint64_t variables as doubles. + // Note: this may discard some precision, but for JS there's no other option. + res.Set("reads", static_cast<double>(reads)); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics__posix.cc index f820e17841e2..d72311045aed 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__metrics__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/process/process_metrics_posix.cc.orig 2023-07-16 15:47:57 UTC +--- src/3rdparty/chromium/base/process/process_metrics_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/process/process_metrics_posix.cc @@ -21,6 +21,8 @@ @@ -9,7 +9,7 @@ #else #include <malloc.h> #endif -@@ -134,7 +136,7 @@ size_t ProcessMetrics::GetMallocUsage() { +@@ -136,7 +138,7 @@ size_t ProcessMetrics::GetMallocUsage() { return stats.size_in_use; #elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) return GetMallocUsageMallinfo(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__posix.cc index 34cf2ffe2a1f..1ce8f0aca753 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_process_process__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/process/process_posix.cc.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/base/process/process_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/process/process_posix.cc @@ -23,10 +23,15 @@ #include "base/trace_event/base_tracing.h" @@ -17,7 +17,7 @@ #if BUILDFLAG(CLANG_PROFILING) #include "base/test/clang_profiling.h" #endif -@@ -99,7 +104,7 @@ bool WaitpidWithTimeout(base::ProcessHandle handle, +@@ -100,7 +105,7 @@ bool WaitpidWithTimeout(base::ProcessHandle handle, } #endif @@ -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. -@@ -376,7 +381,7 @@ bool Process::WaitForExitWithTimeoutImpl(base::Process +@@ -379,7 +384,7 @@ bool Process::WaitForExitWithTimeoutImpl(base::Process 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 -@@ -413,7 +418,56 @@ void Process::Exited(int exit_code) const { +@@ -416,7 +421,56 @@ int Process::GetOSPriority() const { int Process::GetOSPriority() const { DCHECK(IsValid()); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_module__cache.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_module__cache.cc index 362e3cc344d3..ee68820c9c05 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_module__cache.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_module__cache.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/profiler/module_cache.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/base/profiler/module_cache.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/profiler/module_cache.cc @@ -38,7 +38,7 @@ std::string TransformModuleIDToSymbolServerFormat(std: // Android and Linux Chrome builds use the "breakpad" format to index their diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.cc index 965bc8835737..bf4c85fb18db 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/profiler/sampling_profiler_thread_token.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/base/profiler/sampling_profiler_thread_token.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/profiler/sampling_profiler_thread_token.cc @@ -6,7 +6,7 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.h index 80572813c435..8c11aeb1b869 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_sampling__profiler__thread__token.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/profiler/sampling_profiler_thread_token.h.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/base/profiler/sampling_profiler_thread_token.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/profiler/sampling_profiler_thread_token.h @@ -13,7 +13,7 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_stack__base__address__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_stack__base__address__posix.cc index 6a38a1e521d8..4cd7d71ad605 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_stack__base__address__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_stack__base__address__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/profiler/stack_base_address_posix.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/base/profiler/stack_base_address_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/profiler/stack_base_address_posix.cc @@ -17,6 +17,10 @@ #include "base/files/scoped_file.h" @@ -11,7 +11,7 @@ #if BUILDFLAG(IS_CHROMEOS) extern "C" void* __libc_stack_end; #endif -@@ -45,7 +49,21 @@ std::optional<uintptr_t> GetAndroidMainThreadStackBase +@@ -47,7 +51,21 @@ uintptr_t GetThreadStackBaseAddressImpl(pthread_t pthr #if !BUILDFLAG(IS_LINUX) uintptr_t GetThreadStackBaseAddressImpl(pthread_t pthread_id) { @@ -33,7 +33,7 @@ // pthread_getattr_np will crash on ChromeOS & Linux if we are in the sandbox // and pthread_id refers to a different thread, due to the use of // sched_getaffinity(). -@@ -58,12 +76,14 @@ uintptr_t GetThreadStackBaseAddressImpl(pthread_t pthr +@@ -60,12 +78,14 @@ uintptr_t GetThreadStackBaseAddressImpl(pthread_t pthr << logging::SystemErrorCodeToString(result); // See crbug.com/617730 for limitations of this approach on Linux-like // systems. @@ -48,7 +48,7 @@ const uintptr_t base_address = reinterpret_cast<uintptr_t>(address) + size; return base_address; } -@@ -80,7 +100,7 @@ std::optional<uintptr_t> GetThreadStackBaseAddress(Pla +@@ -82,7 +102,7 @@ std::optional<uintptr_t> GetThreadStackBaseAddress(Pla // trying to work around the problem. return std::nullopt; #else diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_stack__sampling__profiler__test__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_stack__sampling__profiler__test__util.cc index 5f7bc802415a..2f3830567c03 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_stack__sampling__profiler__test__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_stack__sampling__profiler__test__util.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/profiler/stack_sampling_profiler_test_util.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/base/profiler/stack_sampling_profiler_test_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/profiler/stack_sampling_profiler_test_util.cc -@@ -42,7 +42,7 @@ +@@ -50,7 +50,7 @@ // Fortunately, it provides _alloca, which functions identically. #include <malloc.h> #define alloca _alloca diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_thread__delegate__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_thread__delegate__posix.cc index 0389fddac958..80533f691474 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_thread__delegate__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_profiler_thread__delegate__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/profiler/thread_delegate_posix.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/base/profiler/thread_delegate_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/profiler/thread_delegate_posix.cc @@ -19,7 +19,7 @@ #include "base/process/process_handle.h" @@ -9,7 +9,7 @@ #include "base/profiler/stack_base_address_posix.h" #endif -@@ -28,7 +28,7 @@ namespace base { +@@ -28,7 +28,7 @@ std::unique_ptr<ThreadDelegatePosix> ThreadDelegatePos std::unique_ptr<ThreadDelegatePosix> ThreadDelegatePosix::Create( SamplingProfilerThreadToken thread_token) { std::optional<uintptr_t> base_address; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_rand__util.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_rand__util.h index dbaa0747aaf6..30bea17db220 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_rand__util.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_rand__util.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/rand_util.h.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/base/rand_util.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/rand_util.h -@@ -147,7 +147,7 @@ void RandomShuffle(Itr first, Itr last) { +@@ -209,7 +209,7 @@ void RandomShuffle(Itr first, Itr last) { std::shuffle(first, last, RandomBitGenerator()); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_rand__util__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_rand__util__posix.cc index be02544e9606..a38e3ec2d15e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_rand__util__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_rand__util__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/rand_util_posix.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/rand_util_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/rand_util_posix.cc @@ -28,7 +28,7 @@ #include "base/time/time.h" @@ -9,7 +9,7 @@ #include "third_party/lss/linux_syscall_support.h" #elif BUILDFLAG(IS_MAC) // TODO(crbug.com/40641285): Waiting for this header to appear in the iOS SDK. -@@ -44,6 +44,7 @@ namespace base { +@@ -44,6 +44,7 @@ namespace { namespace { @@ -30,7 +30,7 @@ // TODO(pasko): Unify reading kernel version numbers in: // mojo/core/channel_linux.cc // chrome/browser/android/seccomp_support_detector.cc -@@ -177,6 +179,7 @@ bool UseBoringSSLForRandBytes() { +@@ -156,6 +158,7 @@ void RandBytesInternal(span<uint8_t> output, bool avoi namespace { void RandBytesInternal(span<uint8_t> output, bool avoid_allocation) { @@ -38,7 +38,7 @@ #if !BUILDFLAG(IS_NACL) // The BoringSSL experiment takes priority over everything else. if (!avoid_allocation && internal::UseBoringSSLForRandBytes()) { -@@ -213,6 +216,9 @@ void RandBytesInternal(span<uint8_t> output, bool avoi +@@ -190,6 +193,9 @@ void RandBytesInternal(span<uint8_t> output, bool avoi const int urandom_fd = GetUrandomFD(); const bool success = ReadFromFD(urandom_fd, as_writable_chars(output)); CHECK(success); @@ -48,7 +48,7 @@ } } // namespace -@@ -232,9 +238,11 @@ void RandBytes(span<uint8_t> output) { +@@ -209,9 +215,11 @@ void RandBytes(span<uint8_t> output) { RandBytesInternal(output, /*avoid_allocation=*/false); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_synchronization_cancelable__event.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_synchronization_cancelable__event.h new file mode 100644 index 000000000000..5ebb8eaaf763 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_synchronization_cancelable__event.h @@ -0,0 +1,20 @@ +--- src/3rdparty/chromium/base/synchronization/cancelable_event.h.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/base/synchronization/cancelable_event.h +@@ -11,7 +11,7 @@ + + #if BUILDFLAG(IS_WIN) + #include <windows.h> +-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + #include <semaphore.h> + #else + #include "base/synchronization/waitable_event.h" +@@ -49,7 +49,7 @@ class BASE_EXPORT CancelableEvent { + + #if BUILDFLAG(IS_WIN) + using NativeHandle = HANDLE; +-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) + using NativeHandle = sem_t; + #else + using NativeHandle = WaitableEvent; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_synchronization_lock__impl.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_synchronization_lock__impl.h index 5fc6aab99637..453433093653 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_synchronization_lock__impl.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_synchronization_lock__impl.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/synchronization/lock_impl.h.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/base/synchronization/lock_impl.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/synchronization/lock_impl.h @@ -109,6 +109,10 @@ void LockImpl::Unlock() { } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_syslog__logging.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_syslog__logging.cc index 615919546f5c..62c01138987e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_syslog__logging.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_syslog__logging.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/syslog_logging.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/base/syslog_logging.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/syslog_logging.cc @@ -17,7 +17,7 @@ #include "base/strings/string_util.h" @@ -9,10 +9,10 @@ // <syslog.h> defines LOG_INFO, LOG_WARNING macros that could conflict with // base::LOG_INFO, base::LOG_WARNING. #include <syslog.h> -@@ -149,7 +149,7 @@ EventLogMessage::~EventLogMessage() { - - if (user_sid != nullptr) +@@ -151,7 +151,7 @@ EventLogMessage::~EventLogMessage() { + if (user_sid != nullptr) { ::LocalFree(user_sid); + } -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) const char kEventSource[] = "chrome"; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info.cc index ac1f7067e5dd..2fc0f674e1d2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/system/sys_info.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/base/system/sys_info.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/system/sys_info.cc -@@ -223,7 +223,7 @@ std::string SysInfo::HardwareModelName() { +@@ -224,7 +224,7 @@ void SysInfo::GetHardwareInfo(base::OnceCallback<void( #endif void SysInfo::GetHardwareInfo(base::OnceCallback<void(HardwareInfo)> callback) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info.h index 3e344184962a..6b25c86507ea 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/system/sys_info.h.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/base/system/sys_info.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/system/sys_info.h -@@ -325,6 +325,8 @@ class BASE_EXPORT SysInfo { +@@ -332,6 +332,8 @@ class BASE_EXPORT SysInfo { static void ResetCpuSecurityMitigationsEnabledForTesting(); #endif @@ -9,7 +9,7 @@ private: friend class test::ScopedAmountOfPhysicalMemoryOverride; FRIEND_TEST_ALL_PREFIXES(SysInfoTest, AmountOfAvailablePhysicalMemory); -@@ -337,7 +339,7 @@ class BASE_EXPORT SysInfo { +@@ -344,7 +346,7 @@ class BASE_EXPORT SysInfo { static HardwareInfo GetHardwareInfoSync(); #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info__freebsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info__freebsd.cc index f9d08851eea0..2bd9b164b650 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info__freebsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info__freebsd.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/system/sys_info_freebsd.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/system/sys_info_freebsd.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/system/sys_info_freebsd.cc @@ -9,28 +9,103 @@ #include <sys/sysctl.h> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info__openbsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info__openbsd.cc index 12f3543c4f3f..dd5374328c13 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info__openbsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info__openbsd.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/system/sys_info_openbsd.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/system/sys_info_openbsd.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/system/sys_info_openbsd.cc @@ -12,6 +12,7 @@ @@ -8,7 +8,7 @@ namespace { -@@ -27,9 +28,14 @@ uint64_t AmountOfMemory(int pages_name) { +@@ -28,9 +29,14 @@ namespace base { namespace base { @@ -24,7 +24,7 @@ int ncpu; size_t size = sizeof(ncpu); if (sysctl(mib, std::size(mib), &ncpu, &size, NULL, 0) < 0) { -@@ -40,10 +46,26 @@ int SysInfo::NumberOfProcessors() { +@@ -41,10 +47,26 @@ uint64_t SysInfo::AmountOfPhysicalMemoryImpl() { // static uint64_t SysInfo::AmountOfPhysicalMemoryImpl() { @@ -52,7 +52,7 @@ uint64_t SysInfo::AmountOfAvailablePhysicalMemoryImpl() { // We should add inactive file-backed memory also but there is no such // information from OpenBSD unfortunately. -@@ -55,15 +77,27 @@ uint64_t SysInfo::MaxSharedMemorySize() { +@@ -56,15 +78,27 @@ uint64_t SysInfo::MaxSharedMemorySize() { int mib[] = {CTL_KERN, KERN_SHMINFO, KERN_SHMINFO_SHMMAX}; size_t limit; size_t size = sizeof(limit); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info__posix.cc index 9811092045dd..147057c30f0c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_system_sys__info__posix.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/system/sys_info_posix.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/system/sys_info_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/system/sys_info_posix.cc -@@ -117,7 +117,7 @@ bool GetDiskSpaceInfo(const base::FilePath& path, +@@ -124,7 +124,7 @@ namespace base { namespace base { @@ -9,7 +9,7 @@ // static int SysInfo::NumberOfProcessors() { #if BUILDFLAG(IS_MAC) -@@ -173,7 +173,7 @@ int SysInfo::NumberOfProcessors() { +@@ -180,7 +180,7 @@ int SysInfo::NumberOfProcessors() { return cached_num_cpus; } @@ -18,7 +18,7 @@ // static uint64_t SysInfo::AmountOfVirtualMemory() { -@@ -256,6 +256,8 @@ std::string SysInfo::OperatingSystemArchitecture() { +@@ -268,6 +268,8 @@ std::string SysInfo::OperatingSystemArchitecture() { arch = "x86"; } else if (arch == "amd64") { arch = "x86_64"; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_test_test__file__util__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_test_test__file__util__linux.cc index 0a61f568e7e7..839bc9cd6472 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_test_test__file__util__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_test_test__file__util__linux.cc @@ -1,12 +1,13 @@ ---- src/3rdparty/chromium/base/test/test_file_util_linux.cc.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/base/test/test_file_util_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/test/test_file_util_linux.cc -@@ -54,8 +54,10 @@ bool EvictFileFromSystemCache(const FilePath& file) { - return false; - if (fdatasync(fd.get()) != 0) +@@ -56,9 +56,11 @@ bool EvictFileFromSystemCache(const FilePath& file) { + if (fdatasync(fd.get()) != 0) { return false; + } +#if !BUILDFLAG(IS_BSD) - if (posix_fadvise(fd.get(), 0, 0, POSIX_FADV_DONTNEED) != 0) + if (posix_fadvise(fd.get(), 0, 0, POSIX_FADV_DONTNEED) != 0) { return false; + } +#endif return true; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_test_test__file__util__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_test_test__file__util__posix.cc index 03b322a72227..689cfc12af3d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_test_test__file__util__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_test_test__file__util__posix.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/test/test_file_util_posix.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/base/test/test_file_util_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/test/test_file_util_posix.cc -@@ -91,7 +91,7 @@ void SyncPageCacheToDisk() { +@@ -93,7 +93,7 @@ void SyncPageCacheToDisk() { } #if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_APPLE) && \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_hang__watcher.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_hang__watcher.cc deleted file mode 100644 index 1acb784c5b8a..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_hang__watcher.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/base/threading/hang_watcher.cc.orig 2024-07-30 11:12:21 UTC -+++ src/3rdparty/chromium/base/threading/hang_watcher.cc -@@ -354,7 +354,7 @@ void HangWatcher::InitializeOnMainThread(ProcessType p - - bool enable_hang_watcher = base::FeatureList::IsEnabled(kEnableHangWatcher); - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !BUILDFLAG(IS_BSD) - if (is_zygote_child) { - enable_hang_watcher = - enable_hang_watcher && diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread.h index 5dccba34816d..0a3fb4fe77ed 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/threading/platform_thread.h.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/base/threading/platform_thread.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/threading/platform_thread.h -@@ -49,6 +49,8 @@ typedef DWORD PlatformThreadId; +@@ -48,6 +48,8 @@ typedef mach_port_t PlatformThreadId; typedef zx_koid_t PlatformThreadId; #elif BUILDFLAG(IS_APPLE) typedef mach_port_t PlatformThreadId; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread__bsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread__bsd.cc index c3f93d6fc250..af7382029879 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread__bsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread__bsd.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/base/threading/platform_thread_bsd.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/base/threading/platform_thread_bsd.cc.orig 2025-09-01 08:52:28 UTC +++ src/3rdparty/chromium/base/threading/platform_thread_bsd.cc @@ -0,0 +1,31 @@ +// Copyright 2023 The Chromium Authors diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread__internal__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread__internal__posix.cc index 33df077009ca..41e3acee6203 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread__internal__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread__internal__posix.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/threading/platform_thread_internal_posix.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/base/threading/platform_thread_internal_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/threading/platform_thread_internal_posix.cc -@@ -41,7 +41,7 @@ ThreadPriorityForTest NiceValueToThreadPriorityForTest +@@ -41,7 +41,7 @@ int GetCurrentThreadNiceValue() { } int GetCurrentThreadNiceValue() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread__posix.cc index d7047788d294..99fdf3c4f833 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_threading_platform__thread__posix.cc @@ -1,8 +1,8 @@ ---- src/3rdparty/chromium/base/threading/platform_thread_posix.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/base/threading/platform_thread_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/threading/platform_thread_posix.cc -@@ -77,11 +77,11 @@ void* ThreadFunc(void* params) { - if (!thread_params->joinable) +@@ -79,11 +79,11 @@ void* ThreadFunc(void* params) { base::DisallowSingleton(); + } -#if PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) +#if PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) && !BUILDFLAG(IS_BSD) @@ -14,7 +14,7 @@ #if BUILDFLAG(IS_APPLE) PlatformThread::SetCurrentThreadRealtimePeriodValue( delegate->GetRealtimePeriod()); -@@ -265,6 +265,8 @@ PlatformThreadId PlatformThreadBase::CurrentId() { +@@ -270,6 +270,8 @@ PlatformThreadId PlatformThreadBase::CurrentId() { return reinterpret_cast<int32_t>(pthread_self()); #elif BUILDFLAG(IS_POSIX) && BUILDFLAG(IS_AIX) return pthread_self(); @@ -23,7 +23,7 @@ #elif BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_AIX) return reinterpret_cast<int64_t>(pthread_self()); #endif -@@ -355,7 +357,7 @@ void PlatformThreadBase::Detach(PlatformThreadHandle t +@@ -363,7 +365,7 @@ bool PlatformThreadBase::CanChangeThreadType(ThreadTyp // static bool PlatformThreadBase::CanChangeThreadType(ThreadType from, ThreadType to) { @@ -32,7 +32,7 @@ return false; #else if (from >= to) { -@@ -376,6 +378,9 @@ void SetCurrentThreadTypeImpl(ThreadType thread_type, +@@ -384,6 +386,9 @@ void SetCurrentThreadTypeImpl(ThreadType thread_type, MessagePumpType pump_type_hint) { #if BUILDFLAG(IS_NACL) NOTIMPLEMENTED(); @@ -40,9 +40,9 @@ +#elif BUILDFLAG(IS_BSD) + NOTIMPLEMENTED(); #else - if (internal::SetCurrentThreadTypeForPlatform(thread_type, pump_type_hint)) + if (internal::SetCurrentThreadTypeForPlatform(thread_type, pump_type_hint)) { return; -@@ -398,7 +403,7 @@ void SetCurrentThreadTypeImpl(ThreadType thread_type, +@@ -407,7 +412,7 @@ ThreadPriorityForTest PlatformThreadBase::GetCurrentTh // static ThreadPriorityForTest PlatformThreadBase::GetCurrentThreadPriorityForTest() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_time_time__now__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_time_time__now__posix.cc new file mode 100644 index 000000000000..59f2c9f46ca8 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_time_time__now__posix.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/base/time/time_now_posix.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/base/time/time_now_posix.cc +@@ -27,7 +27,7 @@ + #endif + + // NaCl doesn't support CLOCK_MONOTONIC_COARSE. +-#if BUILDFLAG(IS_NACL) ++#if BUILDFLAG(IS_NACL) || BUILDFLAG(IS_BSD) + #define TIMETICKS_LOW_RESOLUTION_CLOCK CLOCK_MONOTONIC + #else + #define TIMETICKS_LOW_RESOLUTION_CLOCK CLOCK_MONOTONIC_COARSE diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_trace__event_malloc__dump__provider.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_trace__event_malloc__dump__provider.cc index 9d1fe42fd514..a96a69dc1666 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_trace__event_malloc__dump__provider.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_trace__event_malloc__dump__provider.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/trace_event/malloc_dump_provider.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/base/trace_event/malloc_dump_provider.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/trace_event/malloc_dump_provider.cc -@@ -28,6 +28,8 @@ +@@ -31,6 +31,8 @@ #if BUILDFLAG(IS_APPLE) #include <malloc/malloc.h> @@ -9,7 +9,7 @@ #else #include <malloc.h> #endif -@@ -178,7 +180,7 @@ void ReportAppleAllocStats(size_t* total_virtual_size, +@@ -180,7 +182,7 @@ void ReportAppleAllocStats(size_t* total_virtual_size, #if (PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) && BUILDFLAG(IS_ANDROID)) || \ (!PA_BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC) && !BUILDFLAG(IS_WIN) && \ @@ -18,7 +18,7 @@ void ReportMallinfoStats(ProcessMemoryDump* pmd, size_t* total_virtual_size, size_t* resident_size, -@@ -368,6 +370,9 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDump +@@ -370,6 +372,9 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDump &allocated_objects_count); #elif BUILDFLAG(IS_FUCHSIA) // TODO(fuchsia): Port, see https://crbug.com/706592. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_trace__event_memory__dump__manager.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_trace__event_memory__dump__manager.cc index 4e330ba0b584..f11850371d0e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_trace__event_memory__dump__manager.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_trace__event_memory__dump__manager.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/trace_event/memory_dump_manager.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/base/trace_event/memory_dump_manager.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/trace_event/memory_dump_manager.cc -@@ -83,7 +83,7 @@ const char* const MemoryDumpManager::kSystemAllocatorP +@@ -78,7 +78,7 @@ const char* const MemoryDumpManager::kSystemAllocatorP #if defined(MALLOC_MEMORY_TRACING_SUPPORTED) MallocDumpProvider::kAllocatedObjects; #else diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_trace__event_process__memory__dump.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_trace__event_process__memory__dump.cc index 6c95ad6303ba..1c71ffda0e5b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_trace__event_process__memory__dump.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_trace__event_process__memory__dump.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/trace_event/process_memory_dump.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/base/trace_event/process_memory_dump.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/trace_event/process_memory_dump.cc -@@ -120,7 +120,7 @@ std::optional<size_t> ProcessMemoryDump::CountResident +@@ -119,7 +119,7 @@ std::optional<size_t> ProcessMemoryDump::CountResident #if BUILDFLAG(IS_WIN) auto vec = base::HeapArray<PSAPI_WORKING_SET_EX_INFORMATION>::WithSize(max_vec_size); @@ -10,9 +10,9 @@ #elif BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA) auto vec = base::HeapArray<unsigned char>::WithSize(max_vec_size); @@ -143,7 +143,7 @@ std::optional<size_t> ProcessMemoryDump::CountResident - - for (size_t i = 0; i < page_count; i++) + for (size_t i = 0; i < page_count; i++) { resident_page_count += vec[i].VirtualAttributes.Valid; + } -#elif BUILDFLAG(IS_FUCHSIA) +#elif BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) // TODO(crbug.com/42050620): Implement counting resident bytes. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_tracing_trace__time.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_tracing_trace__time.cc index 98973fbf100f..6924fdc1836b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_tracing_trace__time.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_tracing_trace__time.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/tracing/trace_time.cc.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/base/tracing/trace_time.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/tracing/trace_time.cc -@@ -8,13 +8,17 @@ +@@ -8,12 +8,16 @@ #include "build/build_config.h" #include "third_party/perfetto/include/perfetto/base/time.h" @@ -8,8 +8,7 @@ +#define CLOCK_BOOTTIME CLOCK_UPTIME +#endif + - namespace base { - namespace tracing { + namespace base::tracing { int64_t TraceBootTicksNow() { // On Windows and Mac, TRACE_TIME_TICKS_NOW() behaves like boottime already. @@ -18,11 +17,4 @@ + BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) struct timespec ts; int res = clock_gettime(CLOCK_BOOTTIME, &ts); - if (res != -1) -@@ -24,4 +28,4 @@ int64_t TraceBootTicksNow() { - } - - } // namespace tracing --} // namespace base -\ No newline at end of file -+} // namespace base + if (res != -1) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_tracing_trace__time.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_tracing_trace__time.h index 5f7ad47f7a79..7d10bf7af4d0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_tracing_trace__time.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_base_tracing_trace__time.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/base/tracing/trace_time.h.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/base/tracing/trace_time.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/base/tracing/trace_time.h -@@ -12,7 +12,7 @@ namespace base { +@@ -12,7 +12,7 @@ namespace tracing { namespace tracing { #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_BUILD.gn index fa15cd774237..10fe9fa450fd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/build/config/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/build/config/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/config/BUILD.gn -@@ -217,6 +217,10 @@ config("default_libs") { +@@ -219,6 +219,10 @@ config("default_libs") { # Targets should choose to explicitly link frameworks they require. Since # linking can have run-time side effects, nothing should be listed here. libs = [] diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_BUILDCONFIG.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_BUILDCONFIG.gn index e667084ffa83..9e7cd027d255 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_BUILDCONFIG.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_BUILDCONFIG.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/build/config/BUILDCONFIG.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/build/config/BUILDCONFIG.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/config/BUILDCONFIG.gn @@ -136,7 +136,8 @@ declare_args() { is_official_build = false @@ -10,7 +10,7 @@ (current_cpu != "s390x" && current_cpu != "s390" && current_cpu != "ppc64" && current_cpu != "ppc" && current_cpu != "mips" && current_cpu != "mips64" && -@@ -244,6 +245,10 @@ if (host_toolchain == "") { +@@ -247,6 +248,10 @@ if (host_toolchain == "") { host_toolchain = "//build/toolchain/aix:$host_cpu" } else if (host_os == "zos") { host_toolchain = "//build/toolchain/zos:$host_cpu" @@ -21,7 +21,7 @@ } else { assert(false, "Unsupported host_os: $host_os") } -@@ -289,6 +294,8 @@ if (target_os == "android") { +@@ -293,6 +298,8 @@ if (target_os == "android") { _default_toolchain = "//build/toolchain/aix:$target_cpu" } else if (target_os == "zos") { _default_toolchain = "//build/toolchain/zos:$target_cpu" @@ -30,7 +30,7 @@ } else { assert(false, "Unsupported target_os: $target_os") } -@@ -323,7 +330,11 @@ is_ios = current_os == "ios" +@@ -327,7 +334,11 @@ is_ios = current_os == "ios" is_chromeos = current_os == "chromeos" is_fuchsia = current_os == "fuchsia" is_ios = current_os == "ios" @@ -42,4 +42,4 @@ +is_bsd = current_os == "openbsd" || current_os == "freebsd" is_mac = current_os == "mac" is_nacl = current_os == "nacl" - is_win = current_os == "win" || current_os == "winuwp" + is_watchos = current_os == "watchos" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_clang_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_clang_BUILD.gn index 4d8d73dc7891..cbd05184bcc3 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_clang_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_clang_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/build/config/clang/BUILD.gn.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/build/config/clang/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/config/clang/BUILD.gn -@@ -236,7 +236,12 @@ template("clang_lib") { +@@ -213,7 +213,12 @@ clang_lib("compiler_builtins") { # Adds a dependency on the Clang runtime library clang_rt.builtins. clang_lib("compiler_builtins") { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_compiler_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_compiler_BUILD.gn index 67a497605164..9adad74f0efa 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_compiler_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_compiler_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/build/config/compiler/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/build/config/compiler/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/config/compiler/BUILD.gn -@@ -205,7 +205,7 @@ declare_args() { +@@ -204,7 +204,7 @@ declare_args() { # This greatly reduces the size of debug builds, at the cost of # debugging information which is required by some specialized # debugging tools. @@ -9,7 +9,7 @@ } declare_args() { -@@ -262,13 +262,16 @@ config("no_unresolved_symbols") { +@@ -261,13 +261,16 @@ config("no_unresolved_symbols") { # Compiler instrumentation can introduce dependencies in DSOs to symbols in # the executable they are loaded into, so they are unresolved at link-time. config("no_unresolved_symbols") { @@ -27,7 +27,7 @@ } # compiler --------------------------------------------------------------------- -@@ -556,6 +559,10 @@ config("compiler") { +@@ -568,6 +571,10 @@ config("compiler") { } } @@ -38,25 +38,25 @@ # Linux-specific compiler flags setup. # ------------------------------------ if (use_gold) { -@@ -1287,7 +1294,7 @@ config("compiler_cpu_abi") { +@@ -1305,7 +1312,7 @@ config("compiler_cpu_abi") { ] } } else if (current_cpu == "arm") { -- if (is_clang && !is_android && !is_nacl && -+ if (is_clang && !is_android && !is_nacl && !is_bsd && - !(is_chromeos_lacros && is_chromeos_device)) { +- if (is_clang && !is_android && !is_nacl && !is_chromeos_device) { ++ if (is_clang && !is_android && !is_nacl && !is_chromeos_device && !is_bsd) { cflags += [ "--target=arm-linux-gnueabihf" ] ldflags += [ "--target=arm-linux-gnueabihf" ] -@@ -1305,7 +1312,7 @@ config("compiler_cpu_abi") { - cflags += [ "-mtune=$arm_tune" ] + } +@@ -1323,7 +1330,7 @@ config("compiler_cpu_abi") { } } else if (current_cpu == "arm64") { -- if (is_clang && !is_android && !is_nacl && !is_fuchsia && -+ if (is_clang && !is_android && !is_nacl && !is_fuchsia && !is_bsd && - !(is_chromeos_lacros && is_chromeos_device)) { + if (is_clang && !is_android && !is_nacl && !is_fuchsia && +- !is_chromeos_device) { ++ !is_chromeos_device && !is_bsd) { cflags += [ "--target=aarch64-linux-gnu" ] ldflags += [ "--target=aarch64-linux-gnu" ] -@@ -1640,7 +1647,7 @@ config("compiler_deterministic") { + } +@@ -1657,7 +1664,7 @@ config("compiler_deterministic") { # different build directory like "out/feature_a" and "out/feature_b" if # we build same files with same compile flag. # Other paths are already given in relative, no need to normalize them. @@ -65,7 +65,7 @@ # TODO(https://crbug.com/1231236): Use -ffile-compilation-dir= here. cflags += [ "-Xclang", -@@ -1698,7 +1705,7 @@ config("clang_revision") { +@@ -1715,7 +1722,7 @@ config("clang_revision") { } config("clang_revision") { @@ -74,36 +74,26 @@ current_os != "zos") { update_args = [ "--print-revision", -@@ -2198,9 +2205,6 @@ config("default_warnings") { - - # TODO(crbug.com/40286317): Evaluate and possibly enable. - "-Wno-vla-extension", +@@ -2206,9 +2213,6 @@ config("default_warnings") { + cflags += [ + # TODO(crbug.com/330524456): -Wcast-function-type is under -Wextra now. + "-Wno-cast-function-type", - - # TODO(crbug.com/40284799): Fix and re-enable. - "-Wno-thread-safety-reference-return", ] cflags_cc += [ -@@ -2208,17 +2212,11 @@ config("default_warnings") { +@@ -2216,7 +2220,7 @@ config("default_warnings") { "-Wenum-compare-conditional", ] - if (!is_nacl) { -+ if (!is_nacl && !is_openbsd) { ++ if (!is_nacl && !is_bsd) { cflags_cc += [ # TODO(crbug.com/41486292): Fix and re-enable. "-Wno-c++11-narrowing-const-reference", - ] -- -- # TODO(crbug.com/344680447): Fix and re-enable. -- cflags_cc += [ "-Wno-missing-template-arg-list-after-template-kw" ] -- -- # TODO(crbug.com/356172342): Fix and re-enable. -- cflags_cc += [ "-Wno-dangling-assignment-gsl" ] - } - } - -@@ -2961,7 +2959,7 @@ config("afdo") { +@@ -2994,7 +2998,7 @@ config("afdo") { # There are some targeted places that AFDO regresses, so we provide a separate # config to allow AFDO to be disabled per-target. config("afdo") { @@ -112,7 +102,7 @@ cflags = [] if (clang_emit_debug_info_for_profiling) { # Add the following flags to generate debug info for profiling. -@@ -2988,7 +2986,7 @@ config("afdo") { +@@ -3021,7 +3025,7 @@ config("afdo") { cflags += [ "-Wno-backend-plugin" ] inputs = [ _clang_sample_profile ] } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_gcc_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_gcc_BUILD.gn new file mode 100644 index 000000000000..9ba5288b023b --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_gcc_BUILD.gn @@ -0,0 +1,13 @@ +--- src/3rdparty/chromium/build/config/gcc/BUILD.gn.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/build/config/gcc/BUILD.gn +@@ -32,7 +32,9 @@ config("symbol_visibility_hidden") { + # See http://gcc.gnu.org/wiki/Visibility + config("symbol_visibility_hidden") { + cflags = [ "-fvisibility=hidden" ] +- rustflags = [ "-Zdefault-visibility=hidden" ] ++ if (!is_bsd) { ++ rustflags = [ "-Zdefault-visibility=hidden" ] ++ } + + # Visibility attribute is not supported on AIX. + if (current_os != "aix") { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_linux_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_linux_BUILD.gn index 63e443ae5628..2ab907d1f7a1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_linux_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_linux_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/build/config/linux/BUILD.gn.orig 2022-05-19 14:06:27 UTC +--- src/3rdparty/chromium/build/config/linux/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/config/linux/BUILD.gn @@ -41,7 +41,7 @@ config("runtime_library") { } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_linux_libdrm_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_linux_libdrm_BUILD.gn new file mode 100644 index 000000000000..085a0a1ff92f --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_linux_libdrm_BUILD.gn @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/build/config/linux/libdrm/BUILD.gn.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/build/config/linux/libdrm/BUILD.gn +@@ -15,7 +15,7 @@ if (use_system_libdrm) { + } + + if (use_system_libdrm) { +- assert(!is_linux, "System libdrm is not supported in linux") ++# assert(!is_linux, "System libdrm is not supported in linux") + pkg_config("libdrm_config") { + packages = [ "libdrm" ] + } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_linux_pkg-config.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_linux_pkg-config.py index 61af0eb3382c..479c3a44dcf0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_linux_pkg-config.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_linux_pkg-config.py @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/build/config/linux/pkg-config.py.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/build/config/linux/pkg-config.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/config/linux/pkg-config.py @@ -113,7 +113,7 @@ def main(): # If this is run on non-Linux platforms, just return nothing and indicate # success. This allows us to "kind of emulate" a Linux build from other # platforms. - if 'linux' not in sys.platform and 'darwin' not in sys.platform: -+ if not sys.platform.startswith(tuple(['linux', 'darwin', 'openbsd', 'freebsd'])): ++ if not sys.platform.startswith(tuple(['linux', 'darwin', 'freebsd', 'openbsd'])): print("[[],[],[],[],[]]") return 0 diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_ozone.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_ozone.gni index 152b8564bc34..106ac09d61bc 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_ozone.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_ozone.gni @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/build/config/ozone.gni.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/build/config/ozone.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/config/ozone.gni @@ -87,7 +87,15 @@ declare_args() { } else if (is_chromeos_lacros) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_rust.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_rust.gni index 9a3b922fdddf..1c75e01d8919 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_rust.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_rust.gni @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/build/config/rust.gni.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/build/config/rust.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/config/rust.gni -@@ -277,6 +277,10 @@ if (is_linux || is_chromeos) { +@@ -297,6 +297,10 @@ if (is_linux || is_chromeos) { } } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_v8__target__cpu.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_v8__target__cpu.gni index f2892f35533c..e8f5572bf2cd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_v8__target__cpu.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_config_v8__target__cpu.gni @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/build/config/v8_target_cpu.gni.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/build/config/v8_target_cpu.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/config/v8_target_cpu.gni -@@ -36,6 +36,10 @@ declare_args() { +@@ -36,6 +36,10 @@ if (v8_target_cpu == "") { if (v8_target_cpu == "") { if (current_toolchain == "//build/toolchain/linux:clang_x64_v8_arm64") { v8_target_cpu = "arm64" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_detect__host__arch.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_detect__host__arch.py index 2b2a66c83af7..2cd358fc866b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_detect__host__arch.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_detect__host__arch.py @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/build/detect_host_arch.py.orig 2023-03-09 06:31:50 UTC +--- src/3rdparty/chromium/build/detect_host_arch.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/detect_host_arch.py @@ -20,6 +20,8 @@ def HostArch(): host_arch = 'ia32' diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_gn__run__binary.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_gn__run__binary.py index 982e06ca7e64..0fac949b00fa 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_gn__run__binary.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_gn__run__binary.py @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/build/gn_run_binary.py.orig 2023-03-09 06:31:50 UTC +--- src/3rdparty/chromium/build/gn_run_binary.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/gn_run_binary.py -@@ -23,7 +23,7 @@ if not os.path.isabs(path): +@@ -23,7 +23,7 @@ args = [path] + sys.argv[2:] # The rest of the arguments are passed directly to the executable. args = [path] + sys.argv[2:] diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_chrome.map b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_chrome.map index 1fa579cab621..62e42916f1bf 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_chrome.map +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_chrome.map @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/build/linux/chrome.map.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/build/linux/chrome.map.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/linux/chrome.map @@ -20,6 +20,10 @@ global: # Program entry point. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_strip__binary.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_strip__binary.py index 50091e3aa55a..d58ee8ff5576 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_strip__binary.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_strip__binary.py @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/build/linux/strip_binary.py.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/build/linux/strip_binary.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/linux/strip_binary.py -@@ -10,6 +10,7 @@ import sys +@@ -10,6 +10,7 @@ def main(): def main(): diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_unbundle_icu.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_unbundle_icu.gn index 84078a5ed5fb..d6c4139085ea 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_unbundle_icu.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_unbundle_icu.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/build/linux/unbundle/icu.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/build/linux/unbundle/icu.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/linux/unbundle/icu.gn @@ -17,6 +17,15 @@ config("icu_config") { "USING_SYSTEM_ICU=1", @@ -16,12 +16,28 @@ # U_EXPORT (defined in unicode/platform.h) is used to set public visibility # on classes through the U_COMMON_API and U_I18N_API macros (among others). # When linking against the system ICU library, we want its symbols to have -@@ -34,6 +43,8 @@ config("icu_config") { +@@ -34,6 +43,9 @@ config("icu_config") { # to define U_IMPORT to have the same value as U_EXPORT. For more details, # please see: https://crbug.com/822820 "U_IMPORT=U_EXPORT", ++ + # Unbreak with icu 76 where private symbols are picked up + "U_HIDE_DRAFT_API", ] } +@@ -46,6 +58,14 @@ source_set("icui18n") { + } + + source_set("icui18n") { ++ deps = [ ":icui18n_shim" ] ++ public_configs = [ ++ ":icu_config", ++ ":system_icui18n", ++ ] ++} ++ ++source_set("icui18n_hidden_visibility") { + deps = [ ":icui18n_shim" ] + public_configs = [ + ":icu_config", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_unbundle_libevent.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_unbundle_libevent.gn deleted file mode 100644 index e6b82fd67b32..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_unbundle_libevent.gn +++ /dev/null @@ -1,15 +0,0 @@ ---- src/3rdparty/chromium/build/linux/unbundle/libevent.gn.orig 2022-05-28 07:21:18 UTC -+++ src/3rdparty/chromium/build/linux/unbundle/libevent.gn -@@ -9,7 +9,12 @@ shim_headers("libevent_shim") { - headers = [ "event.h" ] - } - -+config("system_libevent") { -+ defines = [ "USE_SYSTEM_LIBEVENT=1" ] -+} -+ - source_set("libevent") { - deps = [ ":libevent_shim" ] - libs = [ "event" ] -+ public_configs = [ ":system_libevent" ] - } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_unbundle_libusb.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_unbundle_libusb.gn index 525cb25f834f..5fb3608b1286 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_unbundle_libusb.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_linux_unbundle_libusb.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/build/linux/unbundle/libusb.gn.orig 2023-12-10 06:10:27 UTC +--- src/3rdparty/chromium/build/linux/unbundle/libusb.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/linux/unbundle/libusb.gn @@ -1,3 +1,27 @@ +# Copyright 2016 The Chromium Authors. All rights reserved. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_nocompile.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_nocompile.gni new file mode 100644 index 000000000000..cd692e0d69b5 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_nocompile.gni @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/build/nocompile.gni.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/build/nocompile.gni +@@ -55,7 +55,7 @@ declare_args() { + } + + declare_args() { +- enable_nocompile_tests = is_clang && !is_nacl ++ enable_nocompile_tests = is_clang && !is_nacl && !is_bsd + } + + if (enable_nocompile_tests) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_rust_rust__bindgen.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_rust_rust__bindgen.gni deleted file mode 100644 index ea8b6007a1c6..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_rust_rust__bindgen.gni +++ /dev/null @@ -1,19 +0,0 @@ ---- src/3rdparty/chromium/build/rust/rust_bindgen.gni.orig 2024-07-30 19:22:51 UTC -+++ src/3rdparty/chromium/build/rust/rust_bindgen.gni -@@ -11,14 +11,14 @@ if (is_win) { - import("//build/toolchain/win/win_toolchain_data.gni") - } - --_bindgen_path = "${rust_bindgen_root}/bin/bindgen" -+_bindgen_path = "${LOCALBASE}/bin/bindgen" - if (host_os == "win") { - _bindgen_path = "${_bindgen_path}.exe" - } - - # On Windows, the libclang.dll is beside the bindgen.exe, otherwise it is in - # ../lib. --_libclang_path = rust_bindgen_root -+_libclang_path = "${LOCALBASE}/llvm${MODCLANG_VERSION}" - if (host_os == "win") { - _libclang_path += "/bin" - } else { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_rust_std_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_rust_std_BUILD.gn index eb61b334e716..93d259233006 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_rust_std_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_rust_std_BUILD.gn @@ -1,6 +1,15 @@ ---- src/3rdparty/chromium/build/rust/std/BUILD.gn.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/build/rust/std/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/rust/std/BUILD.gn -@@ -100,7 +100,6 @@ if (toolchain_has_rust) { +@@ -89,7 +89,7 @@ if (toolchain_has_rust) { + # These are no longer present in the Windows toolchain. + stdlib_files += [ + "addr2line", +- "adler2", ++ "adler", + "gimli", + "libc", + "memchr", +@@ -115,7 +115,6 @@ if (toolchain_has_rust) { # don't need to pass to the C++ linker because they're used for specialized # purposes. skip_stdlib_files = [ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_freebsd_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_freebsd_BUILD.gn index 5d5427e3137e..63ab626e3fd9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_freebsd_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_freebsd_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/build/toolchain/freebsd/BUILD.gn.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/build/toolchain/freebsd/BUILD.gn.orig 2025-09-01 08:52:28 UTC +++ src/3rdparty/chromium/build/toolchain/freebsd/BUILD.gn @@ -0,0 +1,66 @@ +# Copyright 2013 The Chromium Authors. All rights reserved. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_gcc__solink__wrapper.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_gcc__solink__wrapper.py index eef3ab0190d9..246178c41727 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_gcc__solink__wrapper.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_gcc__solink__wrapper.py @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/build/toolchain/gcc_solink_wrapper.py.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/build/toolchain/gcc_solink_wrapper.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/toolchain/gcc_solink_wrapper.py @@ -39,7 +39,7 @@ def CollectDynSym(args): """Replaces: nm --format=posix -g -D -p $sofile | cut -f1-2 -d' '""" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_gcc__toolchain.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_gcc__toolchain.gni index 5c9c6bb4b2c4..9478db02b0c0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_gcc__toolchain.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_gcc__toolchain.gni @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/build/toolchain/gcc_toolchain.gni.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/build/toolchain/gcc_toolchain.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/toolchain/gcc_toolchain.gni @@ -56,6 +56,13 @@ if (enable_resource_allowlist_generation) { "enable_resource_allowlist_generation=true does not work for target_os=$target_os") @@ -14,7 +14,7 @@ # This template defines a toolchain for something that works like gcc # (including clang). # -@@ -918,22 +925,12 @@ template("clang_toolchain") { +@@ -902,22 +909,12 @@ template("clang_toolchain") { # actually just be doing a native compile. template("clang_toolchain") { gcc_toolchain(target_name) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_openbsd_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_openbsd_BUILD.gn index cbfab4f709da..976cafbc989e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_openbsd_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_openbsd_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/build/toolchain/openbsd/BUILD.gn.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/build/toolchain/openbsd/BUILD.gn.orig 2025-09-01 08:52:28 UTC +++ src/3rdparty/chromium/build/toolchain/openbsd/BUILD.gn @@ -0,0 +1,66 @@ +# Copyright 2013 The Chromium Authors. All rights reserved. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_toolchain.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_toolchain.gni index 0671e4638f36..cd23cb410051 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_toolchain.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_build_toolchain_toolchain.gni @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/build/toolchain/toolchain.gni.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/build/toolchain/toolchain.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/build/toolchain/toolchain.gni -@@ -72,7 +72,7 @@ if (host_os == "mac") { +@@ -75,7 +75,7 @@ if (host_os == "mac") { host_shlib_extension = ".dylib" } else if (host_os == "win") { host_shlib_extension = ".dll" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_cc_base_features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_cc_base_features.cc index 4bbc524ecd38..c43f891964d1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_cc_base_features.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_cc_base_features.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/cc/base/features.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/cc/base/features.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/cc/base/features.cc -@@ -83,7 +83,7 @@ const base::FeatureParam<int> kDeferImplInvalidationFr +@@ -52,7 +52,7 @@ const base::FeatureParam<int> kDeferImplInvalidationFr // Note that kUseDMSAAForTiles only controls vulkan launch on android. We will // be using a separate flag to control the launch on GL. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_BUILD.gn index 5fc8b88311c8..ca2215c7175c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_BUILD.gn @@ -1,16 +1,16 @@ ---- src/3rdparty/chromium/chrome/browser/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/chrome/browser/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/BUILD.gn -@@ -6897,6 +6897,13 @@ static_library("browser") { +@@ -6751,6 +6751,13 @@ static_library("browser") { + [ "//third_party/webrtc/modules/desktop_capture:pipewire_config" ] } - } -+ if (is_bsd) { -+ sources -= [ -+ "metrics/bluetooth_metrics_provider.cc", -+ "metrics/bluetooth_metrics_provider.h", -+ ] -+ } ++ if (is_bsd) { ++ sources -= [ ++ "metrics/bluetooth_metrics_provider.cc", ++ "metrics/bluetooth_metrics_provider.h", ++ ] ++ } + - if (is_linux && use_dbus) { - sources += [ - "dbus_memory_pressure_evaluator_linux.cc", + if (use_dbus) { + sources += [ + "dbus_memory_pressure_evaluator_linux.cc", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_accessibility_page__colors.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_accessibility_page__colors.cc index 2e2ee97b0530..fe10fe6413bf 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_accessibility_page__colors.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_accessibility_page__colors.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/accessibility/page_colors.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/chrome/browser/accessibility/page_colors.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/accessibility/page_colors.cc @@ -12,7 +12,7 @@ #include "components/sync_preferences/pref_service_syncable.h" @@ -9,7 +9,7 @@ #include "ui/linux/linux_ui.h" #include "ui/linux/linux_ui_factory.h" #endif // BUILDFLAG(IS_LINUX) -@@ -55,7 +55,7 @@ void PageColors::Init() { +@@ -55,7 +55,7 @@ void PageColors::OnPageColorsChanged() { void PageColors::OnPageColorsChanged() { auto* native_theme = ui::NativeTheme::GetInstanceForNativeUi(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_custom__handlers_chrome__protocol__handler__registry__delegate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_custom__handlers_chrome__protocol__handler__registry__delegate.cc index 9f060444cb6f..d4883881e123 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_custom__handlers_chrome__protocol__handler__registry__delegate.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_custom__handlers_chrome__protocol__handler__registry__delegate.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/custom_handlers/chrome_protocol_handler_registry_delegate.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/chrome/browser/custom_handlers/chrome_protocol_handler_registry_delegate.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/custom_handlers/chrome_protocol_handler_registry_delegate.cc @@ -77,7 +77,7 @@ bool ChromeProtocolHandlerRegistryDelegate::ShouldRemo // If true default protocol handlers will be removed if the OS level diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_BUILD.gn index 2fa01266e632..3bd424d257fd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_BUILD.gn @@ -1,13 +1,13 @@ ---- src/3rdparty/chromium/chrome/browser/extensions/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/chrome/browser/extensions/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/extensions/BUILD.gn -@@ -1496,6 +1496,10 @@ source_set("extensions") { - deps += [ "//chrome/services/printing/public/mojom" ] - } +@@ -1398,6 +1398,10 @@ source_set("extensions") { + deps += [ "//chrome/services/printing/public/mojom" ] + } -+ if (is_bsd) { -+ sources -= [ "api/image_writer_private/removable_storage_provider_linux.cc" ] -+ } ++ if (is_bsd) { ++ sources -= [ "api/image_writer_private/removable_storage_provider_linux.cc" ] ++ } + - if (enable_pdf) { - deps += [ - "//chrome/browser/pdf", + if (enable_pdf) { + deps += [ + "//chrome/browser/pdf", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_api__browser__context__keyed__service__factories.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_api__browser__context__keyed__service__factories.cc deleted file mode 100644 index 1a422f554fc7..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_api__browser__context__keyed__service__factories.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- src/3rdparty/chromium/chrome/browser/extensions/api/api_browser_context_keyed_service_factories.cc.orig 2024-10-22 08:31:56 UTC -+++ src/3rdparty/chromium/chrome/browser/extensions/api/api_browser_context_keyed_service_factories.cc -@@ -41,7 +41,7 @@ - #include "pdf/buildflags.h" - #include "printing/buildflags/buildflags.h" - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - #include "chrome/browser/extensions/api/system_indicator/system_indicator_manager_factory.h" - #endif - -@@ -117,7 +117,7 @@ void EnsureApiBrowserContextKeyedServiceFactoriesBuilt - extensions::SettingsPrivateEventRouterFactory::GetInstance(); - extensions::SettingsOverridesAPI::GetFactoryInstance(); - extensions::SidePanelService::GetFactoryInstance(); --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - extensions::SystemIndicatorManagerFactory::GetInstance(); - #endif - extensions::TabGroupsEventRouterFactory::GetInstance(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_chrome__desktop__report__request__helper.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_chrome__desktop__report__request__helper.cc index ce8bf35ceb3c..b3d1de9f8ea3 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_chrome__desktop__report__request__helper.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_chrome__desktop__report__request__helper.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_reporting_private/chrome_desktop_report_request_helper.cc.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_reporting_private/chrome_desktop_report_request_helper.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_reporting_private/chrome_desktop_report_request_helper.cc @@ -24,7 +24,7 @@ #include "base/win/registry.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_conversion__utils.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_conversion__utils.cc index 277b0a7db4ab..661559d6e589 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_conversion__utils.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_conversion__utils.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_reporting_private/conversion_utils.cc.orig 2022-11-30 08:12:58 UTC +--- src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_reporting_private/conversion_utils.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_reporting_private/conversion_utils.cc @@ -8,7 +8,7 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_conversion__utils.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_conversion__utils.h index 17166dd42a66..1afdd03a8ed8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_conversion__utils.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_conversion__utils.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_reporting_private/conversion_utils.h.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_reporting_private/conversion_utils.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_reporting_private/conversion_utils.h @@ -7,7 +7,7 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.cc index b9cda5cb8a80..a51698b49d0b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.cc -@@ -41,7 +41,7 @@ +@@ -40,7 +40,7 @@ #include "components/reporting/util/statusor.h" #endif @@ -9,8 +9,17 @@ #include <optional> #include "base/strings/string_util.h" -@@ -158,7 +158,7 @@ api::enterprise_reporting_private::ContextInfo ToConte - return info; +@@ -157,7 +157,7 @@ bool AllowClientCertificateReportingForUsers() { + } + + bool AllowClientCertificateReportingForUsers() { +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + return base::FeatureList::IsEnabled( + enterprise_signals::features::kAllowClientCertificateReportingForUsers); + #else +@@ -170,7 +170,7 @@ bool IsProfilePrefManaged(Profile* profile, std::strin + return pref && pref->IsManaged(); } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) @@ -18,7 +27,7 @@ device_signals::SignalsAggregationRequest CreateAggregationRequest( device_signals::SignalName signal_name) { -@@ -220,7 +220,7 @@ EnterpriseReportingPrivateGetDeviceIdFunction:: +@@ -232,7 +232,7 @@ EnterpriseReportingPrivateGetDeviceIdFunction:: // getPersistentSecret @@ -27,7 +36,7 @@ EnterpriseReportingPrivateGetPersistentSecretFunction:: EnterpriseReportingPrivateGetPersistentSecretFunction() = default; -@@ -646,7 +646,7 @@ void EnterpriseReportingPrivateEnqueueRecordFunction:: +@@ -672,7 +672,7 @@ void EnterpriseReportingPrivateEnqueueRecordFunction:: } #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.h index f8809f86b0d8..c53eb8892a0a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_enterprise__reporting__private_enterprise__reporting__private__api.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.h.orig 2023-03-09 06:31:50 UTC +--- src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/extensions/api/enterprise_reporting_private/enterprise_reporting_private_api.h @@ -20,7 +20,7 @@ #include "components/reporting/proto/synced/record.pb.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_image__writer__private_removable__storage__provider.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_image__writer__private_removable__storage__provider.cc index 87a92318daf3..18344bbfdd8c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_image__writer__private_removable__storage__provider.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_image__writer__private_removable__storage__provider.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/extensions/api/image_writer_private/removable_storage_provider.cc.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/chrome/browser/extensions/api/image_writer_private/removable_storage_provider.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/extensions/api/image_writer_private/removable_storage_provider.cc -@@ -20,6 +20,7 @@ static base::LazyInstance<scoped_refptr<StorageDeviceL +@@ -20,6 +20,7 @@ void RemovableStorageProvider::GetAllDevices(DeviceLis void RemovableStorageProvider::GetAllDevices(DeviceListReadyCallback callback) { DCHECK_CURRENTLY_ON(content::BrowserThread::UI); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_management_chrome__management__api__delegate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_management_chrome__management__api__delegate.cc index bca4b2e07a27..75be0c392853 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_management_chrome__management__api__delegate.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_management_chrome__management__api__delegate.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/extensions/api/management/chrome_management_api_delegate.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/chrome/browser/extensions/api/management/chrome_management_api_delegate.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/extensions/api/management/chrome_management_api_delegate.cc -@@ -417,7 +417,7 @@ bool ChromeManagementAPIDelegate::LaunchAppFunctionDel +@@ -408,7 +408,7 @@ bool ChromeManagementAPIDelegate::LaunchAppFunctionDel apps::LaunchContainer launch_container = GetLaunchContainer(extensions::ExtensionPrefs::Get(context), extension); Profile* profile = Profile::FromBrowserContext(context); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_messaging_launch__context__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_messaging_launch__context__posix.cc index 0e6aff89ad56..08ba6400ccda 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_messaging_launch__context__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_messaging_launch__context__posix.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/chrome/browser/extensions/api/messaging/launch_context_posix.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/chrome/browser/extensions/api/messaging/launch_context_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/extensions/api/messaging/launch_context_posix.cc -@@ -86,7 +86,7 @@ std::optional<LaunchContext::ProcessState> LaunchConte +@@ -84,7 +84,7 @@ std::optional<LaunchContext::ProcessState> LaunchConte - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) + options.current_directory = command_line.GetProgram().DirName(); + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Don't use no_new_privs mode, e.g. in case the host needs to use sudo. options.allow_new_privs = true; #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc index 03b9e87a6b56..6b2892868a17 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_passwords__private_passwords__private__delegate__impl.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc -@@ -636,7 +636,7 @@ void PasswordsPrivateDelegateImpl::OnFetchingFamilyMem +@@ -634,7 +634,7 @@ void PasswordsPrivateDelegateImpl::OsReauthTimeoutCall } void PasswordsPrivateDelegateImpl::OsReauthTimeoutCall() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc index c1243e116c1e..a4ad1ab2c1fb 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc -@@ -288,7 +288,9 @@ bool ChromeRuntimeAPIDelegate::GetPlatformInfo(Platfor +@@ -293,7 +293,9 @@ bool ChromeRuntimeAPIDelegate::GetPlatformInfo(Platfor } else if (strcmp(os, "linux") == 0) { info->os = extensions::api::runtime::PlatformOs::kLinux; } else if (strcmp(os, "openbsd") == 0) { @@ -9,5 +9,5 @@ + } else if (strcmp(os, "freebsd") == 0) { + info->os = extensions::api::runtime::PlatformOs::kLinux; } else { - NOTREACHED_IN_MIGRATION() << "Platform not supported: " << os; - return false; + NOTREACHED() << "Platform not supported: " << os; + } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_settings__private_prefs__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_settings__private_prefs__util.cc index 8fed39fd2ab8..000d8e4d441d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_settings__private_prefs__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_settings__private_prefs__util.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/extensions/api/settings_private/prefs_util.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/extensions/api/settings_private/prefs_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/extensions/api/settings_private/prefs_util.cc -@@ -193,7 +193,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist +@@ -190,7 +190,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist (*s_allowlist)[autofill::prefs::kAutofillPaymentCardBenefits] = settings_api::PrefType::kBoolean; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -8,8 +8,8 @@ + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) (*s_allowlist)[autofill::prefs::kAutofillPredictionImprovementsEnabled] = settings_api::PrefType::kBoolean; - #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || -@@ -211,7 +211,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist + (*s_allowlist)[autofill::prefs::kAutofillBnplEnabled] = +@@ -210,7 +210,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist (*s_allowlist)[tab_groups::prefs::kAutoPinNewTabGroups] = settings_api::PrefType::kBoolean; @@ -18,7 +18,7 @@ (*s_allowlist)[::prefs::kUseCustomChromeFrame] = settings_api::PrefType::kBoolean; #endif -@@ -223,7 +223,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist +@@ -222,7 +222,7 @@ const PrefsUtil::TypedPrefMap& PrefsUtil::GetAllowlist (*s_allowlist)[::prefs::kCurrentThemeID] = settings_api::PrefType::kString; (*s_allowlist)[::prefs::kPinnedActions] = settings_api::PrefType::kList; (*s_allowlist)[::prefs::kPolicyThemeColor] = settings_api::PrefType::kNumber; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_tabs_tabs__api.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_tabs_tabs__api.cc index 85e4aefd33d1..e57122c9654b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_tabs_tabs__api.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_tabs_tabs__api.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/chrome/browser/extensions/api/tabs/tabs_api.cc.orig 2024-10-26 13:10:01 UTC +--- src/3rdparty/chromium/chrome/browser/extensions/api/tabs/tabs_api.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/extensions/api/tabs/tabs_api.cc -@@ -886,7 +886,7 @@ ExtensionFunction::ResponseAction WindowsCreateFunctio - // minimized. +@@ -925,7 +925,7 @@ ExtensionFunction::ResponseAction WindowsCreateFunctio + // created as minimized. // TODO(crbug.com/40254339): Remove this workaround when linux is fixed. // TODO(crbug.com/40254339): Find a fix for wayland as well. -#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11) - if (new_window->initial_show_state() == ui::SHOW_STATE_MINIMIZED) { + if (new_window->initial_show_state() == + ui::mojom::WindowShowState::kMinimized) { new_window->window()->Minimize(); - } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_webrtc__logging__private_webrtc__logging__private__api.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_webrtc__logging__private_webrtc__logging__private__api.cc index f459415887ce..a8156d55ea40 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_webrtc__logging__private_webrtc__logging__private__api.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_webrtc__logging__private_webrtc__logging__private__api.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc -@@ -31,7 +31,7 @@ +@@ -30,7 +30,7 @@ #include "extensions/browser/process_manager.h" #include "extensions/common/error_utils.h" @@ -9,7 +9,7 @@ #include "extensions/common/permissions/permissions_data.h" #endif -@@ -40,7 +40,7 @@ bool CanEnableAudioDebugRecordingsFromExtension( +@@ -39,7 +39,7 @@ bool CanEnableAudioDebugRecordingsFromExtension( bool CanEnableAudioDebugRecordingsFromExtension( const extensions::Extension* extension) { bool enabled_by_permissions = false; @@ -18,7 +18,7 @@ if (extension) { enabled_by_permissions = extension->permissions_data()->active_permissions().HasAPIPermission( -@@ -594,7 +594,7 @@ WebrtcLoggingPrivateGetLogsDirectoryFunction::Run() { +@@ -593,7 +593,7 @@ WebrtcLoggingPrivateGetLogsDirectoryFunction::Run() { ExtensionFunction::ResponseAction WebrtcLoggingPrivateGetLogsDirectoryFunction::Run() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_webstore__private_webstore__private__api.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_webstore__private_webstore__private__api.cc index 791801ea899c..6b4ee091c3ae 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_webstore__private_webstore__private__api.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_extensions_api_webstore__private_webstore__private__api.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc -@@ -915,7 +915,7 @@ void WebstorePrivateBeginInstallWithManifest3Function: +@@ -918,7 +918,7 @@ void WebstorePrivateBeginInstallWithManifest3Function: #if BUILDFLAG(IS_CHROMEOS) RequestExtensionApproval(contents); return; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_gcm_gcm__profile__service__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_gcm_gcm__profile__service__factory.cc index 7144dc3e806d..125ef24ccf43 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_gcm_gcm__profile__service__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_gcm_gcm__profile__service__factory.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/gcm/gcm_profile_service_factory.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/chrome/browser/gcm/gcm_profile_service_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/gcm/gcm_profile_service_factory.cc @@ -91,7 +91,7 @@ GCMProfileService* GCMProfileServiceFactory::GetForPro // static @@ -9,8 +9,8 @@ // On desktop, incognito profiles are checked with IsIncognitoProfile(). // It's possible for non-incognito profiles to also be off-the-record. bool is_profile_supported = -@@ -134,7 +134,7 @@ KeyedService* GCMProfileServiceFactory::BuildServiceIn - KeyedService* GCMProfileServiceFactory::BuildServiceInstanceFor( +@@ -134,7 +134,7 @@ GCMProfileServiceFactory::BuildServiceInstanceForBrows + GCMProfileServiceFactory::BuildServiceInstanceForBrowserContext( content::BrowserContext* context) const { Profile* profile = Profile::FromBrowserContext(context); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_gcm_instance__id_instance__id__profile__service__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_gcm_instance__id_instance__id__profile__service__factory.cc index d1c67ace1cc3..7c7c0c36fbf4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_gcm_instance__id_instance__id__profile__service__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_gcm_instance__id_instance__id__profile__service__factory.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/gcm/instance_id/instance_id_profile_service_factory.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/chrome/browser/gcm/instance_id/instance_id_profile_service_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/gcm/instance_id/instance_id_profile_service_factory.cc -@@ -16,7 +16,7 @@ namespace instance_id { +@@ -16,7 +16,7 @@ InstanceIDProfileService* InstanceIDProfileServiceFact // static InstanceIDProfileService* InstanceIDProfileServiceFactory::GetForProfile( content::BrowserContext* profile) { @@ -9,8 +9,8 @@ // On desktop, the guest profile is actually the primary OTR profile of // the "regular" guest profile. The regular guest profile is never used // directly by users. Also, user are not able to create child OTR profiles -@@ -64,7 +64,7 @@ InstanceIDProfileServiceFactory::~InstanceIDProfileSer - KeyedService* InstanceIDProfileServiceFactory::BuildServiceInstanceFor( +@@ -65,7 +65,7 @@ InstanceIDProfileServiceFactory::BuildServiceInstanceF + InstanceIDProfileServiceFactory::BuildServiceInstanceForBrowserContext( content::BrowserContext* context) const { Profile* profile = Profile::FromBrowserContext(context); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_router_discovery_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_router_discovery_BUILD.gn index 32a51a1c8207..d6c22c0f3bae 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_router_discovery_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_router_discovery_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/media/router/discovery/BUILD.gn.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/chrome/browser/media/router/discovery/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/media/router/discovery/BUILD.gn @@ -82,7 +82,7 @@ static_library("discovery") { ] diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_chrome__screen__enumerator.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_chrome__screen__enumerator.cc index 6a1ed70f1660..2533e48d7ac9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_chrome__screen__enumerator.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_chrome__screen__enumerator.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/media/webrtc/chrome_screen_enumerator.cc.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/chrome/browser/media/webrtc/chrome_screen_enumerator.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/media/webrtc/chrome_screen_enumerator.cc @@ -21,7 +21,7 @@ #if BUILDFLAG(IS_CHROMEOS_ASH) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_chrome__screen__enumerator.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_chrome__screen__enumerator.h index 2fe22232a693..f5ac11bbec78 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_chrome__screen__enumerator.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_chrome__screen__enumerator.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/media/webrtc/chrome_screen_enumerator.h.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/chrome/browser/media/webrtc/chrome_screen_enumerator.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/media/webrtc/chrome_screen_enumerator.h -@@ -20,7 +20,7 @@ namespace aura { +@@ -20,7 +20,7 @@ class Window; class Window; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_desktop__media__picker__controller.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_desktop__media__picker__controller.cc index 477cdf3526ec..4a8c70efe736 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_desktop__media__picker__controller.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_desktop__media__picker__controller.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/media/webrtc/desktop_media_picker_controller.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/chrome/browser/media/webrtc/desktop_media_picker_controller.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/media/webrtc/desktop_media_picker_controller.cc @@ -89,7 +89,7 @@ bool DesktopMediaPickerController::IsSystemAudioCaptur #if BUILDFLAG(IS_MAC) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__log__uploader.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__log__uploader.cc index 4676a7325540..23756ec0d47c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__log__uploader.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__log__uploader.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/media/webrtc/webrtc_log_uploader.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/chrome/browser/media/webrtc/webrtc_log_uploader.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/media/webrtc/webrtc_log_uploader.cc -@@ -110,7 +110,7 @@ std::string GetLogUploadProduct() { +@@ -112,7 +112,7 @@ std::string GetLogUploadProduct() { const char product[] = "Chrome_Mac"; // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch // of lacros-chrome is complete. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__logging__controller.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__logging__controller.cc index e28f79ea9fea..e4676f26e6f9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__logging__controller.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__logging__controller.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/media/webrtc/webrtc_logging_controller.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/chrome/browser/media/webrtc/webrtc_logging_controller.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/media/webrtc/webrtc_logging_controller.cc @@ -25,10 +25,10 @@ #include "components/webrtc_logging/browser/text_log_list.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__logging__controller.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__logging__controller.h index 02204f578dbd..ff5e89215eea 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__logging__controller.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_media_webrtc_webrtc__logging__controller.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/media/webrtc/webrtc_logging_controller.h.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/chrome/browser/media/webrtc/webrtc_logging_controller.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/media/webrtc/webrtc_logging_controller.h @@ -137,7 +137,7 @@ class WebRtcLoggingController size_t web_app_id, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_net_profile__network__context__service.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_net_profile__network__context__service.cc index b943e9eb2068..588545fc222b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_net_profile__network__context__service.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_net_profile__network__context__service.cc @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/chrome/browser/net/profile_network_context_service.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/net/profile_network_context_service.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/net/profile_network_context_service.cc -@@ -140,7 +140,7 @@ - #include "chromeos/startup/browser_params_proxy.h" +@@ -134,7 +134,7 @@ + #include "extensions/common/constants.h" #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) @@ -9,7 +9,7 @@ #include "chrome/browser/enterprise/client_certificates/certificate_provisioning_service_factory.h" #include "components/enterprise/client_certificates/core/certificate_provisioning_service.h" #include "components/enterprise/client_certificates/core/client_certificates_service.h" -@@ -260,7 +260,7 @@ void UpdateCookieSettings(Profile* profile, ContentSet +@@ -261,7 +261,7 @@ void UpdateCookieSettings(Profile* profile, ContentSet }); } @@ -18,10 +18,10 @@ std::unique_ptr<net::ClientCertStore> GetWrappedCertStore( Profile* profile, std::unique_ptr<net::ClientCertStore> platform_store) { -@@ -986,7 +986,7 @@ ProfileNetworkContextService::CreateClientCertStore() - store = std::make_unique<ClientCertStoreLacros>( - std::move(certificate_provider), cert_db_initializer, std::move(store)); - #endif // BUILDFLAG(IS_CHROMEOS_LACROS) +@@ -1202,7 +1202,7 @@ ProfileNetworkContextService::CreateClientCertStore() + std::make_unique<net::ClientCertStoreNSS>( + base::BindRepeating(&CreateCryptoModuleBlockingPasswordDelegate, + kCryptoModulePasswordClientAuth)); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return GetWrappedCertStore(profile_, std::move(store)); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_net_profile__network__context__service__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_net_profile__network__context__service__factory.cc new file mode 100644 index 000000000000..c808c5260195 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_net_profile__network__context__service__factory.cc @@ -0,0 +1,20 @@ +--- src/3rdparty/chromium/chrome/browser/net/profile_network_context_service_factory.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/chrome/browser/net/profile_network_context_service_factory.cc +@@ -24,7 +24,7 @@ + #include "chrome/browser/net/server_certificate_database_service_factory.h" // nogncheck + #endif + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #include "chrome/browser/enterprise/client_certificates/certificate_provisioning_service_factory.h" + #endif + +@@ -68,7 +68,7 @@ ProfileNetworkContextServiceFactory::ProfileNetworkCon + #if BUILDFLAG(CHROME_ROOT_STORE_CERT_MANAGEMENT_UI) + DependsOn(net::ServerCertificateDatabaseServiceFactory::GetInstance()); + #endif +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + DependsOn(client_certificates::CertificateProvisioningServiceFactory:: + GetInstance()); + #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.cc index 2833c9ab340b..64160da73d43 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.cc @@ -1,15 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/net/system_network_context_manager.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/net/system_network_context_manager.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/net/system_network_context_manager.cc -@@ -102,7 +102,7 @@ - - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) - #include "chrome/common/chrome_paths_internal.h" - #include "chrome/grit/branded_strings.h" - #include "ui/base/l10n/l10n_util.h" -@@ -146,7 +146,7 @@ SystemNetworkContextManager* g_system_network_context_ +@@ -135,7 +135,7 @@ bool g_previously_failed_to_launch_sandboxed_service = // received a failed launch for a sandboxed network service. bool g_previously_failed_to_launch_sandboxed_service = false; @@ -18,7 +9,7 @@ // Whether kerberos library loading will work in the network service due to the // sandbox. bool g_network_service_will_allow_gssapi_library_load = false; -@@ -154,7 +154,7 @@ bool g_network_service_will_allow_gssapi_library_load +@@ -143,7 +143,7 @@ const char* kGssapiDesiredPref = const char* kGssapiDesiredPref = #if BUILDFLAG(IS_CHROMEOS) prefs::kKerberosEnabled; @@ -27,7 +18,7 @@ prefs::kReceivedHttpAuthNegotiateHeader; #endif #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) -@@ -200,7 +200,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut +@@ -189,7 +189,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut auth_dynamic_params->basic_over_http_enabled = local_state->GetBoolean(prefs::kBasicAuthOverHttpEnabled); @@ -36,7 +27,7 @@ auth_dynamic_params->delegate_by_kdc_policy = local_state->GetBoolean(prefs::kAuthNegotiateDelegateByKdcPolicy); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) -@@ -215,7 +215,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut +@@ -204,7 +204,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut local_state->GetString(prefs::kAuthAndroidNegotiateAccountType); #endif // BUILDFLAG(IS_ANDROID) @@ -45,7 +36,7 @@ auth_dynamic_params->allow_gssapi_library_load = local_state->GetBoolean(kGssapiDesiredPref); #endif // BUILDFLAG(IS_CHROMEOS) -@@ -225,7 +225,7 @@ network::mojom::HttpAuthDynamicParamsPtr CreateHttpAut +@@ -214,7 +214,7 @@ void OnNewHttpAuthDynamicParams( void OnNewHttpAuthDynamicParams( network::mojom::HttpAuthDynamicParamsPtr& params) { @@ -54,7 +45,7 @@ // The kerberos library is incompatible with the network service sandbox, so // if library loading is now enabled, the network service needs to be // restarted. It will be restarted unsandboxed because is -@@ -267,11 +267,11 @@ NetworkSandboxState IsNetworkSandboxEnabledInternal() +@@ -256,11 +256,11 @@ NetworkSandboxState IsNetworkSandboxEnabledInternal() if (g_previously_failed_to_launch_sandboxed_service) { return NetworkSandboxState::kDisabledBecauseOfFailedLaunch; } @@ -68,7 +59,7 @@ // The network service sandbox and the kerberos library are incompatible. // If kerberos is enabled by policy, disable the network service sandbox. if (g_network_service_will_allow_gssapi_library_load || -@@ -287,7 +287,7 @@ NetworkSandboxState IsNetworkSandboxEnabledInternal() +@@ -276,7 +276,7 @@ NetworkSandboxState IsNetworkSandboxEnabledInternal() } #endif // BUILDFLAG(IS_WIN) @@ -77,7 +68,7 @@ if (local_state && local_state->HasPrefPath(prefs::kNetworkServiceSandboxEnabled)) { return local_state->GetBoolean(prefs::kNetworkServiceSandboxEnabled) -@@ -517,7 +517,7 @@ void SystemNetworkContextManager::DeleteInstance() { +@@ -520,7 +520,7 @@ void SystemNetworkContextManager::DeleteInstance() { g_system_network_context_manager = nullptr; } @@ -86,7 +77,7 @@ SystemNetworkContextManager::GssapiLibraryLoadObserver:: GssapiLibraryLoadObserver(SystemNetworkContextManager* owner) : owner_(owner) {} -@@ -575,7 +575,7 @@ SystemNetworkContextManager::SystemNetworkContextManag +@@ -578,7 +578,7 @@ SystemNetworkContextManager::SystemNetworkContextManag pref_change_registrar_.Add(prefs::kAllHttpAuthSchemesAllowedForOrigins, auth_pref_callback); @@ -95,7 +86,7 @@ pref_change_registrar_.Add(prefs::kAuthNegotiateDelegateByKdcPolicy, auth_pref_callback); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) -@@ -589,7 +589,7 @@ SystemNetworkContextManager::SystemNetworkContextManag +@@ -592,7 +592,7 @@ SystemNetworkContextManager::SystemNetworkContextManag auth_pref_callback); #endif // BUILDFLAG(IS_ANDROID) @@ -104,16 +95,16 @@ pref_change_registrar_.Add(kGssapiDesiredPref, auth_pref_callback); #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) -@@ -660,7 +660,7 @@ void SystemNetworkContextManager::RegisterPrefs(PrefRe - registry->RegisterBooleanPref(prefs::kKerberosEnabled, false); - #endif // BUILDFLAG(IS_CHROMEOS_LACROS) +@@ -657,7 +657,7 @@ void SystemNetworkContextManager::RegisterPrefs(PrefRe + registry->RegisterStringPref(prefs::kAuthNegotiateDelegateAllowlist, + std::string()); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) registry->RegisterBooleanPref(prefs::kAuthNegotiateDelegateByKdcPolicy, false); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) -@@ -685,11 +685,11 @@ void SystemNetworkContextManager::RegisterPrefs(PrefRe +@@ -682,11 +682,11 @@ void SystemNetworkContextManager::RegisterPrefs(PrefRe registry->RegisterListPref(prefs::kExplicitlyAllowedNetworkPorts); @@ -127,7 +118,7 @@ registry->RegisterBooleanPref(prefs::kReceivedHttpAuthNegotiateHeader, false); #endif // BUILDFLAG(IS_LINUX) -@@ -742,7 +742,7 @@ void SystemNetworkContextManager::OnNetworkServiceCrea +@@ -739,7 +739,7 @@ void SystemNetworkContextManager::OnNetworkServiceCrea OnNewHttpAuthDynamicParams(http_auth_dynamic_params); network_service->ConfigureHttpAuthPrefs(std::move(http_auth_dynamic_params)); @@ -136,7 +127,7 @@ gssapi_library_loader_observer_.Install(network_service); #endif // BUILDFLAG(IS_LINUX) -@@ -969,7 +969,7 @@ bool SystemNetworkContextManager::IsNetworkSandboxEnab +@@ -958,7 +958,7 @@ bool SystemNetworkContextManager::IsNetworkSandboxEnab break; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.h index 1f4c663c5ab9..d003906d547b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_net_system__network__context__manager.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/net/system_network_context_manager.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/net/system_network_context_manager.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/net/system_network_context_manager.h @@ -198,7 +198,7 @@ class SystemNetworkContextManager { class URLLoaderFactoryForSystem; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_prefs_browser__prefs.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_prefs_browser__prefs.cc index c92bad6fa9a6..ce4341054ea8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_prefs_browser__prefs.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_prefs_browser__prefs.cc @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/chrome/browser/prefs/browser_prefs.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/prefs/browser_prefs.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/prefs/browser_prefs.cc -@@ -313,7 +313,7 @@ - #include "components/user_notes/user_notes_prefs.h" +@@ -318,7 +318,7 @@ + #include "components/ntp_tiles/custom_links_manager_impl.h" #endif // BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) @@ -9,7 +9,7 @@ #include "chrome/browser/ui/webui/whats_new/whats_new_ui.h" #endif -@@ -491,18 +491,18 @@ +@@ -488,18 +488,18 @@ #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -31,7 +31,7 @@ #include "chrome/browser/enterprise/signin/enterprise_signin_prefs.h" #endif -@@ -537,7 +537,7 @@ +@@ -534,7 +534,7 @@ #include "chrome/browser/sessions/session_service_log.h" #endif @@ -40,16 +40,16 @@ #include "ui/color/system_theme.h" #endif -@@ -1678,7 +1678,7 @@ void RegisterLocalState(PrefRegistrySimple* registry) +@@ -1746,7 +1746,7 @@ void RegisterLocalState(PrefRegistrySimple* registry) on_device_translation::RegisterLocalStatePrefs(registry); - #endif // BUILDFLAG(IS_ANDROID) + #endif // BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) WhatsNewUI::RegisterLocalStatePrefs(registry); #endif -@@ -1854,7 +1854,7 @@ void RegisterLocalState(PrefRegistrySimple* registry) +@@ -1917,7 +1917,7 @@ void RegisterLocalState(PrefRegistrySimple* registry) #endif // BUILDFLAG(ENABLE_PDF) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -58,7 +58,7 @@ registry->RegisterBooleanPref(prefs::kChromeForTestingAllowed, true); #endif -@@ -2213,12 +2213,12 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync +@@ -2282,12 +2282,12 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_prefs_pref__service__incognito__allowlist.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_prefs_pref__service__incognito__allowlist.cc index f97e4522c338..ae4aef4fdc32 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_prefs_pref__service__incognito__allowlist.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_prefs_pref__service__incognito__allowlist.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/prefs/pref_service_incognito_allowlist.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/prefs/pref_service_incognito_allowlist.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/prefs/pref_service_incognito_allowlist.cc -@@ -198,7 +198,7 @@ const char* const kPersistentPrefNames[] = { +@@ -204,7 +204,7 @@ const char* const kPersistentPrefNames[] = { prefs::kShowFullscreenToolbar, #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_printing_print__backend__service__manager.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_printing_print__backend__service__manager.cc index 4250dad18aec..610732e2fb8e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_printing_print__backend__service__manager.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_printing_print__backend__service__manager.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/printing/print_backend_service_manager.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/chrome/browser/printing/print_backend_service_manager.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/printing/print_backend_service_manager.cc @@ -36,7 +36,7 @@ #include "printing/printing_context.h" @@ -9,7 +9,7 @@ #include "content/public/common/content_switches.h" #endif -@@ -877,7 +877,7 @@ PrintBackendServiceManager::GetServiceFromBundle( +@@ -883,7 +883,7 @@ PrintBackendServiceManager::GetServiceFromBundle( host.BindNewPipeAndPassReceiver(), content::ServiceProcessHost::Options() .WithDisplayName(IDS_UTILITY_PROCESS_PRINT_BACKEND_SERVICE_NAME) @@ -18,7 +18,7 @@ .WithExtraCommandLineSwitches({switches::kMessageLoopTypeUi}) #endif .Pass()); -@@ -1054,7 +1054,7 @@ PrintBackendServiceManager::DetermineIdleTimeoutUpdate +@@ -1060,7 +1060,7 @@ PrintBackendServiceManager::DetermineIdleTimeoutUpdate return kNoClientsRegisteredResetOnIdleTimeout; case ClientType::kQueryWithUi: diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_printing_printer__query.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_printing_printer__query.cc index da0f35eb9b61..fed785db8e93 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_printing_printer__query.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_printing_printer__query.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/printing/printer_query.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/chrome/browser/printing/printer_query.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/printing/printer_query.cc @@ -361,7 +361,7 @@ void PrinterQuery::UpdatePrintSettings(base::Value::Di crash_key = std::make_unique<crash_keys::ScopedPrinterInfo>( diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_resources_signin_signin__shared.css b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_resources_signin_signin__shared.css index 1a3008147862..daf113a763cd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_resources_signin_signin__shared.css +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_resources_signin_signin__shared.css @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/resources/signin/signin_shared.css.orig 2022-11-30 08:12:58 UTC +--- src/3rdparty/chromium/chrome/browser/resources/signin/signin_shared.css.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/resources/signin/signin_shared.css @@ -54,7 +54,7 @@ a { border-radius: var(--scrollbar-width); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_signin_accounts__policy__manager.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_signin_accounts__policy__manager.cc new file mode 100644 index 000000000000..6ed47af2c2fb --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_signin_accounts__policy__manager.cc @@ -0,0 +1,38 @@ +--- src/3rdparty/chromium/chrome/browser/signin/accounts_policy_manager.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/chrome/browser/signin/accounts_policy_manager.cc +@@ -41,7 +41,7 @@ + #include "chrome/browser/ui/webui/profile_helper.h" + #endif + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #include "components/policy/core/common/features.h" + #include "components/signin/public/identity_manager/accounts_mutator.h" + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +@@ -209,7 +209,7 @@ void AccountsPolicyManager::Initialize() { + &AccountsPolicyManager::OnGoogleServicesUsernamePatternChanged, + weak_pointer_factory_.GetWeakPtr())); + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + auto* identity_manager = IdentityManagerFactory::GetForProfile(profile_); + identity_manager_observation_.Observe(identity_manager); + profile_pref_change_registrar_.Init(profile_->GetPrefs()); +@@ -224,7 +224,7 @@ void AccountsPolicyManager::Shutdown() { + } + + void AccountsPolicyManager::Shutdown() { +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + profile_pref_change_registrar_.RemoveAll(); + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) + local_state_pref_registrar_.RemoveAll(); +@@ -341,7 +341,7 @@ void AccountsPolicyManager::OnUserConfirmedProfileDele + } + #endif // defined(TOOLKIT_VIEWS) && !BUILDFLAG(IS_CHROMEOS) + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + void AccountsPolicyManager::OnRefreshTokensLoaded() { + RemoveUnallowedAccounts(); + identity_manager_observation_.Reset(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_signin_accounts__policy__manager.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_signin_accounts__policy__manager.h new file mode 100644 index 000000000000..6a727c2d80bf --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_signin_accounts__policy__manager.h @@ -0,0 +1,29 @@ +--- src/3rdparty/chromium/chrome/browser/signin/accounts_policy_manager.h.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/chrome/browser/signin/accounts_policy_manager.h +@@ -13,7 +13,7 @@ + #include "components/signin/public/base/signin_metrics.h" + #include "components/signin/public/identity_manager/identity_manager.h" + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #include "base/scoped_observation.h" + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) + +@@ -64,7 +64,7 @@ class AccountsPolicyManager : public KeyedService, + } + #endif + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + void RemoveUnallowedAccounts(); + + // IdentityManager::Observer implementation. +@@ -85,7 +85,7 @@ class AccountsPolicyManager : public KeyedService, + bool hide_ui_for_testing_ = false; + #endif + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + base::ScopedObservation<signin::IdentityManager, + signin::IdentityManager::Observer> + identity_manager_observation_{this}; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_signin_signin__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_signin_signin__util.cc new file mode 100644 index 000000000000..5b6db2a4b425 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_signin_signin__util.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/chrome/browser/signin/signin_util.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/chrome/browser/signin/signin_util.cc +@@ -86,7 +86,7 @@ void CookiesMover::StartMovingCookies() { + CookiesMover::~CookiesMover() = default; + + void CookiesMover::StartMovingCookies() { +-#if (BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)) && !BUILDFLAG(IS_QTWEBENGINE) ++#if (BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)) && !BUILDFLAG(IS_QTWEBENGINE) + bool allow_cookies_to_be_moved = base::FeatureList::IsEnabled( + profile_management::features::kThirdPartyProfileManagement); + #else diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_about_about__ui.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_about_about__ui.cc index 1290583933ef..e070704055e0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_about_about__ui.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_about_about__ui.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/about/about_ui.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/about/about_ui.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/about/about_ui.cc -@@ -596,7 +596,7 @@ std::string ChromeURLs(content::BrowserContext* browse +@@ -496,7 +496,7 @@ std::string ChromeURLs(content::BrowserContext* browse return html; } @@ -9,7 +9,7 @@ std::string AboutLinuxProxyConfig() { std::string data; AppendHeader(&data, -@@ -629,7 +629,7 @@ TermsUIConfig::TermsUIConfig() +@@ -538,7 +538,7 @@ TermsUIConfig::TermsUIConfig() : AboutUIConfigBase(chrome::kChromeUITermsHost) {} #endif @@ -18,7 +18,7 @@ LinuxProxyConfigUI::LinuxProxyConfigUI() : AboutUIConfigBase(chrome::kChromeUILinuxProxyConfigHost) {} #endif -@@ -681,7 +681,7 @@ void AboutUIHTMLSource::StartDataRequest( +@@ -590,7 +590,7 @@ void AboutUIHTMLSource::StartDataRequest( response = ui::ResourceBundle::GetSharedInstance().LoadDataResourceString(idr); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_about_about__ui.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_about_about__ui.h index 44ade82d960c..d15a440713e9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_about_about__ui.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_about_about__ui.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/about/about_ui.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/about/about_ui.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/about/about_ui.h -@@ -50,7 +50,7 @@ class TermsUIConfig : public AboutUIConfigBase { +@@ -55,7 +55,7 @@ class TermsUIConfig : public AboutUIConfigBase { }; #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_app__home_app__home__page__handler.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_app__home_app__home__page__handler.cc index 6eb342ea16f1..332aa2498296 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_app__home_app__home__page__handler.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_app__home_app__home__page__handler.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/app_home/app_home_page_handler.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/app_home/app_home_page_handler.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/app_home/app_home_page_handler.cc @@ -62,7 +62,7 @@ #include "ui/base/window_open_disposition_utils.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_app__home_app__home__page__handler.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_app__home_app__home__page__handler.h index 8ba652f39610..ea4ff520a601 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_app__home_app__home__page__handler.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_app__home_app__home__page__handler.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/app_home/app_home_page_handler.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/app_home/app_home_page_handler.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/app_home/app_home_page_handler.h @@ -24,7 +24,7 @@ #include "mojo/public/cpp/bindings/receiver.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_app__settings_web__app__settings__ui.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_app__settings_web__app__settings__ui.h new file mode 100644 index 000000000000..6c9679d56f46 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_app__settings_web__app__settings__ui.h @@ -0,0 +1,18 @@ +--- src/3rdparty/chromium/chrome/browser/ui/webui/app_settings/web_app_settings_ui.h.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/chrome/browser/ui/webui/app_settings/web_app_settings_ui.h +@@ -14,13 +14,13 @@ + #include "ui/webui/mojo_web_ui_controller.h" + #include "ui/webui/resources/cr_components/app_management/app_management.mojom-forward.h" + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #include "chrome/common/webui_url_constants.h" + #include "content/public/browser/webui_config.h" + #include "content/public/common/url_constants.h" + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + class WebAppSettingsUI; + + class WebAppSettingsUIConfig diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc index 9b41c8c72527..c922db5b5078 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_certificate__manager__handler.cc @@ -1,8 +1,8 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/certificate_manager/certificate_manager_handler.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/certificate_manager/certificate_manager_handler.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/certificate_manager/certificate_manager_handler.cc -@@ -154,7 +154,7 @@ CertificateManagerPageHandler::GetCertSource( - "distrusted_certs", - cert_verifier::mojom::CertificateTrust::kDistrusted); +@@ -221,7 +221,7 @@ CertificateManagerPageHandler::GetCertSource( + CERTIFICATE_TRUST_TYPE_DISTRUSTED, + profile_, &remote_client_); break; -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc index 6d069fbd5dcd..1489f9cc6f1d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_client__cert__sources.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/certificate_manager/client_cert_sources.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/certificate_manager/client_cert_sources.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/certificate_manager/client_cert_sources.cc -@@ -43,7 +43,7 @@ +@@ -54,7 +54,7 @@ #include "net/ssl/client_cert_store_mac.h" #endif // BUILDFLAG(IS_MAC) @@ -9,16 +9,43 @@ #include "chrome/browser/enterprise/client_certificates/certificate_provisioning_service_factory.h" #include "components/enterprise/client_certificates/core/certificate_provisioning_service.h" #include "components/enterprise/client_certificates/core/client_certificates_service.h" -@@ -191,7 +191,7 @@ std::unique_ptr<ClientCertStoreLoader> CreatePlatformC +@@ -174,7 +174,7 @@ class ClientCertStoreFactoryMac : public ClientCertSto + }; #endif + +-#if !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_LINUX) ++#if !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) + std::unique_ptr<ClientCertStoreLoader> CreatePlatformClientCertLoader( + Profile* profile) { + #if BUILDFLAG(IS_WIN) +@@ -189,7 +189,7 @@ std::unique_ptr<ClientCertStoreLoader> CreatePlatformC } + #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // ClientCertStore implementation that always returns an empty list. The // CertificateProvisioningService implementation expects to wrap a platform // cert store, but here we only want to get results from the provisioning -@@ -673,7 +673,7 @@ CreatePlatformClientCertSource( +@@ -347,7 +347,7 @@ class ClientCertSource : public CertificateManagerPage + std::optional<net::CertificateList> certs_; + }; + +-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // ChromeOS currently can use either Kcer or NSS for listing client certs, and + // Linux uses NSS only. This interface provides an abstraction to hide that + // from WritableClientCertSource. Currently this class only handles reading +@@ -1078,7 +1078,7 @@ CreatePlatformClientCertSource( + mojo::Remote<certificate_manager_v2::mojom::CertificateManagerPage>* + remote_client, + Profile* profile) { +-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + return std::make_unique<WritableClientCertSource>(remote_client, profile); + #else + return std::make_unique<ClientCertSource>( +@@ -1086,7 +1086,7 @@ CreatePlatformClientCertSource( #endif } @@ -27,3 +54,12 @@ std::unique_ptr<CertificateManagerPageHandler::CertSource> CreateProvisionedClientCertSource(Profile* profile) { return std::make_unique<ClientCertSource>( +@@ -1135,7 +1135,7 @@ bool ClientCertManagementAccessControls::IsChangeAllow + + return client_cert_policy_ == ClientCertificateManagementPermission::kAll; + } +-#elif BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + ClientCertManagementAccessControls::ClientCertManagementAccessControls( + Profile* profile) {} + diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_client__cert__sources.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_client__cert__sources.h index be43fb7575a4..c492fd782d04 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_client__cert__sources.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_certificate__manager_client__cert__sources.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/certificate_manager/client_cert_sources.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/certificate_manager/client_cert_sources.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/certificate_manager/client_cert_sources.h -@@ -18,7 +18,7 @@ CreatePlatformClientCertSource( +@@ -19,7 +19,7 @@ CreatePlatformClientCertSource( remote_client, Profile* profile); @@ -9,3 +9,12 @@ std::unique_ptr<CertificateManagerPageHandler::CertSource> CreateProvisionedClientCertSource(Profile* profile); #endif +@@ -29,7 +29,7 @@ CreateExtensionsClientCertSource(Profile* profile); + CreateExtensionsClientCertSource(Profile* profile); + #endif + +-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + class ClientCertManagementAccessControls { + public: + enum KeyStorage { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__configs.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__configs.cc index f1461941c8ca..435b1aa35b46 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__configs.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__configs.cc @@ -1,33 +1,76 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/chrome_web_ui_configs.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/chrome_web_ui_configs.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/chrome_web_ui_configs.cc -@@ -77,7 +77,7 @@ - #include "chrome/browser/ui/webui/certificate_manager/certificate_manager_ui.h" - #endif // BUILDFLAG(CHROME_ROOT_STORE_CERT_MANAGEMENT_UI) +@@ -137,26 +137,26 @@ + #include "chrome/browser/ui/webui/conflicts/conflicts_ui.h" + #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #include "chrome/browser/ui/webui/app_settings/web_app_settings_ui.h" + #include "chrome/browser/ui/webui/browser_switch/browser_switch_ui.h" #include "chrome/browser/ui/webui/whats_new/whats_new_ui.h" - #endif + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ +- BUILDFLAG(IS_ANDROID) ++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) + #include "chrome/browser/ui/webui/sandbox/sandbox_internals_ui.h" + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || + // BUILDFLAG(IS_ANDROID) + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + #include "chrome/browser/ui/webui/connectors_internals/connectors_internals_ui.h" + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || + // BUILDFLAG(IS_CHROMEOS) + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + #include "chrome/browser/ui/webui/discards/discards_ui.h" + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || + // BUILDFLAG(IS_CHROMEOS) +@@ -184,7 +184,7 @@ + #include "chrome/browser/ui/webui/signin/signin_error_ui.h" + #endif // !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_ANDROID) + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #include "chrome/browser/ui/webui/on_device_translation_internals/on_device_translation_internals_ui.h" + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -148,10 +148,10 @@ void RegisterChromeWebUIConfigs() { - map.AddWebUIConfig(std::make_unique<WebuiGalleryUIConfig>()); - #endif // !BUILDFLAG(IS_ANDROID) +@@ -318,7 +318,7 @@ void RegisterChromeWebUIConfigs() { + map.AddWebUIConfig(std::make_unique<WebUIJsErrorUIConfig>()); + #endif // BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OPENBSD) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) map.AddWebUIConfig(std::make_unique<LinuxProxyConfigUI>()); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || -- // BUILDFLAG(IS_OPENBSD) -+ // BUILDFLAG(IS_BSD) - - #if BUILDFLAG(ENABLE_EXTENSIONS) - map.AddWebUIConfig(std::make_unique<extensions::ExtensionsUIConfig>()); -@@ -165,7 +165,7 @@ void RegisterChromeWebUIConfigs() { - map.AddWebUIConfig(std::make_unique<CertificateManagerUIConfig>()); - #endif // BUILDFLAG(CHROME_ROOT_STORE_CERT_MANAGEMENT_UI) + // BUILDFLAG(IS_OPENBSD) +@@ -343,7 +343,7 @@ void RegisterChromeWebUIConfigs() { + map.AddWebUIConfig(std::make_unique<ConflictsUIConfig>()); + #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + map.AddWebUIConfig(std::make_unique<BrowserSwitchUIConfig>()); + map.AddWebUIConfig(std::make_unique<WebAppSettingsUIConfig>()); map.AddWebUIConfig(std::make_unique<WhatsNewUIConfig>()); +@@ -351,13 +351,13 @@ void RegisterChromeWebUIConfigs() { #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ +- BUILDFLAG(IS_ANDROID) ++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) + map.AddWebUIConfig(std::make_unique<SandboxInternalsUIConfig>()); + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || + // BUILDFLAG(IS_ANDROID) + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + map.AddWebUIConfig( + std::make_unique<enterprise_connectors::ConnectorsInternalsUIConfig>()); + map.AddWebUIConfig(std::make_unique<DiscardsUIConfig>()); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc index 9c0165a41ec0..bf251b2df64b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc @@ -1,22 +1,12 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc -@@ -180,7 +180,7 @@ - #include "chrome/browser/ui/webui/chromeos/chrome_url_disabled/chrome_url_disabled_ui.h" - #endif - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - #include "chrome/browser/ui/webui/webui_js_error/webui_js_error_ui.h" - #endif - -@@ -205,22 +205,22 @@ +@@ -118,16 +118,16 @@ #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "chrome/browser/ui/webui/commerce/product_specifications_ui.h" - #include "chrome/browser/ui/webui/discards/discards_ui.h" #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ @@ -25,78 +15,22 @@ #include "chrome/browser/ui/webui/sandbox/sandbox_internals_ui.h" #endif - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS_ASH) -+ BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - #include "chrome/browser/ui/webui/connectors_internals/connectors_internals_ui.h" - #endif - -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "chrome/browser/ui/webui/whats_new/whats_new_ui.h" #endif -@@ -510,7 +510,7 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* we - if (url.host_piece() == chrome::kChromeUIMobileSetupHost) - return &NewWebUI<ash::cellular_setup::MobileSetupUI>; - #endif // BUILDFLAG(IS_CHROMEOS_ASH) --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - if (url.host_piece() == chrome::kChromeUIWebUIJsErrorHost) - return &NewWebUI<WebUIJsErrorUI>; - #endif -@@ -562,7 +562,7 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* we - if (url.host_piece() == chrome::kChromeUINaClHost) - return &NewWebUI<NaClUI>; - #endif --#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \ -+#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && \ - defined(TOOLKIT_VIEWS)) || \ - defined(USE_AURA) - if (url.host_piece() == chrome::kChromeUITabModalConfirmDialogHost) -@@ -605,26 +605,26 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* we - } - #endif - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ -- BUILDFLAG(IS_ANDROID) -+ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) - if (url.host_piece() == chrome::kChromeUISandboxHost) { - return &NewWebUI<SandboxInternalsUI>; - } - #endif - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS_ASH) -+ BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - if (url.host_piece() == chrome::kChromeUIConnectorsInternalsHost) - return &NewWebUI<enterprise_connectors::ConnectorsInternalsUI>; - #endif - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - if (url.host_piece() == chrome::kChromeUIDiscardsHost) - return &NewWebUI<DiscardsUI>; - #endif --#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - if (url.host_piece() == chrome::kChromeUIBrowserSwitchHost) - return &NewWebUI<BrowserSwitchUI>; - #endif --#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - if (url.host_piece() == chrome::kChromeUIWebAppSettingsHost) - return &NewWebUI<WebAppSettingsUI>; - #endif -@@ -860,7 +860,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory:: - if (page_url.host_piece() == chrome::kChromeUINewTabPageHost) +@@ -408,7 +408,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory:: return NewTabPageUI::GetFaviconResourceBytes(scale_factor); + } -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - if (page_url.host_piece() == chrome::kChromeUIWhatsNewHost) + if (page_url.host_piece() == chrome::kChromeUIWhatsNewHost) { return WhatsNewUI::GetFaviconResourceBytes(scale_factor); - #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -888,7 +888,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory:: - return ManagementUI::GetFaviconResourceBytes(scale_factor); + } +@@ -442,7 +442,7 @@ base::RefCountedMemory* ChromeWebUIControllerFactory:: + } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc index bbace5704e7a..6c39881b62f5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_connectors__internals_device__trust__utils.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/connectors_internals/device_trust_utils.cc.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/connectors_internals/device_trust_utils.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/connectors_internals/device_trust_utils.cc @@ -7,7 +7,7 @@ #include "build/build_config.h" @@ -9,7 +9,7 @@ #include "base/base64url.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/policy/chrome_browser_policy_connector.h" -@@ -38,7 +38,7 @@ namespace enterprise_connectors::utils { +@@ -38,7 +38,7 @@ namespace { namespace { @@ -18,7 +18,7 @@ connectors_internals::mojom::KeyTrustLevel ParseTrustLevel( BPKUR::KeyTrustLevel trust_level) { -@@ -173,7 +173,7 @@ connectors_internals::mojom::CertificateMetadataPtr Co +@@ -173,7 +173,7 @@ connectors_internals::mojom::KeyInfoPtr GetKeyInfo() { } // namespace connectors_internals::mojom::KeyInfoPtr GetKeyInfo() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_interstitials_interstitial__ui.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_interstitials_interstitial__ui.cc index b8979bbf590b..827ac5482d18 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_interstitials_interstitial__ui.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_interstitials_interstitial__ui.cc @@ -1,29 +1,29 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/interstitials/interstitial_ui.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/interstitials/interstitial_ui.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/interstitials/interstitial_ui.cc -@@ -71,7 +71,7 @@ +@@ -74,7 +74,7 @@ #include "components/security_interstitials/content/captive_portal_blocking_page.h" #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) #include "chrome/browser/supervised_user/supervised_user_verification_controller_client.h" - #include "chrome/browser/supervised_user/supervised_user_verification_page.h" - #endif -@@ -378,7 +378,7 @@ std::unique_ptr<EnterpriseWarnPage> CreateEnterpriseWa - kRequestUrl)); + #include "chrome/browser/supervised_user/supervised_user_verification_page_blocked_sites.h" + #include "chrome/browser/supervised_user/supervised_user_verification_page_youtube.h" +@@ -407,7 +407,7 @@ std::unique_ptr<EnterpriseWarnPage> CreateEnterpriseWa } + #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - std::unique_ptr<SupervisedUserVerificationPage> - CreateSupervisedUserVerificationPage(content::WebContents* web_contents, - bool is_main_frame) { -@@ -594,7 +594,7 @@ void InterstitialHTMLSource::StartDataRequest( + std::unique_ptr<SupervisedUserVerificationPageForYouTube> + CreateSupervisedUserVerificationPageForYouTube( + content::WebContents* web_contents, +@@ -634,7 +634,7 @@ void InterstitialHTMLSource::StartDataRequest( interstitial_delegate = CreateInsecureFormPage(web_contents); } else if (path_without_query == "/https_only") { interstitial_delegate = CreateHttpsOnlyModePage(web_contents); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) } else if (path_without_query == "/supervised-user-verify") { - interstitial_delegate = CreateSupervisedUserVerificationPage( + interstitial_delegate = CreateSupervisedUserVerificationPageForYouTube( web_contents, /*is_main_frame=*/true); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui.cc index 9d62e01b2499..de0d6fd5bd4b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui.cc -@@ -108,11 +108,11 @@ content::WebUIDataSource* CreateAndAddManagementUIHtml +@@ -175,11 +175,11 @@ void ManagementUI::GetLocalizedStrings( IDS_MANAGEMENT_FILE_TRANSFER_VISIBLE_DATA}, {kManagementReportFileEvents, IDS_MANAGEMENT_REPORT_FILE_EVENTS}, #endif // BUILDFLAG(IS_CHROMEOS) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.cc index 44993364499e..c7cf036added 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.cc @@ -1,8 +1,8 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_constants.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_constants.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_constants.cc -@@ -88,12 +88,12 @@ const char kProfileReportingBrowser[] = "profileReport - const char kProfileReportingExtension[] = "profileReportingExtension"; +@@ -89,12 +89,12 @@ const char kProfileReportingLearnMore[] = "profileRepo const char kProfileReportingPolicy[] = "profileReportingPolicy"; + const char kProfileReportingLearnMore[] = "profileReportingLearnMore"; -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.h index 4817d104eec3..5495168920fb 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__constants.h @@ -1,8 +1,8 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_constants.h.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_constants.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_constants.h -@@ -8,14 +8,14 @@ +@@ -7,14 +7,14 @@ + #include "build/build_config.h" - #include "build/chromeos_buildflags.h" -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.cc index 0134f25e6181..f45484272fe4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_handler.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_handler.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_handler.cc @@ -58,7 +58,7 @@ #include "ui/base/l10n/l10n_util.h" @@ -9,16 +9,25 @@ #include "chrome/browser/enterprise/signals/user_permission_service_factory.h" #include "components/device_signals/core/browser/user_permission_service.h" // nogncheck #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -@@ -365,7 +365,7 @@ void ManagementUIHandler::AddReportingInfo(base::Value +@@ -359,7 +359,7 @@ void ManagementUIHandler::AddReportingInfo(base::Value report_sources->Append(std::move(data)); } - } + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + auto device_signal_data = GetDeviceSignalGrantedMessage(); + if (!device_signal_data.empty()) { + report_sources->Append(std::move(device_signal_data)); +@@ -381,7 +381,7 @@ void ManagementUIHandler::AddReportingInfo(base::Value + report_sources->Append(std::move(data)); + } + -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // Insert the device signals consent disclosure at the end of browser - // reporting section. - auto* user_permission_service = GetUserPermissionService(); -@@ -557,7 +557,7 @@ policy::PolicyService* ManagementUIHandler::GetPolicyS + auto device_signal_data = GetDeviceSignalGrantedMessage(); + if (!device_signal_data.empty()) { + report_sources->Append(std::move(device_signal_data)); +@@ -567,7 +567,7 @@ policy::PolicyService* ManagementUIHandler::GetPolicyS ->policy_service(); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.h index d86f8a499bb0..07ea8ec38cd5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_management_management__ui__handler.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_handler.h.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_handler.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/management/management_ui_handler.h -@@ -31,7 +31,7 @@ namespace policy { +@@ -30,7 +30,7 @@ class PolicyService; class PolicyService; } // namespace policy @@ -9,12 +9,12 @@ namespace device_signals { class UserPermissionService; } // namespace device_signals -@@ -72,7 +72,7 @@ class ManagementUIHandler : public content::WebUIMessa +@@ -71,7 +71,7 @@ class ManagementUIHandler : public content::WebUIMessa base::Value::List GetManagedWebsitesInfo(Profile* profile) const; base::Value::List GetApplicationsInfo(Profile* profile) const; virtual policy::PolicyService* GetPolicyService(); -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) virtual device_signals::UserPermissionService* GetUserPermissionService(); + base::Value::Dict GetDeviceSignalGrantedMessage(); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) - diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_password__manager_promo__cards__handler.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_password__manager_promo__cards__handler.cc index 1a12df9eb539..c7ed7989aacf 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_password__manager_promo__cards__handler.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_password__manager_promo__cards__handler.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/password_manager/promo_cards_handler.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/password_manager/promo_cards_handler.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/password_manager/promo_cards_handler.cc @@ -28,7 +28,7 @@ #include "chrome/browser/ui/webui/password_manager/promo_cards/web_password_manager_promo.h" @@ -9,7 +9,7 @@ #include "chrome/browser/ui/webui/password_manager/promo_cards/relaunch_chrome_promo.h" #endif -@@ -75,7 +75,7 @@ std::vector<std::unique_ptr<PasswordPromoCardBase>> Ge +@@ -71,7 +71,7 @@ std::vector<std::unique_ptr<PasswordPromoCardBase>> Ge .get())); #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_password__manager_promo__cards_relaunch__chrome__promo.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_password__manager_promo__cards_relaunch__chrome__promo.cc index c113bb3b6b45..f67c106ab3d0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_password__manager_promo__cards_relaunch__chrome__promo.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_password__manager_promo__cards_relaunch__chrome__promo.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/password_manager/promo_cards/relaunch_chrome_promo.cc.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/password_manager/promo_cards/relaunch_chrome_promo.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/password_manager/promo_cards/relaunch_chrome_promo.cc @@ -37,7 +37,7 @@ std::u16string RelaunchChromePromo::GetTitle() const { return l10n_util::GetStringUTF16( diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_searchbox_searchbox__handler.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_searchbox_searchbox__handler.cc index 831ce017e9c7..75b5b10e2e85 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_searchbox_searchbox__handler.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_searchbox_searchbox__handler.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/searchbox/searchbox_handler.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/searchbox/searchbox_handler.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/searchbox/searchbox_handler.cc -@@ -108,7 +108,7 @@ const char* kMacShareIconResourceName = +@@ -111,7 +111,7 @@ const char* kWinShareIconResourceName = #elif BUILDFLAG(IS_WIN) const char* kWinShareIconResourceName = "//resources/cr_components/searchbox/icons/win_share.svg"; @@ -9,7 +9,7 @@ const char* kLinuxShareIconResourceName = "//resources/cr_components/searchbox/icons/share.svg"; #else -@@ -168,7 +168,7 @@ static void DefineChromeRefreshRealboxIcons() { +@@ -171,7 +171,7 @@ static void DefineChromeRefreshRealboxIcons() { #elif BUILDFLAG(IS_WIN) kWinShareIconResourceName = "//resources/cr_components/searchbox/icons/win_share_cr23.svg"; @@ -18,7 +18,7 @@ kLinuxShareIconResourceName = "//resources/cr_components/searchbox/icons/share_cr23.svg"; #else -@@ -645,7 +645,7 @@ std::string SearchboxHandler::ActionVectorIconToResour +@@ -607,7 +607,7 @@ std::string SearchboxHandler::ActionVectorIconToResour icon.name == omnibox::kShareWinChromeRefreshIcon.name) { return kWinShareIconResourceName; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_settings_appearance__handler.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_settings_appearance__handler.cc index 6e717d23d4e8..f9fa21d138f8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_settings_appearance__handler.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_settings_appearance__handler.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/settings/appearance_handler.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/settings/appearance_handler.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/settings/appearance_handler.cc -@@ -34,7 +34,7 @@ void AppearanceHandler::RegisterMessages() { +@@ -33,7 +33,7 @@ void AppearanceHandler::RegisterMessages() { "useDefaultTheme", base::BindRepeating(&AppearanceHandler::HandleUseTheme, base::Unretained(this), ui::SystemTheme::kDefault)); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc index ff18a411565b..0e06bca1d123 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_settings_settings__localized__strings__provider.cc @@ -1,15 +1,15 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc -@@ -144,7 +144,7 @@ - #include "chrome/browser/ui/chrome_pages.h" +@@ -137,7 +137,7 @@ + #include "chrome/browser/ui/webui/settings/system_handler.h" #endif --#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS) -+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !BUILDFLAG(IS_CHROMEOS_LACROS) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/display/screen.h" #endif -@@ -163,7 +163,7 @@ +@@ -156,7 +156,7 @@ #include "chrome/browser/ui/webui/certificate_manager_localized_strings_provider.h" #endif @@ -18,7 +18,7 @@ #include "ui/linux/linux_ui_factory.h" #include "ui/ozone/public/ozone_platform.h" #endif -@@ -287,7 +287,7 @@ void AddA11yStrings(content::WebUIDataSource* html_sou +@@ -281,7 +281,7 @@ void AddA11yStrings(content::WebUIDataSource* html_sou {"focusHighlightLabel", IDS_SETTINGS_ACCESSIBILITY_FOCUS_HIGHLIGHT_DESCRIPTION}, #endif @@ -27,7 +27,7 @@ {"overscrollHistoryNavigationTitle", IDS_SETTINGS_OVERSCROLL_HISTORY_NAVIGATION_TITLE}, {"overscrollHistoryNavigationSubtitle", -@@ -412,7 +412,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht +@@ -581,7 +581,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht {"uiFeatureAlignLeft", IDS_SETTINGS_UI_FEATURE_ALIGN_LEFT}, {"uiFeatureAlignRight", IDS_SETTINGS_UI_FEATURE_ALIGN_RIGHT}, {"resetToDefault", IDS_SETTINGS_RESET_TO_DEFAULT}, @@ -36,21 +36,21 @@ {"gtkTheme", IDS_SETTINGS_GTK_THEME}, {"useGtkTheme", IDS_SETTINGS_USE_GTK_THEME}, {"qtTheme", IDS_SETTINGS_QT_THEME}, -@@ -420,7 +420,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht +@@ -589,7 +589,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht {"classicTheme", IDS_SETTINGS_CLASSIC_THEME}, {"useClassicTheme", IDS_SETTINGS_USE_CLASSIC_THEME}, #endif --#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS) -+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !BUILDFLAG(IS_CHROMEOS_LACROS) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) {"showWindowDecorations", IDS_SHOW_WINDOW_DECORATIONS}, #endif #if BUILDFLAG(IS_MAC) -@@ -448,7 +448,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht +@@ -613,7 +613,7 @@ void AddAppearanceStrings(content::WebUIDataSource* ht + html_source->AddBoolean("toolbarPinningEnabled", + features::IsToolbarPinningEnabled()); - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS) -+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !BUILDFLAG(IS_CHROMEOS_LACROS) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool show_custom_chrome_frame = ui::OzonePlatform::GetInstance() ->GetPlatformRuntimeProperties() .supports_server_side_window_decorations; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_signin_profile__picker__handler.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_signin_profile__picker__handler.cc index f4c2e1339c83..a7e70f8dd470 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_signin_profile__picker__handler.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_signin_profile__picker__handler.cc @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/signin/profile_picker_handler.cc.orig 2025-08-18 00:53:11 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/signin/profile_picker_handler.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/signin/profile_picker_handler.cc -@@ -209,7 +209,7 @@ base::Value::Dict CreateProfileEntry(const ProfileAttr - +@@ -164,7 +164,7 @@ base::Value::Dict CreateProfileEntry(const ProfileAttr + IDS_PROFILE_PICKER_PROFILE_CARD_LABEL, local_profile_name); if (AccountInfo::IsManaged(entry->GetHostedDomain())) { profile_entry.Set("avatarBadge", "cr:domain"); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) @@ -9,12 +9,3 @@ } else if (base::FeatureList::IsEnabled( supervised_user::kShowKiteForSupervisedUsers) && entry->IsSupervised()) { -@@ -1222,7 +1222,7 @@ void ProfilePickerHandler::MaybeUpdateGuestMode() { - } - - void ProfilePickerHandler::MaybeUpdateGuestMode() { --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - if (!base::FeatureList::IsEnabled( - supervised_user::kHideGuestModeForSupervisedUsers)) { - return; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_internals_user__education_user__education__internals__page__handler__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc index 0aa838e04d56..3049ad973be5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_internals_user__education_user__education__internals__page__handler__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_user__education__internals_user__education__internals__page__handler__impl.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/internals/user_education/user_education_internals_page_handler_impl.cc.orig 2024-09-30 07:45:04 UTC -+++ src/3rdparty/chromium/chrome/browser/ui/webui/internals/user_education/user_education_internals_page_handler_impl.cc -@@ -41,7 +41,7 @@ +--- src/3rdparty/chromium/chrome/browser/ui/webui/user_education_internals/user_education_internals_page_handler_impl.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/chrome/browser/ui/webui/user_education_internals/user_education_internals_page_handler_impl.cc +@@ -50,7 +50,7 @@ #include "ui/base/l10n/l10n_util.h" #include "ui/base/webui/resource_path.h" @@ -9,7 +9,7 @@ #include "chrome/browser/ui/browser_navigator.h" #include "chrome/browser/ui/browser_navigator_params.h" #include "net/base/url_util.h" -@@ -81,7 +81,7 @@ user_education::NewBadgeRegistry* GetNewBadgeRegistry( +@@ -90,7 +90,7 @@ whats_new::WhatsNewRegistry* GetWhatsNewRegistry() { } whats_new::WhatsNewRegistry* GetWhatsNewRegistry() { @@ -18,7 +18,7 @@ return g_browser_process->GetFeatures()->whats_new_registry(); #else return nullptr; -@@ -765,7 +765,7 @@ void UserEducationInternalsPageHandlerImpl::ClearWhats +@@ -794,7 +794,7 @@ void UserEducationInternalsPageHandlerImpl::LaunchWhat } void UserEducationInternalsPageHandlerImpl::LaunchWhatsNewStaging() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_channel__info.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_channel__info.h index 13e2e0244d4d..eea0635393a0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_channel__info.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_channel__info.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/common/channel_info.h.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/chrome/common/channel_info.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/channel_info.h @@ -12,7 +12,7 @@ #include "build/build_config.h" @@ -9,7 +9,7 @@ namespace base { class Environment; } -@@ -100,7 +100,7 @@ void ClearChannelIdForTesting(); +@@ -100,7 +100,7 @@ std::string GetChannelSuffixForDataDir(); std::string GetChannelSuffixForDataDir(); #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_channel__info__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_channel__info__posix.cc index a6d7b12c8479..a08aae08bfc5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_channel__info__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_channel__info__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/common/channel_info_posix.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/common/channel_info_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/channel_info_posix.cc @@ -95,7 +95,7 @@ std::string GetChannelSuffixForDataDir() { } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__features.cc index a6e133375fa7..e13353130ba4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__features.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__features.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/common/chrome_features.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/chrome/common/chrome_features.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/chrome_features.cc -@@ -82,7 +82,7 @@ BASE_FEATURE(kUseAdHocSigningForWebAppShims, +@@ -75,7 +75,7 @@ BASE_FEATURE(kUseAdHocSigningForWebAppShims, #endif // BUILDFLAG(IS_MAC) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ // Enables or disables the Autofill survey triggered by opening a prompt to // save address info. BASE_FEATURE(kAutofillAddressSurvey, -@@ -100,7 +100,7 @@ BASE_FEATURE(kAutofillPasswordSurvey, +@@ -93,7 +93,7 @@ BASE_FEATURE(kAutofillPasswordSurvey, base::FEATURE_DISABLED_BY_DEFAULT); #endif @@ -18,7 +18,7 @@ // Enables the Restart background mode optimization. When all Chrome UI is // closed and it goes in the background, allows to restart the browser to // discard memory. -@@ -266,7 +266,7 @@ BASE_FEATURE(kDesktopPWAsElidedExtensionsMenu, +@@ -222,7 +222,7 @@ BASE_FEATURE(kDesktopPWAsElidedExtensionsMenu, // Enables or disables Desktop PWAs to be auto-started on OS login. #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -27,7 +27,7 @@ BASE_FEATURE(kDesktopPWAsRunOnOsLogin, "DesktopPWAsRunOnOsLogin", base::FEATURE_ENABLED_BY_DEFAULT); -@@ -302,7 +302,7 @@ BASE_FEATURE(kDesktopPWAsTabStripSettings, +@@ -252,7 +252,7 @@ BASE_FEATURE(kDesktopPWAsTabStripSettings, "DesktopPWAsTabStripSettings", base::FEATURE_DISABLED_BY_DEFAULT); @@ -36,7 +36,7 @@ // Controls whether Chrome Apps are supported. See https://crbug.com/1221251. // If the feature is disabled, Chrome Apps continue to work. If enabled, Chrome // Apps will not launch and will be marked in the UI as deprecated. -@@ -874,7 +874,7 @@ BASE_FEATURE(kKAnonymityServiceStorage, +@@ -823,7 +823,7 @@ BASE_FEATURE(kKAnonymityServiceStorage, "KAnonymityServiceStorage", base::FEATURE_ENABLED_BY_DEFAULT); @@ -45,7 +45,7 @@ BASE_FEATURE(kLinuxLowMemoryMonitor, "LinuxLowMemoryMonitor", base::FEATURE_DISABLED_BY_DEFAULT); -@@ -887,7 +887,7 @@ constexpr base::FeatureParam<int> kLinuxLowMemoryMonit +@@ -836,7 +836,7 @@ constexpr base::FeatureParam<int> kLinuxLowMemoryMonit &kLinuxLowMemoryMonitor, "critical_level", 255}; #endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__features.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__features.h index 84ef3b471376..34dafeda7ae5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__features.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__features.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/common/chrome_features.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/common/chrome_features.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/chrome_features.h -@@ -60,13 +60,13 @@ BASE_DECLARE_FEATURE(kUseAdHocSigningForWebAppShims); +@@ -55,13 +55,13 @@ BASE_DECLARE_FEATURE(kUseAdHocSigningForWebAppShims); #endif // BUILDFLAG(IS_MAC) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -16,7 +16,7 @@ COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kBackgroundModeAllowRestart); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -@@ -179,7 +179,7 @@ BASE_DECLARE_FEATURE(kDesktopPWAsPreventClose); +@@ -153,7 +153,7 @@ BASE_DECLARE_FEATURE(kDesktopPWAsTabStripSettings); COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kDesktopPWAsTabStripSettings); @@ -25,7 +25,7 @@ COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kChromeAppsDeprecation); COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kShortcutsNotApps); -@@ -512,7 +512,7 @@ BASE_DECLARE_FEATURE(kKAnonymityServiceOHTTPRequests); +@@ -500,7 +500,7 @@ BASE_DECLARE_FEATURE(kKAnonymityServiceStorage); COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kKAnonymityServiceStorage); @@ -34,7 +34,7 @@ COMPONENT_EXPORT(CHROME_FEATURES) BASE_DECLARE_FEATURE(kLinuxLowMemoryMonitor); COMPONENT_EXPORT(CHROME_FEATURES) extern const base::FeatureParam<int> kLinuxLowMemoryMonitorModerateLevel; -@@ -520,7 +520,7 @@ COMPONENT_EXPORT(CHROME_FEATURES) +@@ -508,7 +508,7 @@ extern const base::FeatureParam<int> kLinuxLowMemoryMo extern const base::FeatureParam<int> kLinuxLowMemoryMonitorCriticalLevel; #endif // BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__paths.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__paths.cc index 6567eded1593..135b38531e3a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__paths.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__paths.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/common/chrome_paths.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/chrome/common/chrome_paths.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/chrome_paths.cc @@ -30,7 +30,7 @@ #include "base/apple/foundation_util.h" @@ -9,7 +9,7 @@ #include "components/policy/core/common/policy_paths.h" #endif -@@ -52,14 +52,14 @@ +@@ -52,14 +52,14 @@ namespace { namespace { @@ -27,7 +27,7 @@ #endif // BUILDFLAG(GOOGLE_CHROME_BRANDING) #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -@@ -225,7 +225,7 @@ bool PathProvider(int key, base::FilePath* result) { +@@ -221,7 +221,7 @@ bool PathProvider(int key, base::FilePath* result) { } break; case chrome::DIR_DEFAULT_DOWNLOADS_SAFE: @@ -36,16 +36,16 @@ if (!GetUserDownloadsDirectorySafe(&cur)) { return false; } -@@ -541,7 +541,7 @@ bool PathProvider(int key, base::FilePath* result) { - return false; - } +@@ -527,7 +527,7 @@ bool PathProvider(int key, base::FilePath* result) { break; + } + #endif -#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_OPENBSD) +#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_MAC) case chrome::DIR_POLICY_FILES: { cur = base::FilePath(policy::kPolicyPath); break; -@@ -552,7 +552,7 @@ bool PathProvider(int key, base::FilePath* result) { +@@ -538,7 +538,7 @@ bool PathProvider(int key, base::FilePath* result) { #if BUILDFLAG(IS_CHROMEOS_ASH) || \ ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) && \ BUILDFLAG(CHROMIUM_BRANDING)) || \ @@ -54,7 +54,7 @@ case chrome::DIR_USER_EXTERNAL_EXTENSIONS: { if (!base::PathService::Get(chrome::DIR_USER_DATA, &cur)) { return false; -@@ -561,7 +561,7 @@ bool PathProvider(int key, base::FilePath* result) { +@@ -547,7 +547,7 @@ bool PathProvider(int key, base::FilePath* result) { break; } #endif @@ -63,7 +63,7 @@ case chrome::DIR_STANDALONE_EXTERNAL_EXTENSIONS: { cur = base::FilePath(kFilepathSinglePrefExtensions); break; -@@ -599,7 +599,7 @@ bool PathProvider(int key, base::FilePath* result) { +@@ -585,7 +585,7 @@ bool PathProvider(int key, base::FilePath* result) { break; #if BUILDFLAG(ENABLE_EXTENSIONS) && \ @@ -72,7 +72,7 @@ case chrome::DIR_NATIVE_MESSAGING: #if BUILDFLAG(IS_MAC) #if BUILDFLAG(GOOGLE_CHROME_BRANDING) -@@ -613,6 +613,9 @@ bool PathProvider(int key, base::FilePath* result) { +@@ -599,6 +599,9 @@ bool PathProvider(int key, base::FilePath* result) { #if BUILDFLAG(GOOGLE_CHROME_BRANDING) cur = base::FilePath( FILE_PATH_LITERAL("/etc/opt/chrome/native-messaging-hosts")); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__paths.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__paths.h index d31751dc9060..e0ece615674c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__paths.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__paths.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/common/chrome_paths.h.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/chrome/common/chrome_paths.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/chrome_paths.h -@@ -59,7 +59,7 @@ enum { +@@ -62,7 +62,7 @@ enum { #if BUILDFLAG(IS_CHROMEOS_ASH) || \ ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) && \ BUILDFLAG(CHROMIUM_BRANDING)) || \ @@ -9,7 +9,7 @@ DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions // on Chrome Mac and Chromium Linux. // On Chrome OS, this path is used for OEM -@@ -67,7 +67,7 @@ enum { +@@ -70,7 +70,7 @@ enum { // create it. #endif @@ -18,7 +18,7 @@ DIR_STANDALONE_EXTERNAL_EXTENSIONS, // Directory for 'per-extension' // definition manifest files that // describe extensions which are to be -@@ -126,7 +126,7 @@ enum { +@@ -117,7 +117,7 @@ enum { #endif #if BUILDFLAG(ENABLE_EXTENSIONS) && \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__paths__internal.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__paths__internal.h index ef783e50e09d..104c4aebf5d0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__paths__internal.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__paths__internal.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/common/chrome_paths_internal.h.orig 2023-05-31 08:12:17 UTC +--- src/3rdparty/chromium/chrome/common/chrome_paths_internal.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/chrome_paths_internal.h -@@ -43,7 +43,7 @@ void GetUserCacheDirectory(const base::FilePath& profi +@@ -43,7 +43,7 @@ bool GetUserDocumentsDirectory(base::FilePath* result) // Get the path to the user's documents directory. bool GetUserDocumentsDirectory(base::FilePath* result); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__switches.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__switches.cc index d438657b7ea2..a5499fd571e0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__switches.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__switches.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/common/chrome_switches.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/chrome/common/chrome_switches.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/chrome_switches.cc -@@ -886,14 +886,14 @@ const char kAllowNaClSocketAPI[] = "allow-nacl-socket- +@@ -888,7 +888,7 @@ const char kAllowNaClSocketAPI[] = "allow-nacl-socket- #endif #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -9,7 +9,8 @@ const char kEnableNewAppMenuIcon[] = "enable-new-app-menu-icon"; // Causes the browser to launch directly in guest mode. - const char kGuest[] = "guest"; +@@ -906,7 +906,7 @@ const char kGlicFreURL[] = "glic-fre-url"; + const char kGlicFreURL[] = "glic-fre-url"; #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__switches.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__switches.h index 7e17048e9752..246fcdff1070 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__switches.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_chrome__switches.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/common/chrome_switches.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/chrome/common/chrome_switches.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/chrome_switches.h -@@ -275,12 +275,12 @@ extern const char kAllowNaClSocketAPI[]; +@@ -275,7 +275,7 @@ extern const char kAllowNaClSocketAPI[]; #endif #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -8,6 +8,9 @@ + BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) extern const char kEnableNewAppMenuIcon[]; extern const char kGuest[]; + extern const char kForceNtpMobilePromo[]; +@@ -288,7 +288,7 @@ extern const char kGlicFreURL[]; + extern const char kGlicFreURL[]; #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_crash__keys.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_crash__keys.cc index 83c56c2c5483..c3dfa39fefee 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_crash__keys.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_crash__keys.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/common/crash_keys.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/chrome/common/crash_keys.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/crash_keys.cc -@@ -56,7 +56,9 @@ class CrashKeyWithName { +@@ -52,7 +52,9 @@ class CrashKeyWithName { ~CrashKeyWithName() = delete; std::string_view Name() const { return name_; } @@ -10,7 +10,7 @@ void Clear() { crash_key_.Clear(); } void Set(std::string_view value) { crash_key_.Set(value); } -@@ -201,6 +203,7 @@ void AllocateCrashKeyInBrowserAndChildren(std::string_ +@@ -197,6 +199,7 @@ void AllocateCrashKeyInBrowserAndChildren(std::string_ GetCommandLineStringAnnotations().emplace_back(std::string(key)).Set(value); } @@ -18,7 +18,7 @@ void AppendStringAnnotationsCommandLineSwitch(base::CommandLine* command_line) { std::string string_annotations; for (const auto& crash_key : GetCommandLineStringAnnotations()) { -@@ -212,6 +215,7 @@ void AppendStringAnnotationsCommandLineSwitch(base::Co +@@ -211,6 +214,7 @@ void AppendStringAnnotationsCommandLineSwitch(base::Co } command_line->AppendSwitchASCII(kStringAnnotationsSwitch, string_annotations); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_extensions_extension__constants.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_extensions_extension__constants.cc new file mode 100644 index 000000000000..d8c8a42f3053 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_extensions_extension__constants.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/chrome/common/extensions/extension_constants.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/chrome/common/extensions/extension_constants.cc +@@ -46,7 +46,7 @@ const char* const kBuiltInFirstPartyExtensionIds[] = { + #if !BUILDFLAG(IS_CHROMEOS_LACROS) + kReadingModeGDocsHelperExtensionId, + #endif // !BUILDFLAG(IS_CHROMEOS_LACROS) +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + kTTSEngineExtensionId, + kComponentUpdaterTTSEngineExtensionId, + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_extensions_extension__constants.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_extensions_extension__constants.h new file mode 100644 index 000000000000..23f1c0fa1d46 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_extensions_extension__constants.h @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/chrome/common/extensions/extension_constants.h.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/chrome/common/extensions/extension_constants.h +@@ -332,7 +332,7 @@ inline constexpr base::FilePath::CharType + kReadingModeGDocsHelperManifestFilename[] = + FILE_PATH_LITERAL("reading_mode_gdocs_helper_manifest.json"); + #endif // !BUILDFLAG(IS_CHROMEOS_LACROS) +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + // The extension id of the google tts engine extension to use on-device natural + // Google voices. + inline constexpr char kTTSEngineExtensionId[] = diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_extensions_permissions_chrome__permission__message__rules.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_extensions_permissions_chrome__permission__message__rules.cc index f3017668a0a4..f7867c513c14 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_extensions_permissions_chrome__permission__message__rules.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_extensions_permissions_chrome__permission__message__rules.cc @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/chrome/common/extensions/permissions/chrome_permission_message_rules.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/chrome/common/extensions/permissions/chrome_permission_message_rules.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/extensions/permissions/chrome_permission_message_rules.cc -@@ -287,7 +287,7 @@ int GetEnterpriseReportingPrivatePermissionMessageId() - #endif +@@ -280,7 +280,7 @@ int GetEnterpriseReportingPrivatePermissionMessageId() + int GetEnterpriseReportingPrivatePermissionMessageId() { #if BUILDFLAG(IS_WIN) return IDS_EXTENSION_PROMPT_WARNING_ENTERPRISE_REPORTING_PRIVATE_ENABLED_WIN; -#elif BUILDFLAG(IS_LINUX) or BUILDFLAG(IS_MAC) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_media_cdm__host__file__path.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_media_cdm__host__file__path.cc index 1ae38d605706..6290115f5595 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_media_cdm__host__file__path.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_media_cdm__host__file__path.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/common/media/cdm_host_file_path.cc.orig 2023-02-08 09:03:45 UTC +--- src/3rdparty/chromium/chrome/common/media/cdm_host_file_path.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/media/cdm_host_file_path.cc @@ -90,7 +90,7 @@ void AddCdmHostFilePaths( cdm_host_file_paths->emplace_back(chrome_framework_path, @@ -8,4 +8,4 @@ +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) base::FilePath chrome_exe_dir; - if (!base::PathService::Get(base::DIR_EXE, &chrome_exe_dir)) + if (!base::PathService::Get(base::DIR_EXE, &chrome_exe_dir)) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.cc index a9b6106b490e..4418372ddb74 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/common/media/cdm_registration.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/chrome/common/media/cdm_registration.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/media/cdm_registration.cc @@ -33,7 +33,7 @@ #if BUILDFLAG(ENABLE_WIDEVINE) @@ -9,8 +9,8 @@ #include "base/native_library.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/media/component_widevine_cdm_hint_file_linux.h" -@@ -86,7 +86,7 @@ void ReportLacrosUMA(LacrosBundledWidevine value) { - +@@ -52,7 +52,7 @@ using Robustness = content::CdmInfo::Robustness; + #if BUILDFLAG(ENABLE_WIDEVINE) #if (BUILDFLAG(BUNDLE_WIDEVINE_CDM) || \ BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)) && \ - (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) @@ -18,7 +18,7 @@ // Create a CdmInfo for a Widevine CDM, using |version|, |cdm_library_path|, and // |capability|. std::unique_ptr<content::CdmInfo> CreateWidevineCdmInfo( -@@ -131,7 +131,7 @@ std::unique_ptr<content::CdmInfo> CreateCdmInfoFromWid +@@ -97,7 +97,7 @@ std::unique_ptr<content::CdmInfo> CreateCdmInfoFromWid // BUILDFLAG(IS_CHROMEOS)) #if BUILDFLAG(BUNDLE_WIDEVINE_CDM) && \ @@ -27,30 +27,30 @@ // On Linux/ChromeOS we have to preload the CDM since it uses the zygote // sandbox. On Windows and Mac, CDM registration is handled by Component // Update (as the CDM can be loaded only when needed). -@@ -185,7 +185,7 @@ std::unique_ptr<content::CdmInfo> GetAshBundledWidevin - #endif // BUILDFLAG(IS_CHROMEOS_LACROS) +@@ -121,7 +121,7 @@ std::unique_ptr<content::CdmInfo> GetBundledWidevine() + // (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) - #if (BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) && \ -- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH))) || \ -+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD))) || \ - BUILDFLAG(IS_CHROMEOS_LACROS) + #if (BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) && \ +- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))) ++ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD))) // This code checks to see if Component Updater picked a version of the Widevine // CDM to be used last time it ran. (Component Updater may choose the bundled -@@ -232,7 +232,7 @@ void AddSoftwareSecureWidevine(std::vector<content::Cd + // CDM if there is not a new version available for download.) If there is one +@@ -163,7 +163,7 @@ void AddSoftwareSecureWidevine(std::vector<content::Cd /*supports_sub_key_systems=*/false, kWidevineCdmDisplayName, kWidevineCdmType, base::Version(), base::FilePath()); -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - #if defined(WIDEVINE_CDM_MIN_GLIBC_VERSION) - base::Version glibc_version(gnu_get_libc_version()); - DCHECK(glibc_version.IsValid()); -@@ -493,7 +493,7 @@ void RegisterCdmInfo(std::vector<content::CdmInfo>* cd + // The Widevine CDM on Linux/ChromeOS needs to be registered (and loaded) + // before the zygote is locked down. The CDM can be found from the version + // bundled with Chrome (if BUNDLE_WIDEVINE_CDM = true) and/or the version +@@ -388,7 +388,7 @@ void RegisterCdmInfo(std::vector<content::CdmInfo>* cd } #if BUILDFLAG(ENABLE_WIDEVINE) && \ -- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)) -+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)) +- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) ++ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) std::vector<content::CdmInfo> GetSoftwareSecureWidevine() { std::vector<content::CdmInfo> cdms; AddSoftwareSecureWidevine(&cdms); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.h index 7875329b6133..4657beee911f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_media_cdm__registration.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/common/media/cdm_registration.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/chrome/common/media/cdm_registration.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/media/cdm_registration.h -@@ -16,7 +16,7 @@ +@@ -16,7 +16,7 @@ void RegisterCdmInfo(std::vector<content::CdmInfo>* cd void RegisterCdmInfo(std::vector<content::CdmInfo>* cdms); #if BUILDFLAG(ENABLE_WIDEVINE) && \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_media_component__widevine__cdm__hint__file__linux.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_media_component__widevine__cdm__hint__file__linux.h index ecbb3e4ee1c5..31b4488f46f8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_media_component__widevine__cdm__hint__file__linux.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_media_component__widevine__cdm__hint__file__linux.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/common/media/component_widevine_cdm_hint_file_linux.h.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/chrome/common/media/component_widevine_cdm_hint_file_linux.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/media/component_widevine_cdm_hint_file_linux.h @@ -17,7 +17,7 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_pref__names.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_pref__names.h index d7e2fbba4bea..c7ad78a2655b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_pref__names.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_pref__names.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/common/pref_names.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/common/pref_names.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/pref_names.h -@@ -1379,7 +1379,7 @@ inline constexpr char kUseAshProxy[] = "lacros.proxy.u +@@ -1340,7 +1340,7 @@ inline constexpr char kUseAshProxy[] = "lacros.proxy.u // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch // of lacros-chrome is complete. @@ -9,7 +9,7 @@ // Linux specific preference on whether we should match the system theme. inline constexpr char kSystemTheme[] = "extensions.theme.system_theme"; #endif -@@ -1552,7 +1552,7 @@ inline constexpr char kShowUpdatePromotionInfoBar[] = +@@ -1517,7 +1517,7 @@ inline constexpr char kShowUpdatePromotionInfoBar[] = "browser.show_update_promotion_info_bar"; #endif @@ -18,7 +18,7 @@ // Boolean that is false if we should show window manager decorations. If // true, we draw a custom chrome frame (thicker title bar and blue border). inline constexpr char kUseCustomChromeFrame[] = "browser.custom_chrome_frame"; -@@ -2159,7 +2159,7 @@ inline constexpr char kDownloadDefaultDirectory[] = +@@ -2135,7 +2135,7 @@ inline constexpr char kDownloadDirUpgraded[] = "downlo inline constexpr char kDownloadDirUpgraded[] = "download.directory_upgrade"; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ @@ -27,7 +27,7 @@ inline constexpr char kOpenPdfDownloadInSystemReader[] = "download.open_pdf_in_system_reader"; #endif -@@ -2602,14 +2602,14 @@ inline constexpr char kMediaStorageIdSalt[] = "media.s +@@ -2630,14 +2630,14 @@ inline constexpr char kMediaCdmOriginData[] = "media.c inline constexpr char kMediaCdmOriginData[] = "media.cdm.origin_data"; #endif // BUILDFLAG(IS_WIN) @@ -44,16 +44,16 @@ // Records whether the user has seen an HTTP auth "negotiate" header. inline constexpr char kReceivedHttpAuthNegotiateHeader[] = "net.received_http_auth_negotiate_headers"; -@@ -2687,7 +2687,7 @@ inline constexpr char kAmbientAuthenticationInPrivateM - inline constexpr char kBasicAuthOverHttpEnabled[] = - "auth.basic_over_http_enabled"; +@@ -2729,7 +2729,7 @@ inline constexpr char kIsolatedWebAppPendingInitializa + inline constexpr char kIsolatedWebAppPendingInitializationCount[] = + "profile.isolated_web_app.install.pending_initialization_count"; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Boolean that specifies whether OK-AS-DELEGATE flag from KDC is respected // along with kAuthNegotiateDelegateAllowlist. inline constexpr char kAuthNegotiateDelegateByKdcPolicy[] = -@@ -3228,7 +3228,7 @@ inline constexpr char kDeviceWeeklyScheduledSuspend[] +@@ -3253,7 +3253,7 @@ inline constexpr char kDeviceWeeklyScheduledSuspend[] #endif // BUILDFLAG(IS_CHROMEOS) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -62,7 +62,7 @@ // Defines administrator-set availability of Chrome for Testing. inline constexpr char kChromeForTestingAllowed[] = "chrome_for_testing.allowed"; #endif -@@ -3824,7 +3824,7 @@ inline constexpr char kFileOrDirectoryPickerWithoutGes +@@ -3845,7 +3845,7 @@ inline constexpr char kSandboxExternalProtocolBlocked[ inline constexpr char kSandboxExternalProtocolBlocked[] = "profile.sandbox_external_protocol_blocked"; @@ -71,7 +71,7 @@ // Boolean that indicates if system notifications are allowed to be used in // place of Chrome notifications. inline constexpr char kAllowSystemNotifications[] = -@@ -4094,7 +4094,7 @@ inline constexpr char kLensDesktopNTPSearchEnabled[] = +@@ -4041,7 +4041,7 @@ inline constexpr char kLensDesktopNTPSearchEnabled[] = "policy.lens_desktop_ntp_search_enabled"; #endif @@ -80,7 +80,7 @@ // A dict mapping the edition name with the major version it was shown. inline constexpr char kWhatsNewEditionUsed[] = "browser.whats_new.edition_used"; // A list containing the features of each module in order of when they -@@ -4188,7 +4188,7 @@ inline constexpr char kPrintingOAuth2AuthorizationServ +@@ -4135,7 +4135,7 @@ inline constexpr char kPrintingOAuth2AuthorizationServ "printing.oauth2_authorization_servers"; #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_url__constants.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_url__constants.h index a460a23a4f85..1c3d7e295df3 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_url__constants.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_url__constants.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/chrome/common/url_constants.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/common/url_constants.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/url_constants.h -@@ -929,7 +929,7 @@ inline constexpr char kOutdatedPluginLearnMoreURL[] = +@@ -978,7 +978,7 @@ inline constexpr char kPhoneHubPermissionLearnMoreURL[ inline constexpr char kPhoneHubPermissionLearnMoreURL[] = "https://support.google.com/chromebook?p=multidevice"; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.cc index 6caf2edb74e6..0dafd5fef2e5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.cc @@ -1,16 +1,12 @@ ---- src/3rdparty/chromium/chrome/common/webui_url_constants.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/chrome/common/webui_url_constants.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/webui_url_constants.cc -@@ -212,21 +212,21 @@ base::span<const base::cstring_view> ChromeURLHosts() +@@ -207,18 +207,18 @@ base::span<const base::cstring_view> ChromeURLHosts() kChromeUIAssistantOptInHost, #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS_ASH) -+ BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - kChromeUIConnectorsInternalsHost, - #endif - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + kChromeUIConnectorsInternalsHost, kChromeUIDiscardsHost, #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) @@ -26,12 +22,3 @@ kChromeUISandboxHost, #endif #if BUILDFLAG(IS_WIN) -@@ -305,7 +305,7 @@ base::span<const base::cstring_view> ChromeDebugURLs() - blink::kChromeUIGpuJavaCrashURL, - kChromeUIJavaCrashURL, - #endif --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - kChromeUIWebUIJsErrorURL, - #endif - kChromeUIQuitURL, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.h index 9f430df4c710..07d9ac136ee0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_common_webui__url__constants.h @@ -1,18 +1,11 @@ ---- src/3rdparty/chromium/chrome/common/webui_url_constants.h.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/chrome/common/webui_url_constants.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/common/webui_url_constants.h -@@ -584,24 +584,24 @@ inline constexpr char kOsUIVersionURL[] = "os://versio - inline constexpr char kOsUIVersionURL[] = "os://version"; - #endif - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - inline constexpr char kChromeUIWebUIJsErrorHost[] = "webuijserror"; - inline constexpr char kChromeUIWebUIJsErrorURL[] = "chrome://webuijserror/"; - #endif +@@ -511,18 +511,18 @@ inline constexpr char kChromeUIOsUrlAppURL[] = "chrome + #endif // BUILDFLAG(IS_CHROMEOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS_ASH) -+ BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) inline constexpr char kChromeUIConnectorsInternalsHost[] = "connectors-internals"; #endif @@ -29,7 +22,7 @@ inline constexpr char kChromeUIWebAppSettingsHost[] = "app-settings"; inline constexpr char kChromeUIWebAppSettingsURL[] = "chrome://app-settings/"; inline constexpr char kChromeUIWhatsNewHost[] = "whats-new"; -@@ -613,13 +613,13 @@ inline constexpr char kChromeUILinuxProxyConfigHost[] +@@ -534,11 +534,11 @@ inline constexpr char kChromeUILinuxProxyConfigHost[] #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ @@ -38,14 +31,12 @@ inline constexpr char kChromeUISandboxHost[] = "sandbox"; #endif - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \ -+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) || \ - (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) inline constexpr char kChromeUIBrowserSwitchHost[] = "browser-switch"; inline constexpr char kChromeUIBrowserSwitchURL[] = "chrome://browser-switch/"; -@@ -641,7 +641,7 @@ inline constexpr char kChromeUIProfilePickerUrl[] = "c + inline constexpr char kChromeUIIntroDefaultBrowserSubPage[] = "default-browser"; +@@ -560,7 +560,7 @@ inline constexpr char kChromeUIProfilePickerUrl[] = "c inline constexpr char kChromeUIProfilePickerUrl[] = "chrome://profile-picker/"; #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_test_chromedriver_chrome__launcher.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_test_chromedriver_chrome__launcher.cc index c6283009886c..57ae5a44f790 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_test_chromedriver_chrome__launcher.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_test_chromedriver_chrome__launcher.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/test/chromedriver/chrome_launcher.cc.orig 2023-12-10 06:10:27 UTC +--- src/3rdparty/chromium/chrome/test/chromedriver/chrome_launcher.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/test/chromedriver/chrome_launcher.cc @@ -73,6 +73,7 @@ #include <fcntl.h> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_test_chromedriver_chrome_chrome__finder.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_test_chromedriver_chrome_chrome__finder.cc index fb679f2b4fad..077886ccdf2e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_test_chromedriver_chrome_chrome__finder.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_test_chromedriver_chrome_chrome__finder.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/test/chromedriver/chrome/chrome_finder.cc.orig 2023-12-10 06:10:27 UTC +--- src/3rdparty/chromium/chrome/test/chromedriver/chrome/chrome_finder.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/chrome/test/chromedriver/chrome/chrome_finder.cc @@ -58,7 +58,7 @@ void GetApplicationDirs(std::vector<base::FilePath>* l installation_locations[i].Append(L"Chromium\\Application")); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_browser_autofill__optimization__guide.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_browser_autofill__optimization__guide.cc deleted file mode 100644 index ee3e47fbb44b..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_browser_autofill__optimization__guide.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/components/autofill/core/browser/autofill_optimization_guide.cc.orig 2024-09-30 07:45:04 UTC -+++ src/3rdparty/chromium/components/autofill/core/browser/autofill_optimization_guide.cc -@@ -186,7 +186,7 @@ void AutofillOptimizationGuide::OnDidParseForm( - } - - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - if (has_credit_card_field && - !personal_data_manager->payments_data_manager() - .GetServerCreditCards() diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_browser_data__manager_payments_payments__data__manager.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_browser_data__manager_payments_payments__data__manager.cc new file mode 100644 index 000000000000..e6d9c118276d --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_browser_data__manager_payments_payments__data__manager.cc @@ -0,0 +1,20 @@ +--- src/3rdparty/chromium/components/autofill/core/browser/data_manager/payments/payments_data_manager.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/components/autofill/core/browser/data_manager/payments/payments_data_manager.cc +@@ -1168,7 +1168,7 @@ bool PaymentsDataManager::ShouldShowCardsFromAccountOp + bool PaymentsDataManager::ShouldShowCardsFromAccountOption() const { + // The feature is only for Linux, Windows, Mac, and Fuchsia. + #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || \ +- BUILDFLAG(IS_FUCHSIA) ++ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) + // This option should only be shown for users that have not enabled the Sync + // Feature and that have server credit cards available. + // TODO(crbug.com/40066949): Simplify once ConsentLevel::kSync and +@@ -2021,7 +2021,7 @@ bool PaymentsDataManager::AreBnplIssuersSupported() co + + bool PaymentsDataManager::AreBnplIssuersSupported() const { + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + return base::FeatureList::IsEnabled( + features::kAutofillEnableBuyNowPayLaterSyncing); + #else diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_browser_integrators_autofill__optimization__guide.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_browser_integrators_autofill__optimization__guide.cc new file mode 100644 index 000000000000..a4007ebe5c77 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_browser_integrators_autofill__optimization__guide.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/components/autofill/core/browser/integrators/autofill_optimization_guide.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/components/autofill/core/browser/integrators/autofill_optimization_guide.cc +@@ -211,7 +211,7 @@ void AutofillOptimizationGuide::OnDidParseForm( + } + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + if (!server_cards.empty() && + base::FeatureList::IsEnabled( + features::kAutofillEnableAmountExtractionDesktop)) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_browser_payments__data__manager.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_browser_payments__data__manager.cc deleted file mode 100644 index 022972f405a5..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_browser_payments__data__manager.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/components/autofill/core/browser/payments_data_manager.cc.orig 2024-10-22 08:31:56 UTC -+++ src/3rdparty/chromium/components/autofill/core/browser/payments_data_manager.cc -@@ -1054,7 +1054,7 @@ bool PaymentsDataManager::ShouldShowCardsFromAccountOp - // The feature is only for Linux, Windows, Mac, and Fuchsia. - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || \ -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) || \ - BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_FUCHSIA) - // This option should only be shown for users that have not enabled the Sync - // Feature and that have server credit cards available. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.cc index 9cd1bbfd0832..cda15111efb1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.cc @@ -1,20 +1,11 @@ ---- src/3rdparty/chromium/components/autofill/core/common/autofill_payments_features.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/components/autofill/core/common/autofill_payments_features.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/autofill/core/common/autofill_payments_features.cc -@@ -8,7 +8,7 @@ namespace autofill::features { +@@ -304,7 +304,7 @@ bool ShouldShowImprovedUserConsentForCreditCardSave() + #endif // BUILDFLAG(IS_ANDROID) - namespace autofill::features { - --#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \ -+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) || \ - (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) - // When enabled, Chrome will extract the checkout amount from the checkout page - // of the allowlisted merchant websites. -@@ -330,7 +330,7 @@ bool ShouldShowImprovedUserConsentForCreditCardSave() bool ShouldShowImprovedUserConsentForCreditCardSave() { - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || \ -+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD) || \ - (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // The new user consent UI is fully launched on MacOS, Windows and Linux. return true; + #else diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.h deleted file mode 100644 index ab38da1dbce6..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__payments__features.h +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/components/autofill/core/common/autofill_payments_features.h.orig 2024-08-26 12:06:38 UTC -+++ src/3rdparty/chromium/components/autofill/core/common/autofill_payments_features.h -@@ -14,7 +14,7 @@ namespace autofill::features { - - // All features in alphabetical order. - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - COMPONENT_EXPORT(AUTOFILL) - BASE_DECLARE_FEATURE(kAutofillEnableAmountExtractionDesktop); - #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.cc index 84574c561362..2f4065f03ebe 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/autofill/core/common/autofill_prefs.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/autofill/core/common/autofill_prefs.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/autofill/core/common/autofill_prefs.cc -@@ -118,7 +118,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync +@@ -102,7 +102,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySync #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -8,4 +8,22 @@ + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) registry->RegisterBooleanPref(prefs::kAutofillPredictionImprovementsEnabled, false); - #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || + registry->RegisterBooleanPref( +@@ -294,7 +294,7 @@ bool IsFacilitatedPaymentsEwalletEnabled(const PrefSer + } + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + void SetAutofillBnplEnabled(PrefService* prefs, bool value) { + prefs->SetBoolean(kAutofillBnplEnabled, value); + } +@@ -303,7 +303,7 @@ bool IsAutofillBnplEnabled(const PrefService* prefs) { + + bool IsAutofillBnplEnabled(const PrefService* prefs) { + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + return prefs->GetBoolean(kAutofillBnplEnabled); + #else + return false; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.h index 6fe5e319ce69..76a544fc6d3e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_autofill_core_common_autofill__prefs.h @@ -1,6 +1,15 @@ ---- src/3rdparty/chromium/components/autofill/core/common/autofill_prefs.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/autofill/core/common/autofill_prefs.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/autofill/core/common/autofill_prefs.h -@@ -73,7 +73,7 @@ inline constexpr char kAutofillPaymentCvcStorage[] = +@@ -26,7 +26,7 @@ inline constexpr std::string_view kAutofillAblationSee + inline constexpr std::string_view kAutofillAblationSeedPref = + "autofill.ablation_seed"; + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + // Boolean that is true if BNPL on Autofill is enabled. + inline constexpr char kAutofillBnplEnabled[] = "autofill.bnpl_enabled"; + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || +@@ -80,7 +80,7 @@ inline constexpr char kAutofillPaymentCardBenefits[] = inline constexpr char kAutofillPaymentCardBenefits[] = "autofill.payment_card_benefits"; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -9,3 +18,12 @@ // Boolean that controls improved autofill filling predictions. When enabled, // the autofill functionality is enhanced with adopting user data to // the form being filled in, which is triggered by the user via an extra +@@ -235,7 +235,7 @@ bool IsFacilitatedPaymentsEwalletEnabled(const PrefSer + bool IsFacilitatedPaymentsEwalletEnabled(const PrefService* prefs); + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + void SetAutofillBnplEnabled(PrefService* prefs, bool value); + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || + // BUILDFLAG(IS_CHROMEOS) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_commerce_core_commerce__feature__list.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_commerce_core_commerce__feature__list.cc index c1eb7f78b63c..33a5b7a60129 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_commerce_core_commerce__feature__list.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_commerce_core_commerce__feature__list.cc @@ -1,16 +1,25 @@ ---- src/3rdparty/chromium/components/commerce/core/commerce_feature_list.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/commerce/core/commerce_feature_list.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/commerce/core/commerce_feature_list.cc -@@ -168,7 +168,7 @@ BASE_FEATURE(kPriceInsights, +@@ -157,7 +157,7 @@ BASE_FEATURE(kPriceInsights, "PriceInsights", base::FEATURE_DISABLED_BY_DEFAULT); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) +- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_IOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD) BASE_FEATURE(kPriceInsightsRegionLaunched, "PriceInsightsRegionLaunched", base::FEATURE_ENABLED_BY_DEFAULT); -@@ -246,7 +246,7 @@ const base::FeatureParam<bool> kDiscountOnShoppyPage{ - &kEnableDiscountInfoApi, kDiscountOnShoppyPageParam, false}; +@@ -218,7 +218,7 @@ const char kDiscountOnShoppyPageParam[] = "discount-on + const char kDiscountOnShoppyPageParam[] = "discount-on-shoppy-page"; + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + const base::FeatureParam<bool> kDiscountOnShoppyPage{ + &kEnableDiscountInfoApi, kDiscountOnShoppyPageParam, true}; + #else +@@ -227,7 +227,7 @@ const base::FeatureParam<bool> kDiscountOnShoppyPage{ + #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) @@ -18,12 +27,22 @@ BASE_FEATURE(kEnableDiscountInfoApiRegionLaunched, "EnableDiscountInfoApiRegionLaunched", base::FEATURE_ENABLED_BY_DEFAULT); -@@ -281,7 +281,7 @@ const base::FeatureParam<bool> kDeleteAllMerchantsOnCl +@@ -242,7 +242,7 @@ const char kNonMerchantWideBehaviorParam[] = "non-merc + const char kNonMerchantWideBehaviorParam[] = "non-merchant-wide-behavior"; + + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + BASE_FEATURE(kDiscountDialogAutoPopupBehaviorSetting, + "DiscountDialogAutoPopupBehaviorSetting", + base::FEATURE_ENABLED_BY_DEFAULT); +@@ -283,7 +283,8 @@ BASE_FEATURE(kShoppingList, "ShoppingList", base::FEAT BASE_FEATURE(kShoppingList, "ShoppingList", base::FEATURE_DISABLED_BY_DEFAULT); #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_IOS) -+ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD) ++ BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_IOS) || \ ++ BUILDFLAG(IS_BSD) BASE_FEATURE(kShoppingListRegionLaunched, "ShoppingListRegionLaunched", base::FEATURE_ENABLED_BY_DEFAULT); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_constrained__window_constrained__window__views.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_constrained__window_constrained__window__views.cc index 940819c6d055..7e4111aa3e2d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_constrained__window_constrained__window__views.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_constrained__window_constrained__window__views.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/components/constrained_window/constrained_window_views.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/constrained_window/constrained_window_views.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/constrained_window/constrained_window_views.cc -@@ -372,7 +372,7 @@ bool SupportsGlobalScreenCoordinates() { +@@ -375,7 +375,7 @@ bool PlatformClipsChildrenToViewport() { } bool PlatformClipsChildrenToViewport() { --#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return true; #else return false; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_content__settings_core_browser_website__settings__registry.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_content__settings_core_browser_website__settings__registry.cc index 6404fd914e61..40d82af062b7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_content__settings_core_browser_website__settings__registry.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_content__settings_core_browser_website__settings__registry.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/content_settings/core/browser/website_settings_registry.cc.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/components/content_settings/core/browser/website_settings_registry.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/content_settings/core/browser/website_settings_registry.cc -@@ -67,7 +67,7 @@ const WebsiteSettingsInfo* WebsiteSettingsRegistry::Re +@@ -66,7 +66,7 @@ const WebsiteSettingsInfo* WebsiteSettingsRegistry::Re #if BUILDFLAG(IS_WIN) if (!(platform & PLATFORM_WINDOWS)) return nullptr; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_cookie__config_cookie__store__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_cookie__config_cookie__store__util.cc index c8d1b05477ce..03627775d32a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_cookie__config_cookie__store__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_cookie__config_cookie__store__util.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/cookie_config/cookie_store_util.cc.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/components/cookie_config/cookie_store_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/cookie_config/cookie_store_util.cc -@@ -12,7 +12,7 @@ +@@ -12,7 +12,7 @@ namespace cookie_config { namespace cookie_config { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_app_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_app_BUILD.gn index 18256b1dc1ad..2ae79685f27a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_app_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_app_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/crash/core/app/BUILD.gn.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/crash/core/app/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/crash/core/app/BUILD.gn @@ -70,6 +70,10 @@ static_library("app") { ] @@ -29,7 +29,7 @@ deps += [ "//base:base_static", "//components/crash/core/common", -@@ -233,11 +237,6 @@ if (is_mac || is_android || is_linux || is_chromeos) { +@@ -235,11 +239,6 @@ if (is_mac || is_android || is_linux || is_chromeos) { # define custom UserStreamDataSources. executable("chrome_crashpad_handler") { sources = [ "chrome_crashpad_handler.cc" ] diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_app_chrome__crashpad__handler.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_app_chrome__crashpad__handler.cc index c8ec0dfb2bf6..3d6f4e029a05 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_app_chrome__crashpad__handler.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_app_chrome__crashpad__handler.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/crash/core/app/chrome_crashpad_handler.cc.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/components/crash/core/app/chrome_crashpad_handler.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/crash/core/app/chrome_crashpad_handler.cc -@@ -6,5 +6,9 @@ +@@ -6,5 +6,9 @@ int main(int argc, char* argv[]) { extern "C" int CrashpadHandlerMain(int argc, char* argv[]); int main(int argc, char* argv[]) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_app_crashpad__handler__main.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_app_crashpad__handler__main.cc index 2e0e2e628a96..812a5d0f6599 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_app_crashpad__handler__main.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_app_crashpad__handler__main.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/crash/core/app/crashpad_handler_main.cc.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/components/crash/core/app/crashpad_handler_main.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/crash/core/app/crashpad_handler_main.cc @@ -10,7 +10,7 @@ #include "third_party/crashpad/crashpad/handler/handler_main.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_browser_crash__upload__list__crashpad.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_browser_crash__upload__list__crashpad.cc index 52f8cda11e33..7c446b6550dc 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_browser_crash__upload__list__crashpad.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_browser_crash__upload__list__crashpad.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/crash/core/browser/crash_upload_list_crashpad.cc.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/components/crash/core/browser/crash_upload_list_crashpad.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/crash/core/browser/crash_upload_list_crashpad.cc -@@ -38,7 +38,9 @@ CrashUploadListCrashpad::~CrashUploadListCrashpad() = +@@ -37,7 +37,9 @@ CrashUploadListCrashpad::LoadUploadList() { std::vector<std::unique_ptr<UploadList::UploadInfo>> CrashUploadListCrashpad::LoadUploadList() { std::vector<crash_reporter::Report> reports; @@ -10,7 +10,7 @@ std::vector<std::unique_ptr<UploadInfo>> uploads; for (const crash_reporter::Report& report : reports) { -@@ -52,9 +54,13 @@ CrashUploadListCrashpad::LoadUploadList() { +@@ -51,9 +53,13 @@ void CrashUploadListCrashpad::ClearUploadList(const ba void CrashUploadListCrashpad::ClearUploadList(const base::Time& begin, const base::Time& end) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_common_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_common_BUILD.gn index 71e24e436073..c7913516146d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_common_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_crash_core_common_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/crash/core/common/BUILD.gn.orig 2023-05-31 08:12:17 UTC +--- src/3rdparty/chromium/components/crash/core/common/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/crash/core/common/BUILD.gn -@@ -9,7 +9,7 @@ import("//components/gwp_asan/buildflags/buildflags.gn +@@ -9,7 +9,7 @@ declare_args() { declare_args() { # If set to true, this will stub out and disable the entire crash key system. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_mock__signals__aggregator.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_mock__signals__aggregator.h index c10e886469e8..2ce2a039bd67 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_mock__signals__aggregator.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_mock__signals__aggregator.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/device_signals/core/browser/mock_signals_aggregator.h.orig 2023-07-16 15:47:57 UTC +--- src/3rdparty/chromium/components/device_signals/core/browser/mock_signals_aggregator.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/device_signals/core/browser/mock_signals_aggregator.h @@ -17,7 +17,7 @@ class MockSignalsAggregator : public SignalsAggregator MockSignalsAggregator(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_signals__aggregator.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_signals__aggregator.h index 8945a39bfae4..247a897560c2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_signals__aggregator.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_signals__aggregator.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/device_signals/core/browser/signals_aggregator.h.orig 2023-07-16 15:47:57 UTC +--- src/3rdparty/chromium/components/device_signals/core/browser/signals_aggregator.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/device_signals/core/browser/signals_aggregator.h @@ -22,7 +22,7 @@ class SignalsAggregator : public KeyedService { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_signals__aggregator__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_signals__aggregator__impl.cc index b969d8274da0..e7eb55921955 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_signals__aggregator__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_signals__aggregator__impl.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/device_signals/core/browser/signals_aggregator_impl.cc.orig 2023-07-16 15:47:57 UTC +--- src/3rdparty/chromium/components/device_signals/core/browser/signals_aggregator_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/device_signals/core/browser/signals_aggregator_impl.cc -@@ -65,7 +65,7 @@ SignalsAggregatorImpl::SignalsAggregatorImpl( +@@ -64,7 +64,7 @@ SignalsAggregatorImpl::~SignalsAggregatorImpl() = defa SignalsAggregatorImpl::~SignalsAggregatorImpl() = default; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_signals__aggregator__impl.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_signals__aggregator__impl.h index 16687e49a244..424e4983a377 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_signals__aggregator__impl.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_signals__aggregator__impl.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/device_signals/core/browser/signals_aggregator_impl.h.orig 2023-07-16 15:47:57 UTC +--- src/3rdparty/chromium/components/device_signals/core/browser/signals_aggregator_impl.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/device_signals/core/browser/signals_aggregator_impl.h @@ -29,7 +29,7 @@ class SignalsAggregatorImpl : public SignalsAggregator ~SignalsAggregatorImpl() override; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_user__permission__service.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_user__permission__service.h index 7e4320d11974..6340e4881c2c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_user__permission__service.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_user__permission__service.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/device_signals/core/browser/user_permission_service.h.orig 2023-07-16 15:47:57 UTC +--- src/3rdparty/chromium/components/device_signals/core/browser/user_permission_service.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/device_signals/core/browser/user_permission_service.h @@ -57,7 +57,7 @@ class UserPermissionService : public KeyedService { // missing. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_user__permission__service__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_user__permission__service__impl.cc index 2bd79f4c1c25..74e7c3967f18 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_user__permission__service__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_user__permission__service__impl.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/device_signals/core/browser/user_permission_service_impl.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/components/device_signals/core/browser/user_permission_service_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/device_signals/core/browser/user_permission_service_impl.cc @@ -87,7 +87,7 @@ bool UserPermissionServiceImpl::ShouldCollectConsent() consent_required_by_dependent_policy; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_user__permission__service__impl.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_user__permission__service__impl.h index c92c830a39cf..c0f8ae729852 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_user__permission__service__impl.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_browser_user__permission__service__impl.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/device_signals/core/browser/user_permission_service_impl.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/components/device_signals/core/browser/user_permission_service_impl.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/device_signals/core/browser/user_permission_service_impl.h @@ -38,7 +38,7 @@ class UserPermissionServiceImpl : public UserPermissio diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.cc index e4133bba0bd3..3e138807bc3e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/components/device_signals/core/common/signals_features.cc.orig 2023-08-17 07:33:31 UTC +--- src/3rdparty/chromium/components/device_signals/core/common/signals_features.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/device_signals/core/common/signals_features.cc -@@ -46,7 +46,7 @@ bool IsNewFunctionEnabled(NewEvFunction new_ev_functio - } +@@ -11,7 +11,7 @@ BASE_FEATURE(kAllowClientCertificateReportingForUsers, + base::FEATURE_ENABLED_BY_DEFAULT); #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \ -- BUILDFLAG(IS_CHROMEOS_ASH) -+ BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Enables the triggering of device signals consent dialog when conditions met // This feature also requires UnmanagedDeviceSignalsConsentFlowEnabled policy to // be enabled diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.h index 5dc4cb05216f..26d533260ede 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_common_signals__features.h @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/components/device_signals/core/common/signals_features.h.orig 2023-08-17 07:33:31 UTC +--- src/3rdparty/chromium/components/device_signals/core/common/signals_features.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/device_signals/core/common/signals_features.h -@@ -28,7 +28,7 @@ enum class NewEvFunction { kFileSystemInfo, kSettings, - bool IsNewFunctionEnabled(NewEvFunction new_ev_function); +@@ -14,7 +14,7 @@ BASE_DECLARE_FEATURE(kAllowClientCertificateReportingF + BASE_DECLARE_FEATURE(kAllowClientCertificateReportingForUsers); #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \ -- BUILDFLAG(IS_CHROMEOS_ASH) -+ BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) BASE_DECLARE_FEATURE(kDeviceSignalsConsentDialog); // Returns true if device signals consent dialog has been enabled for diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_system__signals_platform__delegate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_system__signals_platform__delegate.cc index ba31ef8c88fa..bf668429d018 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_system__signals_platform__delegate.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_device__signals_core_system__signals_platform__delegate.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/device_signals/core/system_signals/platform_delegate.cc.orig 2022-09-24 10:57:32 UTC +--- src/3rdparty/chromium/components/device_signals/core/system_signals/platform_delegate.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/device_signals/core/system_signals/platform_delegate.cc -@@ -11,7 +11,7 @@ namespace device_signals { +@@ -11,7 +11,7 @@ bool CustomFilePathComparator::operator()(const base:: bool CustomFilePathComparator::operator()(const base::FilePath& a, const base::FilePath& b) const { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_discardable__memory_service_discardable__shared__memory__manager.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_discardable__memory_service_discardable__shared__memory__manager.cc index 11ea03876dae..6a57aea22c49 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_discardable__memory_service_discardable__shared__memory__manager.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_discardable__memory_service_discardable__shared__memory__manager.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/discardable_memory/service/discardable_shared_memory_manager.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/components/discardable_memory/service/discardable_shared_memory_manager.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/discardable_memory/service/discardable_shared_memory_manager.cc @@ -172,7 +172,7 @@ uint64_t GetDefaultMemoryLimit() { // Limits the number of FDs used to 32, assuming a 4MB allocation size. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_embedder__support_user__agent__utils.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_embedder__support_user__agent__utils.cc index 7d388652db29..f9ce9578bc0d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_embedder__support_user__agent__utils.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_embedder__support_user__agent__utils.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/embedder_support/user_agent_utils.cc.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/components/embedder_support/user_agent_utils.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/embedder_support/user_agent_utils.cc -@@ -445,6 +445,9 @@ std::string GetPlatformForUAMetadata() { +@@ -451,6 +451,9 @@ std::string GetPlatformForUAMetadata() { # else return "Chromium OS"; # endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_enterprise_watermarking_watermark.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_enterprise_watermarking_watermark.cc index b970439996cc..a642a8817620 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_enterprise_watermarking_watermark.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_enterprise_watermarking_watermark.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/enterprise/watermarking/watermark.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/enterprise/watermarking/watermark.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/enterprise/watermarking/watermark.cc -@@ -34,7 +34,7 @@ gfx::Font WatermarkFont() { +@@ -31,7 +31,7 @@ gfx::Font WatermarkFont() { "Segoe UI", #elif BUILDFLAG(IS_MAC) "SF Pro Text", @@ -9,7 +9,7 @@ "Ubuntu", #elif BUILDFLAG(IS_CHROMEOS) "Google Sans", -@@ -45,7 +45,7 @@ gfx::Font WatermarkFont() { +@@ -47,7 +47,7 @@ gfx::Font::Weight WatermarkFontWeight() { } gfx::Font::Weight WatermarkFontWeight() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_error__page_common_localized__error.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_error__page_common_localized__error.cc new file mode 100644 index 000000000000..466deddb3fe3 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_error__page_common_localized__error.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/components/error_page/common/localized_error.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/components/error_page/common/localized_error.cc +@@ -901,7 +901,7 @@ void AddSuggestionsDetails(int error_code, + if (suggestions & SUGGEST_PROXY_CONFIG) { + // Custom body string. + std::u16string inner = +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) + l10n_util::GetStringFUTF16( + IDS_ERRORPAGES_SUGGESTION_PROXY_DISABLE_PLATFORM, + l10n_util::GetStringUTF16(IDS_SETTINGS_TITLE), diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_eye__dropper_eye__dropper__view.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_eye__dropper_eye__dropper__view.cc index ea603f929c8c..82d86a664d9a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_eye__dropper_eye__dropper__view.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_eye__dropper_eye__dropper__view.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/eye_dropper/eye_dropper_view.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/components/eye_dropper/eye_dropper_view.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/eye_dropper/eye_dropper_view.cc -@@ -203,7 +203,7 @@ EyeDropperView::EyeDropperView(gfx::NativeView parent, +@@ -208,7 +208,7 @@ EyeDropperView::EyeDropperView(gfx::NativeView parent, // EyeDropper/WidgetDelegate. set_owned_by_client(); SetPreferredSize(GetSize()); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_event__constants.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_event__constants.cc index 45d8fe3c9b29..c634aedfecf0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_event__constants.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_event__constants.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/feature_engagement/public/event_constants.cc.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/components/feature_engagement/public/event_constants.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/feature_engagement/public/event_constants.cc -@@ -11,7 +11,7 @@ namespace feature_engagement { +@@ -11,7 +11,7 @@ namespace events { namespace events { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ @@ -8,4 +8,4 @@ + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) const char kNewTabOpened[] = "new_tab_opened"; const char kSixthTabOpened[] = "sixth_tab_opened"; - const char kTabGroupCreated[] = "tab_group_created"; + const char kReadingListItemAdded[] = "reading_list_item_added"; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_event__constants.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_event__constants.h index 1c61f2507d9f..db5f08ab6ed3 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_event__constants.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_event__constants.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/feature_engagement/public/event_constants.h.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/components/feature_engagement/public/event_constants.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/feature_engagement/public/event_constants.h @@ -14,7 +14,7 @@ namespace events { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__configurations.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__configurations.cc index 17792f8bf29b..c0dfcafdddf8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__configurations.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__configurations.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/feature_engagement/public/feature_configurations.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/feature_engagement/public/feature_configurations.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/feature_engagement/public/feature_configurations.cc -@@ -95,7 +95,7 @@ std::optional<FeatureConfig> CreateNewUserGestureInPro +@@ -100,7 +100,7 @@ std::optional<FeatureConfig> GetClientSideFeatureConfi std::optional<FeatureConfig> GetClientSideFeatureConfig( const base::Feature* feature) { @@ -9,7 +9,7 @@ // The IPH bubble for link capturing has a trigger set to ANY so that it // always shows up. The per app specific guardrails are independently stored -@@ -114,7 +114,7 @@ std::optional<FeatureConfig> GetClientSideFeatureConfi +@@ -119,7 +119,7 @@ std::optional<FeatureConfig> GetClientSideFeatureConfi #endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ @@ -18,7 +18,7 @@ if (kIPHPasswordsManagementBubbleAfterSaveFeature.name == feature->name) { std::optional<FeatureConfig> config = FeatureConfig(); config->valid = true; -@@ -1641,7 +1641,8 @@ std::optional<FeatureConfig> GetClientSideFeatureConfi +@@ -1724,7 +1724,8 @@ std::optional<FeatureConfig> GetClientSideFeatureConfi #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.cc index 97e187feeb43..9586a67d3695 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/feature_engagement/public/feature_constants.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/feature_engagement/public/feature_constants.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/feature_engagement/public/feature_constants.cc -@@ -18,7 +18,7 @@ BASE_FEATURE(kIPHDemoMode, "IPH_DemoMode", base::FEATU +@@ -19,7 +19,7 @@ BASE_FEATURE(kIPHDummyFeature, "IPH_Dummy", base::FEAT BASE_FEATURE(kIPHDummyFeature, "IPH_Dummy", base::FEATURE_DISABLED_BY_DEFAULT); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ @@ -9,17 +9,16 @@ #if BUILDFLAG(GOOGLE_CHROME_BRANDING) BASE_FEATURE(kEsbDownloadRowPromoFeature, "EsbDownloadRowPromo", -@@ -639,7 +639,8 @@ BASE_FEATURE(kDefaultBrowserTriggerCriteriaExperiment, +@@ -667,7 +667,7 @@ BASE_FEATURE(kDefaultBrowserTriggerCriteriaExperiment, + #endif // BUILDFLAG(IS_IOS) - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || \ -+ BUILDFLAG(IS_BSD) - BASE_FEATURE(kIPHAutofillCreditCardBenefitFeature, - "IPH_AutofillCreditCardBenefit", - base::FEATURE_DISABLED_BY_DEFAULT); -@@ -776,7 +777,7 @@ BASE_FEATURE(kIPHScalableIphGamingFeature, +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || \ + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) + BASE_FEATURE(kIPHAutofillCardInfoRetrievalSuggestionFeature, + "IPH_AutofillCardInfoRetrievalSuggestion", +@@ -811,7 +811,7 @@ BASE_FEATURE(kIPHScalableIphGamingFeature, base::FEATURE_DISABLED_BY_DEFAULT); #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.h index 8c7fb5946d0a..87d037ab1013 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__constants.h @@ -1,30 +1,29 @@ ---- src/3rdparty/chromium/components/feature_engagement/public/feature_constants.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/feature_engagement/public/feature_constants.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/feature_engagement/public/feature_constants.h -@@ -20,7 +20,7 @@ BASE_DECLARE_FEATURE(kIPHDemoMode); - BASE_DECLARE_FEATURE(kIPHDummyFeature); +@@ -27,7 +27,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDummyFeature); + FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDummyFeature); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) #if BUILDFLAG(GOOGLE_CHROME_BRANDING) - BASE_DECLARE_FEATURE(kEsbDownloadRowPromoFeature); + FEATURE_CONSTANTS_DECLARE_FEATURE(kEsbDownloadRowPromoFeature); #endif -@@ -258,7 +258,8 @@ BASE_DECLARE_FEATURE(kDefaultBrowserTriggerCriteriaExp +@@ -295,7 +295,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kDefaultBrowserTrigg + #endif // BUILDFLAG(IS_IOS) - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || \ -+ BUILDFLAG(IS_BSD) - BASE_DECLARE_FEATURE(kIPHAutofillCreditCardBenefitFeature); - BASE_DECLARE_FEATURE(kIPHAutofillDisabledVirtualCardSuggestionFeature); - BASE_DECLARE_FEATURE(kIPHAutofillExternalAccountProfileSuggestionFeature); -@@ -309,7 +310,7 @@ BASE_DECLARE_FEATURE(kIPHScalableIphHelpAppBasedTenFea - BASE_DECLARE_FEATURE(kIPHScalableIphGamingFeature); +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || \ + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) + FEATURE_CONSTANTS_DECLARE_FEATURE( + kIPHAutofillCardInfoRetrievalSuggestionFeature); +@@ -353,7 +353,7 @@ FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHScalableIphGamin + FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHScalableIphGamingFeature); #endif -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - BASE_DECLARE_FEATURE(kIPHDesktopPWAsLinkCapturingLaunch); - BASE_DECLARE_FEATURE(kIPHToolbarManagementButtonFeature); + FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDesktopPWAsLinkCapturingLaunch); + FEATURE_CONSTANTS_DECLARE_FEATURE(kIPHDesktopPWAsLinkCapturingLaunchAppInTab); #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.cc index 8ce5396aa65b..4a9b92016753 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.cc @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/components/feature_engagement/public/feature_list.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/feature_engagement/public/feature_list.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/feature_engagement/public/feature_list.cc @@ -165,7 +165,7 @@ const base::Feature* const kAllFeatures[] = { - &kIPHiOSLensOverlayEntrypointTipFeature, + &kIPHiOSReminderNotificationsOverflowMenuBubbleFeature, #endif // BUILDFLAG(IS_IOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) @@ -9,22 +9,21 @@ #if BUILDFLAG(GOOGLE_CHROME_BRANDING) &kEsbDownloadRowPromoFeature, #endif -@@ -230,7 +230,8 @@ const base::Feature* const kAllFeatures[] = { +@@ -236,7 +236,7 @@ const base::Feature* const kAllFeatures[] = { + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || \ -+ BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || \ + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) + &kIPHAutofillCardInfoRetrievalSuggestionFeature, &kIPHAutofillCreditCardBenefitFeature, - &kIPHAutofillDisabledVirtualCardSuggestionFeature, - &kIPHAutofillExternalAccountProfileSuggestionFeature, -@@ -281,7 +282,7 @@ const base::Feature* const kAllFeatures[] = { +@@ -290,7 +290,7 @@ const base::Feature* const kAllFeatures[] = { &kIPHScalableIphGamingFeature, - #endif // BUILDFLAG(IS_CHROMEOS_ASH) + #endif // BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) &kIPHDesktopPWAsLinkCapturingLaunch, - &kIPHToolbarManagementButtonFeature, + &kIPHDesktopPWAsLinkCapturingLaunchAppInTab, #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.h index 5270d24a7620..05ff6a99b598 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feature__engagement_public_feature__list.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/feature_engagement/public/feature_list.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/feature_engagement/public/feature_list.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/feature_engagement/public/feature_list.h -@@ -288,7 +288,7 @@ DEFINE_VARIATION_PARAM(kIPHHomeCustomizationMenuFeatur +@@ -291,7 +291,7 @@ DEFINE_VARIATION_PARAM(kIPHiOSReminderNotificationsOve #endif // BUILDFLAG(IS_IOS) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ #if BUILDFLAG(GOOGLE_CHROME_BRANDING) DEFINE_VARIATION_PARAM(kEsbDownloadRowPromoFeature, "EsbDownloadRowPromo"); #endif -@@ -389,7 +389,8 @@ DEFINE_VARIATION_PARAM(kIPHTabGroupsSaveV2CloseGroupFe +@@ -402,7 +402,8 @@ DEFINE_VARIATION_PARAM(kIPHTabGroupsSaveV2CloseGroupFe // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ @@ -19,25 +19,25 @@ DEFINE_VARIATION_PARAM(kIPHAutofillCreditCardBenefitFeature, "IPH_AutofillCreditCardBenefit"); -@@ -481,7 +482,7 @@ DEFINE_VARIATION_PARAM(kIPHScalableIphHelpAppBasedTenF +@@ -496,7 +497,7 @@ DEFINE_VARIATION_PARAM(kIPHScalableIphGamingFeature, " DEFINE_VARIATION_PARAM(kIPHScalableIphGamingFeature, "IPH_ScalableIphGaming"); - #endif // BUILDFLAG(IS_CHROMEOS_ASH) + #endif // BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) DEFINE_VARIATION_PARAM(kIPHDesktopPWAsLinkCapturingLaunch, "IPH_DesktopPWAsLinkCapturingLaunch"); - DEFINE_VARIATION_PARAM(kIPHToolbarManagementButtonFeature, -@@ -646,7 +647,7 @@ constexpr flags_ui::FeatureEntry::FeatureVariation - VARIATION_ENTRY(kIPHHomeCustomizationMenuFeature), - VARIATION_ENTRY(kIPHiOSLensOverlayEntrypointTipFeature), + DEFINE_VARIATION_PARAM(kIPHDesktopPWAsLinkCapturingLaunchAppInTab, +@@ -662,7 +663,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat + VARIATION_ENTRY(kIPHiOSDefaultBrowserBannerPromoFeature), + VARIATION_ENTRY(kIPHiOSReminderNotificationsOverflowMenuBubbleFeature), #elif BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) VARIATION_ENTRY(kIPHBatterySaverModeFeature), VARIATION_ENTRY(kIPHCompanionSidePanelFeature), VARIATION_ENTRY(kIPHCompanionSidePanelRegionSearchFeature), -@@ -701,7 +702,8 @@ constexpr flags_ui::FeatureEntry::FeatureVariation +@@ -722,7 +723,8 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ @@ -45,14 +45,14 @@ + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || \ + BUILDFLAG(IS_BSD) VARIATION_ENTRY(kIPHAutofillCreditCardBenefitFeature), + VARIATION_ENTRY(kIPHAutofillCardInfoRetrievalSuggestionFeature), VARIATION_ENTRY(kIPHAutofillDisabledVirtualCardSuggestionFeature), - VARIATION_ENTRY(kIPHAutofillExternalAccountProfileSuggestionFeature), -@@ -753,7 +755,7 @@ constexpr flags_ui::FeatureEntry::FeatureVariation +@@ -774,7 +776,7 @@ inline constexpr flags_ui::FeatureEntry::FeatureVariat VARIATION_ENTRY(kIPHScalableIphGamingFeature), - #endif // BUILDFLAG(IS_CHROMEOS_ASH) + #endif // BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) VARIATION_ENTRY(kIPHDesktopPWAsLinkCapturingLaunch), - VARIATION_ENTRY(kIPHToolbarManagementButtonFeature), + VARIATION_ENTRY(kIPHDesktopPWAsLinkCapturingLaunchAppInTab), #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feed_core_proto_v2_wire_version.proto b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feed_core_proto_v2_wire_version.proto index 626494912842..2389fcc09ab2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feed_core_proto_v2_wire_version.proto +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feed_core_proto_v2_wire_version.proto @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/feed/core/proto/v2/wire/version.proto.orig 2021-05-12 22:05:49 UTC +--- src/3rdparty/chromium/components/feed/core/proto/v2/wire/version.proto.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/feed/core/proto/v2/wire/version.proto @@ -25,8 +25,8 @@ message Version { BETA = 3; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feed_core_v2_proto__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feed_core_v2_proto__util.cc index 076274fd9203..214dfe0de14d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feed_core_v2_proto__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_feed_core_v2_proto__util.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/feed/core/v2/proto_util.cc.orig 2023-07-16 15:47:57 UTC +--- src/3rdparty/chromium/components/feed/core/v2/proto_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/feed/core/v2/proto_util.cc @@ -93,8 +93,8 @@ feedwire::Version GetPlatformVersionMessage() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_flags__ui_flags__state.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_flags__ui_flags__state.cc index 9add38f973ef..73067e7bc082 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_flags__ui_flags__state.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_flags__ui_flags__state.cc @@ -1,9 +1,9 @@ ---- src/3rdparty/chromium/components/flags_ui/flags_state.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/components/flags_ui/flags_state.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/flags_ui/flags_state.cc -@@ -755,7 +755,7 @@ unsigned short FlagsState::GetCurrentPlatform() { +@@ -761,7 +761,7 @@ unsigned short FlagsState::GetCurrentPlatform() { + return kOsWin; + #elif BUILDFLAG(IS_CHROMEOS) return kOsCrOS; - #elif BUILDFLAG(IS_CHROMEOS_LACROS) - return kOsLacros; -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_OPENBSD) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return kOsLinux; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gcm__driver_gcm__desktop__utils.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gcm__driver_gcm__desktop__utils.cc new file mode 100644 index 000000000000..d8518799182d --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gcm__driver_gcm__desktop__utils.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/components/gcm_driver/gcm_desktop_utils.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/components/gcm_driver/gcm_desktop_utils.cc +@@ -32,7 +32,7 @@ GCMClient::ChromePlatform GetPlatform() { + return GCMClient::PLATFORM_ANDROID; + #elif BUILDFLAG(IS_CHROMEOS) + return GCMClient::PLATFORM_CROS; +-#elif BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + return GCMClient::PLATFORM_LINUX; + #else + // For all other platforms, return as LINUX. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_BUILD.gn index 07b7216ee88b..d72b93d94a10 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/gwp_asan/BUILD.gn.orig 2022-11-30 08:12:58 UTC +--- src/3rdparty/chromium/components/gwp_asan/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/gwp_asan/BUILD.gn @@ -15,7 +15,7 @@ test("gwp_asan_unittests") { "//testing/gtest", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_client_guarded__page__allocator__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_client_guarded__page__allocator__posix.cc index b9a40268566b..1281eb1bf8aa 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_client_guarded__page__allocator__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_client_guarded__page__allocator__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/gwp_asan/client/guarded_page_allocator_posix.cc.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/components/gwp_asan/client/guarded_page_allocator_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/gwp_asan/client/guarded_page_allocator_posix.cc @@ -35,8 +35,9 @@ void GuardedPageAllocator::MarkPageInaccessible(void* // mmap() a PROT_NONE page over the address to release it to the system, if diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_client_gwp__asan.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_client_gwp__asan.cc index 27bcf84ab858..fd90de7f0094 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_client_gwp__asan.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_client_gwp__asan.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/gwp_asan/client/gwp_asan.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/components/gwp_asan/client/gwp_asan.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/gwp_asan/client/gwp_asan.cc @@ -75,7 +75,7 @@ namespace { // ProcessSamplingBoost is the multiplier to increase the diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_client_gwp__asan__features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_client_gwp__asan__features.cc index e4e1feef289b..db5d9afdc204 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_client_gwp__asan__features.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_client_gwp__asan__features.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/gwp_asan/client/gwp_asan_features.cc.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/components/gwp_asan/client/gwp_asan_features.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/gwp_asan/client/gwp_asan_features.cc -@@ -9,7 +9,7 @@ +@@ -9,7 +9,7 @@ namespace gwp_asan::internal { namespace gwp_asan::internal { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_crash__handler_crash__analyzer.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_crash__handler_crash__analyzer.cc index 2f837207d73c..5ad9237a760e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_crash__handler_crash__analyzer.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_gwp__asan_crash__handler_crash__analyzer.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/gwp_asan/crash_handler/crash_analyzer.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/components/gwp_asan/crash_handler/crash_analyzer.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/gwp_asan/crash_handler/crash_analyzer.cc @@ -35,7 +35,7 @@ #include "third_party/crashpad/crashpad/snapshot/process_snapshot.h" @@ -9,7 +9,7 @@ #include <signal.h> #elif BUILDFLAG(IS_APPLE) #include <mach/exception_types.h> -@@ -95,7 +95,7 @@ bool CrashAnalyzer::GetExceptionInfo( +@@ -95,7 +95,7 @@ crashpad::VMAddress CrashAnalyzer::GetAccessAddress( crashpad::VMAddress CrashAnalyzer::GetAccessAddress( const crashpad::ExceptionSnapshot& exception) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_live__caption_caption__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_live__caption_caption__util.cc index 6756d682021c..08e208b536ae 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_live__caption_caption__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_live__caption_caption__util.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/components/live_caption/caption_util.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/live_caption/caption_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/live_caption/caption_util.cc -@@ -139,7 +139,7 @@ std::string GetCaptionSettingsUrl() { +@@ -136,7 +136,7 @@ std::string GetCaptionSettingsUrl() { + std::string GetCaptionSettingsUrl() { + #if BUILDFLAG(IS_CHROMEOS) return "chrome://os-settings/audioAndCaptions"; - #endif // BUILDFLAG(IS_CHROMEOS) - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) +-#elif BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return "chrome://settings/captions"; - #endif // BUILDFLAG(IS_LINUX) - + #elif BUILDFLAG(IS_WIN) + return base::win::GetVersion() >= base::win::Version::WIN10 diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_live__caption_caption__util.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_live__caption_caption__util.h index 577c1578c7b1..79ec27aa1d77 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_live__caption_caption__util.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_live__caption_caption__util.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/live_caption/caption_util.h.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/components/live_caption/caption_util.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/live_caption/caption_util.h -@@ -15,7 +15,7 @@ class PrefService; +@@ -15,7 +15,7 @@ namespace captions { namespace captions { #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_media__router_common_media__source.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_media__router_common_media__source.cc index 4c4610c1f1df..f51ec9d5db87 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_media__router_common_media__source.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_media__router_common_media__source.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/media_router/common/media_source.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/components/media_router/common/media_source.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/media_router/common/media_source.cc -@@ -57,7 +57,7 @@ bool IsSystemAudioCaptureSupported() { +@@ -62,7 +62,7 @@ bool IsSystemAudioCaptureSupported() { if (!media::IsSystemLoopbackCaptureSupported()) { return false; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_media__router_common_providers_cast_channel_cast__message__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_media__router_common_providers_cast_channel_cast__message__util.cc index 59cc556cb1de..65406af94c66 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_media__router_common_providers_cast_channel_cast__message__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_media__router_common_providers_cast_channel_cast__message__util.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/components/media_router/common/providers/cast/channel/cast_message_util.cc.orig 2023-11-03 10:09:45 UTC +--- src/3rdparty/chromium/components/media_router/common/providers/cast/channel/cast_message_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/media_router/common/providers/cast/channel/cast_message_util.cc -@@ -169,7 +169,7 @@ int GetVirtualConnectPlatformValue() { +@@ -168,7 +168,7 @@ int GetVirtualConnectPlatformValue() { return 4; - #elif BUILDFLAG(IS_CHROMEOS_ASH) + #elif BUILDFLAG(IS_CHROMEOS) return 5; --#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#elif BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return 6; #else return 0; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_media__router_common_providers_cast_channel_enum__table.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_media__router_common_providers_cast_channel_enum__table.h index 62f9326b6060..b545f1cb49f9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_media__router_common_providers_cast_channel_enum__table.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_media__router_common_providers_cast_channel_enum__table.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/media_router/common/providers/cast/channel/enum_table.h.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/components/media_router/common/providers/cast/channel/enum_table.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/media_router/common/providers/cast/channel/enum_table.h @@ -368,7 +368,12 @@ class EnumTable { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_drive__metrics__provider.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_drive__metrics__provider.cc new file mode 100644 index 000000000000..745218163c2a --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_drive__metrics__provider.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/components/metrics/drive_metrics_provider.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/components/metrics/drive_metrics_provider.cc +@@ -113,7 +113,7 @@ void DriveMetricsProvider::FillDriveMetrics( + response.has_seek_penalty); + RecordTriStateMetric("UMA.SeekPenaltyResult.Base", + response.has_seek_penalty_base); +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + RecordTriStateMetric("UMA.DriveIsRemovableResult", response.is_removable); + #endif + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_drive__metrics__provider__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_drive__metrics__provider__linux.cc index 0fde59efeb73..aea7b7931217 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_drive__metrics__provider__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_drive__metrics__provider__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/metrics/drive_metrics_provider_linux.cc.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/components/metrics/drive_metrics_provider_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/metrics/drive_metrics_provider_linux.cc @@ -4,7 +4,13 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_dwa_dwa__service.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_dwa_dwa__service.cc new file mode 100644 index 000000000000..62ac33b5f277 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_dwa_dwa__service.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/components/metrics/dwa/dwa_service.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/components/metrics/dwa/dwa_service.cc +@@ -161,7 +161,7 @@ void DwaService::RecordCoarseSystemInformation( + coarse_system_info->set_platform(::dwa::CoarseSystemInfo::PLATFORM_WINDOWS); + #elif BUILDFLAG(IS_MAC) + coarse_system_info->set_platform(::dwa::CoarseSystemInfo::PLATFORM_MACOS); +-#elif BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + coarse_system_info->set_platform(::dwa::CoarseSystemInfo::PLATFORM_LINUX); + #elif BUILDFLAG(IS_ANDROID) + // TODO(b/366276323): Populate set_platform using more granular diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_metrics__log.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_metrics__log.cc index 55707f8b64c9..888c8c1313ba 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_metrics__log.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_metrics__log.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/metrics/metrics_log.cc.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/components/metrics/metrics_log.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/metrics/metrics_log.cc -@@ -56,7 +56,7 @@ +@@ -61,7 +61,7 @@ #include "base/win/current_module.h" #endif @@ -9,7 +9,7 @@ #include "base/environment.h" #include "base/nix/xdg_util.h" #endif -@@ -146,7 +146,7 @@ void RecordCurrentTime( +@@ -157,7 +157,7 @@ void RecordCurrentTime( } } @@ -18,16 +18,16 @@ metrics::SystemProfileProto::OS::XdgSessionType ToProtoSessionType( base::nix::SessionType session_type) { switch (session_type) { -@@ -415,7 +415,7 @@ void MetricsLog::RecordCoreSystemProfile( +@@ -435,7 +435,7 @@ void MetricsLog::RecordCoreSystemProfile( // OperatingSystemVersion refers to the ChromeOS release version. - #if BUILDFLAG(IS_CHROMEOS_ASH) + #if BUILDFLAG(IS_CHROMEOS) os->set_kernel_version(base::SysInfo::KernelVersion()); --#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#elif BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Linux operating system version is copied over into kernel version to be // consistent. os->set_kernel_version(base::SysInfo::OperatingSystemVersion()); -@@ -432,7 +432,7 @@ void MetricsLog::RecordCoreSystemProfile( +@@ -452,7 +452,7 @@ void MetricsLog::RecordCoreSystemProfile( os->set_build_number(base::SysInfo::GetIOSBuildNumber()); #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_motherboard.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_motherboard.cc index da39c9642286..876709f04207 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_motherboard.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_metrics_motherboard.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/metrics/motherboard.cc.orig 2022-10-24 13:33:33 UTC +--- src/3rdparty/chromium/components/metrics/motherboard.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/metrics/motherboard.cc @@ -1,6 +1,7 @@ // Copyright 2022 The Chromium Authors diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_named__mojo__ipc__server_connection__info.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_named__mojo__ipc__server_connection__info.h index 1f6a776b0422..0f3f5034e7f0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_named__mojo__ipc__server_connection__info.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_named__mojo__ipc__server_connection__info.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/named_mojo_ipc_server/connection_info.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/components/named_mojo_ipc_server/connection_info.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/named_mojo_ipc_server/connection_info.h @@ -12,7 +12,7 @@ #include "base/win/scoped_handle.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_named__mojo__ipc__server_named__mojo__ipc__server__client__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_named__mojo__ipc__server_named__mojo__ipc__server__client__util.cc index 70a527cdc7c9..80a224a95486 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_named__mojo__ipc__server_named__mojo__ipc__server__client__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_named__mojo__ipc__server_named__mojo__ipc__server__client__util.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/named_mojo_ipc_server/named_mojo_ipc_server_client_util.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/named_mojo_ipc_server/named_mojo_ipc_server_client_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/named_mojo_ipc_server/named_mojo_ipc_server_client_util.cc -@@ -23,7 +23,7 @@ namespace named_mojo_ipc_server { +@@ -23,7 +23,7 @@ mojo::PlatformChannelEndpoint ConnectToServer( // static mojo::PlatformChannelEndpoint ConnectToServer( const mojo::NamedPlatformChannel::ServerName& server_name) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_named__system__lock_lock.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_named__system__lock_lock.h index 65f7818502f9..23a150be24a5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_named__system__lock_lock.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_named__system__lock_lock.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/named_system_lock/lock.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/components/named_system_lock/lock.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/named_system_lock/lock.h @@ -38,7 +38,7 @@ class ScopedLock { // may acquire that lock. The lock name has different meanings per platform: diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_neterror_resources_neterror.js b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_neterror_resources_neterror.js deleted file mode 100644 index ea428f9b44b8..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_neterror_resources_neterror.js +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/components/neterror/resources/neterror.js.orig 2024-01-30 07:53:34 UTC -+++ src/3rdparty/chromium/components/neterror/resources/neterror.js -@@ -142,7 +142,7 @@ function detailsButtonClick() { - - let primaryControlOnLeft = true; - // clang-format off --// <if expr="is_macosx or is_ios or is_linux or is_chromeos or is_android"> -+// <if expr="is_macosx or is_ios or is_posix or is_chromeos or is_android"> - // clang-format on - primaryControlOnLeft = false; - // </if> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_network__session__configurator_browser_network__session__configurator.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_network__session__configurator_browser_network__session__configurator.cc deleted file mode 100644 index 5a1f7c4c3666..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_network__session__configurator_browser_network__session__configurator.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/components/network_session_configurator/browser/network_session_configurator.cc.orig 2024-10-22 08:31:56 UTC -+++ src/3rdparty/chromium/components/network_session_configurator/browser/network_session_configurator.cc -@@ -849,7 +849,7 @@ net::URLRequestContextBuilder::HttpCacheParams::Type C - // backport, having it behave differently than in stable would be a bigger - // problem. TODO: Does this work in later macOS releases? - #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ -- BUILDFLAG(IS_MAC) -+ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) - return net::URLRequestContextBuilder::HttpCacheParams::DISK_SIMPLE; - #else - return net::URLRequestContextBuilder::HttpCacheParams::DISK_BLOCKFILE; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_optimization__guide_core_optimization__guide__features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_optimization__guide_core_optimization__guide__features.cc new file mode 100644 index 000000000000..6a09d5740088 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_optimization__guide_core_optimization__guide__features.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/components/optimization_guide/core/optimization_guide_features.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/components/optimization_guide/core/optimization_guide_features.cc +@@ -137,7 +137,7 @@ BASE_FEATURE(kOptimizationGuideOnDeviceModel, + // Whether to use the on device model service in optimization guide. + BASE_FEATURE(kOptimizationGuideOnDeviceModel, + "OptimizationGuideOnDeviceModel", +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + base::FEATURE_ENABLED_BY_DEFAULT); + #else + base::FEATURE_DISABLED_BY_DEFAULT); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_optimization__guide_core_optimization__guide__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_optimization__guide_core_optimization__guide__util.cc index 09e18bd11848..070130ee5265 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_optimization__guide_core_optimization__guide__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_optimization__guide_core_optimization__guide__util.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/optimization_guide/core/optimization_guide_util.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/components/optimization_guide/core/optimization_guide_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/optimization_guide/core/optimization_guide_util.cc -@@ -35,7 +35,7 @@ optimization_guide::proto::Platform GetPlatform() { +@@ -37,7 +37,7 @@ optimization_guide::proto::Platform GetPlatform() { return optimization_guide::proto::PLATFORM_CHROMEOS; #elif BUILDFLAG(IS_ANDROID) return optimization_guide::proto::PLATFORM_ANDROID; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_os__crypt_async_browser_secret__portal__key__provider.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_os__crypt_async_browser_secret__portal__key__provider.cc index 3c83ff265da7..4182d7751c51 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_os__crypt_async_browser_secret__portal__key__provider.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_os__crypt_async_browser_secret__portal__key__provider.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/os_crypt/async/browser/secret_portal_key_provider.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/os_crypt/async/browser/secret_portal_key_provider.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/os_crypt/async/browser/secret_portal_key_provider.cc @@ -5,7 +5,9 @@ #include "components/os_crypt/async/browser/secret_portal_key_provider.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_os__crypt_async_common_encryptor.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_os__crypt_async_common_encryptor.cc deleted file mode 100644 index f4403568aa9f..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_os__crypt_async_common_encryptor.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/components/os_crypt/async/common/encryptor.cc.orig 2024-10-22 08:31:56 UTC -+++ src/3rdparty/chromium/components/os_crypt/async/common/encryptor.cc -@@ -277,7 +277,7 @@ std::optional<std::string> Encryptor::DecryptData( - // or not encryption worked or not, and certainly not advisable to recommend - // a re-encryption of this potentially invalid data. - // TODO(crbug.com/365712505): Remove this fallback. --#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE) && \ -+#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD) && \ - !(BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)) || \ - BUILDFLAG(IS_FUCHSIA) - if (plaintext == string_data) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_os__crypt_sync_libsecret__util__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_os__crypt_sync_libsecret__util__linux.cc index 123dc26ce3e3..bd1be7a8b749 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_os__crypt_sync_libsecret__util__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_os__crypt_sync_libsecret__util__linux.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/os_crypt/sync/libsecret_util_linux.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/os_crypt/sync/libsecret_util_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/os_crypt/sync/libsecret_util_linux.cc -@@ -185,16 +185,22 @@ bool LibsecretLoader::EnsureLibsecretLoaded() { +@@ -185,16 +185,22 @@ bool LibsecretLoader::LoadLibsecret() { // static bool LibsecretLoader::LoadLibsecret() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_os__crypt_sync_os__crypt.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_os__crypt_sync_os__crypt.h index 81e2c3eeadee..8d6c0021e22a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_os__crypt_sync_os__crypt.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_os__crypt_sync_os__crypt.h @@ -1,24 +1,15 @@ ---- src/3rdparty/chromium/components/os_crypt/sync/os_crypt.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/os_crypt/sync/os_crypt.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/os_crypt/sync/os_crypt.h -@@ -14,7 +14,7 @@ - #include "build/build_config.h" +@@ -16,7 +16,7 @@ #include "build/chromecast_buildflags.h" + #include "crypto/subtle_passkey.h" -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) class KeyStorageLinux; #endif // BUILDFLAG(IS_LINUX) -@@ -23,7 +23,7 @@ class PrefRegistrySimple; - class PrefService; - #endif // BUILDFLAG(IS_WIN) - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_APPLE) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_BSD) - namespace crypto { - class SymmetricKey; - } -@@ -36,7 +36,7 @@ struct Config; +@@ -32,7 +32,7 @@ namespace OSCrypt { // Temporary interface due to OSCrypt refactor. See OSCryptImpl for descriptions // of what each function does. namespace OSCrypt { @@ -27,7 +18,7 @@ COMPONENT_EXPORT(OS_CRYPT) void SetConfig(std::unique_ptr<os_crypt::Config> config); #endif // BUILDFLAG(IS_LINUX) -@@ -81,7 +81,7 @@ COMPONENT_EXPORT(OS_CRYPT) void UseMockKeyForTesting(b +@@ -77,7 +77,7 @@ COMPONENT_EXPORT(OS_CRYPT) void ResetStateForTesting() COMPONENT_EXPORT(OS_CRYPT) void SetLegacyEncryptionForTesting(bool legacy); COMPONENT_EXPORT(OS_CRYPT) void ResetStateForTesting(); #endif // BUILDFLAG(IS_WIN) @@ -36,7 +27,16 @@ COMPONENT_EXPORT(OS_CRYPT) void UseMockKeyStorageForTesting( base::OnceCallback<std::unique_ptr<KeyStorageLinux>()> -@@ -108,7 +108,7 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl { +@@ -86,7 +86,7 @@ void SetEncryptionPasswordForTesting(const std::string + COMPONENT_EXPORT(OS_CRYPT) + void SetEncryptionPasswordForTesting(const std::string& password); + #endif // (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)) +-#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE) && \ ++#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD) && \ + !(BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)) || \ + BUILDFLAG(IS_FUCHSIA) + COMPONENT_EXPORT(OS_CRYPT) +@@ -111,7 +111,7 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl { // Returns singleton instance of OSCryptImpl. static OSCryptImpl* GetInstance(); @@ -45,7 +45,7 @@ // Set the configuration of OSCryptImpl. // This method, or SetRawEncryptionKey(), must be called before using // EncryptString() and DecryptString(). -@@ -200,7 +200,7 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl { +@@ -203,7 +203,7 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl { void ResetStateForTesting(); #endif @@ -54,8 +54,8 @@ // For unit testing purposes, inject methods to be used. // |storage_provider_factory| provides the desired |KeyStorage| // implementation. If the provider returns |nullptr|, a hardcoded password -@@ -225,13 +225,13 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl { - crypto::SymmetricKey* GetEncryptionKey(); +@@ -227,13 +227,13 @@ class COMPONENT_EXPORT(OS_CRYPT) OSCryptImpl { + bool DeriveKey(); #endif // BUILDFLAG(IS_APPLE) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_APPLE) @@ -67,6 +67,6 @@ -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // Returns a cached string of "peanuts". Is thread-safe. - crypto::SymmetricKey* GetPasswordV10(); + static constexpr size_t kDerivedKeyBytes = 16; + crypto::SubtlePassKey MakeCryptoPassKey(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_paint__preview_browser_paint__preview__client.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_paint__preview_browser_paint__preview__client.cc index c4646513fbb8..73aa910d2e50 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_paint__preview_browser_paint__preview__client.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_paint__preview_browser_paint__preview__client.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/paint_preview/browser/paint_preview_client.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/paint_preview/browser/paint_preview_client.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/paint_preview/browser/paint_preview_client.cc @@ -326,8 +326,8 @@ void PaintPreviewClient::CapturePaintPreview( metadata->set_version(kPaintPreviewVersion); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_paint__preview_common_proto_paint__preview.proto b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_paint__preview_common_proto_paint__preview.proto index e7ff347af1c9..6d4beb840d1d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_paint__preview_common_proto_paint__preview.proto +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_paint__preview_common_proto_paint__preview.proto @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/paint_preview/common/proto/paint_preview.proto.orig 2021-12-14 11:45:03 UTC +--- src/3rdparty/chromium/components/paint_preview/common/proto/paint_preview.proto.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/paint_preview/common/proto/paint_preview.proto -@@ -82,8 +82,8 @@ message PaintPreviewFrameProto { +@@ -82,8 +82,8 @@ message ChromeVersionProto { // Stores Chrome version. // NEXT_TAG = 5 message ChromeVersionProto { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_paint__preview_player_player__compositor__delegate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_paint__preview_player_player__compositor__delegate.cc index 3c90cff537cb..5793c2770437 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_paint__preview_player_player__compositor__delegate.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_paint__preview_player_player__compositor__delegate.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/paint_preview/player/player_compositor_delegate.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/components/paint_preview/player/player_compositor_delegate.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/paint_preview/player/player_compositor_delegate.cc -@@ -434,8 +434,8 @@ void PlayerCompositorDelegate::ValidateProtoAndLoadAXT +@@ -433,8 +433,8 @@ void PlayerCompositorDelegate::ValidateProtoAndLoadAXT auto chrome_version = capture_result_->proto.metadata().chrome_version(); const auto& current_chrome_version = version_info::GetVersion(); if (capture_result_->proto.metadata().has_chrome_version() && diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.cc index 2ade6a08b107..1a2fe4886ff7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/password_manager/core/browser/features/password_features.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/password_manager/core/browser/features/password_features.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/password_manager/core/browser/features/password_features.cc -@@ -41,7 +41,7 @@ BASE_FEATURE(kClearUndecryptablePasswords, +@@ -35,7 +35,7 @@ BASE_FEATURE(kClearUndecryptablePasswordsOnSync, BASE_FEATURE(kClearUndecryptablePasswordsOnSync, "ClearUndecryptablePasswordsInSync", #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_IOS) || \ @@ -9,8 +9,8 @@ base::FEATURE_ENABLED_BY_DEFAULT #else base::FEATURE_DISABLED_BY_DEFAULT -@@ -92,7 +92,7 @@ BASE_FEATURE(kPasswordManualFallbackAvailable, - "PasswordManualFallbackAvailable", +@@ -107,7 +107,7 @@ BASE_FEATURE(kReuseDetectionBasedOnPasswordHashes, + "ReuseDetectionBasedOnPasswordHashes", base::FEATURE_DISABLED_BY_DEFAULT); -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.h index 84bf605a3a42..4af2770654f5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_features_password__features.h @@ -1,8 +1,8 @@ ---- src/3rdparty/chromium/components/password_manager/core/browser/features/password_features.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/password_manager/core/browser/features/password_features.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/password_manager/core/browser/features/password_features.h -@@ -93,7 +93,7 @@ BASE_DECLARE_FEATURE(kPasswordManagerLogToTerminal); - // Enables triggering password suggestions through the context menu. - BASE_DECLARE_FEATURE(kPasswordManualFallbackAvailable); +@@ -108,7 +108,7 @@ BASE_DECLARE_FEATURE(kReuseDetectionBasedOnPasswordHas + // Detects password reuse based on hashed password values. + BASE_DECLARE_FEATURE(kReuseDetectionBasedOnPasswordHashes); -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__form__manager.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__form__manager.cc index 4c5293c3b005..326f03921eeb 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__form__manager.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__form__manager.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/password_manager/core/browser/password_form_manager.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/password_manager/core/browser/password_form_manager.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/password_manager/core/browser/password_form_manager.cc -@@ -61,7 +61,7 @@ +@@ -63,7 +63,7 @@ #include "components/webauthn/android/webauthn_cred_man_delegate.h" #endif // BUILDFLAG(IS_ANDROID) @@ -9,7 +9,7 @@ #include "components/os_crypt/sync/os_crypt.h" #endif -@@ -231,7 +231,7 @@ bool ShouldUploadCrowdsourcingVotes(const FormOrDigest +@@ -239,7 +239,7 @@ bool ShouldUploadCrowdsourcingVotes(const FormOrDigest return false; } @@ -18,7 +18,7 @@ bool ShouldShowKeychainErrorBubble( std::optional<PasswordStoreBackendError> backend_error) { if (!backend_error.has_value()) { -@@ -888,7 +888,7 @@ void PasswordFormManager::OnFetchCompleted() { +@@ -897,7 +897,7 @@ void PasswordFormManager::OnFetchCompleted() { error.value().type); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager.cc index 8a17db823f50..02d0334825ef 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager.cc @@ -1,15 +1,15 @@ ---- src/3rdparty/chromium/components/password_manager/core/browser/password_manager.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/components/password_manager/core/browser/password_manager.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/password_manager/core/browser/password_manager.cc -@@ -414,7 +414,7 @@ void PasswordManager::RegisterProfilePrefs( - prefs::kAutofillableCredentialsAccountStoreLoginDatabase, false); - #endif // BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS) +@@ -471,7 +471,7 @@ void PasswordManager::RegisterProfilePrefs( + false); + #endif registry->RegisterBooleanPref(prefs::kPasswordSharingEnabled, true); -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) registry->RegisterIntegerPref(prefs::kRelaunchChromeBubbleDismissedCounter, 0); #endif -@@ -427,7 +427,7 @@ void PasswordManager::RegisterProfilePrefs( +@@ -484,7 +484,7 @@ void PasswordManager::RegisterProfilePrefs( #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__client.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__client.h index d6e78b1fc41d..954f2a6f8543 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__client.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__client.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/password_manager/core/browser/password_manager_client.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/password_manager/core/browser/password_manager_client.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/password_manager/core/browser/password_manager_client.h -@@ -30,7 +30,7 @@ +@@ -31,7 +31,7 @@ #include "net/cert/cert_status_flags.h" #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -9,12 +9,12 @@ #include "base/i18n/rtl.h" #include "components/password_manager/core/browser/password_cross_domain_confirmation_popup_controller.h" #include "ui/gfx/geometry/rect_f.h" -@@ -545,7 +545,7 @@ class PasswordManagerClient { +@@ -549,7 +549,7 @@ class PasswordManagerClient { CredentialsCallback callback); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - // Shows the bubble with the details of the `form`. virtual void OpenPasswordDetailsBubble( + const password_manager::PasswordForm& form) = 0; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__switches.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__switches.cc index 6a88a620db20..1b1b0312dacd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__switches.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__switches.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/password_manager/core/browser/password_manager_switches.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/components/password_manager/core/browser/password_manager_switches.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/password_manager/core/browser/password_manager_switches.cc -@@ -6,7 +6,7 @@ +@@ -6,7 +6,7 @@ namespace password_manager { namespace password_manager { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__switches.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__switches.h index b2f0bb60a916..3b4c6b85f21e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__switches.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manager__switches.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/password_manager/core/browser/password_manager_switches.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/components/password_manager/core/browser/password_manager_switches.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/password_manager/core/browser/password_manager_switches.h -@@ -10,7 +10,7 @@ +@@ -9,7 +9,7 @@ namespace password_manager { namespace password_manager { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manual__fallback__flow.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manual__fallback__flow.cc index 35be47bb23c8..451131faa188 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manual__fallback__flow.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manual__fallback__flow.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/password_manager/core/browser/password_manual_fallback_flow.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/password_manager/core/browser/password_manual_fallback_flow.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/password_manager/core/browser/password_manual_fallback_flow.cc -@@ -43,7 +43,7 @@ std::u16string GetUsernameFromLabel(const std::u16stri +@@ -45,7 +45,7 @@ std::u16string GetUsernameFromLabel(const std::u16stri } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -9,7 +9,7 @@ // Returns the password form corresponding to the `payload` data. In most // cases there is only one such form stored, but having more than one or no // forms is also possible. If there is more than one form, showing any of them -@@ -281,7 +281,7 @@ void PasswordManualFallbackFlow::DidAcceptSuggestion( +@@ -294,7 +294,7 @@ void PasswordManualFallbackFlow::DidAcceptSuggestion( } case autofill::SuggestionType::kViewPasswordDetails: { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -18,7 +18,7 @@ std::optional<password_manager::PasswordForm> credentials = GetCorrespondingPasswordForm( suggestion.GetPayload<Suggestion::PasswordSuggestionDetails>(), -@@ -413,7 +413,7 @@ void PasswordManualFallbackFlow::EnsureCrossDomainPass +@@ -429,7 +429,7 @@ void PasswordManualFallbackFlow::EnsureCrossDomainPass const Suggestion::PasswordSuggestionDetails& payload, base::OnceClosure on_allowed) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manual__fallback__flow.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manual__fallback__flow.h index 9211994d6db1..38b542720742 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manual__fallback__flow.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__manual__fallback__flow.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/password_manager/core/browser/password_manual_fallback_flow.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/password_manager/core/browser/password_manual_fallback_flow.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/password_manager/core/browser/password_manual_fallback_flow.h @@ -17,7 +17,7 @@ #include "components/password_manager/core/browser/ui/saved_passwords_presenter.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store__factory__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store__factory__util.cc index 01de67ab4575..c5bd55472e27 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store__factory__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store__factory__util.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/password_manager/core/browser/password_store_factory_util.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/password_manager/core/browser/password_store_factory_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/password_manager/core/browser/password_store_factory_util.cc -@@ -29,7 +29,7 @@ namespace { +@@ -29,7 +29,7 @@ LoginDatabase::DeletingUndecryptablePasswordsEnabled G LoginDatabase::DeletingUndecryptablePasswordsEnabled GetPolicyFromPrefs( PrefService* prefs) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store_login__database.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store_login__database.cc index 8abe6a31437d..4861502df755 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store_login__database.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store_login__database.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/password_manager/core/browser/password_store/login_database.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/password_manager/core/browser/password_store/login_database.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/password_manager/core/browser/password_store/login_database.cc @@ -1030,7 +1030,7 @@ bool ShouldDeleteUndecryptablePasswords( bool is_user_data_dir_policy_set, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store_login__database__async__helper.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store_login__database__async__helper.cc index 9bbb04406a0b..60d178ad9412 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store_login__database__async__helper.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_password__store_login__database__async__helper.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/password_manager/core/browser/password_store/login_database_async_helper.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/components/password_manager/core/browser/password_store/login_database_async_helper.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/password_manager/core/browser/password_store/login_database_async_helper.cc @@ -154,7 +154,7 @@ LoginsResultOrError LoginDatabaseAsyncHelper::FillMatc std::vector<PasswordForm> matched_forms; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.cc index cee3f8137f01..dc3f99ecb3e0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/password_manager/core/browser/stub_password_manager_client.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/password_manager/core/browser/stub_password_manager_client.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/password_manager/core/browser/stub_password_manager_client.cc -@@ -187,7 +187,7 @@ version_info::Channel StubPasswordManagerClient::GetCh +@@ -199,7 +199,7 @@ version_info::Channel StubPasswordManagerClient::GetCh } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -8,4 +8,4 @@ + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) void StubPasswordManagerClient::OpenPasswordDetailsBubble( const password_manager::PasswordForm& form) {} - + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.h index dd569b066731..d636bddcb772 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_browser_stub__password__manager__client.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/password_manager/core/browser/stub_password_manager_client.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/components/password_manager/core/browser/stub_password_manager_client.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/password_manager/core/browser/stub_password_manager_client.h -@@ -75,7 +75,7 @@ class StubPasswordManagerClient : public PasswordManag +@@ -77,7 +77,7 @@ class StubPasswordManagerClient : public PasswordManag MockPasswordFeatureManager* GetPasswordFeatureManager(); version_info::Channel GetChannel() const override; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -8,4 +8,4 @@ + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) void OpenPasswordDetailsBubble( const password_manager::PasswordForm& form) override; - std::unique_ptr< + #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_common_password__manager__pref__names.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_common_password__manager__pref__names.h index 94d3ccc84bfe..9bf6b0dc3bec 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_common_password__manager__pref__names.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_password__manager_core_common_password__manager__pref__names.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/password_manager/core/common/password_manager_pref_names.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/password_manager/core/common/password_manager_pref_names.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/password_manager/core/common/password_manager_pref_names.h -@@ -41,7 +41,7 @@ inline constexpr char kCredentialProviderEnabledOnStar +@@ -50,7 +50,7 @@ inline constexpr char kCredentialProviderEnabledOnStar #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ // Boolean pref controlled by the DeletingUndecryptablePasswordsEnabled policy. // If set to false it blocks deleting undecryptable passwords, otherwise the // deletion can happen. -@@ -334,7 +334,7 @@ inline constexpr char kAutofillableCredentialsAccountS +@@ -359,7 +359,7 @@ inline constexpr char kPasswordSharingEnabled[] = inline constexpr char kPasswordSharingEnabled[] = "password_manager.password_sharing_enabled"; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_performance__manager_decorators_process__metrics__decorator.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_performance__manager_decorators_process__metrics__decorator.cc new file mode 100644 index 000000000000..f78f3ef5c715 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_performance__manager_decorators_process__metrics__decorator.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/components/performance_manager/decorators/process_metrics_decorator.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/components/performance_manager/decorators/process_metrics_decorator.cc +@@ -264,7 +264,7 @@ void ProcessMetricsDecorator::DidGetMemoryUsage( + // RSS and PMF to each node proportionally to its V8 heap size. + uint64_t process_rss = process_dump_iter.os_dump().resident_set_kb; + process_node->set_resident_set_kb(process_rss); +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) + process_node->set_private_swap_kb( + process_dump_iter.os_dump().private_footprint_swap_kb); + #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_performance__manager_public_features.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_performance__manager_public_features.h index 5e31ce9bb588..a2c0abb77a2a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_performance__manager_public_features.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_performance__manager_public_features.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/performance_manager/public/features.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/components/performance_manager/public/features.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/performance_manager/public/features.h -@@ -21,7 +21,7 @@ BASE_DECLARE_FEATURE(kRunOnMainThreadSync); +@@ -17,7 +17,7 @@ namespace performance_manager::features { #if !BUILDFLAG(IS_ANDROID) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_permissions_prediction__service_prediction__common.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_permissions_prediction__service_prediction__common.cc index 67fbbfb894e4..36790a887d8b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_permissions_prediction__service_prediction__common.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_permissions_prediction__service_prediction__common.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/permissions/prediction_service/prediction_common.cc.orig 2022-08-31 12:19:35 UTC +--- src/3rdparty/chromium/components/permissions/prediction_service/prediction_common.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/permissions/prediction_service/prediction_common.cc -@@ -33,7 +33,7 @@ int BucketizeValue(int count) { +@@ -32,7 +32,7 @@ ClientFeatures_Platform GetCurrentPlatformProto() { ClientFeatures_Platform GetCurrentPlatformProto() { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ @@ -9,7 +9,7 @@ return permissions::ClientFeatures_Platform_PLATFORM_DESKTOP; #elif BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) return permissions::ClientFeatures_Platform_PLATFORM_MOBILE; -@@ -44,7 +44,7 @@ ClientFeatures_Platform GetCurrentPlatformProto() { +@@ -43,7 +43,7 @@ ClientFeatures_PlatformEnum GetCurrentPlatformEnumProt ClientFeatures_PlatformEnum GetCurrentPlatformEnumProto() { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_browser_policy__pref__mapping__test.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_browser_policy__pref__mapping__test.cc index bd364678d5d6..e66f312e73b7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_browser_policy__pref__mapping__test.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_browser_policy__pref__mapping__test.cc @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/components/policy/core/browser/policy_pref_mapping_test.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/components/policy/core/browser/policy_pref_mapping_test.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/policy/core/browser/policy_pref_mapping_test.cc -@@ -411,7 +411,7 @@ class PolicyTestCase { - const std::string os("chromeos_lacros"); +@@ -408,7 +408,7 @@ class PolicyTestCase { + const std::string os("chromeos_ash"); #elif BUILDFLAG(IS_IOS) const std::string os("ios"); -#elif BUILDFLAG(IS_LINUX) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__client.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__client.cc index 0debdfe734c4..0dbda4baf539 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__client.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__client.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/policy/core/common/cloud/cloud_policy_client.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/policy/core/common/cloud/cloud_policy_client.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/policy/core/common/cloud/cloud_policy_client.cc -@@ -703,7 +703,7 @@ void CloudPolicyClient::FetchPolicy(PolicyFetchReason +@@ -739,7 +739,7 @@ void CloudPolicyClient::FetchPolicy(PolicyFetchReason fetch_request->set_invalidation_payload(invalidation_payload_); } } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__refresh__scheduler.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__refresh__scheduler.cc index b433e28c007a..e3e47345b3fe 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__refresh__scheduler.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__refresh__scheduler.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc -@@ -25,7 +25,7 @@ namespace policy { +@@ -25,7 +25,7 @@ namespace { namespace { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__util.cc index d97731e4c262..1c58ebaadb26 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_cloud_cloud__policy__util.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/components/policy/core/common/cloud/cloud_policy_util.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/components/policy/core/common/cloud/cloud_policy_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/policy/core/common/cloud/cloud_policy_util.cc @@ -20,7 +20,7 @@ + #include "base/win/wincred_shim.h" #endif - #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || \ -- BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_FUCHSIA) -+ BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_FUCHSIA) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) #include <pwd.h> #include <sys/types.h> #include <unistd.h> @@ -13,8 +13,8 @@ #import <SystemConfiguration/SCDynamicStoreCopySpecific.h> #endif --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include <limits.h> // For HOST_NAME_MAX #endif @@ -26,16 +26,16 @@ #include <algorithm> #include <utility> -@@ -88,7 +93,7 @@ namespace em = enterprise_management; +@@ -83,7 +88,7 @@ std::string GetMachineName() { + namespace em = enterprise_management; std::string GetMachineName() { - #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || \ -- BUILDFLAG(IS_FUCHSIA) -+ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) char hostname[HOST_NAME_MAX]; if (gethostname(hostname, HOST_NAME_MAX) == 0) // Success. return hostname; -@@ -145,7 +150,7 @@ std::string GetMachineName() { +@@ -139,7 +144,7 @@ std::string GetOSVersion() { std::string GetOSVersion() { #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_APPLE) || \ @@ -44,7 +44,7 @@ return base::SysInfo::OperatingSystemVersion(); #elif BUILDFLAG(IS_WIN) base::win::OSInfo::VersionNumber version_number = -@@ -168,7 +173,7 @@ std::string GetOSArchitecture() { +@@ -161,7 +166,7 @@ std::string GetOSUsername() { } std::string GetOSUsername() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_policy__loader__common.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_policy__loader__common.cc index 039b048a3841..04fc54aa7d96 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_policy__loader__common.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_policy__loader__common.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/policy/core/common/policy_loader_common.cc.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/components/policy/core/common/policy_loader_common.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/policy/core/common/policy_loader_common.cc @@ -46,7 +46,7 @@ const char* kSensitivePolicies[] = { key::kDefaultSearchProviderEnabled, @@ -7,9 +7,9 @@ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) key::kAutoOpenFileTypes, + key::kEnterpriseSearchAggregatorSettings, key::kHomepageIsNewTabPage, - key::kPasswordProtectionChangePasswordURL, -@@ -56,7 +56,7 @@ const char* kSensitivePolicies[] = { +@@ -57,7 +57,7 @@ const char* kSensitivePolicies[] = { key::kSafeBrowsingAllowlistDomains, key::kSiteSearchSettings, #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_policy__paths.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_policy__paths.cc index b8b53fba0be7..aea340274764 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_policy__paths.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_policy__paths.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/policy/core/common/policy_paths.cc.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/components/policy/core/common/policy_paths.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/policy/core/common/policy_paths.cc -@@ -17,6 +17,8 @@ namespace policy { +@@ -17,6 +17,8 @@ const char kPolicyPath[] = "/etc/opt/chrome_for_testin const char kPolicyPath[] = "/etc/opt/chrome/policies"; #elif BUILDFLAG(GOOGLE_CHROME_FOR_TESTING_BRANDING) const char kPolicyPath[] = "/etc/opt/chrome_for_testing/policies"; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_policy__utils.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_policy__utils.cc index 733f5400d0b7..f3e006c65e67 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_policy__utils.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_core_common_policy__utils.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/policy/core/common/policy_utils.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/policy/core/common/policy_utils.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/policy/core/common/policy_utils.cc @@ -22,7 +22,7 @@ bool IsPolicyTestingEnabled(PrefService* pref_service, return true; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_tools_generate__policy__source.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_tools_generate__policy__source.py index 6ef9338ffdb1..50ed29f40240 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_tools_generate__policy__source.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_policy_tools_generate__policy__source.py @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/policy/tools/generate_policy_source.py.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/components/policy/tools/generate_policy_source.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/policy/tools/generate_policy_source.py @@ -38,9 +38,9 @@ PLATFORM_STRINGS = { 'ios': ['ios'], diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_power__metrics_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_power__metrics_BUILD.gn index 27faeb446ffb..22ac603951d8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_power__metrics_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_power__metrics_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/power_metrics/BUILD.gn.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/components/power_metrics/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/power_metrics/BUILD.gn @@ -41,7 +41,7 @@ static_library("power_metrics") { ldflags = [ "/DELAYLOAD:setupapi.dll" ] diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_power__metrics_energy__metrics__provider.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_power__metrics_energy__metrics__provider.cc index 8858d3024b34..9ecd46d77b68 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_power__metrics_energy__metrics__provider.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_power__metrics_energy__metrics__provider.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/power_metrics/energy_metrics_provider.cc.orig 2023-08-17 07:33:31 UTC +--- src/3rdparty/chromium/components/power_metrics/energy_metrics_provider.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/power_metrics/energy_metrics_provider.cc @@ -9,6 +9,8 @@ #include "components/power_metrics/energy_metrics_provider_win.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_regional__capabilities_regional__capabilities__service.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_regional__capabilities_regional__capabilities__service.cc new file mode 100644 index 000000000000..7bce14af4fb4 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_regional__capabilities_regional__capabilities__service.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/components/regional_capabilities/regional_capabilities_service.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/components/regional_capabilities/regional_capabilities_service.cc +@@ -85,7 +85,7 @@ void RegionalCapabilitiesService::InitializeCountryIdC + base::UmaHistogramEnumeration(kUnknownCountryIdStored, + UnknownCountryIdStored::kValidCountryId); + } else { +-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + if (base::FeatureList::IsEnabled(switches::kClearPrefForUnknownCountry)) { + profile_prefs_->ClearPref(country_codes::kCountryIDAtInstall); + country_id.reset(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_regional__capabilities_regional__capabilities__switches.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_regional__capabilities_regional__capabilities__switches.cc new file mode 100644 index 000000000000..4a909fea67f0 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_regional__capabilities_regional__capabilities__switches.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/components/regional_capabilities/regional_capabilities_switches.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/components/regional_capabilities/regional_capabilities_switches.cc +@@ -6,7 +6,7 @@ namespace switches { + + namespace switches { + +-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + BASE_FEATURE(kClearPrefForUnknownCountry, + "ClearCountryPrefForStoredUnknownCountry", + base::FEATURE_DISABLED_BY_DEFAULT); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_regional__capabilities_regional__capabilities__switches.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_regional__capabilities_regional__capabilities__switches.h new file mode 100644 index 000000000000..86c11cb9e458 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_regional__capabilities_regional__capabilities__switches.h @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/components/regional_capabilities/regional_capabilities_switches.h.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/components/regional_capabilities/regional_capabilities_switches.h +@@ -25,7 +25,7 @@ inline constexpr char kEeaListCountryOverride[] = "EEA + inline constexpr char kDefaultListCountryOverride[] = "DEFAULT_EEA"; + inline constexpr char kEeaListCountryOverride[] = "EEA_ALL"; + +-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // When the `country_codes::kCountryIDUnknown` is stored in prefs and this + // feature is enabled the pref will be cleared allowing a valid country to be + // set again. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_safe__browsing_content_resources_gen__file__type__proto.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_safe__browsing_content_resources_gen__file__type__proto.py index d564950f63ab..511bfc5f9221 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_safe__browsing_content_resources_gen__file__type__proto.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_safe__browsing_content_resources_gen__file__type__proto.py @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/safe_browsing/content/resources/gen_file_type_proto.py.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/components/safe_browsing/content/resources/gen_file_type_proto.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/safe_browsing/content/resources/gen_file_type_proto.py @@ -37,6 +37,8 @@ def PlatformTypes(): "chromeos": diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_safe__browsing_core_browser_db_v4__protocol__manager__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_safe__browsing_core_browser_db_v4__protocol__manager__util.cc index 6f6cebb8d418..73831d035c81 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_safe__browsing_core_browser_db_v4__protocol__manager__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_safe__browsing_core_browser_db_v4__protocol__manager__util.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/safe_browsing/core/browser/db/v4_protocol_manager_util.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/components/safe_browsing/core/browser/db/v4_protocol_manager_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/safe_browsing/core/browser/db/v4_protocol_manager_util.cc -@@ -119,7 +119,7 @@ std::ostream& operator<<(std::ostream& os, const ListI +@@ -119,7 +119,7 @@ PlatformType GetCurrentPlatformType() { PlatformType GetCurrentPlatformType() { #if BUILDFLAG(IS_WIN) return WINDOWS_PLATFORM; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc index 41a580d4f00d..7a4b27a4d905 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_safe__browsing_core_browser_realtime_url__lookup__service__base.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/safe_browsing/core/browser/realtime/url_lookup_service_base.cc @@ -110,7 +110,7 @@ RTLookupRequest::OSType GetRTLookupRequestOSType() { return RTLookupRequest::OS_TYPE_CHROME_OS; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_safe__browsing_core_common_features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_safe__browsing_core_common_features.cc deleted file mode 100644 index 5e15e5c695ee..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_safe__browsing_core_common_features.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/components/safe_browsing/core/common/features.cc.orig 2024-10-22 08:31:56 UTC -+++ src/3rdparty/chromium/components/safe_browsing/core/common/features.cc -@@ -237,7 +237,7 @@ BASE_FEATURE(kRippleForEnhancedProtection, - BASE_FEATURE(kSafeBrowsingAsyncRealTimeCheck, - "SafeBrowsingAsyncRealTimeCheck", - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) - base::FEATURE_ENABLED_BY_DEFAULT - #else - base::FEATURE_DISABLED_BY_DEFAULT diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_search__engines_search__engine__choice_search__engine__choice__service.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_search__engines_search__engine__choice_search__engine__choice__service.cc deleted file mode 100644 index 55b6a288ca0c..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_search__engines_search__engine__choice_search__engine__choice__service.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/components/search_engines/search_engine_choice/search_engine_choice_service.cc.orig 2024-10-22 08:31:56 UTC -+++ src/3rdparty/chromium/components/search_engines/search_engine_choice/search_engine_choice_service.cc -@@ -594,7 +594,7 @@ void SearchEngineChoiceService::RegisterLocalStatePref - - int SearchEngineChoiceService::GetCountryIdInternal() { - // `country_codes::kCountryIDAtInstall` may not be set yet. --#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // On Android, ChromeOS and Linux, `country_codes::kCountryIDAtInstall` is - // computed asynchronously using platform-specific signals, and may not be - // available yet. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_search__engines_template__url__service.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_search__engines_template__url__service.cc index 1739649004be..79eb8180b24f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_search__engines_template__url__service.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_search__engines_template__url__service.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/components/search_engines/template_url_service.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/search_engines/template_url_service.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/search_engines/template_url_service.cc -@@ -3060,7 +3060,7 @@ bool TemplateURLService::MatchesDefaultSearchProvider( - std::unique_ptr<EnterpriseSiteSearchManager> - TemplateURLService::GetEnterpriseSiteSearchManager(PrefService* prefs) { +@@ -3229,7 +3229,7 @@ TemplateURLService::GetEnterpriseSearchManager(PrefSer + std::unique_ptr<EnterpriseSearchManager> + TemplateURLService::GetEnterpriseSearchManager(PrefService* prefs) { #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ - BUILDFLAG(IS_CHROMEOS) + BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - return base::FeatureList::IsEnabled(omnibox::kSiteSearchSettingsPolicy) - ? std::make_unique<EnterpriseSiteSearchManager>( - prefs, base::BindRepeating( + return std::make_unique<EnterpriseSearchManager>( + prefs, base::BindRepeating(&TemplateURLService::EnterpriseSearchChanged, + base::Unretained(this))); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_security__interstitials_content_utils.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_security__interstitials_content_utils.cc index 1836675b3ee2..7f39b3934a8c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_security__interstitials_content_utils.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_security__interstitials_content_utils.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/components/security_interstitials/content/utils.cc.orig 2023-01-11 09:17:16 UTC +--- src/3rdparty/chromium/components/security_interstitials/content/utils.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/security_interstitials/content/utils.cc -@@ -38,7 +38,7 @@ void LaunchDateAndTimeSettings() { +@@ -37,7 +37,7 @@ void LaunchDateAndTimeSettings() { #if BUILDFLAG(IS_ANDROID) JNIEnv* env = base::android::AttachCurrentThread(); Java_DateAndTimeSettingsHelper_openDateAndTimeSettings(env); --#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) +-#elif BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) struct ClockCommand { const char* const pathname; const char* const argument; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_segmentation__platform_embedder_default__model_cross__device__user__segment.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_segmentation__platform_embedder_default__model_cross__device__user__segment.cc index 1f99b0027f8f..670762516d27 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_segmentation__platform_embedder_default__model_cross__device__user__segment.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_segmentation__platform_embedder_default__model_cross__device__user__segment.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/segmentation_platform/embedder/default_model/cross_device_user_segment.cc.orig 2023-11-03 10:09:45 UTC +--- src/3rdparty/chromium/components/segmentation_platform/embedder/default_model/cross_device_user_segment.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/segmentation_platform/embedder/default_model/cross_device_user_segment.cc -@@ -148,7 +148,7 @@ void CrossDeviceUserSegment::ExecuteModelWithInput( +@@ -147,7 +147,7 @@ void CrossDeviceUserSegment::ExecuteModelWithInput( // Check for current device type and subtract it from the device count // calculation. #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_services_on__device__translation_sandbox__hook.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_services_on__device__translation_sandbox__hook.cc new file mode 100644 index 000000000000..e985308a93ee --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_services_on__device__translation_sandbox__hook.cc @@ -0,0 +1,43 @@ +--- src/3rdparty/chromium/components/services/on_device_translation/sandbox_hook.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/components/services/on_device_translation/sandbox_hook.cc +@@ -7,12 +7,15 @@ + #include "components/services/on_device_translation/translate_kit_client.h" + #include "sandbox/linux/syscall_broker/broker_command.h" + ++#if !BUILDFLAG(IS_BSD) + using sandbox::syscall_broker::BrokerFilePermission; + using sandbox::syscall_broker::MakeBrokerCommandSet; ++#endif + + namespace on_device_translation { + namespace { + ++#if !BUILDFLAG(IS_BSD) + // Gets the file permissions required by the TranslateKit + std::vector<BrokerFilePermission> GetOnDeviceTranslationFilePermissions() { + std::vector<BrokerFilePermission> permissions{ +@@ -21,6 +24,7 @@ std::vector<BrokerFilePermission> GetOnDeviceTranslati + }; + return permissions; + } ++#endif + + } // namespace + +@@ -29,6 +33,7 @@ bool OnDeviceTranslationSandboxHook( + // Call `TranslateKitClient::Get()` to load libtranslatekit.so + TranslateKitClient::Get(); + ++#if !BUILDFLAG(IS_BSD) + auto* instance = sandbox::policy::SandboxLinux::GetInstance(); + instance->StartBrokerProcess(MakeBrokerCommandSet({ + sandbox::syscall_broker::COMMAND_OPEN, +@@ -36,7 +41,7 @@ bool OnDeviceTranslationSandboxHook( + GetOnDeviceTranslationFilePermissions(), + options); + instance->EngageNamespaceSandboxIfPossible(); +- ++#endif + return true; + } + diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_services_on__device__translation_sandbox__hook.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_services_on__device__translation_sandbox__hook.h new file mode 100644 index 000000000000..0f2bdd8b4f40 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_services_on__device__translation_sandbox__hook.h @@ -0,0 +1,16 @@ +--- src/3rdparty/chromium/components/services/on_device_translation/sandbox_hook.h.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/components/services/on_device_translation/sandbox_hook.h +@@ -5,7 +5,13 @@ + #ifndef COMPONENTS_SERVICES_ON_DEVICE_TRANSLATION_SANDBOX_HOOK_H_ + #define COMPONENTS_SERVICES_ON_DEVICE_TRANSLATION_SANDBOX_HOOK_H_ + ++#include "build/build_config.h" ++ ++#if BUILDFLAG(IS_BSD) ++#include "sandbox/policy/sandbox.h" ++#else + #include "sandbox/policy/linux/sandbox_linux.h" ++#endif + + namespace on_device_translation { + diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_services_paint__preview__compositor_paint__preview__compositor__collection__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_services_paint__preview__compositor_paint__preview__compositor__collection__impl.cc index cc33b53fc1c9..3745f27572e8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_services_paint__preview__compositor_paint__preview__compositor__collection__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_services_paint__preview__compositor_paint__preview__compositor__collection__impl.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/services/paint_preview_compositor/paint_preview_compositor_collection_impl.cc.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/components/services/paint_preview_compositor/paint_preview_compositor_collection_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/services/paint_preview_compositor/paint_preview_compositor_collection_impl.cc @@ -22,7 +22,7 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_soda_soda__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_soda_soda__util.cc index 1713989bb166..2562c472227d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_soda_soda__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_soda_soda__util.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/soda/soda_util.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/components/soda/soda_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/soda/soda_util.cc -@@ -27,7 +27,7 @@ +@@ -22,7 +22,7 @@ #include "base/win/windows_version.h" #endif @@ -9,7 +9,7 @@ #include "base/cpu.h" #endif -@@ -52,7 +52,7 @@ bool IsSupportedChromeOS() { +@@ -38,7 +38,7 @@ bool IsSupportedChromeOS() { } #endif // BUILDFLAG(IS_CHROMEOS) @@ -18,7 +18,7 @@ bool IsSupportedLinux() { #if defined(ARCH_CPU_X86_FAMILY) // Check if the CPU has the required instruction set to run the Speech -@@ -83,7 +83,7 @@ bool IsSupportedWin() { +@@ -69,7 +69,7 @@ bool IsOnDeviceSpeechRecognitionSupported() { bool IsOnDeviceSpeechRecognitionSupported() { #if BUILDFLAG(IS_CHROMEOS) return IsSupportedChromeOS(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_startup__metric__utils_common_startup__metric__utils.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_startup__metric__utils_common_startup__metric__utils.cc index 93795121b94e..6b23f9b0aee8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_startup__metric__utils_common_startup__metric__utils.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_startup__metric__utils_common_startup__metric__utils.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/startup_metric_utils/common/startup_metric_utils.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/components/startup_metric_utils/common/startup_metric_utils.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/startup_metric_utils/common/startup_metric_utils.cc @@ -94,7 +94,7 @@ base::TimeTicks CommonStartupMetricRecorder::StartupTi // Enabling this logic on OS X causes a significant performance regression. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_storage__monitor_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_storage__monitor_BUILD.gn index fcac51b90320..cced3d6b71c8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_storage__monitor_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_storage__monitor_BUILD.gn @@ -1,20 +1,20 @@ ---- src/3rdparty/chromium/components/storage_monitor/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/components/storage_monitor/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/storage_monitor/BUILD.gn -@@ -76,7 +76,7 @@ jumbo_static_library("storage_monitor") { +@@ -72,7 +72,7 @@ jumbo_static_library("storage_monitor") { deps += [ "//services/device/public/mojom" ] } - } else if (is_linux || is_chromeos_lacros) { + } else if (is_linux) { - if (use_udev) { + if (use_udev && !is_bsd) { sources += [ "mtab_watcher_linux.cc", "mtab_watcher_linux.h", -@@ -181,7 +181,7 @@ source_set("unit_tests") { +@@ -178,7 +178,7 @@ source_set("unit_tests") { "storage_monitor_chromeos_unittest.cc", ] } -- } else if (is_linux || is_chromeos_lacros) { -+ } else if ((is_linux || is_chromeos_lacros) && !is_bsd) { +- } else if (is_linux) { ++ } else if (is_linux && !is_bsd) { if (use_udev) { sources += [ "storage_monitor_linux_unittest.cc" ] } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_storage__monitor_removable__device__constants.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_storage__monitor_removable__device__constants.cc index c5ce5fae2f1b..59330942edb4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_storage__monitor_removable__device__constants.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_storage__monitor_removable__device__constants.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/storage_monitor/removable_device_constants.cc.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/components/storage_monitor/removable_device_constants.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/storage_monitor/removable_device_constants.cc -@@ -10,7 +10,7 @@ namespace storage_monitor { +@@ -10,7 +10,7 @@ const char kVendorModelSerialPrefix[] = "VendorModelSe const char kFSUniqueIdPrefix[] = "UUID:"; const char kVendorModelSerialPrefix[] = "VendorModelSerial:"; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_storage__monitor_removable__device__constants.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_storage__monitor_removable__device__constants.h index 1d11562e131e..8eb3531d28cc 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_storage__monitor_removable__device__constants.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_storage__monitor_removable__device__constants.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/storage_monitor/removable_device_constants.h.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/components/storage_monitor/removable_device_constants.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/storage_monitor/removable_device_constants.h -@@ -14,7 +14,7 @@ namespace storage_monitor { +@@ -14,7 +14,7 @@ extern const char kVendorModelSerialPrefix[]; extern const char kFSUniqueIdPrefix[]; extern const char kVendorModelSerialPrefix[]; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_browser_list__family__members__service.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_browser_list__family__members__service.h new file mode 100644 index 000000000000..bdfced292bd7 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_browser_list__family__members__service.h @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/components/supervised_user/core/browser/list_family_members_service.h.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/components/supervised_user/core/browser/list_family_members_service.h +@@ -33,7 +33,7 @@ constexpr bool FetchListFamilyMembersWithCapability() + // If true, this fetcher is active for all users with CanFetchFamilyMemberInfo + // capability. Otherwise, it is only used by supervised users. + constexpr bool FetchListFamilyMembersWithCapability() { +-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) + return true; + #else + return false; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__metrics__service.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__metrics__service.cc index 9090384e1feb..2a0cc6d8401e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__metrics__service.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__metrics__service.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/supervised_user/core/browser/supervised_user_metrics_service.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/components/supervised_user/core/browser/supervised_user_metrics_service.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/supervised_user/core/browser/supervised_user_metrics_service.cc @@ -47,7 +47,7 @@ SupervisedUserMetricsService::SupervisedUserMetricsSer extensions_metrics_delegate_(std::move(extensions_metrics_delegate)) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__preferences.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__preferences.cc index 9c5b1eb3fcdd..906661e26106 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__preferences.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__preferences.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/supervised_user/core/browser/supervised_user_preferences.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/components/supervised_user/core/browser/supervised_user_preferences.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/supervised_user/core/browser/supervised_user_preferences.cc -@@ -147,7 +147,7 @@ void RegisterProfilePrefs(PrefRegistrySimple* registry +@@ -144,7 +144,7 @@ void RegisterProfilePrefs(PrefRegistrySimple* registry registry->RegisterBooleanPref(prefs::kChildAccountStatusKnown, false); registry->RegisterStringPref(prefs::kFamilyLinkUserMemberRole, std::string()); #if BUILDFLAG(ENABLE_EXTENSIONS) && \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__service.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__service.cc deleted file mode 100644 index 3e8480327dc4..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_browser_supervised__user__service.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/components/supervised_user/core/browser/supervised_user_service.cc.orig 2024-10-22 08:31:56 UTC -+++ src/3rdparty/chromium/components/supervised_user/core/browser/supervised_user_service.cc -@@ -152,7 +152,7 @@ FirstTimeInterstitialBannerState SupervisedUserService - const FirstTimeInterstitialBannerState original_state) { - FirstTimeInterstitialBannerState target_state = original_state; - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_IOS) -+ BUILDFLAG(IS_IOS) || BUILDFLAG(IS_BSD) - if (original_state != FirstTimeInterstitialBannerState::kSetupComplete && - can_show_first_time_interstitial_banner_) { - target_state = FirstTimeInterstitialBannerState::kNeedToShow; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.cc index 2a3b83548b58..d17b35d0ea21 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.cc @@ -1,15 +1,15 @@ ---- src/3rdparty/chromium/components/supervised_user/core/common/features.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/components/supervised_user/core/common/features.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/supervised_user/core/common/features.cc -@@ -67,7 +67,7 @@ BASE_FEATURE(kUpdatedSupervisedUserExtensionApprovalSt +@@ -68,7 +68,7 @@ BASE_FEATURE(kUpdatedSupervisedUserExtensionApprovalSt "UpdatedSupervisedUserExtensionApprovalStrings", - base::FEATURE_DISABLED_BY_DEFAULT); + base::FEATURE_ENABLED_BY_DEFAULT); -#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) BASE_FEATURE(kEnableExtensionsPermissionsForSupervisedUsersOnDesktop, "EnableExtensionsPermissionsForSupervisedUsersOnDesktop", - base::FEATURE_DISABLED_BY_DEFAULT); -@@ -82,7 +82,7 @@ bool IsSupervisedUserSkipParentApprovalToInstallExtens + base::FEATURE_ENABLED_BY_DEFAULT); +@@ -83,7 +83,7 @@ bool IsSupervisedUserSkipParentApprovalToInstallExtens #if BUILDFLAG(IS_CHROMEOS) return base::FeatureList::IsEnabled( kEnableSupervisedUserSkipParentApprovalToInstallExtensions); @@ -18,12 +18,13 @@ bool skipParentApprovalEnabled = base::FeatureList::IsEnabled( kEnableSupervisedUserSkipParentApprovalToInstallExtensions); bool permissionExtensionsForSupervisedUsersEnabled = -@@ -107,13 +107,13 @@ BASE_FEATURE(kSupervisedUserProfileSigninIPH, - "SupervisedUserProfileSigninIPH", +@@ -104,14 +104,14 @@ BASE_FEATURE(kCustomProfileStringsForSupervisedUsers, + "CustomProfileStringsForSupervisedUsers", base::FEATURE_DISABLED_BY_DEFAULT); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) + BASE_FEATURE(kShowKiteForSupervisedUsers, "ShowKiteForSupervisedUsers", base::FEATURE_DISABLED_BY_DEFAULT); @@ -31,15 +32,24 @@ -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - BASE_FEATURE(kHideGuestModeForSupervisedUsers, - "HideGuestModeForSupervisedUsers", - base::FEATURE_DISABLED_BY_DEFAULT); -@@ -123,7 +123,7 @@ BASE_FEATURE(kForceSafeSearchForUnauthenticatedSupervi + BASE_FEATURE(kForceSafeSearchForUnauthenticatedSupervisedUsers, "ForceSafeSearchForUnauthenticatedSupervisedUsers", + base::FEATURE_ENABLED_BY_DEFAULT); +@@ -121,7 +121,7 @@ BASE_FEATURE(kForceSafeSearchForUnauthenticatedSupervi base::FEATURE_DISABLED_BY_DEFAULT); + #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - BASE_FEATURE(kForceSupervisedUserReauthenticationForYouTube, - "ForceSupervisedUserReauthenticationForYouTube", - base::FEATURE_DISABLED_BY_DEFAULT); + BASE_FEATURE(kEnableSupervisedUserVersionSignOutDialog, + "EnableSupervisedUserVersionSignOutDialog", + base::FEATURE_ENABLED_BY_DEFAULT); +@@ -141,7 +141,7 @@ BASE_FEATURE(kExemptYouTubeInfrastructureFromBlocking, + // kUncredentialedFilteringFallbackForSupervisedUsers and + // kWaitUntilAccessTokenAvailableForClassifyUrl flags, by inlining the + // platform #defines. +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) + BASE_FEATURE(kUncredentialedFilteringFallbackForSupervisedUsers, + "UncredentialedFilteringFallbackForSupervisedUsers", + base::FEATURE_ENABLED_BY_DEFAULT); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.h index 9de7071fe1c4..3a8437fcadd0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_common_features.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/supervised_user/core/common/features.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/supervised_user/core/common/features.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/supervised_user/core/common/features.h -@@ -25,7 +25,7 @@ BASE_DECLARE_FEATURE( +@@ -30,7 +30,7 @@ BASE_DECLARE_FEATURE(kUpdatedSupervisedUserExtensionAp // Applies new informative strings during the parental extension approval flow. BASE_DECLARE_FEATURE(kUpdatedSupervisedUserExtensionApprovalStrings); @@ -9,7 +9,7 @@ BASE_DECLARE_FEATURE(kEnableExtensionsPermissionsForSupervisedUsersOnDesktop); #endif -@@ -59,11 +59,11 @@ BASE_DECLARE_FEATURE(kSupervisedUserProfileSigninIPH); +@@ -60,7 +60,7 @@ BASE_DECLARE_FEATURE(kCustomProfileStringsForSupervise // Displays a Family Link kite badge on the supervised user avatar in various // surfaces. @@ -18,17 +18,12 @@ BASE_DECLARE_FEATURE(kShowKiteForSupervisedUsers); #endif --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - // This hides the following guest mode entry points for supervised users: - // - // * In the Profile menu for supervised profiles -@@ -75,7 +75,7 @@ BASE_DECLARE_FEATURE(kHideGuestModeForSupervisedUsers) +@@ -68,7 +68,7 @@ BASE_DECLARE_FEATURE(kForceSafeSearchForUnauthenticate // unauthenticated (e.g. signed out of the content area) account. BASE_DECLARE_FEATURE(kForceSafeSearchForUnauthenticatedSupervisedUsers); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) - // Force re-authentication when an unauthenticated supervised user tries to - // access YouTube, so that content restrictions can be applied. - BASE_DECLARE_FEATURE(kForceSupervisedUserReauthenticationForYouTube); + // Uses supervised user strings on the signout dialog. + BASE_DECLARE_FEATURE(kEnableSupervisedUserVersionSignOutDialog); + diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_common_pref__names.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_common_pref__names.h index fc75a77dbd40..0abdf16b8018 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_common_pref__names.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_common_pref__names.h @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/components/supervised_user/core/common/pref_names.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/components/supervised_user/core/common/pref_names.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/supervised_user/core/common/pref_names.h -@@ -137,7 +137,7 @@ inline constexpr char kFirstTimeInterstitialBannerStat - "profile.managed.banner_state"; +@@ -129,7 +129,7 @@ inline constexpr char kDefaultSupervisedUserFilteringB + "profile.managed.default_filtering_behavior"; #if BUILDFLAG(ENABLE_EXTENSIONS) -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_sync__device__info_local__device__info__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_sync__device__info_local__device__info__util.cc index cc8d26204f9d..2879764af6a0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_sync__device__info_local__device__info__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_sync__device__info_local__device__info__util.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/sync_device_info/local_device_info_util.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/components/sync_device_info/local_device_info_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/sync_device_info/local_device_info_util.cc -@@ -85,7 +85,7 @@ void OnMachineStatisticsLoaded(LocalDeviceNameInfo* na +@@ -84,7 +84,7 @@ sync_pb::SyncEnums::DeviceType GetLocalDeviceType() { sync_pb::SyncEnums::DeviceType GetLocalDeviceType() { #if BUILDFLAG(IS_CHROMEOS) return sync_pb::SyncEnums_DeviceType_TYPE_CROS; @@ -9,16 +9,16 @@ return sync_pb::SyncEnums_DeviceType_TYPE_LINUX; #elif BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS) switch (ui::GetDeviceFormFactor()) { -@@ -110,7 +110,7 @@ DeviceInfo::OsType GetLocalDeviceOSType() { +@@ -107,7 +107,7 @@ DeviceInfo::OsType GetLocalDeviceOSType() { + DeviceInfo::OsType GetLocalDeviceOSType() { + #if BUILDFLAG(IS_CHROMEOS) return DeviceInfo::OsType::kChromeOsAsh; - #elif BUILDFLAG(IS_CHROMEOS_LACROS) - return DeviceInfo::OsType::kChromeOsLacros; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return DeviceInfo::OsType::kLinux; #elif BUILDFLAG(IS_ANDROID) return DeviceInfo::OsType::kAndroid; -@@ -129,7 +129,7 @@ DeviceInfo::OsType GetLocalDeviceOSType() { +@@ -126,7 +126,7 @@ DeviceInfo::FormFactor GetLocalDeviceFormFactor() { DeviceInfo::FormFactor GetLocalDeviceFormFactor() { #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_sync__device__info_local__device__info__util__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_sync__device__info_local__device__info__util__linux.cc index 7ce16715d205..e1999dbf2803 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_sync__device__info_local__device__info__util__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_sync__device__info_local__device__info__util__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/sync_device_info/local_device_info_util_linux.cc.orig 2022-09-24 10:57:32 UTC +--- src/3rdparty/chromium/components/sync_device_info/local_device_info_util_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/sync_device_info/local_device_info_util_linux.cc @@ -9,6 +9,11 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_sync__preferences_common__syncable__prefs__database.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_sync__preferences_common__syncable__prefs__database.cc new file mode 100644 index 000000000000..47b55d0bcfcf --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_sync__preferences_common__syncable__prefs__database.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/components/sync_preferences/common_syncable_prefs_database.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/components/sync_preferences/common_syncable_prefs_database.cc +@@ -327,7 +327,7 @@ constexpr auto kCommonSyncablePrefsAllowlist = + PrefSensitivity::kNone, MergeBehavior::kNone}}, + #endif // BUILDFLAG(IS_ANDROID) + #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ +- BUILDFLAG(IS_CHROMEOS) ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + {autofill::prefs::kAutofillBnplEnabled, + {syncable_prefs_ids::kAutofillBnplEnabled, syncer::PREFERENCES, + PrefSensitivity::kNone, MergeBehavior::kNone}}, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_system__cpu_cpu__probe.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_system__cpu_cpu__probe.cc index 279e4d00c55a..99d404f4b8cd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_system__cpu_cpu__probe.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_system__cpu_cpu__probe.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/system_cpu/cpu_probe.cc.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/components/system_cpu/cpu_probe.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/system_cpu/cpu_probe.cc @@ -30,6 +30,9 @@ std::unique_ptr<CpuProbe> CpuProbe::Create() { return CpuProbeWin::Create(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_trusted__vault_trusted__vault__connection__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_trusted__vault_trusted__vault__connection__impl.cc index 11614709e0d3..20d61ae28e2f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_trusted__vault_trusted__vault__connection__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_trusted__vault_trusted__vault__connection__impl.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/trusted_vault/trusted_vault_connection_impl.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/trusted_vault/trusted_vault_connection_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/trusted_vault/trusted_vault_connection_impl.cc @@ -102,7 +102,7 @@ GetLocalPhysicalDeviceType() { // currently used or even built on all platforms. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_update__client_update__query__params.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_update__client_update__query__params.cc index be51222521a8..4b9211937fa2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_update__client_update__query__params.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_update__client_update__query__params.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/update_client/update_query_params.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/components/update_client/update_query_params.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/update_client/update_query_params.cc -@@ -40,6 +40,8 @@ const char kOs[] = +@@ -39,6 +39,8 @@ const char kOs[] = "fuchsia"; #elif BUILDFLAG(IS_OPENBSD) "openbsd"; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_url__formatter_spoof__checks_idn__spoof__checker.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_url__formatter_spoof__checks_idn__spoof__checker.cc index 38fecff980f1..c443a17d0947 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_url__formatter_spoof__checks_idn__spoof__checker.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_url__formatter_spoof__checks_idn__spoof__checker.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/url_formatter/spoof_checks/idn_spoof_checker.cc.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/components/url_formatter/spoof_checks/idn_spoof_checker.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/url_formatter/spoof_checks/idn_spoof_checker.cc -@@ -294,7 +294,7 @@ IDNSpoofChecker::IDNSpoofChecker() { +@@ -298,7 +298,7 @@ IDNSpoofChecker::IDNSpoofChecker() { // The ideal fix would be to change the omnibox font used for Thai. In // that case, the Linux-only list should be revisited and potentially // removed. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_user__education_views_help__bubble__view.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_user__education_views_help__bubble__view.cc index 98ec7812edd8..77c4f0447752 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_user__education_views_help__bubble__view.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_user__education_views_help__bubble__view.cc @@ -1,11 +1,29 @@ ---- src/3rdparty/chromium/components/user_education/views/help_bubble_view.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/user_education/views/help_bubble_view.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/user_education/views/help_bubble_view.cc -@@ -852,7 +852,7 @@ gfx::Rect HelpBubbleView::GetAnchorRect() const { +@@ -299,7 +299,7 @@ DEFINE_CLASS_ELEMENT_IDENTIFIER_VALUE(HelpBubbleView, + // TODO(https://crbug.com/382611284): Temporarily handle the case when the + // primary window is minimized by closing the help bubble. Remove this code when + // the issue is solved at the Views framework level. +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + class HelpBubbleView::PrimaryWidgetObserver : public views::WidgetObserver { + public: + explicit PrimaryWidgetObserver(HelpBubbleView& help_bubble) +@@ -772,7 +772,7 @@ HelpBubbleView::HelpBubbleView( + event_relay_->Init(this); + } + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + primary_widget_observer_ = std::make_unique<PrimaryWidgetObserver>(*this); + #endif + +@@ -886,7 +886,7 @@ void HelpBubbleView::OnBeforeBubbleWidgetInit(views::W void HelpBubbleView::OnBeforeBubbleWidgetInit(views::Widget::InitParams* params, views::Widget* widget) const { BubbleDialogDelegateView::OnBeforeBubbleWidgetInit(params, widget); -#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_BSD) // Help bubbles anchored to menus may be clipped to their anchors' bounds, // resulting in visual errors, unless they use accelerated rendering. See // crbug.com/1445770 for details. This also applies to bubbles anchored to diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_user__education_views_help__bubble__view.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_user__education_views_help__bubble__view.h new file mode 100644 index 000000000000..6f7ed63ac5e3 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_user__education_views_help__bubble__view.h @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/components/user_education/views/help_bubble_view.h.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/components/user_education/views/help_bubble_view.h +@@ -162,7 +162,7 @@ class HelpBubbleView : public views::BubbleDialogDeleg + // work around this problem by closing the bubble if the widget is minimized. + // When the underlying issue is fixed at the framework level, this can be + // removed. +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + class PrimaryWidgetObserver; + std::unique_ptr<PrimaryWidgetObserver> primary_widget_observer_; + #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_variations_service_variations__service.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_variations_service_variations__service.cc index 43f09c0ab8f6..495a3af98778 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_variations_service_variations__service.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_variations_service_variations__service.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/variations/service/variations_service.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/variations/service/variations_service.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/variations/service/variations_service.cc -@@ -102,7 +102,7 @@ std::string GetPlatformString() { +@@ -100,7 +100,7 @@ std::string GetPlatformString() { return "android"; #elif BUILDFLAG(IS_FUCHSIA) return "fuchsia"; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_visited__url__ranking_public_url__visit__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_visited__url__ranking_public_url__visit__util.cc index 65f2cb8da1bb..272ef21973c3 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_visited__url__ranking_public_url__visit__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_visited__url__ranking_public_url__visit__util.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/visited_url_ranking/public/url_visit_util.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/visited_url_ranking/public/url_visit_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/visited_url_ranking/public/url_visit_util.cc @@ -66,7 +66,7 @@ PlatformType GetPlatformInput() { return PlatformType::kWindows; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_host_gpu__host__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_host_gpu__host__impl.cc new file mode 100644 index 000000000000..0401ccae8010 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_host_gpu__host__impl.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/components/viz/host/gpu_host_impl.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/components/viz/host/gpu_host_impl.cc +@@ -135,7 +135,7 @@ GpuHostImpl::GpuHostImpl(Delegate* delegate, + mojom::GpuServiceCreationParams::New(); + #if BUILDFLAG(IS_OZONE) + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // Linux has an issue when running in single-process mode wherein + // GetPlatformRuntimeProperties() browser-side calls can have a data race with + // in-process GPU service initialization. The call to diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_host_host__display__client.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_host_host__display__client.cc index 92e8ed239070..7c0a842a4bdd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_host_host__display__client.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_host_host__display__client.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/viz/host/host_display_client.cc.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/components/viz/host/host_display_client.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/viz/host/host_display_client.cc @@ -65,7 +65,7 @@ void HostDisplayClient::AddChildWindowToBrowser( } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_host_host__display__client.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_host_host__display__client.h index 7d241a2ba122..daaca0f9b8ce 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_host_host__display__client.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_host_host__display__client.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/components/viz/host/host_display_client.h.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/components/viz/host/host_display_client.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/viz/host/host_display_client.h @@ -52,7 +52,7 @@ class VIZ_HOST_EXPORT HostDisplayClient : public mojom void AddChildWindowToBrowser(gpu::SurfaceHandle child_window) override; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_display__embedder_skia__output__surface__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_display__embedder_skia__output__surface__impl.cc index 2a5688871362..1e25dabf5026 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_display__embedder_skia__output__surface__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_display__embedder_skia__output__surface__impl.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/viz/service/display_embedder/skia_output_surface_impl.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/viz/service/display_embedder/skia_output_surface_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/viz/service/display_embedder/skia_output_surface_impl.cc -@@ -1498,7 +1498,7 @@ GrBackendFormat SkiaOutputSurfaceImpl::GetGrBackendFor +@@ -1505,7 +1505,7 @@ GrBackendFormat SkiaOutputSurfaceImpl::GetGrBackendFor ->GetVulkanPhysicalDevice(), VK_IMAGE_TILING_OPTIMAL, vk_format, si_format, yuv_color_space, ycbcr_info); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.cc index 001c32836c8a..c07df0fecd8e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.cc @@ -1,20 +1,20 @@ ---- src/3rdparty/chromium/components/viz/service/display_embedder/software_output_surface.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/components/viz/service/display_embedder/software_output_surface.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/viz/service/display_embedder/software_output_surface.cc @@ -115,7 +115,7 @@ void SoftwareOutputSurface::SwapBuffersCallback(base:: + base::TimeTicks now = base::TimeTicks::Now(); + base::TimeDelta interval_to_next_refresh = now.SnappedToNextTick(refresh_timebase_, refresh_interval_) - now; - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (needs_swap_size_notifications_) client_->DidSwapWithSize(pixel_size); #endif -@@ -144,7 +144,7 @@ gfx::OverlayTransform SoftwareOutputSurface::GetDispla +@@ -142,7 +142,7 @@ gfx::OverlayTransform SoftwareOutputSurface::GetDispla + return gfx::OVERLAY_TRANSFORM_NONE; + } - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void SoftwareOutputSurface::SetNeedsSwapSizeNotifications( bool needs_swap_size_notifications) { needs_swap_size_notifications_ = needs_swap_size_notifications; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.h index 1158b2b183cf..3e987ed9a994 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_display__embedder_software__output__surface.h @@ -1,20 +1,20 @@ ---- src/3rdparty/chromium/components/viz/service/display_embedder/software_output_surface.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/components/viz/service/display_embedder/software_output_surface.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/viz/service/display_embedder/software_output_surface.h -@@ -44,7 +44,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputSurface : publi +@@ -41,7 +41,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputSurface : publi + UpdateVSyncParametersCallback callback) override; + void SetDisplayTransformHint(gfx::OverlayTransform transform) override {} gfx::OverlayTransform GetDisplayTransform() override; - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) void SetNeedsSwapSizeNotifications( bool needs_swap_size_notifications) override; #endif -@@ -64,7 +64,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputSurface : publi +@@ -59,7 +59,7 @@ class VIZ_SERVICE_EXPORT SoftwareOutputSurface : publi + base::TimeTicks refresh_timebase_; + base::TimeDelta refresh_interval_ = BeginFrameArgs::DefaultInterval(); - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) bool needs_swap_size_notifications_ = false; #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_display_skia__renderer.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_display_skia__renderer.cc index d6cf73348cc9..f84046118b1b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_display_skia__renderer.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_display_skia__renderer.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/viz/service/display/skia_renderer.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/viz/service/display/skia_renderer.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/viz/service/display/skia_renderer.cc -@@ -1363,7 +1363,7 @@ void SkiaRenderer::ClearFramebuffer() { +@@ -1376,7 +1376,7 @@ void SkiaRenderer::ClearFramebuffer() { if (current_frame()->current_render_pass->has_transparent_background) { ClearCanvas(SkColors::kTransparent); } else { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc index 900c94316e74..939455c0ede6 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc -@@ -113,7 +113,7 @@ RootCompositorFrameSinkImpl::Create( +@@ -122,7 +122,7 @@ RootCompositorFrameSinkImpl::Create( output_surface->SetNeedsSwapSizeNotifications( params->send_swap_size_notifications); @@ -9,7 +9,7 @@ // For X11, we need notify client about swap completion after resizing, so the // client can use it for synchronize with X11 WM. output_surface->SetNeedsSwapSizeNotifications(true); -@@ -793,7 +793,7 @@ void RootCompositorFrameSinkImpl::DisplayDidCompleteSw +@@ -812,7 +812,7 @@ void RootCompositorFrameSinkImpl::DisplayDidCompleteSw if (display_client_ && enable_swap_completion_callback_) { display_client_->DidCompleteSwapWithSize(pixel_size); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h index e3235296e9e4..0646b400e645 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_viz_service_frame__sinks_root__compositor__frame__sink__impl.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/components/viz/service/frame_sinks/root_compositor_frame_sink_impl.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/components/viz/service/frame_sinks/root_compositor_frame_sink_impl.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/components/viz/service/frame_sinks/root_compositor_frame_sink_impl.h -@@ -231,7 +231,7 @@ class VIZ_SERVICE_EXPORT RootCompositorFrameSinkImpl +@@ -228,7 +228,7 @@ class VIZ_SERVICE_EXPORT RootCompositorFrameSinkImpl // See comments on `EvictionHandler`. EvictionHandler eviction_handler_; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_app_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_app_BUILD.gn index 942f2779fe58..738e6ffc9ce0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_app_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_app_BUILD.gn @@ -1,9 +1,9 @@ ---- src/3rdparty/chromium/content/app/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/app/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/app/BUILD.gn -@@ -97,9 +97,9 @@ source_set("content_main_runner_app") { - "//chromeos/startup:constants", - ] - } +@@ -90,9 +90,9 @@ source_set("content_main_runner_app") { + "//third_party/tflite:buildflags", + "//tools/v8_context_snapshot:buildflags", + ] - if (build_tflite_with_xnnpack) { - deps += [ "//third_party/cpuinfo" ] - } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_app_content__main.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_app_content__main.cc index 967cc4751d2e..e20f3d050caa 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_app_content__main.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_app_content__main.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/app/content_main.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/app/content_main.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/app/content_main.cc -@@ -229,7 +229,7 @@ NO_STACK_PROTECTOR int RunContentProcess( +@@ -228,7 +228,7 @@ NO_STACK_PROTECTOR int RunContentProcess( #endif logging::RegisterAbslAbortHook(); @@ -9,7 +9,7 @@ // The various desktop environments set this environment variable that // allows the dbus client library to connect directly to the bus. When this // variable is not set (test environments like xvfb-run), the dbus client -@@ -316,7 +316,7 @@ NO_STACK_PROTECTOR int RunContentProcess( +@@ -314,7 +314,7 @@ NO_STACK_PROTECTOR int RunContentProcess( command_line->AppendSwitch(switches::kUseMobileUserAgent); #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_app_content__main__runner__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_app_content__main__runner__impl.cc index 93e00805053d..bb725862e9df 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_app_content__main__runner__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_app_content__main__runner__impl.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/app/content_main_runner_impl.cc.orig 2025-03-09 19:36:47 UTC +--- src/3rdparty/chromium/content/app/content_main_runner_impl.cc.orig 2025-10-02 00:36:39 UTC +++ src/3rdparty/chromium/content/app/content_main_runner_impl.cc -@@ -147,18 +147,20 @@ +@@ -142,18 +142,20 @@ #include "content/browser/posix_file_descriptor_info_impl.h" #include "content/public/common/content_descriptors.h" @@ -22,8 +22,8 @@ +#endif #include "third_party/boringssl/src/include/openssl/crypto.h" - #if BUILDFLAG(IS_CHROMEOS_LACROS) -@@ -189,12 +191,16 @@ + #if BUILDFLAG(ENABLE_PPAPI) +@@ -179,12 +181,16 @@ #include "content/public/common/zygote/zygote_handle.h" #include "content/zygote/zygote_main.h" #include "media/base/media_switches.h" @@ -41,7 +41,7 @@ #if BUILDFLAG(IS_ANDROID) #include "base/system/sys_info.h" #include "content/browser/android/battery_metrics.h" -@@ -406,7 +412,7 @@ void InitializeZygoteSandboxForBrowserProcess( +@@ -386,7 +392,7 @@ void InitializeZygoteSandboxForBrowserProcess( } #endif // BUILDFLAG(USE_ZYGOTE) @@ -50,7 +50,7 @@ #if BUILDFLAG(ENABLE_PPAPI) // Loads the (native) libraries but does not initialize them (i.e., does not -@@ -444,7 +450,10 @@ void PreSandboxInit() { +@@ -424,7 +430,10 @@ void PreSandboxInit() { void PreSandboxInit() { // Ensure the /dev/urandom is opened. @@ -61,7 +61,7 @@ // May use sysinfo(), sched_getaffinity(), and open various /sys/ and /proc/ // files. -@@ -456,9 +465,16 @@ void PreSandboxInit() { +@@ -436,9 +445,16 @@ void PreSandboxInit() { // https://boringssl.googlesource.com/boringssl/+/HEAD/SANDBOXING.md CRYPTO_pre_sandbox_init(); @@ -78,7 +78,7 @@ #if BUILDFLAG(ENABLE_PPAPI) // Ensure access to the Pepper plugins before the sandbox is turned on. -@@ -772,7 +788,7 @@ NO_STACK_PROTECTOR int RunOtherNamedProcessTypeMain( +@@ -750,7 +766,7 @@ NO_STACK_PROTECTOR int RunOtherNamedProcessTypeMain( unregister_thread_closure = base::HangWatcher::RegisterThread( base::HangWatcher::ThreadType::kMainThread); bool start_hang_watcher_now; @@ -87,7 +87,7 @@ // On Linux/ChromeOS, the HangWatcher can't start until after the sandbox is // initialized, because the sandbox can't be started with multiple threads. // TODO(mpdenton): start the HangWatcher after the sandbox is initialized. -@@ -882,11 +898,10 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam +@@ -863,11 +879,10 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam base::GlobalDescriptors::kBaseDescriptor); #endif // !BUILDFLAG(IS_ANDROID) @@ -101,7 +101,7 @@ #endif // !BUILDFLAG(IS_WIN) -@@ -1069,8 +1084,20 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam +@@ -1050,8 +1065,20 @@ int ContentMainRunnerImpl::Initialize(ContentMainParam process_type == switches::kZygoteProcess) { PreSandboxInit(); } @@ -122,7 +122,7 @@ delegate_->SandboxInitialized(process_type); #if BUILDFLAG(USE_ZYGOTE) -@@ -1169,6 +1196,11 @@ NO_STACK_PROTECTOR int ContentMainRunnerImpl::Run() { +@@ -1150,6 +1177,11 @@ NO_STACK_PROTECTOR int ContentMainRunnerImpl::Run() { content_main_params_.reset(); RegisterMainThreadFactories(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_BUILD.gn index 59d1647cd490..74e760b3e6c9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/browser/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/BUILD.gn -@@ -2438,6 +2438,14 @@ jumbo_source_set("browser") { +@@ -2529,6 +2529,14 @@ jumbo_source_set("browser") { ] } @@ -13,9 +13,9 @@ + } + if (is_linux || is_chromeos) { - sources += [ - "child_process_launcher_helper_linux.cc", -@@ -2481,6 +2489,15 @@ jumbo_source_set("browser") { + sources -= + [ "file_system_access/file_path_watcher/file_path_watcher_stub.cc" ] +@@ -2574,6 +2582,15 @@ jumbo_source_set("browser") { if (allow_oop_video_decoder) { sources += [ "media/stable_video_decoder_factory.cc" ] deps += [ "//media/mojo/mojom/stable:stable_video_decoder" ] diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_audio_audio__service.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_audio_audio__service.cc index cf18316945e3..02e63fd0a216 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_audio_audio__service.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_audio_audio__service.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/audio/audio_service.cc.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/content/browser/audio/audio_service.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/audio/audio_service.cc -@@ -32,7 +32,7 @@ +@@ -33,7 +33,7 @@ #if BUILDFLAG(ENABLE_PASSTHROUGH_AUDIO_CODECS) #include "ui/display/util/edid_parser.h" @@ -9,7 +9,7 @@ #include "ui/display/display_util.h" #endif // BUILDFLAG(IS_LINUX) -@@ -200,7 +200,7 @@ audio::mojom::AudioService& GetAudioService() { +@@ -201,7 +201,7 @@ audio::mojom::AudioService& GetAudioService() { ->PostTaskAndReplyWithResult( FROM_HERE, base::BindOnce(&ScanEdidBitstreams), base::BindOnce(&LaunchAudioService, std::move(receiver))); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl.cc index f8c77fcb90c7..02cf868de30d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/browser_child_process_host_impl.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/content/browser/browser_child_process_host_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/browser_child_process_host_impl.cc -@@ -328,6 +328,7 @@ void BrowserChildProcessHostImpl::LaunchWithoutExtraCo +@@ -326,6 +326,7 @@ void BrowserChildProcessHostImpl::LaunchWithoutExtraCo switches::kLogBestEffortTasks, switches::kPerfettoDisableInterning, switches::kTraceToConsole, @@ -8,7 +8,7 @@ }; cmd_line->CopySwitchesFrom(browser_command_line, kForwardSwitches); -@@ -659,7 +660,7 @@ void BrowserChildProcessHostImpl::OnProcessLaunched() +@@ -690,7 +691,7 @@ void BrowserChildProcessHostImpl::OnProcessLaunched() ->child_process()); #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl.h index 637519aea8a3..3461ac043b51 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/browser_child_process_host_impl.h.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/content/browser/browser_child_process_host_impl.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/browser_child_process_host_impl.h -@@ -35,7 +35,7 @@ +@@ -36,7 +36,7 @@ #include "base/win/object_watcher.h" #endif @@ -9,7 +9,7 @@ #include "content/browser/child_thread_type_switcher_linux.h" #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -@@ -269,7 +269,7 @@ class BrowserChildProcessHostImpl +@@ -287,7 +287,7 @@ class BrowserChildProcessHostImpl std::unique_ptr<tracing::SystemTracingService> system_tracing_service_; #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl__receiver__bindings.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl__receiver__bindings.cc index f498f42ec4b2..490b6560a1fc 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl__receiver__bindings.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_browser__child__process__host__impl__receiver__bindings.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/browser_child_process_host_impl_receiver_bindings.cc.orig 2023-12-10 06:10:27 UTC +--- src/3rdparty/chromium/content/browser/browser_child_process_host_impl_receiver_bindings.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/browser_child_process_host_impl_receiver_bindings.cc -@@ -62,7 +62,7 @@ void BrowserChildProcessHostImpl::BindHostReceiver( +@@ -64,7 +64,7 @@ void BrowserChildProcessHostImpl::BindHostReceiver( } } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_browser__main__loop.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_browser__main__loop.cc index 08eee7628f9e..3d01c8167f9a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_browser__main__loop.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_browser__main__loop.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/browser_main_loop.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/browser/browser_main_loop.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/browser_main_loop.cc -@@ -255,6 +255,12 @@ +@@ -252,6 +252,12 @@ #include "mojo/public/cpp/bindings/lib/test_random_mojo_delays.h" #endif @@ -13,7 +13,7 @@ // One of the linux specific headers defines this as a macro. #ifdef DestroyAll #undef DestroyAll -@@ -550,6 +556,12 @@ int BrowserMainLoop::EarlyInitialization() { +@@ -546,6 +552,12 @@ int BrowserMainLoop::EarlyInitialization() { // by now since a thread to start the ServiceManager has been created // before the browser main loop starts. DCHECK(SandboxHostLinux::GetInstance()->IsInitialized()); @@ -26,7 +26,7 @@ #endif // GLib's spawning of new processes is buggy, so it's important that at this -@@ -590,7 +602,7 @@ int BrowserMainLoop::EarlyInitialization() { +@@ -580,7 +592,7 @@ int BrowserMainLoop::EarlyInitialization() { features::kBrowserUseCompositingThreadPriority)); #if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper.h index 2eed575498d1..cede022b2814 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/child_process_launcher_helper.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/content/browser/child_process_launcher_helper.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/child_process_launcher_helper.h -@@ -293,7 +293,7 @@ class ChildProcessLauncherHelper +@@ -308,7 +308,7 @@ class ChildProcessLauncherHelper std::optional<base::ProcessId> process_id_ = std::nullopt; #endif // BUILDFLAG(IS_CHROMEOS) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper__linux.cc index aacf1228918e..03f0fc900410 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_child__process__launcher__helper__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/child_process_launcher_helper_linux.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/content/browser/child_process_launcher_helper_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/child_process_launcher_helper_linux.cc @@ -22,7 +22,9 @@ #include "content/public/common/result_codes.h" @@ -10,7 +10,7 @@ #include "sandbox/policy/linux/sandbox_linux.h" namespace content { -@@ -47,14 +49,20 @@ ChildProcessLauncherHelper::GetFilesToMap() { +@@ -47,14 +49,20 @@ bool ChildProcessLauncherHelper::IsUsingLaunchOptions( } bool ChildProcessLauncherHelper::IsUsingLaunchOptions() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_child__thread__type__switcher__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_child__thread__type__switcher__linux.cc index 6545657a5cdb..833783f7ef5e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_child__thread__type__switcher__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_child__thread__type__switcher__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/child_thread_type_switcher_linux.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/content/browser/child_thread_type_switcher_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/child_thread_type_switcher_linux.cc @@ -20,6 +20,9 @@ void SetThreadTypeOnLauncherThread(base::ProcessId pee base::ThreadType thread_type) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_compositor_viz__process__transport__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_compositor_viz__process__transport__factory.cc index 09094d627e6d..1253a22d252d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_compositor_viz__process__transport__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_compositor_viz__process__transport__factory.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/compositor/viz_process_transport_factory.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/content/browser/compositor/viz_process_transport_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/compositor/viz_process_transport_factory.cc @@ -110,7 +110,7 @@ class HostDisplayClient : public viz::HostDisplayClien HostDisplayClient& operator=(const HostDisplayClient&) = delete; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_devtools_devtools__frontend__host__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_devtools_devtools__frontend__host__impl.cc index 61cc5417ddb7..85b4b1c28a08 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_devtools_devtools__frontend__host__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_devtools_devtools__frontend__host__impl.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/devtools/devtools_frontend_host_impl.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/content/browser/devtools/devtools_frontend_host_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/devtools/devtools_frontend_host_impl.cc -@@ -27,7 +27,7 @@ +@@ -24,7 +24,7 @@ #include "third_party/blink/public/common/associated_interfaces/associated_interface_provider.h" #include "ui/base/webui/resource_path.h" @@ -9,7 +9,7 @@ #include "components/crash/content/browser/error_reporting/javascript_error_report.h" // nogncheck #include "components/crash/content/browser/error_reporting/js_error_report_processor.h" // nogncheck #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -@@ -42,7 +42,7 @@ const char kCompatibilityScriptSourceURL[] = +@@ -36,7 +36,7 @@ const char kCompatibilityScriptSourceURL[] = "\n//# " "sourceURL=devtools://devtools/bundled/devtools_compatibility.js"; @@ -18,7 +18,7 @@ // Remove the pieces of the URL we don't want to send back with the error // reports. In particular, do not send query or fragments as those can have // privacy-sensitive information in them. -@@ -112,7 +112,7 @@ DevToolsFrontendHostImpl::DevToolsFrontendHostImpl( +@@ -106,7 +106,7 @@ DevToolsFrontendHostImpl::DevToolsFrontendHostImpl( const HandleMessageCallback& handle_message_callback) : web_contents_(WebContents::FromRenderFrameHost(frame_host)), handle_message_callback_(handle_message_callback) { @@ -27,7 +27,7 @@ Observe(web_contents_); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) mojo::AssociatedRemote<blink::mojom::DevToolsFrontend> frontend; -@@ -137,7 +137,7 @@ void DevToolsFrontendHostImpl::DispatchEmbedderMessage +@@ -131,7 +131,7 @@ void DevToolsFrontendHostImpl::DispatchEmbedderMessage handle_message_callback_.Run(std::move(message)); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_devtools_devtools__frontend__host__impl.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_devtools_devtools__frontend__host__impl.h index 7ef33e0fc49c..b132c3b2dffd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_devtools_devtools__frontend__host__impl.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_devtools_devtools__frontend__host__impl.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/devtools/devtools_frontend_host_impl.h.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/content/browser/devtools/devtools_frontend_host_impl.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/devtools/devtools_frontend_host_impl.h @@ -34,7 +34,7 @@ class DevToolsFrontendHostImpl : public DevToolsFronte diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_devtools_protocol_system__info__handler.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_devtools_protocol_system__info__handler.cc index 0f73930358f7..6c41262a20b2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_devtools_protocol_system__info__handler.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_devtools_protocol_system__info__handler.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/devtools/protocol/system_info_handler.cc.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/content/browser/devtools/protocol/system_info_handler.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/devtools/protocol/system_info_handler.cc -@@ -51,7 +51,7 @@ std::unique_ptr<SystemInfo::Size> GfxSizeToSystemInfoS +@@ -52,7 +52,7 @@ std::unique_ptr<SystemInfo::Size> GfxSizeToSystemInfoS // 1046598, and 1153667. // Windows builds need more time -- see Issue 873112 and 1004472. // Mac builds need more time - see Issue angleproject:6182. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher.h index 8652828fa0d6..673e1237bb93 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/file_system_access/file_path_watcher/file_path_watcher.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/content/browser/file_system_access/file_path_watcher/file_path_watcher.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/file_system_access/file_path_watcher/file_path_watcher.h -@@ -125,7 +125,7 @@ class CONTENT_EXPORT FilePathWatcher { +@@ -126,7 +126,7 @@ class CONTENT_EXPORT FilePathWatcher { Type type = Type::kNonRecursive; #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__bsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__bsd.cc index 0efdc149e7b3..95462a0915a0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__bsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__bsd.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/file_system_access/file_path_watcher/file_path_watcher_bsd.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/content/browser/file_system_access/file_path_watcher/file_path_watcher_bsd.cc.orig 2025-09-01 08:52:30 UTC +++ src/3rdparty/chromium/content/browser/file_system_access/file_path_watcher/file_path_watcher_bsd.cc -@@ -0,0 +1,55 @@ +@@ -0,0 +1,60 @@ +// Copyright 2024 The Chromium Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. @@ -55,4 +55,9 @@ +FilePathWatcher::FilePathWatcher() + : FilePathWatcher(std::make_unique<FilePathWatcherImpl>()) {} + ++// static ++size_t FilePathWatcher::GetQuotaLimitImpl() { ++ return std::numeric_limits<size_t>::max(); ++} ++ +} // namespace content diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__kqueue.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__kqueue.h index c08a6b6b2f14..95de41f23f88 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__kqueue.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_file__system__access_file__path__watcher_file__path__watcher__kqueue.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/file_system_access/file_path_watcher/file_path_watcher_kqueue.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/content/browser/file_system_access/file_path_watcher/file_path_watcher_kqueue.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/file_system_access/file_path_watcher/file_path_watcher_kqueue.h @@ -5,6 +5,7 @@ #ifndef CONTENT_BROWSER_FILE_SYSTEM_ACCESS_FILE_PATH_WATCHER_FILE_PATH_WATCHER_KQUEUE_H_ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_file__system__access_file__system__access__local__path__watcher.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_file__system__access_file__system__access__local__path__watcher.cc index f9d0c3266b24..629e9fab5df4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_file__system__access_file__system__access__local__path__watcher.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_file__system__access_file__system__access__local__path__watcher.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/file_system_access/file_system_access_local_path_watcher.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/content/browser/file_system_access/file_system_access_local_path_watcher.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/file_system_access/file_system_access_local_path_watcher.cc -@@ -63,7 +63,7 @@ void FileSystemAccessLocalPathWatcher::Initialize( +@@ -67,7 +67,7 @@ void FileSystemAccessLocalPathWatcher::Initialize( .type = scope().IsRecursive() ? FilePathWatcher::Type::kRecursive : FilePathWatcher::Type::kNonRecursive, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_font__access_font__enumeration__data__source.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_font__access_font__enumeration__data__source.cc index 24b4ead48f74..84516321a1a4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_font__access_font__enumeration__data__source.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_font__access_font__enumeration__data__source.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/font_access/font_enumeration_data_source.cc.orig 2023-11-03 10:09:45 UTC +--- src/3rdparty/chromium/content/browser/font_access/font_enumeration_data_source.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/font_access/font_enumeration_data_source.cc @@ -16,7 +16,7 @@ #include "content/browser/font_access/font_enumeration_data_source_win.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_compositor__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_compositor__util.cc index a59aeddeebb3..dd4aa9aa93da 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_compositor__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_compositor__util.cc @@ -1,20 +1,20 @@ ---- src/3rdparty/chromium/content/browser/gpu/compositor_util.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/content/browser/gpu/compositor_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/gpu/compositor_util.cc -@@ -153,7 +153,7 @@ std::vector<GpuFeatureData> GetGpuFeatureData( +@@ -152,7 +152,7 @@ std::vector<GpuFeatureData> GetGpuFeatureData( "video_decode", SafeGetFeatureStatus( gpu_feature_info, gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE, -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - !base::FeatureList::IsEnabled(media::kVaapiVideoDecodeLinux) || + !base::FeatureList::IsEnabled(media::kAcceleratedVideoDecodeLinux) || #endif // BUILDFLAG(IS_LINUX) command_line.HasSwitch(switches::kDisableAcceleratedVideoDecode)), -@@ -165,7 +165,7 @@ std::vector<GpuFeatureData> GetGpuFeatureData( +@@ -164,7 +164,7 @@ std::vector<GpuFeatureData> GetGpuFeatureData( "video_encode", SafeGetFeatureStatus( gpu_feature_info, gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE, -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - !base::FeatureList::IsEnabled(media::kVaapiVideoEncodeLinux)), + !base::FeatureList::IsEnabled(media::kAcceleratedVideoEncodeLinux)), #else command_line.HasSwitch(switches::kDisableAcceleratedVideoEncode)), diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl.cc index eaa0da6d4dbf..a1c3ae834e31 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/gpu/gpu_data_manager_impl.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/content/browser/gpu/gpu_data_manager_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/gpu/gpu_data_manager_impl.cc @@ -402,7 +402,7 @@ void GpuDataManagerImpl::OnDisplayMetricsChanged( private_->OnDisplayMetricsChanged(display, changed_metrics); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl.h index bc1fcd5df77e..3f3c35054ae2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/gpu/gpu_data_manager_impl.h.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/content/browser/gpu/gpu_data_manager_impl.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/gpu/gpu_data_manager_impl.h @@ -220,7 +220,7 @@ class CONTENT_EXPORT GpuDataManagerImpl : public GpuDa void OnDisplayMetricsChanged(const display::Display& display, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl__private.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl__private.cc index 757e616420eb..6b160a5c6bb4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl__private.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl__private.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/gpu/gpu_data_manager_impl_private.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/browser/gpu/gpu_data_manager_impl_private.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/gpu/gpu_data_manager_impl_private.cc -@@ -1668,7 +1668,7 @@ void GpuDataManagerImplPrivate::RecordCompositingMode( +@@ -1679,7 +1679,7 @@ void GpuDataManagerImplPrivate::RecordCompositingMode( UMA_HISTOGRAM_ENUMERATION("GPU.CompositingMode", compositing_mode); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl__private.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl__private.h index 816aee463068..b604692073fe 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl__private.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__data__manager__impl__private.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/gpu/gpu_data_manager_impl_private.h.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/content/browser/gpu/gpu_data_manager_impl_private.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/gpu/gpu_data_manager_impl_private.h @@ -147,7 +147,7 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate { void OnDisplayMetricsChanged(const display::Display& display, @@ -9,7 +9,7 @@ bool IsGpuMemoryBufferNV12Supported(); void SetGpuMemoryBufferNV12Supported(bool supported); #endif // BUILDFLAG(IS_LINUX) -@@ -303,7 +303,7 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate { +@@ -311,7 +311,7 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate { bool application_is_visible_ = true; bool disable_gpu_compositing_ = false; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__memory__buffer__manager__singleton.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__memory__buffer__manager__singleton.cc index 640924a6cb49..68d5d0fe2348 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__memory__buffer__manager__singleton.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__memory__buffer__manager__singleton.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/gpu/gpu_memory_buffer_manager_singleton.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/content/browser/gpu/gpu_memory_buffer_manager_singleton.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/gpu/gpu_memory_buffer_manager_singleton.cc @@ -46,7 +46,7 @@ scoped_refptr<base::SingleThreadTaskRunner> GetTaskRun #endif @@ -9,7 +9,7 @@ bool IsGpuMemoryBufferNV12Supported() { static bool is_computed = false; static bool supported = false; -@@ -98,7 +98,7 @@ GpuMemoryBufferManagerSingleton::GetInstance() { +@@ -111,7 +111,7 @@ void GpuMemoryBufferManagerSingleton::OnGpuExtraInfoUp } void GpuMemoryBufferManagerSingleton::OnGpuExtraInfoUpdate() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__process__host.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__process__host.cc index 84345d9314c8..080cf8f4713d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__process__host.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_gpu_gpu__process__host.cc @@ -1,14 +1,14 @@ ---- src/3rdparty/chromium/content/browser/gpu/gpu_process_host.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/content/browser/gpu/gpu_process_host.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/gpu/gpu_process_host.cc @@ -275,6 +275,7 @@ static const char* const kSwitchNames[] = { - switches::kEnableLowEndDeviceMode, switches::kDisableSkiaGraphite, + switches::kDisableSkiaGraphitePrecompilation, switches::kDisableLowEndDeviceMode, + switches::kDisableUnveil, switches::kProfilingAtStart, switches::kProfilingFile, switches::kProfilingFlush, -@@ -302,7 +303,7 @@ static const char* const kSwitchNames[] = { +@@ -303,7 +304,7 @@ static const char* const kSwitchNames[] = { switches::kOzoneDumpFile, switches::kEnableNativeGpuMemoryBuffers, #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_media_frameless__media__interface__proxy.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_media_frameless__media__interface__proxy.h index 3f5dfc05e6bb..abca06e8f02e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_media_frameless__media__interface__proxy.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_media_frameless__media__interface__proxy.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/media/frameless_media_interface_proxy.h.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/content/browser/media/frameless_media_interface_proxy.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/media/frameless_media_interface_proxy.h @@ -19,7 +19,7 @@ #include "mojo/public/cpp/bindings/receiver_set.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_media_media__keys__listener__manager__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_media_media__keys__listener__manager__impl.cc index d70412500501..5136dc96e314 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_media_media__keys__listener__manager__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_media_media__keys__listener__manager__impl.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/content/browser/media/media_keys_listener_manager_impl.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/content/browser/media/media_keys_listener_manager_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/media/media_keys_listener_manager_impl.cc -@@ -333,7 +333,7 @@ void MediaKeysListenerManagerImpl::StartListeningForMe +@@ -332,7 +332,7 @@ void MediaKeysListenerManagerImpl::StartListeningForMe return; } --#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || BUILDFLAG(IS_WIN) -+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)) || BUILDFLAG(IS_WIN) +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // Create SystemMediaControls with the SingletonHwnd. browser_system_media_controls_ = system_media_controls::SystemMediaControls::Create( diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_network__service__instance__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_network__service__instance__impl.cc index 152c1508e38c..7947102bc3c7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_network__service__instance__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_network__service__instance__impl.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/network_service_instance_impl.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/browser/network_service_instance_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/network_service_instance_impl.cc -@@ -85,7 +85,7 @@ +@@ -84,7 +84,7 @@ #include "content/browser/network/network_service_process_tracker_win.h" #endif @@ -9,7 +9,7 @@ #include "content/browser/system_dns_resolution/system_dns_resolver.h" #include "services/network/public/mojom/system_dns_resolution.mojom-forward.h" #endif -@@ -369,7 +369,7 @@ void CreateInProcessNetworkService( +@@ -368,7 +368,7 @@ void CreateInProcessNetworkService( std::move(receiver))); } @@ -18,7 +18,7 @@ // Runs a self-owned SystemDnsResolverMojoImpl. This is meant to run on a // high-priority thread pool. void RunSystemDnsResolverOnThreadPool( -@@ -438,7 +438,7 @@ network::mojom::NetworkServiceParamsPtr CreateNetworkS +@@ -437,7 +437,7 @@ network::mojom::NetworkServiceParamsPtr CreateNetworkS } #endif // BUILDFLAG(IS_POSIX) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_ppapi__plugin__process__host__receiver__bindings.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_ppapi__plugin__process__host__receiver__bindings.cc index df7462069e8b..05aec751bc52 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_ppapi__plugin__process__host__receiver__bindings.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_ppapi__plugin__process__host__receiver__bindings.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/ppapi_plugin_process_host_receiver_bindings.cc.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/content/browser/ppapi_plugin_process_host_receiver_bindings.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/ppapi_plugin_process_host_receiver_bindings.cc @@ -8,7 +8,7 @@ @@ -9,7 +9,7 @@ #include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck #include "content/browser/font_service.h" // nogncheck #endif -@@ -17,7 +17,7 @@ namespace content { +@@ -17,7 +17,7 @@ void PpapiPluginProcessHost::BindHostReceiver( void PpapiPluginProcessHost::BindHostReceiver( mojo::GenericPendingReceiver receiver) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_delegated__frame__host.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_delegated__frame__host.cc index 7bf7e3138bec..d1d5373aed9a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_delegated__frame__host.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_delegated__frame__host.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/content/browser/renderer_host/delegated_frame_host.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/content/browser/renderer_host/delegated_frame_host.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/renderer_host/delegated_frame_host.cc -@@ -318,7 +318,7 @@ void DelegatedFrameHost::EmbedSurface( +@@ -334,7 +334,7 @@ void DelegatedFrameHost::EmbedSurface( if (!primary_surface_id || primary_surface_id->local_surface_id() != local_surface_id_) { --#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // On Windows and Linux, we would like to produce new content as soon as // possible or the OS will create an additional black gutter. Until we can // block resize on surface synchronization on these platforms, we will not diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_media_service__video__capture__device__launcher.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_media_service__video__capture__device__launcher.cc index 4e53a98d713c..b1be1e3dd959 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_media_service__video__capture__device__launcher.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_media_service__video__capture__device__launcher.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/renderer_host/media/service_video_capture_device_launcher.cc.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/content/browser/renderer_host/media/service_video_capture_device_launcher.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/renderer_host/media/service_video_capture_device_launcher.cc -@@ -25,7 +25,7 @@ +@@ -26,7 +26,7 @@ #include "media/base/media_switches.h" #endif @@ -9,7 +9,7 @@ #include "content/browser/gpu/gpu_data_manager_impl.h" #endif -@@ -173,7 +173,7 @@ void ServiceVideoCaptureDeviceLauncher::LaunchDeviceAs +@@ -183,7 +183,7 @@ void ServiceVideoCaptureDeviceLauncher::LaunchDeviceAs } #else if (switches::IsVideoCaptureUseGpuMemoryBufferEnabled()) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_pepper_pepper__file__io__host.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_pepper_pepper__file__io__host.cc index 11598708457a..34cb4fdbf9eb 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_pepper_pepper__file__io__host.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_pepper_pepper__file__io__host.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/renderer_host/pepper/pepper_file_io_host.cc.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/content/browser/renderer_host/pepper/pepper_file_io_host.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/renderer_host/pepper/pepper_file_io_host.cc @@ -462,7 +462,7 @@ void PepperFileIOHost::OnLocalFileOpened( ppapi::host::ReplyMessageContext reply_context, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl.cc index 466d11256579..1c660580dd5e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/renderer_host/render_process_host_impl.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/browser/renderer_host/render_process_host_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/renderer_host/render_process_host_impl.cc -@@ -218,7 +218,7 @@ +@@ -219,7 +219,7 @@ #include "third_party/blink/public/mojom/android_font_lookup/android_font_lookup.mojom.h" #endif @@ -9,7 +9,7 @@ #include <sys/resource.h> #include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck -@@ -1086,7 +1086,7 @@ size_t GetPlatformProcessLimit() { +@@ -1090,7 +1090,7 @@ size_t GetPlatformProcessLimit() { // to indicate failure and std::numeric_limits<size_t>::max() to indicate // unlimited. size_t GetPlatformProcessLimit() { @@ -18,7 +18,7 @@ struct rlimit limit; if (getrlimit(RLIMIT_NPROC, &limit) != 0) return kUnknownPlatformProcessLimit; -@@ -1267,7 +1267,7 @@ void RenderProcessHostImpl::IOThreadHostImpl::SetPid( +@@ -1258,7 +1258,7 @@ void RenderProcessHostImpl::IOThreadHostImpl::SetPid( void RenderProcessHostImpl::IOThreadHostImpl::SetPid( base::ProcessId child_pid) { @@ -27,7 +27,7 @@ child_thread_type_switcher_.SetPid(child_pid); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) } -@@ -3304,7 +3304,7 @@ void RenderProcessHostImpl::AppendRendererCommandLine( +@@ -3346,7 +3346,7 @@ void RenderProcessHostImpl::AppendRendererCommandLine( base::TimeTicks::UnixEpoch().since_origin().InMicroseconds())); } @@ -36,15 +36,15 @@ // Append `kDisableVideoCaptureUseGpuMemoryBuffer` flag if there is no support // for NV12 GPU memory buffer. if (switches::IsVideoCaptureUseGpuMemoryBufferEnabled() && -@@ -3360,6 +3360,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLin - switches::kDisableSpeechAPI, - switches::kDisableThreadedCompositing, - switches::kDisableTouchDragDrop, -+ switches::kDisableUnveil, - switches::kDisableV8IdleTasks, - switches::kDisableVideoCaptureUseGpuMemoryBuffer, - switches::kDisableWebGLImageChromium, -@@ -5141,7 +5142,7 @@ uint64_t RenderProcessHostImpl::GetPrivateMemoryFootpr +@@ -3402,6 +3402,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLin + switches::kDisableSpeechAPI, + switches::kDisableThreadedCompositing, + switches::kDisableTouchDragDrop, ++ switches::kDisableUnveil, + switches::kDisableV8IdleTasks, + switches::kDisableVideoCaptureUseGpuMemoryBuffer, + switches::kDisableWebGLImageChromium, +@@ -5258,7 +5259,7 @@ uint64_t RenderProcessHostImpl::GetPrivateMemoryFootpr // - Win: https://crbug.com/707022 . uint64_t total_size = 0; #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl.h index ef039b4748d7..8cf17b11c7ab 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/renderer_host/render_process_host_impl.h.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/browser/renderer_host/render_process_host_impl.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/renderer_host/render_process_host_impl.h -@@ -102,7 +102,7 @@ +@@ -101,7 +101,7 @@ #include "media/fuchsia_media_codec_provider_impl.h" #endif @@ -9,16 +9,7 @@ #include "content/browser/child_thread_type_switcher_linux.h" #include "media/mojo/mojom/video_encode_accelerator.mojom.h" #endif -@@ -617,7 +617,7 @@ class CONTENT_EXPORT RenderProcessHostImpl - // Sets this RenderProcessHost to be guest only. For Testing only. - void SetForGuestsOnlyForTesting(); - --#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_MAC) -+#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_BSD) - // Launch the zygote early in the browser startup. - static void EarlyZygoteLaunch(); - #endif // BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_MAC) -@@ -982,7 +982,7 @@ class CONTENT_EXPORT RenderProcessHostImpl +@@ -994,7 +994,7 @@ class CONTENT_EXPORT RenderProcessHostImpl std::unique_ptr<service_manager::BinderRegistry> binders_; mojo::Receiver<mojom::ChildProcessHost> receiver_{this}; @@ -27,3 +18,12 @@ mojo::Remote<media::mojom::VideoEncodeAcceleratorProviderFactory> video_encode_accelerator_factory_remote_; ChildThreadTypeSwitcher child_thread_type_switcher_; +@@ -1245,7 +1245,7 @@ class CONTENT_EXPORT RenderProcessHostImpl + // if the request isn't handled on the IO thread. + void OnBindHostReceiver(mojo::GenericPendingReceiver receiver); + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + // Provides /proc/{renderer pid}/status and statm files for the renderer, + // because the files are required to calculate the renderer's private + // footprint on Chromium Linux. Regarding MacOS X and Windows, we have diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc index 83d0682dabbc..5bb180bad2c8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__process__host__impl__receiver__bindings.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/renderer_host/render_process_host_impl_receiver_bindings.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/browser/renderer_host/render_process_host_impl_receiver_bindings.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/renderer_host/render_process_host_impl_receiver_bindings.cc @@ -54,7 +54,7 @@ #include "third_party/blink/public/mojom/webdatabase/web_database.mojom.h" @@ -9,7 +9,7 @@ #include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck #include "content/browser/font_service.h" // nogncheck #include "content/browser/media/video_encode_accelerator_provider_launcher.h" -@@ -348,7 +348,7 @@ void RenderProcessHostImpl::IOThreadHostImpl::BindHost +@@ -350,7 +350,7 @@ void RenderProcessHostImpl::IOThreadHostImpl::BindHost } #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__view__host__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__view__host__impl.cc index 615dd74e9a9e..6c55cc4e4ecd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__view__host__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__view__host__impl.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/renderer_host/render_view_host_impl.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/content/browser/renderer_host/render_view_host_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/renderer_host/render_view_host_impl.cc @@ -275,7 +275,7 @@ void RenderViewHostImpl::GetPlatformSpecificPrefs( display::win::ScreenWin::GetSystemMetricsInDIP(SM_CYVSCROLL); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__aura.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__aura.cc index b0225b6fe792..6811ee51baa2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__aura.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__aura.cc @@ -1,15 +1,15 @@ ---- src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_aura.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_aura.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_aura.cc @@ -121,7 +121,7 @@ #include "ui/gfx/gdi_util.h" - #endif + #endif // BUILDFLAG(IS_WIN) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "ui/accessibility/platform/browser_accessibility_auralinux.h" #include "ui/base/ime/linux/text_edit_command_auralinux.h" #include "ui/base/ime/text_input_flags.h" -@@ -484,7 +484,7 @@ gfx::NativeViewAccessible RenderWidgetHostViewAura::Ge +@@ -478,7 +478,7 @@ gfx::NativeViewAccessible RenderWidgetHostViewAura::Ge return ToBrowserAccessibilityWin(manager->GetBrowserAccessibilityRoot()) ->GetCOM(); @@ -18,7 +18,7 @@ ui::BrowserAccessibilityManager* manager = host()->GetOrCreateRootBrowserAccessibilityManager(); if (manager && manager->GetBrowserAccessibilityRoot()) -@@ -1745,7 +1745,7 @@ bool RenderWidgetHostViewAura::ShouldDoLearning() { +@@ -1867,7 +1867,7 @@ bool RenderWidgetHostViewAura::ShouldDoLearning() { return host() && host()->delegate() && host()->delegate()->ShouldDoLearning(); } @@ -27,16 +27,16 @@ bool RenderWidgetHostViewAura::SetCompositionFromExistingText( const gfx::Range& range, const std::vector<ui::ImeTextSpan>& ui_ime_text_spans) { -@@ -2654,7 +2654,7 @@ bool RenderWidgetHostViewAura::NeedsInputGrab() { +@@ -2843,7 +2843,7 @@ bool RenderWidgetHostViewAura::NeedsMouseCapture() { } bool RenderWidgetHostViewAura::NeedsMouseCapture() { --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return NeedsInputGrab(); #else return false; -@@ -2838,7 +2838,7 @@ void RenderWidgetHostViewAura::ForwardKeyboardEventWit +@@ -3027,7 +3027,7 @@ void RenderWidgetHostViewAura::ForwardKeyboardEventWit if (!target_host) return; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__aura.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__aura.h index 31dba8c38368..2c7da2d07914 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__aura.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__aura.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_aura.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_aura.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_aura.h -@@ -267,7 +267,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAura +@@ -276,7 +276,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAura ukm::SourceId GetClientSourceForMetrics() const override; bool ShouldDoLearning() override; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__event__handler.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__event__handler.cc index d14c99786292..75a3ed770478 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__event__handler.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_render__widget__host__view__event__handler.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_event_handler.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_event_handler.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_event_handler.cc @@ -602,7 +602,7 @@ bool RenderWidgetHostViewEventHandler::CanRendererHand if (event->type() == ui::EventType::kMouseExited) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_sandbox__host__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_sandbox__host__linux.cc index 98daadc85c81..e57dde94de84 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_sandbox__host__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_sandbox__host__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/sandbox_host_linux.cc.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/content/browser/sandbox_host_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/sandbox_host_linux.cc @@ -45,6 +45,7 @@ void SandboxHostLinux::Init() { // Instead, it replies on a temporary socket provided by the caller. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_jank__monitor__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_jank__monitor__impl.cc index ee51597dc379..852d3e991f36 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_jank__monitor__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_jank__monitor__impl.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/content/browser/scheduler/responsiveness/jank_monitor_impl.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/content/browser/scheduler/responsiveness/jank_monitor_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/scheduler/responsiveness/jank_monitor_impl.cc -@@ -340,7 +340,7 @@ void JankMonitorImpl::ThreadExecutionState::DidRunTask +@@ -337,7 +337,7 @@ void JankMonitorImpl::ThreadExecutionState::DidRunTask // in context menus, among others). Simply ignore the mismatches for now. // See https://crbug.com/929813 for the details of why the mismatch // happens. --#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) && \ -+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)) && \ - BUILDFLAG(IS_OZONE) +-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE) ++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE) task_execution_metadata_.clear(); #endif + return; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_native__event__observer.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_native__event__observer.cc index 6d5f4a32c242..d0c6de7f3307 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_native__event__observer.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_native__event__observer.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/scheduler/responsiveness/native_event_observer.cc.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/content/browser/scheduler/responsiveness/native_event_observer.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/scheduler/responsiveness/native_event_observer.cc @@ -15,7 +15,7 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_native__event__observer.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_native__event__observer.h index f2988d00b204..67d7081f9c22 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_native__event__observer.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_scheduler_responsiveness_native__event__observer.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/browser/scheduler/responsiveness/native_event_observer.h.orig 2023-02-08 09:03:45 UTC +--- src/3rdparty/chromium/content/browser/scheduler/responsiveness/native_event_observer.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/scheduler/responsiveness/native_event_observer.h @@ -16,7 +16,7 @@ #include "content/public/browser/native_event_processor_observer_mac.h" @@ -9,7 +9,7 @@ #include "ui/aura/window_event_dispatcher_observer.h" #endif -@@ -41,7 +41,7 @@ namespace responsiveness { +@@ -41,7 +41,7 @@ class CONTENT_EXPORT NativeEventObserver class CONTENT_EXPORT NativeEventObserver #if BUILDFLAG(IS_MAC) : public NativeEventProcessorObserver diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_utility__process__host.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_utility__process__host.cc index df4558c3a981..a7be6ba9be45 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_utility__process__host.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_utility__process__host.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/utility_process_host.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/browser/utility_process_host.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/utility_process_host.cc -@@ -62,7 +62,7 @@ +@@ -63,7 +63,7 @@ #include "content/browser/v8_snapshot_files.h" #endif @@ -9,16 +9,7 @@ #include "base/files/file_util.h" #include "base/files/scoped_file.h" #include "base/pickle.h" -@@ -75,7 +75,7 @@ - #include "services/network/public/mojom/network_service.mojom.h" - #endif - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - #include "base/task/sequenced_task_runner.h" - #include "components/viz/host/gpu_client.h" - #include "media/capture/capture_switches.h" -@@ -86,7 +86,7 @@ namespace { +@@ -91,7 +91,7 @@ namespace { namespace { @@ -27,25 +18,7 @@ base::ScopedFD PassNetworkContextParentDirs( std::vector<base::FilePath> network_context_parent_dirs) { base::Pickle pickle; -@@ -151,7 +151,7 @@ UtilityProcessHost::UtilityProcessHost(std::unique_ptr - started_(false), - name_(u"utility process"), - file_data_(std::make_unique<ChildProcessLauncherFileData>()), --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - allowed_gpu_(false), - gpu_client_(nullptr, base::OnTaskRunnerDeleter(nullptr)), - #endif -@@ -210,7 +210,7 @@ void UtilityProcessHost::SetAllowGpuClient() { - #endif // BUILDFLAG(IS_WIN) - - void UtilityProcessHost::SetAllowGpuClient() { --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - allowed_gpu_ = true; - #endif - } -@@ -409,7 +409,7 @@ bool UtilityProcessHost::StartProcess() { +@@ -416,7 +416,7 @@ bool UtilityProcessHost::StartProcess() { file_data_->files_to_preload.merge(GetV8SnapshotFilesToPreload(*cmd_line)); #endif // BUILDFLAG(IS_POSIX) @@ -54,14 +27,7 @@ // The network service should have access to the parent directories // necessary for its usage. if (sandbox_type_ == sandbox::mojom::Sandbox::kNetwork) { -@@ -420,13 +420,13 @@ bool UtilityProcessHost::StartProcess() { - } - #endif // BUILDFLAG(IS_LINUX) - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - // Pass `kVideoCaptureUseGpuMemoryBuffer` flag to video capture service only - // when the video capture use GPU memory buffer enabled. +@@ -433,7 +433,7 @@ bool UtilityProcessHost::StartProcess() { if (metrics_name_ == video_capture::mojom::VideoCaptureService::Name_) { bool pass_gpu_buffer_flag = switches::IsVideoCaptureUseGpuMemoryBufferEnabled(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_utility__process__host.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_utility__process__host.h deleted file mode 100644 index 1b37a2f1b4cf..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_utility__process__host.h +++ /dev/null @@ -1,20 +0,0 @@ ---- src/3rdparty/chromium/content/browser/utility_process_host.h.orig 2024-05-21 18:07:39 UTC -+++ src/3rdparty/chromium/content/browser/utility_process_host.h -@@ -33,7 +33,7 @@ namespace base { - class Thread; - } // namespace base - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - namespace viz { - class GpuClient; - } // namespace viz -@@ -200,7 +200,7 @@ class CONTENT_EXPORT UtilityProcessHost - }; - LaunchState launch_state_ = LaunchState::kLaunchInProgress; - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - bool allowed_gpu_; - std::unique_ptr<viz::GpuClient, base::OnTaskRunnerDeleter> gpu_client_; - #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_utility__process__host__receiver__bindings.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_utility__process__host__receiver__bindings.cc index 6c3071fae3e2..17c04bd0cf06 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_utility__process__host__receiver__bindings.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_utility__process__host__receiver__bindings.cc @@ -1,21 +1,15 @@ ---- src/3rdparty/chromium/content/browser/utility_process_host_receiver_bindings.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/content/browser/utility_process_host_receiver_bindings.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/utility_process_host_receiver_bindings.cc -@@ -10,12 +10,12 @@ - #include "content/public/browser/content_browser_client.h" +@@ -10,7 +10,7 @@ #include "content/public/common/content_client.h" + #include "media/media_buildflags.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "components/services/font/public/mojom/font_service.mojom.h" // nogncheck #include "content/browser/font_service.h" // nogncheck #endif - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - #include "components/viz/host/gpu_client.h" - #include "content/public/browser/gpu_client.h" - #endif -@@ -24,13 +24,13 @@ namespace content { +@@ -24,7 +24,7 @@ void UtilityProcessHost::BindHostReceiver( void UtilityProcessHost::BindHostReceiver( mojo::GenericPendingReceiver receiver) { @@ -24,10 +18,3 @@ if (auto font_receiver = receiver.As<font_service::mojom::FontService>()) { ConnectToFontService(std::move(font_receiver)); return; - } - #endif --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - if (allowed_gpu_) { - // TODO(crbug.com/328099369) Remove once all clients get this directly. - if (auto gpu_receiver = receiver.As<viz::mojom::Gpu>()) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_utility__sandbox__delegate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_utility__sandbox__delegate.cc index 01bdbf195058..fb6ff74dc895 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_utility__sandbox__delegate.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_utility__sandbox__delegate.cc @@ -1,28 +1,52 @@ ---- src/3rdparty/chromium/content/browser/utility_sandbox_delegate.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/content/browser/utility_sandbox_delegate.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/utility_sandbox_delegate.cc -@@ -76,10 +76,10 @@ UtilitySandboxedProcessLauncherDelegate:: +@@ -77,7 +77,7 @@ UtilitySandboxedProcessLauncherDelegate:: #if BUILDFLAG(IS_FUCHSIA) sandbox_type_ == sandbox::mojom::Sandbox::kVideoCapture || #endif --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoDecoding || - #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoDecoding || sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoEncoding || #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) - #if BUILDFLAG(IS_CHROMEOS_ASH) -@@ -137,10 +137,10 @@ ZygoteCommunication* UtilitySandboxedProcessLauncherDe +@@ -90,14 +90,14 @@ UtilitySandboxedProcessLauncherDelegate:: + #endif // BUILDFLAG(ENABLE_CROS_LIBASSISTANT) + #endif // BUILDFLAG(IS_CHROMEOS) + #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ +- BUILDFLAG(IS_WIN) ++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) + sandbox_type_ == sandbox::mojom::Sandbox::kScreenAI || + sandbox_type_ == sandbox::mojom::Sandbox::kPrintBackend || + #endif +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + sandbox_type_ == sandbox::mojom::Sandbox::kVideoEffects || + #endif +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + sandbox_type_ == sandbox::mojom::Sandbox::kOnDeviceTranslation || + #endif + sandbox_type_ == sandbox::mojom::Sandbox::kAudio || +@@ -143,7 +143,7 @@ ZygoteCommunication* UtilitySandboxedProcessLauncherDe // process upon startup. if (sandbox_type_ == sandbox::mojom::Sandbox::kNetwork || sandbox_type_ == sandbox::mojom::Sandbox::kOnDeviceModelExecution || --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoDecoding || - #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoDecoding || sandbox_type_ == sandbox::mojom::Sandbox::kHardwareVideoEncoding || #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) - #if BUILDFLAG(IS_CHROMEOS_ASH) +@@ -157,11 +157,11 @@ ZygoteCommunication* UtilitySandboxedProcessLauncherDe + #endif // BUILDFLAG(IS_CHROMEOS) + sandbox_type_ == sandbox::mojom::Sandbox::kAudio || + #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ +- BUILDFLAG(IS_WIN) ++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) + sandbox_type_ == sandbox::mojom::Sandbox::kPrintBackend || + sandbox_type_ == sandbox::mojom::Sandbox::kScreenAI || + #endif +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + sandbox_type_ == sandbox::mojom::Sandbox::kVideoEffects || + sandbox_type_ == sandbox::mojom::Sandbox::kOnDeviceTranslation || + #endif // BUILDFLAG(IS_LINUX) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_v8__snapshot__files.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_v8__snapshot__files.cc index 623631105694..2392b125a414 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_v8__snapshot__files.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_v8__snapshot__files.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/v8_snapshot_files.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/content/browser/v8_snapshot_files.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/v8_snapshot_files.cc -@@ -17,7 +17,7 @@ namespace content { +@@ -17,7 +17,7 @@ GetV8SnapshotFilesToPreload(base::CommandLine& process std::map<std::string, absl::variant<base::FilePath, base::ScopedFD>> GetV8SnapshotFilesToPreload(base::CommandLine& process_command_line) { std::map<std::string, absl::variant<base::FilePath, base::ScopedFD>> files; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_input_input__device__change__observer.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_web__contents_slow__web__preference__cache.cc index 3bf14eb4f76f..d3b6558ef1b7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_renderer__host_input_input__device__change__observer.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_web__contents_slow__web__preference__cache.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/renderer_host/input/input_device_change_observer.cc.orig 2022-02-28 16:54:41 UTC -+++ src/3rdparty/chromium/content/browser/renderer_host/input/input_device_change_observer.cc -@@ -9,7 +9,7 @@ +--- src/3rdparty/chromium/content/browser/web_contents/slow_web_preference_cache.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/content/browser/web_contents/slow_web_preference_cache.cc +@@ -17,7 +17,7 @@ #if BUILDFLAG(IS_WIN) #include "ui/events/devices/input_device_observer_win.h" @@ -8,9 +8,9 @@ +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "ui/events/devices/device_data_manager.h" #elif BUILDFLAG(IS_ANDROID) - #include "ui/events/devices/input_device_observer_android.h" -@@ -21,7 +21,7 @@ InputDeviceChangeObserver::InputDeviceChangeObserver(R - render_view_host_impl_ = rvhi; + #include "ui/base/device_form_factor.h" +@@ -57,7 +57,7 @@ SlowWebPreferenceCache::SlowWebPreferenceCache() { + #if BUILDFLAG(IS_WIN) ui::InputDeviceObserverWin::GetInstance()->AddObserver(this); -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) @@ -18,8 +18,8 @@ ui::DeviceDataManager::GetInstance()->AddObserver(this); #elif BUILDFLAG(IS_ANDROID) ui::InputDeviceObserverAndroid::GetInstance()->AddObserver(this); -@@ -31,7 +31,7 @@ InputDeviceChangeObserver::InputDeviceChangeObserver(R - InputDeviceChangeObserver::~InputDeviceChangeObserver() { +@@ -69,7 +69,7 @@ SlowWebPreferenceCache::~SlowWebPreferenceCache() { + SlowWebPreferenceCache::~SlowWebPreferenceCache() { #if BUILDFLAG(IS_WIN) ui::InputDeviceObserverWin::GetInstance()->RemoveObserver(this); -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_web__contents_web__contents__view__aura.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_web__contents_web__contents__view__aura.cc index 1fa349739ad2..8879f7257bd6 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_web__contents_web__contents__view__aura.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_web__contents_web__contents__view__aura.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/web_contents/web_contents_view_aura.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/content/browser/web_contents/web_contents_view_aura.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/web_contents/web_contents_view_aura.cc -@@ -174,7 +174,7 @@ class WebDragSourceAura : public content::WebContentsO +@@ -173,7 +173,7 @@ class WebDragSourceAura : public content::WebContentsO raw_ptr<aura::Window> window_; }; @@ -18,7 +18,7 @@ // We set the file contents before the URL because the URL also sets file // contents (to a .URL shortcut). We want to prefer file content data over // a shortcut so we add it first. -@@ -1324,7 +1324,7 @@ void WebContentsViewAura::OnMouseEvent(ui::MouseEvent* +@@ -1327,7 +1327,7 @@ void WebContentsViewAura::OnMouseEvent(ui::MouseEvent* // Linux window managers like to handle raise-on-click themselves. If we // raise-on-click manually, this may override user settings that prevent // focus-stealing. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.cc index 4f629f312ec3..510c35f4179a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.cc @@ -1,38 +1,11 @@ ---- src/3rdparty/chromium/content/browser/webui/web_ui_main_frame_observer.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/content/browser/webui/web_ui_main_frame_observer.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/webui/web_ui_main_frame_observer.cc -@@ -13,7 +13,7 @@ - #include "content/public/browser/navigation_handle.h" - #include "content/public/browser/web_ui_controller.h" - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - #include "base/feature_list.h" - #include "base/functional/callback_helpers.h" - #include "base/logging.h" -@@ -31,7 +31,7 @@ namespace content { - - namespace { - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - // Remove the pieces of the URL we don't want to send back with the error - // reports. In particular, do not send query or fragments as those can have - // privacy-sensitive information in them. -@@ -55,7 +55,7 @@ WebUIMainFrameObserver::WebUIMainFrameObserver(WebUIIm - - WebUIMainFrameObserver::~WebUIMainFrameObserver() = default; - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - void WebUIMainFrameObserver::OnDidAddMessageToConsole( - RenderFrameHost* source_frame, - blink::mojom::ConsoleMessageLevel log_level, -@@ -167,7 +167,7 @@ void WebUIMainFrameObserver::ReadyToCommitNavigation( - - // TODO(crbug.com/40149439) This is currently disabled due to Windows DLL - // thunking issues. Fix & re-enable. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - MaybeEnableWebUIJavaScriptErrorReporting(navigation_handle); - #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) - } +@@ -47,7 +47,7 @@ bool IsWebUIJavaScriptErrorReportingSupported() { + bool IsWebUIJavaScriptErrorReportingSupported() { + #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) + return false; +-#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + return true; + #else + return base::FeatureList::IsEnabled(features::kWebUIJSErrorReportingExtended); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.h deleted file mode 100644 index 797185134066..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_webui_web__ui__main__frame__observer.h +++ /dev/null @@ -1,20 +0,0 @@ ---- src/3rdparty/chromium/content/browser/webui/web_ui_main_frame_observer.h.orig 2024-06-17 12:56:06 UTC -+++ src/3rdparty/chromium/content/browser/webui/web_ui_main_frame_observer.h -@@ -44,7 +44,7 @@ class CONTENT_EXPORT WebUIMainFrameObserver : public W - - // TODO(crbug.com/40149439) This is currently disabled due to Windows DLL - // thunking issues. Fix & re-enable. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - // On official Google builds, capture and report JavaScript error messages on - // WebUI surfaces back to Google. This allows us to fix JavaScript errors and - // exceptions. -@@ -60,7 +60,7 @@ class CONTENT_EXPORT WebUIMainFrameObserver : public W - void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; - - private: --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - void MaybeEnableWebUIJavaScriptErrorReporting( - NavigationHandle* navigation_handle); - diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_zygote__host_zygote__host__impl__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_zygote__host_zygote__host__impl__linux.cc index 1c900bc039c6..b9d33fe151da 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_zygote__host_zygote__host__impl__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_zygote__host_zygote__host__impl__linux.cc @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/content/browser/zygote_host/zygote_host_impl_linux.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/content/browser/zygote_host/zygote_host_impl_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/zygote_host/zygote_host_impl_linux.cc -@@ -19,8 +19,10 @@ - #include "build/chromeos_buildflags.h" +@@ -23,8 +23,10 @@ + #include "build/build_config.h" #include "content/common/zygote/zygote_commands_linux.h" #include "content/common/zygote/zygote_communication_linux.h" +#if !BUILDFLAG(IS_BSD) @@ -11,7 +11,7 @@ #include "sandbox/linux/services/credentials.h" #include "sandbox/linux/services/namespace_sandbox.h" #include "sandbox/linux/suid/client/setuid_sandbox_host.h" -@@ -38,6 +40,7 @@ namespace content { +@@ -42,6 +44,7 @@ namespace { namespace { @@ -19,7 +19,7 @@ // Receive a fixed message on fd and return the sender's PID. // Returns true if the message received matches the expected message. bool ReceiveFixedMessage(int fd, -@@ -60,6 +63,7 @@ bool ReceiveFixedMessage(int fd, +@@ -64,6 +67,7 @@ bool ReceiveFixedMessage(int fd, return false; return true; } @@ -27,7 +27,7 @@ } // namespace -@@ -69,9 +73,13 @@ ZygoteHost* ZygoteHost::GetInstance() { +@@ -73,9 +77,13 @@ ZygoteHostImpl::ZygoteHostImpl() } ZygoteHostImpl::ZygoteHostImpl() @@ -41,7 +41,7 @@ sandbox_binary_(), zygote_pids_lock_(), zygote_pids_() {} -@@ -84,6 +92,7 @@ ZygoteHostImpl* ZygoteHostImpl::GetInstance() { +@@ -88,6 +96,7 @@ void ZygoteHostImpl::Init(const base::CommandLine& com } void ZygoteHostImpl::Init(const base::CommandLine& command_line) { @@ -49,7 +49,7 @@ if (command_line.HasSwitch(sandbox::policy::switches::kNoSandbox)) { return; } -@@ -138,6 +147,7 @@ void ZygoteHostImpl::Init(const base::CommandLine& com +@@ -142,6 +151,7 @@ void ZygoteHostImpl::Init(const base::CommandLine& com "you can try using --" << sandbox::policy::switches::kNoSandbox << "."; } @@ -57,7 +57,7 @@ } void ZygoteHostImpl::AddZygotePid(pid_t pid) { -@@ -162,6 +172,7 @@ pid_t ZygoteHostImpl::LaunchZygote( +@@ -166,6 +176,7 @@ pid_t ZygoteHostImpl::LaunchZygote( base::CommandLine* cmd_line, base::ScopedFD* control_fd, base::FileHandleMappingVector additional_remapped_fds) { @@ -65,7 +65,7 @@ int fds[2]; CHECK_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC, 0, fds)); CHECK(base::UnixDomainSocket::EnableReceiveProcessId(fds[0])); -@@ -230,9 +241,12 @@ pid_t ZygoteHostImpl::LaunchZygote( +@@ -234,9 +245,12 @@ pid_t ZygoteHostImpl::LaunchZygote( AddZygotePid(pid); return pid; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_zygote__host_zygote__host__impl__linux.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_zygote__host_zygote__host__impl__linux.h index 75d341774085..69cc941c5107 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_zygote__host_zygote__host__impl__linux.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_browser_zygote__host_zygote__host__impl__linux.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/browser/zygote_host/zygote_host_impl_linux.h.orig 2023-02-08 09:03:45 UTC +--- src/3rdparty/chromium/content/browser/zygote_host/zygote_host_impl_linux.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/browser/zygote_host/zygote_host_impl_linux.h -@@ -47,12 +47,14 @@ class CONTENT_EXPORT ZygoteHostImpl : public ZygoteHos +@@ -46,12 +46,14 @@ class CONTENT_EXPORT ZygoteHostImpl : public ZygoteHos base::ScopedFD* control_fd, base::FileHandleMappingVector additional_remapped_fds); @@ -15,7 +15,7 @@ bool HasZygote() { return !zygote_pids_.empty(); } -@@ -67,9 +69,11 @@ class CONTENT_EXPORT ZygoteHostImpl : public ZygoteHos +@@ -66,9 +68,11 @@ class CONTENT_EXPORT ZygoteHostImpl : public ZygoteHos int renderer_sandbox_status_; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_child_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_child_BUILD.gn index d5bc4f0b5025..4f485a9e52ef 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_child_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_child_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/child/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/child/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/child/BUILD.gn -@@ -139,6 +139,13 @@ target(link_target_type, "child") { +@@ -143,6 +143,13 @@ target(link_target_type, "child") { ] } @@ -13,4 +13,4 @@ + if (is_win) { sources += [ - "dwrite_font_proxy/dwrite_font_proxy_init_impl_win.cc", + "child_process_sandbox_support_impl_win.cc", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_child_child__process.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_child_child__process.cc index 8ba61807666a..3ea461fff934 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_child_child__process.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_child_child__process.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/child/child_process.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/content/child/child_process.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/child/child_process.cc -@@ -32,7 +32,7 @@ +@@ -31,7 +31,7 @@ #include "content/common/android/cpu_time_metrics.h" #endif @@ -9,7 +9,7 @@ #include "content/child/sandboxed_process_thread_type_handler.h" #endif -@@ -179,7 +179,7 @@ void ChildProcess::set_main_thread(ChildThreadImpl* th +@@ -178,7 +178,7 @@ void ChildProcess::set_main_thread(ChildThreadImpl* th main_thread_.reset(thread); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_child_child__process.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_child_child__process.h index 26b1d2ccacd6..5f11375cac7b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_child_child__process.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_child_child__process.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/child/child_process.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/content/child/child_process.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/child/child_process.h @@ -79,7 +79,7 @@ class CONTENT_EXPORT ChildProcess { return io_thread_runner_.get(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_BUILD.gn index bae16c0c47a4..214165fee872 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_BUILD.gn @@ -1,8 +1,8 @@ ---- src/3rdparty/chromium/content/common/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/common/BUILD.gn.orig 2025-10-02 00:36:39 UTC +++ src/3rdparty/chromium/content/common/BUILD.gn -@@ -402,18 +402,27 @@ jumbo_source_set("common") { +@@ -400,18 +400,27 @@ jumbo_source_set("common") { } - + if (is_linux || is_chromeos) { - sources += [ - "gpu_pre_sandbox_hook_linux.cc", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_features.cc index 05e7a7fb01ee..f66f9df394c8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_features.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_features.cc @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/content/common/features.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/common/features.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/common/features.cc -@@ -145,7 +145,7 @@ BASE_FEATURE(kEnableBackForwardCacheForOngoingSubframe - base::FEATURE_ENABLED_BY_DEFAULT); +@@ -127,7 +127,7 @@ BASE_FEATURE(kEmbeddingRequiresOptIn, + base::FEATURE_DISABLED_BY_DEFAULT); // Enables error reporting for JS errors inside DevTools frontend host -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) @@ -9,12 +9,3 @@ BASE_FEATURE(kEnableDevToolsJsErrorReporting, "EnableDevToolsJsErrorReporting", base::FEATURE_DISABLED_BY_DEFAULT); -@@ -301,7 +301,7 @@ BASE_FEATURE(kGroupNIKByJoiningOrigin, - // process and having browser process handle adjusting thread properties (nice - // value, c-group, latency sensitivity...) for children which have sandbox - // restrictions. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - BASE_FEATURE(kHandleChildThreadTypeChangesInBrowser, - "HandleChildThreadTypeChangesInBrowser", - base::FEATURE_ENABLED_BY_DEFAULT); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_features.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_features.h index 0a0abe95674a..db80fd2ea8ec 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_features.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_features.h @@ -1,20 +1,11 @@ ---- src/3rdparty/chromium/content/common/features.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/content/common/features.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/common/features.h -@@ -34,7 +34,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE(kDocumentPolicyNeg - CONTENT_EXPORT BASE_DECLARE_FEATURE(kEnableBackForwardCacheForScreenReader); - CONTENT_EXPORT BASE_DECLARE_FEATURE( - kEnableBackForwardCacheForOngoingSubframeNavigation); +@@ -28,7 +28,7 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE(kDocumentPolicyNeg + CONTENT_EXPORT BASE_DECLARE_FEATURE(kCommittedOriginTracking); + CONTENT_EXPORT BASE_DECLARE_FEATURE(kCriticalClientHint); + CONTENT_EXPORT BASE_DECLARE_FEATURE(kDocumentPolicyNegotiation); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) CONTENT_EXPORT BASE_DECLARE_FEATURE(kEnableDevToolsJsErrorReporting); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) CONTENT_EXPORT BASE_DECLARE_FEATURE(kEmbeddingRequiresOptIn); -@@ -76,7 +76,7 @@ CONTENT_EXPORT extern const base::FeatureParam<int> - CONTENT_EXPORT BASE_DECLARE_FEATURE(kGpuInfoCollectionSeparatePrefetch); - #endif - CONTENT_EXPORT BASE_DECLARE_FEATURE(kGroupNIKByJoiningOrigin); --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - CONTENT_EXPORT BASE_DECLARE_FEATURE(kHandleChildThreadTypeChangesInBrowser); - #endif - #if BUILDFLAG(IS_ANDROID) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_gpu__pre__sandbox__hook__bsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_gpu__pre__sandbox__hook__bsd.cc index 736b97349f20..6818425300bd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_gpu__pre__sandbox__hook__bsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_gpu__pre__sandbox__hook__bsd.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/common/gpu_pre_sandbox_hook_bsd.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/content/common/gpu_pre_sandbox_hook_bsd.cc.orig 2025-09-01 08:52:30 UTC +++ src/3rdparty/chromium/content/common/gpu_pre_sandbox_hook_bsd.cc @@ -0,0 +1,68 @@ +// Copyright 2023 The Chromium Authors diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_gpu__pre__sandbox__hook__bsd.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_gpu__pre__sandbox__hook__bsd.h index 5d4b594fc14d..0735b54524d6 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_gpu__pre__sandbox__hook__bsd.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_gpu__pre__sandbox__hook__bsd.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/common/gpu_pre_sandbox_hook_bsd.h.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/content/common/gpu_pre_sandbox_hook_bsd.h.orig 2025-09-01 08:52:30 UTC +++ src/3rdparty/chromium/content/common/gpu_pre_sandbox_hook_bsd.h @@ -0,0 +1,20 @@ +// Copyright 2017 The Chromium Authors diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_gpu__pre__sandbox__hook__linux.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_gpu__pre__sandbox__hook__linux.h index 4e27c18fbeb2..2b3ffaf3e235 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_gpu__pre__sandbox__hook__linux.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_gpu__pre__sandbox__hook__linux.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/common/gpu_pre_sandbox_hook_linux.h.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/content/common/gpu_pre_sandbox_hook_linux.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/common/gpu_pre_sandbox_hook_linux.h @@ -5,8 +5,13 @@ #ifndef CONTENT_COMMON_GPU_PRE_SANDBOX_HOOK_LINUX_H_ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_user__agent.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_user__agent.cc index 56bde1b9e8bb..3f1e928e17c2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_user__agent.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_common_user__agent.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/common/user_agent.cc.orig 2023-04-05 11:05:06 UTC +--- src/3rdparty/chromium/content/common/user_agent.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/common/user_agent.cc -@@ -45,7 +45,7 @@ std::string GetUserAgentPlatform() { +@@ -50,7 +50,7 @@ std::string GetUserAgentPlatform() { return ""; #elif BUILDFLAG(IS_MAC) return "Macintosh; "; @@ -9,7 +9,7 @@ return "X11; "; // strange, but that's what Firefox uses #elif BUILDFLAG(IS_ANDROID) return "Linux; "; -@@ -71,7 +71,7 @@ std::string GetUnifiedPlatform() { +@@ -76,7 +76,7 @@ std::string GetUnifiedPlatform() { return "Windows NT 10.0; Win64; x64"; #elif BUILDFLAG(IS_FUCHSIA) return "Fuchsia"; @@ -18,7 +18,7 @@ return "X11; Linux x86_64"; #elif BUILDFLAG(IS_IOS) if (ui::GetDeviceFormFactor() == ui::DEVICE_FORM_FACTOR_TABLET) { -@@ -296,6 +296,16 @@ std::string BuildOSCpuInfoFromOSVersionAndCpuType(cons +@@ -301,6 +301,16 @@ std::string BuildOSCpuInfoFromOSVersionAndCpuType(cons "Android %s", os_version.c_str() #elif BUILDFLAG(IS_FUCHSIA) "Fuchsia" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_gpu_gpu__child__thread.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_gpu_gpu__child__thread.cc index 692d5ca52c6a..8ff68faf0a16 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_gpu_gpu__child__thread.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_gpu_gpu__child__thread.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/gpu/gpu_child_thread.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/gpu/gpu_child_thread.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/gpu/gpu_child_thread.cc -@@ -59,7 +59,7 @@ +@@ -58,7 +58,7 @@ #include "third_party/skia/include/ports/SkFontConfigInterface.h" #endif @@ -9,7 +9,7 @@ #include "content/child/sandboxed_process_thread_type_handler.h" #endif -@@ -148,7 +148,8 @@ void GpuChildThread::Init(const base::TimeTicks& proce +@@ -153,7 +153,8 @@ void GpuChildThread::Init(const base::TimeTicks& proce viz_main_.gpu_service()->set_start_time(process_start_time); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_gpu_gpu__main.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_gpu_gpu__main.cc index a39594b4b9d8..8dc5abf85775 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_gpu_gpu__main.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_gpu_gpu__main.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/gpu/gpu_main.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/content/gpu/gpu_main.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/gpu/gpu_main.cc @@ -95,10 +95,14 @@ #include "sandbox/win/src/sandbox.h" @@ -16,7 +16,7 @@ #include "sandbox/policy/sandbox_type.h" #endif -@@ -117,7 +121,7 @@ namespace content { +@@ -117,7 +121,7 @@ namespace { namespace { @@ -25,16 +25,16 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread*, const gpu::GPUInfo*, const gpu::GpuPreferences&); -@@ -175,7 +179,7 @@ class ContentSandboxHelper : public gpu::GpuSandboxHel - bool EnsureSandboxInitialized(gpu::GpuWatchdogThread* watchdog_thread, +@@ -177,7 +181,7 @@ class ContentSandboxHelper : public gpu::GpuSandboxHel const gpu::GPUInfo* gpu_info, const gpu::GpuPreferences& gpu_prefs) override { + GPU_STARTUP_TRACE_EVENT("gpu_main::EnsureSandboxInitialized"); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) return StartSandboxLinux(watchdog_thread, gpu_info, gpu_prefs); #elif BUILDFLAG(IS_WIN) return StartSandboxWindows(sandbox_info_); -@@ -285,7 +289,7 @@ int GpuMain(MainFunctionParams parameters) { +@@ -298,7 +302,7 @@ int GpuMain(MainFunctionParams parameters) { std::make_unique<base::SingleThreadTaskExecutor>( gpu_preferences.message_pump_type); } @@ -43,7 +43,7 @@ #error "Unsupported Linux platform." #elif BUILDFLAG(IS_MAC) // Cross-process CoreAnimation requires a CFRunLoop to function at all, and -@@ -308,7 +312,8 @@ int GpuMain(MainFunctionParams parameters) { +@@ -324,7 +328,8 @@ int GpuMain(MainFunctionParams parameters) { base::PlatformThread::SetName("CrGpuMain"); mojo::InterfaceEndpointClient::SetThreadNameSuffixForMetrics("GpuMain"); @@ -53,7 +53,7 @@ // Thread type delegate of the process should be registered before // thread type change below for the main thread and for thread pool in // ChildProcess constructor. -@@ -439,7 +444,7 @@ int GpuMain(MainFunctionParams parameters) { +@@ -457,7 +462,7 @@ namespace { namespace { @@ -62,12 +62,12 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdog_thread, const gpu::GPUInfo* gpu_info, const gpu::GpuPreferences& gpu_prefs) { -@@ -479,7 +484,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdo +@@ -497,7 +502,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdo sandbox_options.accelerated_video_encode_enabled = !gpu_prefs.disable_accelerated_video_encode; -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Video decoding of many video streams can use thousands of FDs as well as - // Exo clients like Lacros. + // Exo clients. // See https://crbug.com/1417237 diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_ppapi__plugin_ppapi__blink__platform__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_ppapi__plugin_ppapi__blink__platform__impl.cc index 7fe748f32093..06d1f3c55bb1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_ppapi__plugin_ppapi__blink__platform__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_ppapi__plugin_ppapi__blink__platform__impl.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/ppapi_plugin/ppapi_blink_platform_impl.cc.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/content/ppapi_plugin/ppapi_blink_platform_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/ppapi_plugin/ppapi_blink_platform_impl.cc @@ -21,7 +21,7 @@ @@ -9,7 +9,7 @@ #include "content/child/child_process_sandbox_support_impl_linux.h" #include "mojo/public/cpp/bindings/pending_remote.h" #endif -@@ -36,7 +36,7 @@ typedef struct CGFont* CGFontRef; +@@ -36,7 +36,7 @@ PpapiBlinkPlatformImpl::PpapiBlinkPlatformImpl() { namespace content { PpapiBlinkPlatformImpl::PpapiBlinkPlatformImpl() { @@ -18,7 +18,7 @@ mojo::PendingRemote<font_service::mojom::FontService> font_service; ChildThread::Get()->BindHostReceiver( font_service.InitWithNewPipeAndPassReceiver()); -@@ -55,7 +55,7 @@ PpapiBlinkPlatformImpl::~PpapiBlinkPlatformImpl() { +@@ -55,7 +55,7 @@ blink::WebSandboxSupport* PpapiBlinkPlatformImpl::GetS void PpapiBlinkPlatformImpl::Shutdown() {} blink::WebSandboxSupport* PpapiBlinkPlatformImpl::GetSandboxSupport() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_ppapi__plugin_ppapi__blink__platform__impl.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_ppapi__plugin_ppapi__blink__platform__impl.h index afa7d2488920..8f0fa55a34f8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_ppapi__plugin_ppapi__blink__platform__impl.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_ppapi__plugin_ppapi__blink__platform__impl.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/ppapi_plugin/ppapi_blink_platform_impl.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/content/ppapi_plugin/ppapi_blink_platform_impl.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/ppapi_plugin/ppapi_blink_platform_impl.h @@ -36,7 +36,7 @@ class PpapiBlinkPlatformImpl : public BlinkPlatformImp blink::WebString DefaultLocale() override; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_ppapi__plugin_ppapi__plugin__main.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_ppapi__plugin_ppapi__plugin__main.cc index 4d16fd1b289b..1f53ff94a702 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_ppapi__plugin_ppapi__plugin__main.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_ppapi__plugin_ppapi__plugin__main.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/ppapi_plugin/ppapi_plugin_main.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/content/ppapi_plugin/ppapi_plugin_main.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/ppapi_plugin/ppapi_plugin_main.cc @@ -52,6 +52,11 @@ #include "gin/v8_initializer.h" @@ -12,7 +12,7 @@ #if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_ANDROID) #include <stdlib.h> #endif -@@ -141,7 +146,7 @@ int PpapiPluginMain(MainFunctionParams parameters) { +@@ -139,7 +144,7 @@ int PpapiPluginMain(MainFunctionParams parameters) { gin::V8Initializer::LoadV8Snapshot(); #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_browser_content__browser__client.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_browser_content__browser__client.cc index c937d19fd7b3..a86ae660f05f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_browser_content__browser__client.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_browser_content__browser__client.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/public/browser/content_browser_client.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/content/public/browser/content_browser_client.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/public/browser/content_browser_client.cc -@@ -1330,7 +1330,7 @@ bool ContentBrowserClient::ShouldRunOutOfProcessSystem +@@ -1378,7 +1378,7 @@ bool ContentBrowserClient::ShouldRunOutOfProcessSystem // that can be adequately sandboxed. // Currently Android's network service will not run out of process or sandboxed, // so OutOfProcessSystemDnsResolution is not currently enabled on Android. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_browser_service__process__host.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_browser_service__process__host.cc deleted file mode 100644 index 931ecbabe1cc..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_browser_service__process__host.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/content/public/browser/service_process_host.cc.orig 2024-05-21 18:07:39 UTC -+++ src/3rdparty/chromium/content/public/browser/service_process_host.cc -@@ -70,7 +70,7 @@ ServiceProcessHost::Options::WithPreloadedLibraries( - - ServiceProcessHost::Options& ServiceProcessHost::Options::WithGpuClient( - base::PassKey<ServiceProcessHostGpuClient> passkey) { --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - allow_gpu_client = true; - #endif - return *this; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_browser_zygote__host_zygote__host__linux.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_browser_zygote__host_zygote__host__linux.h index 41f219482bef..4a74566d2ac9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_browser_zygote__host_zygote__host__linux.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_browser_zygote__host_zygote__host__linux.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/public/browser/zygote_host/zygote_host_linux.h.orig 2023-02-08 09:03:45 UTC +--- src/3rdparty/chromium/content/public/browser/zygote_host/zygote_host_linux.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/public/browser/zygote_host/zygote_host_linux.h -@@ -35,11 +35,13 @@ class ZygoteHost { +@@ -34,11 +34,13 @@ class ZygoteHost { // after the first render has been forked. virtual int GetRendererSandboxStatus() = 0; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_common_content__features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_common_content__features.cc index 6f8883205923..df702f6c9115 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_common_content__features.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_common_content__features.cc @@ -1,27 +1,27 @@ ---- src/3rdparty/chromium/content/public/common/content_features.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/public/common/content_features.cc.orig 2025-10-02 00:36:39 UTC +++ src/3rdparty/chromium/content/public/common/content_features.cc -@@ -61,7 +61,7 @@ BASE_FEATURE(kAudioServiceLaunchOnStartup, +@@ -72,7 +72,7 @@ BASE_FEATURE(kAudioServiceLaunchOnStartup, + base::FEATURE_DISABLED_BY_DEFAULT); // Runs the audio service in a separate process. - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \ -- (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS)) -+ (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)) +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_FEATURE(kAudioServiceOutOfProcess, "AudioServiceOutOfProcess", - // TODO(crbug.com/1052397): Remove !IS_CHROMEOS_LACROS once lacros -@@ -1226,9 +1226,9 @@ BASE_FEATURE(kWebAssemblyTiering, + base::FEATURE_ENABLED_BY_DEFAULT); +@@ -1238,9 +1238,9 @@ BASE_FEATURE(kWebAssemblyTiering, // Enable WebAssembly trap handler. #if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \ - BUILDFLAG(IS_MAC)) && \ -+ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)) && \ ++ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)) && \ defined(ARCH_CPU_X86_64)) || \ - ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC)) && \ + ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)) && \ defined(ARCH_CPU_ARM64)) BASE_FEATURE(kWebAssemblyTrapHandler, "WebAssemblyTrapHandler", -@@ -1268,7 +1268,11 @@ BASE_FEATURE(kWebUICodeCache, +@@ -1296,7 +1296,11 @@ BASE_FEATURE(kWebUIJSErrorReportingExtended, // Controls whether the WebUSB API is enabled: // https://wicg.github.io/webusb diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_common_content__switches.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_common_content__switches.cc index 22fac9bec572..a926e2056f92 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_common_content__switches.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_common_content__switches.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/public/common/content_switches.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/public/common/content_switches.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/public/common/content_switches.cc -@@ -350,6 +350,8 @@ const char kEnableLogging[] = "enable- +@@ -342,6 +342,8 @@ const char kEnableLogging[] = "enable- // builds. const char kEnableLogging[] = "enable-logging"; @@ -9,12 +9,12 @@ // Enables the type, downlinkMax attributes of the NetInfo API. Also, enables // triggering of change attribute of the NetInfo API when there is a change in // the connection type. -@@ -978,7 +980,7 @@ const char kPreventResizingContentsForTesting[] = +@@ -956,7 +958,7 @@ const char kPreventResizingContentsForTesting[] = + "prevent-resizing-contents-for-testing"; + #endif - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Allows sending text-to-speech requests to speech-dispatcher, a common // Linux speech service. Because it's buggy, the user must explicitly // enable it so that visiting a random webpage can't cause instability. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_common_content__switches.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_common_content__switches.h index 2fe6e957fd98..ff8f592bcbe5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_common_content__switches.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_common_content__switches.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/public/common/content_switches.h.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/public/common/content_switches.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/public/common/content_switches.h -@@ -110,6 +110,7 @@ CONTENT_EXPORT extern const char kEnableLogging[]; +@@ -108,6 +108,7 @@ CONTENT_EXPORT extern const char kEnableLogging[]; CONTENT_EXPORT extern const char kEnableIsolatedWebAppsInRenderer[]; CONTENT_EXPORT extern const char kEnableLCDText[]; CONTENT_EXPORT extern const char kEnableLogging[]; @@ -8,12 +8,12 @@ CONTENT_EXPORT extern const char kEnableNetworkInformationDownlinkMax[]; CONTENT_EXPORT extern const char kEnableCanvas2DLayers[]; CONTENT_EXPORT extern const char kEnablePluginPlaceholderTesting[]; -@@ -268,7 +269,7 @@ CONTENT_EXPORT extern const char kPreventResizingConte +@@ -264,7 +265,7 @@ CONTENT_EXPORT extern const char kPreventResizingConte + CONTENT_EXPORT extern const char kPreventResizingContentsForTesting[]; + #endif - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) CONTENT_EXPORT extern const char kEnableSpeechDispatcher[]; - CONTENT_EXPORT extern const char kLLVMProfileFile[]; #endif + diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_common_zygote_features.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_common_zygote_features.gni index 7a64e4450d80..ba9258bfd90f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_common_zygote_features.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_public_common_zygote_features.gni @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/public/common/zygote/features.gni.orig 2023-04-05 11:05:06 UTC +--- src/3rdparty/chromium/content/public/common/zygote/features.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/public/common/zygote/features.gni @@ -2,4 +2,4 @@ # Use of this source code is governed by a BSD-style license that can be diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_renderer_render__thread__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_renderer_render__thread__impl.cc index aa44b086919f..a79aaeca17fa 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_renderer_render__thread__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_renderer_render__thread__impl.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/renderer/render_thread_impl.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/renderer/render_thread_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/renderer/render_thread_impl.cc -@@ -215,6 +215,8 @@ +@@ -211,6 +211,8 @@ #if BUILDFLAG(IS_APPLE) #include <malloc/malloc.h> @@ -9,25 +9,25 @@ #else #include <malloc.h> #endif -@@ -1022,7 +1024,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl: +@@ -1043,7 +1045,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl: kGpuStreamIdMedia, kGpuStreamPriorityMedia); const bool enable_video_decode_accelerator = -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - base::FeatureList::IsEnabled(media::kVaapiVideoDecodeLinux) && + base::FeatureList::IsEnabled(media::kAcceleratedVideoDecodeLinux) && #endif // BUILDFLAG(IS_LINUX) !cmd_line->HasSwitch(switches::kDisableAcceleratedVideoDecode) && -@@ -1031,7 +1033,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl: +@@ -1052,7 +1054,7 @@ media::GpuVideoAcceleratorFactories* RenderThreadImpl: gpu::kGpuFeatureStatusEnabled); const bool enable_video_encode_accelerator = -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - base::FeatureList::IsEnabled(media::kVaapiVideoEncodeLinux) && + base::FeatureList::IsEnabled(media::kAcceleratedVideoEncodeLinux) && #else !cmd_line->HasSwitch(switches::kDisableAcceleratedVideoEncode) && -@@ -1816,7 +1818,7 @@ std::unique_ptr<CodecFactory> RenderThreadImpl::Create +@@ -1845,7 +1847,7 @@ RenderThreadImpl::CreateMediaMojoCodecFactory( bool enable_video_encode_accelerator) { mojo::PendingRemote<media::mojom::VideoEncodeAcceleratorProvider> vea_provider; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.cc index 2b954f6bb505..032d182b408c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/renderer/renderer_blink_platform_impl.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/content/renderer/renderer_blink_platform_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/renderer/renderer_blink_platform_impl.cc -@@ -127,7 +127,7 @@ +@@ -129,7 +129,7 @@ #if BUILDFLAG(IS_MAC) #include "content/child/child_process_sandbox_support_impl_mac.h" @@ -25,21 +25,21 @@ mojo::PendingRemote<font_service::mojom::FontService> font_service; RenderThreadImpl::current()->BindHostReceiver( font_service.InitWithNewPipeAndPassReceiver()); -@@ -223,7 +223,7 @@ RendererBlinkPlatformImpl::RendererBlinkPlatformImpl( - #endif +@@ -224,7 +224,7 @@ RendererBlinkPlatformImpl::RendererBlinkPlatformImpl( } --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ +- BUILDFLAG(IS_WIN) ++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) if (sandboxEnabled()) { #if BUILDFLAG(IS_MAC) sandbox_support_ = std::make_unique<WebSandboxSupportMac>(); -@@ -284,7 +284,7 @@ void RendererBlinkPlatformImpl::SetThreadType(base::Pl - #endif +@@ -288,7 +288,7 @@ blink::WebSandboxSupport* RendererBlinkPlatformImpl::G blink::WebSandboxSupport* RendererBlinkPlatformImpl::GetSandboxSupport() { --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ +- BUILDFLAG(IS_WIN) ++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) return sandbox_support_.get(); #else // These platforms do not require sandbox support. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.h index 4b7805d2862a..fe82b46bcbd6 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_renderer_renderer__blink__platform__impl.h @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/content/renderer/renderer_blink_platform_impl.h.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/renderer/renderer_blink_platform_impl.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/renderer/renderer_blink_platform_impl.h -@@ -259,7 +259,7 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : publi - void Collect3DContextInformation(blink::Platform::GraphicsInfo* gl_info, +@@ -264,7 +264,7 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : publi const gpu::GPUInfo& gpu_info) const; --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ +- BUILDFLAG(IS_WIN) ++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) std::unique_ptr<blink::WebSandboxSupport> sandbox_support_; #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_renderer_renderer__main__platform__delegate__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_renderer_renderer__main__platform__delegate__linux.cc index b85856e382f0..3c3f7252cce0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_renderer_renderer__main__platform__delegate__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_renderer_renderer__main__platform__delegate__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/renderer/renderer_main_platform_delegate_linux.cc.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/content/renderer/renderer_main_platform_delegate_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/renderer/renderer_main_platform_delegate_linux.cc @@ -44,6 +44,7 @@ bool RendererMainPlatformDelegate::EnableSandbox() { // any renderer has been started. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_shell_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_shell_BUILD.gn index e60ac47e40f6..03b59d026345 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_shell_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_shell_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/shell/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/shell/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/shell/BUILD.gn -@@ -1089,7 +1089,7 @@ group("content_shell_crash_test") { +@@ -1088,7 +1088,7 @@ group("content_shell_crash_test") { if (is_win) { data_deps += [ "//build/win:copy_cdb_to_output" ] } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_shell_app_shell__main__delegate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_shell_app_shell__main__delegate.cc index 80b5a23f5e75..1c63c05fb6cc 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_shell_app_shell__main__delegate.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_shell_app_shell__main__delegate.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/shell/app/shell_main_delegate.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/content/shell/app/shell_main_delegate.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/shell/app/shell_main_delegate.cc -@@ -276,7 +276,7 @@ void ShellMainDelegate::PreSandboxStartup() { +@@ -269,7 +269,7 @@ void ShellMainDelegate::PreSandboxStartup() { // Reporting for sub-processes will be initialized in ZygoteForked. if (process_type != switches::kZygoteProcess) { crash_reporter::InitializeCrashpad(process_type.empty(), process_type); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_shell_renderer_shell__content__renderer__client.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_shell_renderer_shell__content__renderer__client.cc index d9aea71898d4..ad2091bd5b37 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_shell_renderer_shell__content__renderer__client.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_shell_renderer_shell__content__renderer__client.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/shell/renderer/shell_content_renderer_client.cc.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/content/shell/renderer/shell_content_renderer_client.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/shell/renderer/shell_content_renderer_client.cc -@@ -54,7 +54,7 @@ +@@ -55,7 +55,7 @@ #include "media/base/media_switches.h" #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_shell_utility_shell__content__utility__client.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_shell_utility_shell__content__utility__client.cc index 7525d17da90a..f06dcaffdcaa 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_shell_utility_shell__content__utility__client.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_shell_utility_shell__content__utility__client.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/shell/utility/shell_content_utility_client.cc.orig 2023-03-09 06:31:50 UTC +--- src/3rdparty/chromium/content/shell/utility/shell_content_utility_client.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/shell/utility/shell_content_utility_client.cc -@@ -38,7 +38,7 @@ +@@ -43,7 +43,7 @@ #include "sandbox/policy/sandbox.h" #include "services/test/echo/echo_service.h" @@ -9,7 +9,7 @@ #include "content/test/sandbox_status_service.h" #endif -@@ -187,7 +187,7 @@ void ShellContentUtilityClient::ExposeInterfacesToBrow +@@ -192,7 +192,7 @@ void ShellContentUtilityClient::ExposeInterfacesToBrow binders->Add<mojom::PowerMonitorTest>( base::BindRepeating(&PowerMonitorTestImpl::MakeSelfOwnedReceiver), base::SingleThreadTaskRunner::GetCurrentDefault()); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_services.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_services.cc index a6a8addbf34d..6f4b1bb9c0fd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_services.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_services.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/utility/services.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/utility/services.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/utility/services.cc -@@ -76,7 +76,7 @@ extern sandbox::TargetServices* g_utility_target_servi +@@ -78,7 +78,7 @@ extern sandbox::TargetServices* g_utility_target_servi extern sandbox::TargetServices* g_utility_target_services; #endif // BUILDFLAG(IS_WIN) @@ -9,32 +9,16 @@ #include "media/mojo/services/mojo_video_encode_accelerator_provider_factory.h" #include "sandbox/linux/services/libc_interceptor.h" #include "sandbox/policy/mojom/sandbox.mojom.h" -@@ -104,7 +104,7 @@ extern sandbox::TargetServices* g_utility_target_servi - #endif // BUILDFLAG(IS_CHROMEOS_ASH) && (BUILDFLAG(USE_VAAPI) || +@@ -106,7 +106,7 @@ extern sandbox::TargetServices* g_utility_target_servi + #endif // BUILDFLAG(IS_CHROMEOS) && (BUILDFLAG(USE_VAAPI) || // BUILDFLAG(USE_V4L2_CODEC)) --#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)) && \ -+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)) && \ +-#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \ ++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_CHROMEOS)) && \ (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC)) #include "content/common/features.h" #include "media/mojo/services/stable_video_decoder_factory_process_service.h" // nogncheck -@@ -122,13 +122,13 @@ extern sandbox::TargetServices* g_utility_target_servi - #endif // BUILDFLAG(ENABLE_ACCESSIBILITY_SERVICE) - - #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || \ -- BUILDFLAG(ENABLE_VIDEO_EFFECTS) -+ BUILDFLAG(ENABLE_VIDEO_EFFECTS) || BUILDFLAG(IS_BSD) - #include "services/viz/public/cpp/gpu/gpu.h" - #include "services/viz/public/mojom/gpu.mojom.h" - #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || - // BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(ENABLE_VIDEO_EFFECTS) - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - #include "media/capture/capture_switches.h" - #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || - // BUILDFLAG(IS_CHROMEOS_ASH) -@@ -246,7 +246,7 @@ auto RunAudio(mojo::PendingReceiver<audio::mojom::Audi +@@ -242,7 +242,7 @@ auto RunAudio(mojo::PendingReceiver<audio::mojom::Audi << "task_policy_set TASK_QOS_POLICY"; #endif @@ -43,26 +27,17 @@ auto* command_line = base::CommandLine::ForCurrentProcess(); if (sandbox::policy::SandboxTypeFromCommandLine(*command_line) == sandbox::mojom::Sandbox::kNoSandbox) { -@@ -342,7 +342,7 @@ auto RunVideoCapture( - #endif // BUILDFLAG(IS_CHROMEOS_ASH) - auto service = std::make_unique<UtilityThreadVideoCaptureServiceImpl>( - std::move(receiver), base::SingleThreadTaskRunner::GetCurrentDefault()); --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - #if BUILDFLAG(IS_CHROMEOS_ASH) - { - #else -@@ -399,7 +399,7 @@ auto RunOOPArcVideoAcceleratorFactoryService( - #endif // BUILDFLAG(IS_CHROMEOS_ASH) && (BUILDFLAG(USE_VAAPI) || - // BUILDFLAG(USE_V4L2_CODEC)) +@@ -388,7 +388,7 @@ auto RunOOPArcVideoAcceleratorFactoryService( + #endif // BUILDFLAG(IS_CHROMEOS) && \ + // (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC)) --#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)) && \ -+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)) && \ +-#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \ ++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_CHROMEOS)) && \ (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC)) auto RunStableVideoDecoderFactoryProcessService( mojo::PendingReceiver< -@@ -410,7 +410,7 @@ auto RunStableVideoDecoderFactoryProcessService( - #endif // (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)) && +@@ -399,7 +399,7 @@ auto RunStableVideoDecoderFactoryProcessService( + #endif // (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && // (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC)) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) @@ -70,26 +45,17 @@ auto RunVideoEncodeAcceleratorProviderFactory( mojo::PendingReceiver<media::mojom::VideoEncodeAcceleratorProviderFactory> receiver) { -@@ -433,7 +433,7 @@ void RegisterIOThreadServices(mojo::ServiceFactory& se +@@ -422,7 +422,7 @@ void RegisterIOThreadServices(mojo::ServiceFactory& se // loop of type IO that can get notified when pipes have data. services.Add(RunNetworkService); --#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)) && \ -+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)) && \ - (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC)) - if (base::FeatureList::IsEnabled( - features::kRunStableVideoDecoderFactoryProcessServiceOnIOThread)) { -@@ -491,7 +491,7 @@ void RegisterMainThreadServices(mojo::ServiceFactory& - #endif // BUILDFLAG(IS_CHROMEOS_ASH) && (BUILDFLAG(USE_VAAPI) || - // BUILDFLAG(USE_V4L2_CODEC)) - --#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)) && \ -+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD)) && \ +-#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \ ++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) || BUILDFLAG(IS_CHROMEOS)) && \ (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC)) - if (!base::FeatureList::IsEnabled( - features::kRunStableVideoDecoderFactoryProcessServiceOnIOThread)) { -@@ -500,7 +500,7 @@ void RegisterMainThreadServices(mojo::ServiceFactory& - #endif // (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH)) && + services.Add(RunStableVideoDecoderFactoryProcessService); + #endif // (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && +@@ -477,7 +477,7 @@ void RegisterMainThreadServices(mojo::ServiceFactory& + #endif // BUILDFLAG(IS_CHROMEOS) && \ // (BUILDFLAG(USE_VAAPI) || BUILDFLAG(USE_V4L2_CODEC)) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_speech_speech__recognition__sandbox__hook__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_speech_speech__recognition__sandbox__hook__linux.cc index b0a41dc9c076..3a1fd19a5d21 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_speech_speech__recognition__sandbox__hook__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_speech_speech__recognition__sandbox__hook__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/utility/speech/speech_recognition_sandbox_hook_linux.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/content/utility/speech/speech_recognition_sandbox_hook_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/utility/speech/speech_recognition_sandbox_hook_linux.cc @@ -12,11 +12,14 @@ #include "sandbox/linux/syscall_broker/broker_command.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_speech_speech__recognition__sandbox__hook__linux.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_speech_speech__recognition__sandbox__hook__linux.h index 2318cee151ab..909e0904beff 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_speech_speech__recognition__sandbox__hook__linux.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_speech_speech__recognition__sandbox__hook__linux.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/utility/speech/speech_recognition_sandbox_hook_linux.h.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/content/utility/speech/speech_recognition_sandbox_hook_linux.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/utility/speech/speech_recognition_sandbox_hook_linux.h @@ -5,7 +5,13 @@ #ifndef CONTENT_UTILITY_SPEECH_SPEECH_RECOGNITION_SANDBOX_HOOK_LINUX_H_ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.cc index 74a53a4cf400..8033e2956919 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/utility/utility_blink_platform_with_sandbox_support_impl.cc.orig 2023-05-31 08:12:17 UTC +--- src/3rdparty/chromium/content/utility/utility_blink_platform_with_sandbox_support_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/utility/utility_blink_platform_with_sandbox_support_impl.cc @@ -9,7 +9,7 @@ @@ -7,9 +7,9 @@ -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "content/child/child_process_sandbox_support_impl_linux.h" - #endif - -@@ -17,7 +17,7 @@ namespace content { + #elif BUILDFLAG(IS_WIN) + #include "content/child/child_process_sandbox_support_impl_win.h" +@@ -19,7 +19,7 @@ UtilityBlinkPlatformWithSandboxSupportImpl:: UtilityBlinkPlatformWithSandboxSupportImpl:: UtilityBlinkPlatformWithSandboxSupportImpl() { @@ -18,12 +18,12 @@ mojo::PendingRemote<font_service::mojom::FontService> font_service; UtilityThread::Get()->BindHostReceiver( font_service.InitWithNewPipeAndPassReceiver()); -@@ -35,7 +35,7 @@ UtilityBlinkPlatformWithSandboxSupportImpl:: - +@@ -40,7 +40,7 @@ UtilityBlinkPlatformWithSandboxSupportImpl::GetSandbox blink::WebSandboxSupport* UtilityBlinkPlatformWithSandboxSupportImpl::GetSandboxSupport() { --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ +- BUILDFLAG(IS_WIN) ++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) return sandbox_support_.get(); #else return nullptr; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.h index 6d6a2dd0654e..5bf1b7d9c9e8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_utility__blink__platform__with__sandbox__support__impl.h @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/content/utility/utility_blink_platform_with_sandbox_support_impl.h.orig 2023-05-31 08:12:17 UTC +--- src/3rdparty/chromium/content/utility/utility_blink_platform_with_sandbox_support_impl.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/utility/utility_blink_platform_with_sandbox_support_impl.h -@@ -33,7 +33,7 @@ class UtilityBlinkPlatformWithSandboxSupportImpl : pub - blink::WebSandboxSupport* GetSandboxSupport() override; +@@ -34,7 +34,7 @@ class UtilityBlinkPlatformWithSandboxSupportImpl : pub private: --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ +- BUILDFLAG(IS_WIN) ++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) std::unique_ptr<blink::WebSandboxSupport> sandbox_support_; #endif }; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_utility__main.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_utility__main.cc index 75ea7b2fcfe7..b38ed6f96c62 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_utility__main.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_utility__main.cc @@ -1,8 +1,8 @@ ---- src/3rdparty/chromium/content/utility/utility_main.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/utility/utility_main.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/utility/utility_main.cc -@@ -38,17 +38,21 @@ - #include "services/screen_ai/buildflags/buildflags.h" +@@ -38,18 +38,22 @@ #include "services/tracing/public/cpp/trace_startup.h" + #include "services/video_effects/public/cpp/buildflags.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) @@ -16,40 +16,38 @@ #include "content/public/common/content_descriptor_keys.h" #include "content/utility/speech/speech_recognition_sandbox_hook_linux.h" #include "gpu/config/gpu_info_collector.h" + #include "media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.h" #include "media/gpu/sandbox/hardware_video_encoding_sandbox_hook_linux.h" +#if !BUILDFLAG(IS_BSD) #include "sandbox/policy/linux/sandbox_linux.h" +#endif #include "services/audio/audio_sandbox_hook_linux.h" #include "services/network/network_sandbox_hook_linux.h" - // gn check is not smart enough to realize that this include only applies to -@@ -60,10 +64,15 @@ - #endif - #endif + #include "services/screen_ai/buildflags/buildflags.h" +@@ -68,7 +72,12 @@ --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - #include "media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.h" - #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) + #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +-#if BUILDFLAG(ENABLE_VIDEO_EFFECTS) && BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_BSD) +#include "sandbox/policy/sandbox.h" +#include "content/common/gpu_pre_sandbox_hook_bsd.h" +#endif + - #if BUILDFLAG(IS_CHROMEOS_ASH) - #include "chromeos/ash/components/assistant/buildflags.h" - #include "chromeos/ash/services/ime/ime_sandbox_hook.h" -@@ -75,7 +84,7 @@ - #endif // BUILDFLAG(IS_CHROMEOS_ASH) ++#if BUILDFLAG(ENABLE_VIDEO_EFFECTS) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) + #include "services/video_effects/video_effects_sandbox_hook_linux.h" // nogncheck + #endif // BUILDFLAG(ENABLE_VIDEO_EFFECTS) && BUILDFLAG(IS_LINUX) - #if (BUILDFLAG(ENABLE_SCREEN_AI_SERVICE) && \ -- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))) -+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD))) - #include "services/screen_ai/public/cpp/utilities.h" // nogncheck - #include "services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.h" // nogncheck - #endif -@@ -103,7 +112,7 @@ namespace { +@@ -103,7 +112,7 @@ sandbox::TargetServices* g_utility_target_services = n + sandbox::TargetServices* g_utility_target_services = nullptr; + #endif // BUILDFLAG(IS_WIN) + +-#if BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION) && BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) + #include "components/services/on_device_translation/sandbox_hook.h" + #endif // BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION) && BUILDFLAG(IS_LINUX) + +@@ -111,7 +120,7 @@ namespace { namespace { @@ -58,27 +56,7 @@ std::vector<std::string> GetNetworkContextsParentDirectories() { base::MemoryMappedFile::Region region; base::ScopedFD read_pipe_fd = base::FileDescriptorStore::GetInstance().TakeFD( -@@ -130,9 +139,10 @@ std::vector<std::string> GetNetworkContextsParentDirec - return dirs; - } - -+#if !BUILDFLAG(IS_BSD) - bool ShouldUseAmdGpuPolicy(sandbox::mojom::Sandbox sandbox_type) { - const bool obtain_gpu_info = --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - sandbox_type == sandbox::mojom::Sandbox::kHardwareVideoDecoding || - #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) - sandbox_type == sandbox::mojom::Sandbox::kHardwareVideoEncoding; -@@ -147,6 +157,7 @@ bool ShouldUseAmdGpuPolicy(sandbox::mojom::Sandbox san - - return false; - } -+#endif - #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) - - #if BUILDFLAG(IS_WIN) -@@ -246,7 +257,8 @@ int UtilityMain(MainFunctionParams parameters) { +@@ -251,7 +260,8 @@ int UtilityMain(MainFunctionParams parameters) { } #endif @@ -88,8 +66,8 @@ // Thread type delegate of the process should be registered before first // thread type change in ChildProcess constructor. It also needs to be // registered before the process has multiple threads, which may race with -@@ -258,7 +270,7 @@ int UtilityMain(MainFunctionParams parameters) { - } +@@ -259,7 +269,7 @@ int UtilityMain(MainFunctionParams parameters) { + SandboxedProcessThreadTypeHandler::Create(); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) @@ -97,16 +75,32 @@ // Initializes the sandbox before any threads are created. // TODO(jorgelo): move this after GTK initialization when we enable a strict // Seccomp-BPF policy. -@@ -305,7 +317,7 @@ int UtilityMain(MainFunctionParams parameters) { +@@ -295,7 +305,7 @@ int UtilityMain(MainFunctionParams parameters) { + base::BindOnce(&speech::SpeechRecognitionPreSandboxHook); + #endif + break; +-#if BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION) && BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(ENABLE_ON_DEVICE_TRANSLATION) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) + case sandbox::mojom::Sandbox::kOnDeviceTranslation: + pre_sandbox_hook = base::BindOnce( + &on_device_translation::OnDeviceTranslationSandboxHook); +@@ -311,13 +321,13 @@ int UtilityMain(MainFunctionParams parameters) { + #else + NOTREACHED(); + #endif +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) case sandbox::mojom::Sandbox::kVideoEffects: - // TODO(crbug.com/361128453): Implement this. - NOTREACHED() << "kVideoEffects sandbox not implemented."; --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) + pre_sandbox_hook = + base::BindOnce(&video_effects::VideoEffectsPreSandboxHook); + break; + #endif // BUILDFLAG(IS_LINUX) +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) case sandbox::mojom::Sandbox::kHardwareVideoDecoding: pre_sandbox_hook = base::BindOnce(&media::HardwareVideoDecodingPreSandboxHook); -@@ -332,6 +344,7 @@ int UtilityMain(MainFunctionParams parameters) { +@@ -344,6 +354,7 @@ int UtilityMain(MainFunctionParams parameters) { default: break; } @@ -114,7 +108,7 @@ if (!sandbox::policy::IsUnsandboxedSandboxType(sandbox_type) && (parameters.zygote_child || !pre_sandbox_hook.is_null())) { sandbox_options.use_amd_specific_policies = -@@ -339,6 +352,11 @@ int UtilityMain(MainFunctionParams parameters) { +@@ -351,6 +362,11 @@ int UtilityMain(MainFunctionParams parameters) { sandbox::policy::Sandbox::Initialize( sandbox_type, std::move(pre_sandbox_hook), sandbox_options); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_utility__thread__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_utility__thread__impl.cc index 7844c72d4c4f..ad11af9b679b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_utility__thread__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_utility_utility__thread__impl.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/utility/utility_thread_impl.cc.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/content/utility/utility_thread_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/utility/utility_thread_impl.cc @@ -31,7 +31,7 @@ #include "mojo/public/cpp/bindings/pending_receiver.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_zygote_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_zygote_BUILD.gn index 66eeb011c4a1..32a39689f727 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_zygote_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_zygote_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/content/zygote/BUILD.gn.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/content/zygote/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/zygote/BUILD.gn -@@ -5,7 +5,7 @@ +@@ -5,7 +5,7 @@ import("//content/public/common/zygote/features.gni") import("//build/config/nacl/config.gni") import("//content/public/common/zygote/features.gni") diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_zygote_zygote__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_zygote_zygote__linux.cc index ddce2d251d97..afcc05f3cc66 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_zygote_zygote__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_zygote_zygote__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/zygote/zygote_linux.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/content/zygote/zygote_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/zygote/zygote_linux.cc @@ -1,6 +1,7 @@ // Copyright 2012 The Chromium Authors @@ -8,7 +8,7 @@ #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/342213636): Remove this and spanify to fix the errors. -@@ -723,3 +724,4 @@ void Zygote::HandleReinitializeLoggingRequest(base::Pi +@@ -709,3 +710,4 @@ void Zygote::HandleReinitializeLoggingRequest(base::Pi } } // namespace content diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_zygote_zygote__main__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_zygote_zygote__main__linux.cc index 703c803a6217..01400ec2413d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_zygote_zygote__main__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_content_zygote_zygote__main__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/content/zygote/zygote_main_linux.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/content/zygote/zygote_main_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/content/zygote/zygote_main_linux.cc @@ -11,7 +11,9 @@ #include <stddef.h> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_bluetooth_bluetooth__adapter.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_bluetooth_bluetooth__adapter.cc index 94e34a510984..18c326971d34 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_bluetooth_bluetooth__adapter.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_bluetooth_bluetooth__adapter.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/device/bluetooth/bluetooth_adapter.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/device/bluetooth/bluetooth_adapter.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/device/bluetooth/bluetooth_adapter.cc -@@ -32,7 +32,7 @@ namespace device { +@@ -32,7 +32,7 @@ BluetoothAdapter::ServiceOptions::~ServiceOptions() = BluetoothAdapter::ServiceOptions::ServiceOptions() = default; BluetoothAdapter::ServiceOptions::~ServiceOptions() = default; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_bluetooth_cast__bluetooth.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_bluetooth_cast__bluetooth.gni index e5ac108dced5..8a3bb66d4ced 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_bluetooth_cast__bluetooth.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_bluetooth_cast__bluetooth.gni @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/device/bluetooth/cast_bluetooth.gni.orig 2022-08-31 12:19:35 UTC +--- src/3rdparty/chromium/device/bluetooth/cast_bluetooth.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/device/bluetooth/cast_bluetooth.gni -@@ -2,5 +2,5 @@ import("//build/config/features.gni") +@@ -2,5 +2,5 @@ declare_args() { declare_args() { force_cast_bluetooth = false diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_gamepad_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_gamepad_BUILD.gn index 9524e185dca6..04a0d8fdc698 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_gamepad_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_gamepad_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/device/gamepad/BUILD.gn.orig 2023-11-03 10:09:45 UTC +--- src/3rdparty/chromium/device/gamepad/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/device/gamepad/BUILD.gn @@ -99,7 +99,7 @@ component("gamepad") { "hid_writer_linux.cc", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_gamepad_gamepad__provider.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_gamepad_gamepad__provider.cc index 644fe88634b6..9bde5277948a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_gamepad_gamepad__provider.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_gamepad_gamepad__provider.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/device/gamepad/gamepad_provider.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/device/gamepad/gamepad_provider.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/device/gamepad/gamepad_provider.cc -@@ -224,7 +224,7 @@ void GamepadProvider::Initialize(std::unique_ptr<Gamep +@@ -159,7 +159,7 @@ void GamepadProvider::Initialize(std::unique_ptr<Gamep if (!polling_thread_) polling_thread_ = std::make_unique<base::Thread>("Gamepad polling thread"); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_gamepad_hid__writer__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_gamepad_hid__writer__linux.cc index 7f08b64c2125..5cc99c931bd4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_gamepad_hid__writer__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_device_gamepad_hid__writer__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/device/gamepad/hid_writer_linux.cc.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/device/gamepad/hid_writer_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/device/gamepad/hid_writer_linux.cc @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_browser_api_api__browser__context__keyed__service__factories.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_browser_api_api__browser__context__keyed__service__factories.cc index d97bf3c39b65..9b9a2b224959 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_browser_api_api__browser__context__keyed__service__factories.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_browser_api_api__browser__context__keyed__service__factories.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/extensions/browser/api/api_browser_context_keyed_service_factories.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/extensions/browser/api/api_browser_context_keyed_service_factories.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/extensions/browser/api/api_browser_context_keyed_service_factories.cc -@@ -126,7 +126,7 @@ void EnsureApiBrowserContextKeyedServiceFactoriesBuilt +@@ -132,7 +132,7 @@ void EnsureApiBrowserContextKeyedServiceFactoriesBuilt #endif MessageService::GetFactoryInstance(); #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \ @@ -8,4 +8,4 @@ + BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) NetworkingPrivateEventRouterFactory::GetInstance(); #endif - OffscreenDocumentManager::GetFactory(); + PrinterProviderAPIFactory::GetInstance(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_browser_api_management_management__api.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_browser_api_management_management__api.cc index bc173521274e..fb875b8b0295 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_browser_api_management_management__api.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_browser_api_management_management__api.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/extensions/browser/api/management/management_api.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/extensions/browser/api/management/management_api.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/extensions/browser/api/management/management_api.cc @@ -285,7 +285,7 @@ bool PlatformSupportsApprovalFlowForExtensions() { #if BUILDFLAG(IS_CHROMEOS) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_browser_api_messaging_message__service.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_browser_api_messaging_message__service.cc index a9df902e7c30..3e802f8df35f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_browser_api_messaging_message__service.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_browser_api_messaging_message__service.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/extensions/browser/api/messaging/message_service.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/extensions/browser/api/messaging/message_service.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/extensions/browser/api/messaging/message_service.cc -@@ -78,7 +78,7 @@ const char kReceivingEndDoesntExistError[] = +@@ -77,7 +77,7 @@ const char kReceivingEndDoesntExistError[] = const char kReceivingEndDoesntExistError[] = "Could not establish connection. Receiving end does not exist."; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ const char kMissingPermissionError[] = "Access to native messaging requires nativeMessaging permission."; const char kProhibitedByPoliciesError[] = -@@ -555,7 +555,7 @@ void MessageService::OpenChannelToNativeAppImpl( +@@ -647,7 +647,7 @@ void MessageService::OpenChannelToNativeAppImpl( return; #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_browser_api_networking__private_networking__private__delegate__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_browser_api_networking__private_networking__private__delegate__factory.cc index 49a77a57e9d3..da4328990906 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_browser_api_networking__private_networking__private__delegate__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_browser_api_networking__private_networking__private__delegate__factory.cc @@ -1,20 +1,29 @@ ---- src/3rdparty/chromium/extensions/browser/api/networking_private/networking_private_delegate_factory.cc.orig 2023-10-11 18:22:24 UTC +--- src/3rdparty/chromium/extensions/browser/api/networking_private/networking_private_delegate_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/extensions/browser/api/networking_private/networking_private_delegate_factory.cc -@@ -14,7 +14,7 @@ +@@ -12,7 +12,7 @@ + + #if BUILDFLAG(IS_CHROMEOS) #include "extensions/browser/api/networking_private/networking_private_chromeos.h" - #elif BUILDFLAG(IS_CHROMEOS_LACROS) - #include "extensions/browser/api/networking_private/networking_private_lacros.h" -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) #include "extensions/browser/api/networking_private/networking_private_linux.h" #elif BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) #include "components/wifi/wifi_service.h" -@@ -67,7 +67,7 @@ NetworkingPrivateDelegateFactory::BuildServiceInstance +@@ -63,7 +63,7 @@ NetworkingPrivateDelegateFactory::BuildServiceInstance + std::unique_ptr<NetworkingPrivateDelegate> delegate; + #if BUILDFLAG(IS_CHROMEOS) delegate = std::make_unique<NetworkingPrivateChromeOS>(browser_context); - #elif BUILDFLAG(IS_CHROMEOS_LACROS) - delegate = std::make_unique<NetworkingPrivateLacros>(browser_context); -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) delegate = std::make_unique<NetworkingPrivateLinux>(); #elif BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) std::unique_ptr<wifi::WiFiService> wifi_service(wifi::WiFiService::Create()); +@@ -74,7 +74,7 @@ NetworkingPrivateDelegateFactory::BuildServiceInstance + #endif + + #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || \ +- BUILDFLAG(IS_MAC) ++ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + if (ui_factory_) { + delegate->set_ui_delegate(ui_factory_->CreateDelegate()); + } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_common_api___permission__features.json b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_common_api___permission__features.json index 0a837f34cfe2..7655d1e800ea 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_common_api___permission__features.json +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_common_api___permission__features.json @@ -1,15 +1,15 @@ ---- src/3rdparty/chromium/extensions/common/api/_permission_features.json.orig 2023-12-10 06:10:27 UTC +--- src/3rdparty/chromium/extensions/common/api/_permission_features.json.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/extensions/common/api/_permission_features.json @@ -138,7 +138,7 @@ { "channel": "stable", "extension_types": ["platform_app"], -- "platforms": ["chromeos", "lacros", "win", "mac", "linux"], -+ "platforms": ["chromeos", "lacros", "win", "mac", "linux", "openbsd", "freebsd"], +- "platforms": ["chromeos", "win", "mac", "linux"], ++ "platforms": ["chromeos", "win", "mac", "linux", "openbsd", "freebsd"], "allowlist": [ "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // http://crbug.com/387169 "A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE", // http://crbug.com/387169 -@@ -432,7 +432,7 @@ +@@ -423,7 +423,7 @@ }, { "channel": "stable", "extension_types": ["extension", "legacy_packaged_app", "platform_app"], @@ -18,12 +18,12 @@ "allowlist": [ "0DE0F05680A4A056BCEC864ED8DDA84296F82B40", // http://crbug.com/434651 "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80", // http://crbug.com/293683 -@@ -476,7 +476,7 @@ +@@ -467,7 +467,7 @@ "networkingPrivate": { "channel": "stable", "extension_types": ["extension", "legacy_packaged_app", "platform_app"], -- "platforms": ["chromeos", "lacros", "mac", "win", "linux", "fuchsia"], -+ "platforms": ["chromeos", "lacros", "mac", "win", "linux", "fuchsia", "openbsd", "freebsd"], +- "platforms": ["chromeos", "mac", "win", "linux", "fuchsia"], ++ "platforms": ["chromeos", "mac", "win", "linux", "fuchsia", "openbsd", "freebsd"], "allowlist": [ // DO NOT ADD ANY MORE ENTRIES HERE. // networkingPrivate is being migrated to networking.onc. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_common_api_runtime.json b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_common_api_runtime.json index 23e8da81359e..82f54f0273f3 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_common_api_runtime.json +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_common_api_runtime.json @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/extensions/common/api/runtime.json.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/extensions/common/api/runtime.json.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/extensions/common/api/runtime.json @@ -86,6 +86,7 @@ {"name": "cros", "description": "Specifies the Chrome operating system."}, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_common_command.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_common_command.cc index 8f6e2cf59a80..e0abf4a1f3d2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_common_command.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_common_command.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/extensions/common/command.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/extensions/common/command.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/extensions/common/command.cc -@@ -286,7 +286,7 @@ std::string Command::CommandPlatform() { - return values::kKeybindingPlatformMac; +@@ -116,7 +116,7 @@ std::string Command::CommandPlatform() { + return ui::kKeybindingPlatformMac; #elif BUILDFLAG(IS_CHROMEOS) - return values::kKeybindingPlatformChromeOs; + return ui::kKeybindingPlatformChromeOs; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - return values::kKeybindingPlatformLinux; + return ui::kKeybindingPlatformLinux; #elif BUILDFLAG(IS_FUCHSIA) // TODO(crbug.com/40220501): Change this once we decide what string should be diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_common_features_feature.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_common_features_feature.cc index 14a43d6eddf2..d786338ef1a7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_common_features_feature.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_common_features_feature.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/extensions/common/features/feature.cc.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/extensions/common/features/feature.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/extensions/common/features/feature.cc -@@ -34,6 +34,8 @@ Feature::Platform Feature::GetCurrentPlatform() { +@@ -29,6 +29,8 @@ Feature::Platform Feature::GetCurrentPlatform() { return WIN_PLATFORM; #elif BUILDFLAG(IS_FUCHSIA) return FUCHSIA_PLATFORM; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_renderer_bindings_api__binding__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_renderer_bindings_api__binding__util.cc index 4bfb49ec12bc..0cdf4f789987 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_renderer_bindings_api__binding__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_renderer_bindings_api__binding__util.cc @@ -1,8 +1,8 @@ ---- src/3rdparty/chromium/extensions/renderer/bindings/api_binding_util.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/extensions/renderer/bindings/api_binding_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/extensions/renderer/bindings/api_binding_util.cc -@@ -133,7 +133,7 @@ std::string GetPlatformString() { - return "lacros"; - #elif BUILDFLAG(IS_CHROMEOS_ASH) && !BUILDFLAG(IS_CHROMEOS_LACROS) +@@ -129,7 +129,7 @@ std::string GetPlatformString() { + std::string GetPlatformString() { + #if BUILDFLAG(IS_CHROMEOS) return "chromeos"; -#elif BUILDFLAG(IS_LINUX) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_renderer_bindings_argument__spec.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_renderer_bindings_argument__spec.cc index 9db76147e8c7..8d832e7d6d94 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_renderer_bindings_argument__spec.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_renderer_bindings_argument__spec.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/extensions/renderer/bindings/argument_spec.cc.orig 2022-11-30 08:12:58 UTC +--- src/3rdparty/chromium/extensions/renderer/bindings/argument_spec.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/extensions/renderer/bindings/argument_spec.cc @@ -18,6 +18,8 @@ #include "gin/data_object_builder.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_app_shell__main__delegate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_app_shell__main__delegate.cc index 818343c76132..b7023f878bda 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_app_shell__main__delegate.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_app_shell__main__delegate.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/extensions/shell/app/shell_main_delegate.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/extensions/shell/app/shell_main_delegate.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/extensions/shell/app/shell_main_delegate.cc -@@ -43,7 +43,7 @@ +@@ -40,7 +40,7 @@ #if BUILDFLAG(IS_WIN) #include "base/base_paths_win.h" #include "base/process/process_info.h" @@ -9,7 +9,7 @@ #include "base/nix/xdg_util.h" #elif BUILDFLAG(IS_MAC) #include "base/base_paths_mac.h" -@@ -63,7 +63,7 @@ base::FilePath GetDataPath() { +@@ -60,7 +60,7 @@ base::FilePath GetDataPath() { } base::FilePath data_dir; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc index 45b1f5fc6296..c256816afe9e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc -@@ -45,7 +45,7 @@ void ShellRuntimeAPIDelegate::OpenURL(const GURL& unin +@@ -45,7 +45,7 @@ bool ShellRuntimeAPIDelegate::GetPlatformInfo(Platform bool ShellRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) { - #if BUILDFLAG(IS_CHROMEOS_ASH) + #if BUILDFLAG(IS_CHROMEOS) info->os = api::runtime::PlatformOs::kCros; --#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#elif BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) info->os = api::runtime::PlatformOs::kLinux; #endif return true; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_browser_shell__browser__main__parts.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_browser_shell__browser__main__parts.cc index a70346f212cf..ffe4d78497f7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_browser_shell__browser__main__parts.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_browser_shell__browser__main__parts.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/extensions/shell/browser/shell_browser_main_parts.cc.orig 2022-09-24 10:57:32 UTC +--- src/3rdparty/chromium/extensions/shell/browser/shell_browser_main_parts.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/extensions/shell/browser/shell_browser_main_parts.cc -@@ -150,7 +150,7 @@ void ShellBrowserMainParts::PostCreateMainMessageLoop( +@@ -137,7 +137,7 @@ void ShellBrowserMainParts::PostCreateMainMessageLoop( switches::kAppShellAllowRoaming)) { network_controller_->SetCellularAllowRoaming(true); } --#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#elif BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // app_shell doesn't need GTK, so the fake input method context can work. // See crbug.com/381852 and revision fb69f142. // TODO(michaelpg): Verify this works for target environments. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.cc index 280891b6545e..a00017dda228 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.cc @@ -1,11 +1,20 @@ ---- src/3rdparty/chromium/extensions/shell/browser/shell_extensions_api_client.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/extensions/shell/browser/shell_extensions_api_client.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/extensions/shell/browser/shell_extensions_api_client.cc -@@ -58,7 +58,7 @@ ShellExtensionsAPIClient::CreateDisplayInfoProvider() +@@ -18,7 +18,7 @@ + #include "extensions/shell/browser/shell_virtual_keyboard_delegate.h" + #include "extensions/shell/browser/shell_web_view_guest_delegate.h" - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #include "extensions/shell/browser/api/file_system/shell_file_system_delegate.h" + #endif + +@@ -54,7 +54,7 @@ ShellExtensionsAPIClient::CreateDisplayInfoProvider() + return std::make_unique<ShellDisplayInfoProvider>(); + } + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) FileSystemDelegate* ShellExtensionsAPIClient::GetFileSystemDelegate() { if (!file_system_delegate_) file_system_delegate_ = std::make_unique<ShellFileSystemDelegate>(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.h index 02dcea93ef08..8a8b2ae8ed33 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_extensions_shell_browser_shell__extensions__api__client.h @@ -1,20 +1,19 @@ ---- src/3rdparty/chromium/extensions/shell/browser/shell_extensions_api_client.h.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/extensions/shell/browser/shell_extensions_api_client.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/extensions/shell/browser/shell_extensions_api_client.h -@@ -36,7 +36,7 @@ class ShellExtensionsAPIClient : public ExtensionsAPIC +@@ -34,14 +34,14 @@ class ShellExtensionsAPIClient : public ExtensionsAPIC + content::BrowserContext* browser_context) const override; + std::unique_ptr<DisplayInfoProvider> CreateDisplayInfoProvider() const override; - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) FileSystemDelegate* GetFileSystemDelegate() override; #endif MessagingDelegate* GetMessagingDelegate() override; -@@ -45,7 +45,7 @@ class ShellExtensionsAPIClient : public ExtensionsAPIC + FeedbackPrivateDelegate* GetFeedbackPrivateDelegate() override; + private: - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) std::unique_ptr<FileSystemDelegate> file_system_delegate_; #endif std::unique_ptr<MessagingDelegate> messaging_delegate_; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_google__apis_gcm_engine_heartbeat__manager.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_google__apis_gcm_engine_heartbeat__manager.cc index abd723e1e979..a2f47064bcdc 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_google__apis_gcm_engine_heartbeat__manager.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_google__apis_gcm_engine_heartbeat__manager.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/google_apis/gcm/engine/heartbeat_manager.cc.orig 2023-04-28 17:01:32 UTC +--- src/3rdparty/chromium/google_apis/gcm/engine/heartbeat_manager.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/google_apis/gcm/engine/heartbeat_manager.cc -@@ -32,7 +32,7 @@ const int kMinClientHeartbeatIntervalMs = 1000 * 30; +@@ -32,7 +32,7 @@ const int kMinSuspendTimeMs = 1000 * 10; // 10 seconds // Minimum time spent sleeping before we force a new heartbeat. const int kMinSuspendTimeMs = 1000 * 10; // 10 seconds. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_dawn__context__provider.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_dawn__context__provider.cc index 55220641c0cd..b1960417a576 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_dawn__context__provider.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_dawn__context__provider.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/gpu/command_buffer/service/dawn_context_provider.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/gpu/command_buffer/service/dawn_context_provider.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/command_buffer/service/dawn_context_provider.cc -@@ -307,7 +307,7 @@ wgpu::BackendType DawnContextProvider::GetDefaultBacke +@@ -341,7 +341,7 @@ wgpu::BackendType DawnContextProvider::GetDefaultBacke return base::FeatureList::IsEnabled(features::kSkiaGraphiteDawnUseD3D12) ? wgpu::BackendType::D3D12 : wgpu::BackendType::D3D11; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_gles2__cmd__decoder.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_gles2__cmd__decoder.cc index 0c3d258919bd..8733b53a411b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_gles2__cmd__decoder.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_gles2__cmd__decoder.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/gpu/command_buffer/service/gles2_cmd_decoder.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/gpu/command_buffer/service/gles2_cmd_decoder.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/command_buffer/service/gles2_cmd_decoder.cc -@@ -2908,7 +2908,7 @@ GLES2Decoder* GLES2Decoder::Create( +@@ -2864,7 +2864,7 @@ GLES2Decoder* GLES2Decoder::Create( // Fix for Qt WebEngine Crash when QSG_RHI_BACKEND=opengl // Allow linux to run fuzzers. #if BUILDFLAG(ENABLE_VALIDATING_COMMAND_DECODER) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__context__state.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__context__state.cc index b8792a3e1bbc..5ba81572e078 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__context__state.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__context__state.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/gpu/command_buffer/service/shared_context_state.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/gpu/command_buffer/service/shared_context_state.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/command_buffer/service/shared_context_state.cc -@@ -56,7 +56,7 @@ +@@ -67,7 +67,7 @@ #include "gpu/vulkan/vulkan_implementation.h" #include "gpu/vulkan/vulkan_util.h" @@ -9,7 +9,7 @@ #include "gpu/command_buffer/service/external_semaphore_pool.h" #endif -@@ -287,7 +287,7 @@ SharedContextState::SharedContextState( +@@ -393,7 +393,7 @@ SharedContextState::SharedContextState( if (gr_context_type_ == GrContextType::kVulkan) { if (vk_context_provider_) { #if BUILDFLAG(ENABLE_VULKAN) && \ @@ -18,8 +18,8 @@ external_semaphore_pool_ = std::make_unique<ExternalSemaphorePool>(this); #endif use_virtualized_gl_contexts_ = false; -@@ -320,7 +320,7 @@ SharedContextState::~SharedContextState() { - transfer_cache_.reset(); +@@ -430,7 +430,7 @@ SharedContextState::~SharedContextState() { + } #if BUILDFLAG(ENABLE_VULKAN) && \ - (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_WIN)) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__context__state.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__context__state.h index 7bf1cb7bcbd1..14a1bbaa5e9f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__context__state.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__context__state.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/gpu/command_buffer/service/shared_context_state.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/gpu/command_buffer/service/shared_context_state.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/command_buffer/service/shared_context_state.h -@@ -222,7 +222,7 @@ class GPU_GLES2_EXPORT SharedContextState +@@ -235,7 +235,7 @@ class GPU_GLES2_EXPORT SharedContextState return &memory_type_tracker_; } #if BUILDFLAG(ENABLE_VULKAN) && \ @@ -9,7 +9,7 @@ ExternalSemaphorePool* external_semaphore_pool() { return external_semaphore_pool_.get(); } -@@ -429,7 +429,7 @@ class GPU_GLES2_EXPORT SharedContextState +@@ -448,7 +448,7 @@ class GPU_GLES2_EXPORT SharedContextState bool disable_check_reset_status_throttling_for_test_ = false; #if BUILDFLAG(ENABLE_VULKAN) && \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_angle__vulkan__image__backing__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_angle__vulkan__image__backing__factory.cc index 64eb7c550d54..3f59f0048d6e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_angle__vulkan__image__backing__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_angle__vulkan__image__backing__factory.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/angle_vulkan_image_backing_factory.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/angle_vulkan_image_backing_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/command_buffer/service/shared_image/angle_vulkan_image_backing_factory.cc -@@ -20,7 +20,7 @@ namespace { +@@ -20,7 +20,7 @@ constexpr SharedImageUsageSet kSupportedUsage = // TODO(penghuang): verify the scanout is the right usage for video playback. // crbug.com/1280798 constexpr SharedImageUsageSet kSupportedUsage = diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_external__vk__image__backing.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_external__vk__image__backing.cc index 732b6ad30ef4..602530196cdb 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_external__vk__image__backing.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_external__vk__image__backing.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/external_vk_image_backing.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/external_vk_image_backing.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/command_buffer/service/shared_image/external_vk_image_backing.cc -@@ -59,7 +59,7 @@ +@@ -57,7 +57,7 @@ #include "ui/gl/gl_version_info.h" #include "ui/gl/scoped_binders.h" @@ -9,7 +9,7 @@ #include "gpu/command_buffer/service/shared_image/external_vk_image_dawn_representation.h" #if BUILDFLAG(DAWN_ENABLE_BACKEND_OPENGLES) #include "gpu/command_buffer/service/shared_image/dawn_gl_texture_representation.h" -@@ -727,7 +727,7 @@ std::unique_ptr<DawnImageRepresentation> ExternalVkIma +@@ -702,7 +702,7 @@ std::unique_ptr<DawnImageRepresentation> ExternalVkIma wgpu::BackendType backend_type, std::vector<wgpu::TextureFormat> view_formats, scoped_refptr<SharedContextState> context_state) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc index 53b033d5dcf1..632e6f095a70 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_external__vk__image__backing__factory.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.cc -@@ -142,7 +142,7 @@ bool IsFormatSupported(viz::SharedImageFormat format, - } // namespace +@@ -168,7 +168,7 @@ SharedImageUsageSet SupportedUsage() { - constexpr SharedImageUsageSet kSupportedUsage = + SharedImageUsageSet SupportedUsage() { + SharedImageUsageSet supported_usage = -#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_DAWN) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DAWN) - SHARED_IMAGE_USAGE_WEBGPU_READ | SHARED_IMAGE_USAGE_WEBGPU_WRITE | - SHARED_IMAGE_USAGE_WEBGPU_SWAP_CHAIN_TEXTURE | - SHARED_IMAGE_USAGE_WEBGPU_STORAGE_TEXTURE | + SHARED_IMAGE_USAGE_WEBGPU_READ | SHARED_IMAGE_USAGE_WEBGPU_WRITE | + SHARED_IMAGE_USAGE_WEBGPU_SWAP_CHAIN_TEXTURE | + SHARED_IMAGE_USAGE_WEBGPU_STORAGE_TEXTURE | diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_shared__image__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_shared__image__factory.cc index 588bcc7b9c22..d705c3ad2c23 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_shared__image__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_shared__image__factory.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/shared_image_factory.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/shared_image_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/command_buffer/service/shared_image/shared_image_factory.cc -@@ -48,7 +48,7 @@ +@@ -49,7 +49,7 @@ #include "gpu/command_buffer/service/shared_image/angle_vulkan_image_backing_factory.h" #include "gpu/vulkan/vulkan_device_queue.h" @@ -9,7 +9,7 @@ #include "gpu/command_buffer/service/shared_image/external_vk_image_backing_factory.h" #endif -@@ -112,7 +112,7 @@ gfx::GpuMemoryBufferType GetNativeBufferType() { +@@ -113,7 +113,7 @@ gfx::GpuMemoryBufferType GetNativeBufferType() { return gfx::GpuMemoryBufferType::IO_SURFACE_BUFFER; #elif BUILDFLAG(IS_ANDROID) return gfx::GpuMemoryBufferType::ANDROID_HARDWARE_BUFFER; @@ -18,7 +18,7 @@ return gfx::GpuMemoryBufferType::NATIVE_PIXMAP; #elif BUILDFLAG(IS_WIN) return gfx::GpuMemoryBufferType::DXGI_SHARED_HANDLE; -@@ -333,7 +333,7 @@ SharedImageFactory::SharedImageFactory( +@@ -335,7 +335,7 @@ SharedImageFactory::SharedImageFactory( context_state_, workarounds_); factories_.push_back(std::move(ozone_factory)); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_shared__image__manager.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_shared__image__manager.cc index 2933a1efa697..80a4cdb92ce4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_shared__image__manager.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_shared__image__manager.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/shared_image_manager.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/shared_image_manager.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/command_buffer/service/shared_image/shared_image_manager.cc -@@ -603,7 +603,7 @@ bool SharedImageManager::SupportsScanoutImages() { +@@ -756,7 +756,7 @@ bool SharedImageManager::SupportsScanoutImages() { return true; #elif BUILDFLAG(IS_ANDROID) return base::AndroidHardwareBufferCompat::IsSupportAvailable(); -#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) +#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) - return ui::OzonePlatform::GetInstance() - ->GetPlatformRuntimeProperties() - .supports_native_pixmaps; + // We are in the process of tightening scanout support on Ozone to be guarded + // by overlays being supported rather than merely native pixmaps being + // supported, as native pixmap support doesn't always imply that those native diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_wrapped__sk__image__backing.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_wrapped__sk__image__backing.cc index 570400dcb3ad..a6e7e313bd41 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_wrapped__sk__image__backing.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_shared__image_wrapped__sk__image__backing.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/wrapped_sk_image_backing.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/gpu/command_buffer/service/shared_image/wrapped_sk_image_backing.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/command_buffer/service/shared_image/wrapped_sk_image_backing.cc @@ -214,7 +214,7 @@ bool WrappedSkImageBacking::Initialize(const std::stri diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_webgpu__decoder__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_webgpu__decoder__impl.cc index 3ce737287558..b296b96c9afd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_webgpu__decoder__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_command__buffer_service_webgpu__decoder__impl.cc @@ -1,15 +1,15 @@ ---- src/3rdparty/chromium/gpu/command_buffer/service/webgpu_decoder_impl.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/gpu/command_buffer/service/webgpu_decoder_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/command_buffer/service/webgpu_decoder_impl.cc -@@ -1309,7 +1309,7 @@ WGPUFuture WebGPUDecoderImpl::RequestAdapterImpl( - force_fallback_adapter = true; - } - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - if (!shared_context_state_->GrContextIsVulkan() && - !shared_context_state_->IsGraphiteDawnVulkan() && - use_webgpu_adapter_ != WebGPUAdapterName::kOpenGLES) { -@@ -1978,7 +1978,7 @@ WebGPUDecoderImpl::AssociateMailboxDawn( +@@ -1752,7 +1752,7 @@ wgpu::Adapter WebGPUDecoderImpl::CreatePreferredAdapte + backend_types = {wgpu::BackendType::D3D12}; + #elif BUILDFLAG(IS_MAC) + backend_types = {wgpu::BackendType::Metal}; +-#elif BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + if (shared_context_state_->GrContextIsVulkan() || + shared_context_state_->IsGraphiteDawnVulkan()) { + backend_types = {wgpu::BackendType::Vulkan}; +@@ -1994,7 +1994,7 @@ WebGPUDecoderImpl::AssociateMailboxDawn( } #if !BUILDFLAG(IS_WIN) && !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_APPLE) && \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_config_gpu__control__list.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_config_gpu__control__list.cc index 45c3e133775c..5177bd8b0793 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_config_gpu__control__list.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_config_gpu__control__list.cc @@ -1,15 +1,6 @@ ---- src/3rdparty/chromium/gpu/config/gpu_control_list.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/gpu/config/gpu_control_list.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/config/gpu_control_list.cc -@@ -282,7 +282,7 @@ bool GpuControlList::More::GLVersionInfoMismatch( - GpuControlList::GLType GpuControlList::More::GetDefaultGLType() { - #if BUILDFLAG(IS_CHROMEOS) - return kGLTypeGL; --#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_OPENBSD) -+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - return kGLTypeGL; - #elif BUILDFLAG(IS_MAC) - return kGLTypeGL; -@@ -819,7 +819,7 @@ GpuControlList::OsType GpuControlList::GetOsType() { +@@ -831,7 +831,7 @@ GpuControlList::OsType GpuControlList::GetOsType() { return kOsAndroid; #elif BUILDFLAG(IS_FUCHSIA) return kOsFuchsia; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_config_gpu__finch__features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_config_gpu__finch__features.cc index 737b7e3aa0ae..89c19211b4c4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_config_gpu__finch__features.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_config_gpu__finch__features.cc @@ -1,20 +1,12 @@ ---- src/3rdparty/chromium/gpu/config/gpu_finch_features.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/gpu/config/gpu_finch_features.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/config/gpu_finch_features.cc -@@ -148,7 +148,7 @@ const base::FeatureParam<std::string> +@@ -154,7 +154,8 @@ BASE_FEATURE(kAllowHardwareBufferUsageFlagsFromVulkanF // DefaultEnableGpuRasterization has launched on Mac, Windows, ChromeOS, // Android and Linux. #if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) -+ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) ++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || \ ++ BUILDFLAG(IS_BSD) BASE_FEATURE(kDefaultEnableGpuRasterization, "DefaultEnableGpuRasterization", base::FEATURE_ENABLED_BY_DEFAULT); -@@ -162,7 +162,7 @@ BASE_FEATURE(kDefaultEnableGpuRasterization, - // Enables the use of out of process rasterization for canvas. - #if BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_IOS) || BUILDFLAG(IS_WIN) || \ - (BUILDFLAG(IS_MAC) && defined(ARCH_CPU_ARM64)) || BUILDFLAG(IS_ANDROID) || \ -- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) -+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - BASE_FEATURE(kCanvasOopRasterization, - "CanvasOopRasterization", - base::FEATURE_ENABLED_BY_DEFAULT); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_config_gpu__info__collector.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_config_gpu__info__collector.cc index 95d45de86202..055ee3e91149 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_config_gpu__info__collector.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_config_gpu__info__collector.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/gpu/config/gpu_info_collector.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/gpu/config/gpu_info_collector.cc.orig 2025-09-01 18:56:10 UTC +++ src/3rdparty/chromium/gpu/config/gpu_info_collector.cc -@@ -368,7 +368,7 @@ void ReportWebGPUAdapterMetrics(dawn::native::Instance +@@ -358,7 +358,7 @@ void ReportWebGPUSupportMetrics(dawn::native::Instance + } + void ReportWebGPUSupportMetrics(dawn::native::Instance* instance) { - static BASE_FEATURE(kCollectWebGPUSupportMetrics, - "CollectWebGPUSupportMetrics", -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + static BASE_FEATURE(kCollectWebGPUSupportMetrics, + "CollectWebGPUSupportMetrics", base::FEATURE_DISABLED_BY_DEFAULT); - #else - base::FEATURE_ENABLED_BY_DEFAULT); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_config_gpu__test__config.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_config_gpu__test__config.cc index 69b66e8cf45d..149d310cf36f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_config_gpu__test__config.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_config_gpu__test__config.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/gpu/config/gpu_test_config.cc.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/gpu/config/gpu_test_config.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/config/gpu_test_config.cc @@ -29,7 +29,7 @@ GPUTestConfig::OS GetCurrentOS() { #if BUILDFLAG(IS_CHROMEOS_ASH) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_common_gpu__memory__buffer__support.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_common_gpu__memory__buffer__support.cc index 20f42950aedc..76181c0255d6 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_common_gpu__memory__buffer__support.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_common_gpu__memory__buffer__support.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/gpu/ipc/common/gpu_memory_buffer_support.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/gpu/ipc/common/gpu_memory_buffer_support.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/ipc/common/gpu_memory_buffer_support.cc @@ -26,7 +26,7 @@ #include "ui/ozone/public/ozone_platform.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_common_gpu__memory__buffer__support.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_common_gpu__memory__buffer__support.h index 9744deb2ad0b..2de24485977c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_common_gpu__memory__buffer__support.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_common_gpu__memory__buffer__support.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/gpu/ipc/common/gpu_memory_buffer_support.h.orig 2023-08-17 07:33:31 UTC +--- src/3rdparty/chromium/gpu/ipc/common/gpu_memory_buffer_support.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/ipc/common/gpu_memory_buffer_support.h @@ -21,7 +21,7 @@ #include "ui/gfx/geometry/size.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_service_gpu__init.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_service_gpu__init.cc index a5c5e3cf4a66..26b093dfec5d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_service_gpu__init.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_service_gpu__init.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/gpu/ipc/service/gpu_init.cc.orig 2025-08-18 00:53:11 UTC +--- src/3rdparty/chromium/gpu/ipc/service/gpu_init.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/ipc/service/gpu_init.cc -@@ -401,7 +401,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL +@@ -407,7 +407,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL enable_watchdog = false; #endif @@ -9,7 +9,7 @@ bool gpu_sandbox_start_early = gpu_preferences_.gpu_sandbox_start_early; #else // !(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) // For some reasons MacOSX's VideoToolbox might crash when called after -@@ -438,7 +438,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL +@@ -445,7 +445,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL } bool attempted_startsandbox = false; @@ -18,7 +18,7 @@ // On Chrome OS ARM Mali, GPU driver userspace creates threads when // initializing a GL context, so start the sandbox early. // TODO(zmo): Need to collect OS version before this. -@@ -542,7 +542,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL +@@ -545,7 +545,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL gpu_preferences_.gr_context_type = GrContextType::kGL; } @@ -27,7 +27,7 @@ // The ContentSandboxHelper is currently the only one implementation of // GpuSandboxHelper and it has no dependency. Except on Linux where // VaapiWrapper checks the GL implementation to determine which display -@@ -624,7 +624,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL +@@ -627,7 +627,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL command_line, gpu_feature_info_, gpu_preferences_.disable_software_rasterizer, false); if (gl_use_swiftshader_) { @@ -36,7 +36,7 @@ VLOG(1) << "Quit GPU process launch to fallback to SwiftShader cleanly " << "on Linux"; return false; -@@ -775,7 +775,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL +@@ -797,7 +797,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL InitializePlatformOverlaySettings(&gpu_info_, gpu_feature_info_); @@ -45,7 +45,7 @@ // Driver may create a compatibility profile context when collect graphics // information on Linux platform. Try to collect graphics information // based on core profile context after disabling platform extensions. -@@ -830,7 +830,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL +@@ -849,7 +849,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL } } } @@ -54,7 +54,7 @@ (BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_CHROMEOS_DEVICE)) if (!gl_disabled && !gl_use_swiftshader_ && std::getenv("RUNNING_UNDER_RR")) { // https://rr-project.org/ is a Linux-only record-and-replay debugger that -@@ -1015,7 +1015,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c +@@ -1046,7 +1046,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c } bool gl_disabled = gl::GetGLImplementation() == gl::kGLImplementationDisabled; @@ -63,7 +63,7 @@ (BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_CHROMEOS_DEVICE)) if (!gl_disabled && !gl_use_swiftshader_ && std::getenv("RUNNING_UNDER_RR")) { // https://rr-project.org/ is a Linux-only record-and-replay debugger that -@@ -1076,7 +1076,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c +@@ -1107,7 +1107,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c } } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_service_gpu__memory__buffer__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_service_gpu__memory__buffer__factory.cc index 6379ea958d54..3b12e36a9684 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_service_gpu__memory__buffer__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_service_gpu__memory__buffer__factory.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/gpu/ipc/service/gpu_memory_buffer_factory.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/gpu/ipc/service/gpu_memory_buffer_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/ipc/service/gpu_memory_buffer_factory.cc @@ -14,7 +14,7 @@ #include "gpu/ipc/service/gpu_memory_buffer_factory_io_surface.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_service_x__util.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_service_x__util.h index 0aa61e2f3dc4..ca76b876874e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_service_x__util.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_service_x__util.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/gpu/ipc/service/x_util.h.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/gpu/ipc/service/x_util.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/ipc/service/x_util.h @@ -12,7 +12,7 @@ #include "gpu/ipc/service/gpu_config.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_generate__bindings.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_generate__bindings.py index 49999857ae41..41ce74d3a932 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_generate__bindings.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_generate__bindings.py @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/gpu/vulkan/generate_bindings.py.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/gpu/vulkan/generate_bindings.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/vulkan/generate_bindings.py @@ -271,7 +271,7 @@ VULKAN_DEVICE_FUNCTIONS = [ ] diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_semaphore__handle.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_semaphore__handle.cc index 3519fd1d0e8a..45cb85ed0420 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_semaphore__handle.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_semaphore__handle.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/gpu/vulkan/semaphore_handle.cc.orig 2023-11-03 10:09:45 UTC +--- src/3rdparty/chromium/gpu/vulkan/semaphore_handle.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/vulkan/semaphore_handle.cc @@ -39,7 +39,7 @@ SemaphoreHandle::SemaphoreHandle(gfx::GpuFenceHandle f // https://fuchsia.dev/reference/fidl/fuchsia.ui.scenic. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__device__queue.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__device__queue.cc index d638ba9fbf59..06a7ddfcd5c4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__device__queue.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__device__queue.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/gpu/vulkan/vulkan_device_queue.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/gpu/vulkan/vulkan_device_queue.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/vulkan/vulkan_device_queue.cc -@@ -154,7 +154,7 @@ bool VulkanDeviceQueue::Initialize( +@@ -156,7 +156,7 @@ bool VulkanDeviceQueue::Initialize( // In dual-CPU cases, we cannot detect the active GPU correctly on Linux, // so don't select GPU device based on the |gpu_info|. @@ -9,7 +9,7 @@ // If gpu_info is provided, the device should match it. if (gpu_info && (device_properties.vendorID != gpu_info->gpu.vendor_id || device_properties.deviceID != gpu_info->gpu.device_id)) { -@@ -297,7 +297,7 @@ bool VulkanDeviceQueue::Initialize( +@@ -303,7 +303,7 @@ bool VulkanDeviceQueue::Initialize( // Android, Fuchsia, Linux, and CrOS (VaapiVideoDecoder) need YCbCr sampler // support. #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__device__queue.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__device__queue.h index 0fca3b07e822..cb386edaa792 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__device__queue.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__device__queue.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/gpu/vulkan/vulkan_device_queue.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/gpu/vulkan/vulkan_device_queue.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/vulkan/vulkan_device_queue.h -@@ -179,7 +179,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanDeviceQueue +@@ -182,7 +182,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanDeviceQueue #endif #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__function__pointers.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__function__pointers.cc index 12f39df011ba..0d351084ae84 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__function__pointers.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__function__pointers.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/gpu/vulkan/vulkan_function_pointers.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/gpu/vulkan/vulkan_function_pointers.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/vulkan/vulkan_function_pointers.cc @@ -1297,7 +1297,7 @@ bool VulkanFunctionPointers::BindDeviceFunctionPointer } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__function__pointers.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__function__pointers.h index 14a2fc7796a5..42cbe22296d9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__function__pointers.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__function__pointers.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/gpu/vulkan/vulkan_function_pointers.h.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/gpu/vulkan/vulkan_function_pointers.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/vulkan/vulkan_function_pointers.h @@ -322,7 +322,7 @@ struct COMPONENT_EXPORT(VULKAN) VulkanFunctionPointers VulkanFunction<PFN_vkGetSwapchainImagesKHR> vkGetSwapchainImagesKHR; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__image.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__image.h index 65741e656c87..743debee621d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__image.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__image.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/gpu/vulkan/vulkan_image.h.orig 2023-02-08 09:03:45 UTC +--- src/3rdparty/chromium/gpu/vulkan/vulkan_image.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/vulkan/vulkan_image.h @@ -87,7 +87,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanImage { VkImageUsageFlags usage, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__util.cc index b9481540ee1e..d55c1dbb6529 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_vulkan_vulkan__util.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/gpu/vulkan/vulkan_util.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/gpu/vulkan/vulkan_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/gpu/vulkan/vulkan_util.cc -@@ -473,7 +473,7 @@ bool CheckVulkanCompatibilities( +@@ -468,7 +468,7 @@ bool CheckVulkanCompatibilities( } } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_browser_headless__browser__main__parts__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_browser_headless__browser__main__parts__posix.cc index 2579ca453b33..bee5452122fe 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_browser_headless__browser__main__parts__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_browser_headless__browser__main__parts__posix.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/headless/lib/browser/headless_browser_main_parts_posix.cc.orig 2023-10-11 18:22:24 UTC +--- src/3rdparty/chromium/headless/lib/browser/headless_browser_main_parts_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/headless/lib/browser/headless_browser_main_parts_posix.cc -@@ -21,13 +21,13 @@ +@@ -27,13 +27,13 @@ #include "content/public/browser/browser_thread.h" #include "headless/lib/browser/headless_browser_impl.h" @@ -11,12 +11,12 @@ #include "components/os_crypt/sync/os_crypt.h" #include "headless/public/switches.h" --#if defined(USE_DBUS) -+#if defined(USE_DBUS) && !BUILDFLAG(IS_BSD) +-#if BUILDFLAG(USE_DBUS) ++#if BUILDFLAG(USE_DBUS) && !BUILDFLAG(IS_BSD) #include "device/bluetooth/dbus/bluez_dbus_manager.h" #endif -@@ -161,7 +161,7 @@ class BrowserShutdownHandler { +@@ -167,7 +167,7 @@ class BrowserShutdownHandler { } // namespace @@ -25,15 +25,15 @@ constexpr char kProductName[] = "HeadlessChrome"; #endif -@@ -169,9 +169,9 @@ void HeadlessBrowserMainParts::PostCreateMainMessageLo +@@ -175,9 +175,9 @@ void HeadlessBrowserMainParts::PostCreateMainMessageLo BrowserShutdownHandler::Install(base::BindOnce( &HeadlessBrowserImpl::ShutdownWithExitCode, browser_->GetWeakPtr())); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) --#if defined(USE_DBUS) -+#if defined(USE_DBUS) && !BUILDFLAG(IS_BSD) +-#if BUILDFLAG(USE_DBUS) ++#if BUILDFLAG(USE_DBUS) && !BUILDFLAG(IS_BSD) bluez::BluezDBusManager::Initialize(/*system_bus=*/nullptr); #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_browser_headless__content__browser__client.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_browser_headless__content__browser__client.cc index 6b3022305d31..c9951837dc50 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_browser_headless__content__browser__client.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_browser_headless__content__browser__client.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/headless/lib/browser/headless_content_browser_client.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/headless/lib/browser/headless_content_browser_client.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/headless/lib/browser/headless_content_browser_client.cc @@ -56,7 +56,7 @@ #include "content/public/common/content_descriptors.h" @@ -9,7 +9,7 @@ #include "components/os_crypt/sync/os_crypt.h" // nogncheck #include "content/public/browser/network_service_util.h" #endif -@@ -478,7 +478,7 @@ void HeadlessContentBrowserClient::HandleExplicitlyAll +@@ -518,7 +518,7 @@ void HeadlessContentBrowserClient::SetEncryptionKey( void HeadlessContentBrowserClient::SetEncryptionKey( ::network::mojom::NetworkService* network_service) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_browser_headless__content__browser__client.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_browser_headless__content__browser__client.h index fb0b4ee124b9..f224fc26b791 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_browser_headless__content__browser__client.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_browser_headless__content__browser__client.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/headless/lib/browser/headless_content_browser_client.h.orig 2023-01-11 09:17:16 UTC +--- src/3rdparty/chromium/headless/lib/browser/headless_content_browser_client.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/headless/lib/browser/headless_content_browser_client.h -@@ -45,7 +45,7 @@ class HeadlessContentBrowserClient : public content::C +@@ -46,7 +46,7 @@ class HeadlessContentBrowserClient : public content::C CreateDevToolsManagerDelegate() override; content::GeneratedCodeCacheSettings GetGeneratedCodeCacheSettings( content::BrowserContext* context) override; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_browser_headless__web__contents__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_browser_headless__web__contents__impl.cc index c33e7efe47e4..439d2ffb0602 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_browser_headless__web__contents__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_browser_headless__web__contents__impl.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/headless/lib/browser/headless_web_contents_impl.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/headless/lib/browser/headless_web_contents_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/headless/lib/browser/headless_web_contents_impl.cc -@@ -62,7 +62,7 @@ namespace headless { +@@ -71,7 +71,7 @@ void UpdatePrefsFromSystemSettings(blink::RendererPref namespace { void UpdatePrefsFromSystemSettings(blink::RendererPreferences* prefs) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_headless__content__main__delegate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_headless__content__main__delegate.cc index 7f0d826a4534..52e20a639fb4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_headless__content__main__delegate.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_headless_lib_headless__content__main__delegate.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/headless/lib/headless_content_main_delegate.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/headless/lib/headless_content_main_delegate.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/headless/lib/headless_content_main_delegate.cc -@@ -406,7 +406,7 @@ void HeadlessContentMainDelegate::InitCrashReporter( +@@ -408,7 +408,7 @@ void HeadlessContentMainDelegate::InitCrashReporter( if (process_type != ::switches::kZygoteProcess) { g_headless_crash_client.Pointer()->set_crash_dumps_dir( command_line.GetSwitchValuePath(switches::kCrashDumpsDir)); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__channel.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__channel.h index 6fa14e316082..e5542565bd6e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__channel.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__channel.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ipc/ipc_channel.h.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/ipc/ipc_channel.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ipc/ipc_channel.h @@ -218,7 +218,7 @@ class COMPONENT_EXPORT(IPC) Channel : public Sender { static std::string GenerateUniqueRandomChannelID(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__channel__common.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__channel__common.cc index df21c9d33938..060ad145aede 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__channel__common.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__channel__common.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ipc/ipc_channel_common.cc.orig 2023-02-08 09:03:45 UTC +--- src/3rdparty/chromium/ipc/ipc_channel_common.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ipc/ipc_channel_common.cc -@@ -10,7 +10,7 @@ +@@ -10,7 +10,7 @@ namespace IPC { namespace IPC { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__channel__mojo.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__channel__mojo.cc index 87a824e0d1e0..c1fceeef0f1d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__channel__mojo.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__channel__mojo.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ipc/ipc_channel_mojo.cc.orig 2023-02-08 09:03:45 UTC +--- src/3rdparty/chromium/ipc/ipc_channel_mojo.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ipc/ipc_channel_mojo.cc -@@ -105,7 +105,7 @@ class ThreadSafeChannelProxy : public mojo::ThreadSafe +@@ -105,7 +105,7 @@ base::ProcessId GetSelfPID() { }; base::ProcessId GetSelfPID() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__message__utils.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__message__utils.cc index 2757114815b8..551fbe95a52f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__message__utils.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__message__utils.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ipc/ipc_message_utils.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/ipc/ipc_message_utils.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ipc/ipc_message_utils.cc -@@ -400,7 +400,7 @@ void ParamTraits<unsigned int>::Log(const param_type& +@@ -399,7 +399,7 @@ void ParamTraits<unsigned int>::Log(const param_type& } #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__message__utils.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__message__utils.h index 3d888396fc42..65dc3b21ee1c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__message__utils.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ipc_ipc__message__utils.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ipc/ipc_message_utils.h.orig 2022-09-24 10:57:32 UTC +--- src/3rdparty/chromium/ipc/ipc_message_utils.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ipc/ipc_message_utils.h -@@ -214,7 +214,7 @@ struct ParamTraits<unsigned int> { +@@ -215,7 +215,7 @@ struct ParamTraits<unsigned int> { // Since we want to support Android 32<>64 bit IPC, as long as we don't have // these traits for 32 bit ARM then that'll catch any errors. #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_BUILD.gn index 7d733e317cf2..b88328728ff8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/media/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/BUILD.gn -@@ -100,6 +100,9 @@ config("media_config") { +@@ -103,6 +103,9 @@ config("media_config") { defines += [ "DLOPEN_PULSEAUDIO" ] } } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_audio_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_audio_BUILD.gn index b38521813a89..c9edc6af83f4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_audio_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_audio_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/audio/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/media/audio/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/audio/BUILD.gn -@@ -267,9 +267,23 @@ jumbo_source_set("audio") { +@@ -272,9 +272,23 @@ jumbo_source_set("audio") { deps += [ "//media/base/android:media_jni_headers" ] } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_audio_alsa_audio__manager__alsa.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_audio_alsa_audio__manager__alsa.cc index 712074c6560e..8db2f862dc84 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_audio_alsa_audio__manager__alsa.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_audio_alsa_audio__manager__alsa.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/audio/alsa/audio_manager_alsa.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/media/audio/alsa/audio_manager_alsa.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/audio/alsa/audio_manager_alsa.cc -@@ -100,7 +100,9 @@ void AudioManagerAlsa::GetAlsaAudioDevices(StreamType +@@ -106,7 +106,9 @@ void AudioManagerAlsa::GetAlsaAudioDevices(StreamType int card = -1; // Loop through the physical sound cards to get ALSA device hints. @@ -10,7 +10,7 @@ void** hints = NULL; int error = wrapper_->DeviceNameHint(card, kPcmInterfaceName, &hints); if (!error) { -@@ -112,7 +114,9 @@ void AudioManagerAlsa::GetAlsaAudioDevices(StreamType +@@ -118,7 +120,9 @@ void AudioManagerAlsa::GetAlsaAudioDevices(StreamType DLOG(WARNING) << "GetAlsaAudioDevices: unable to get device hints: " << wrapper_->StrError(error); } @@ -20,7 +20,7 @@ } void AudioManagerAlsa::GetAlsaDevicesInfo(AudioManagerAlsa::StreamType type, -@@ -195,7 +199,11 @@ bool AudioManagerAlsa::IsAlsaDeviceAvailable( +@@ -201,7 +205,11 @@ bool AudioManagerAlsa::IsAlsaDeviceAvailable( // goes through software conversion if needed (e.g. incompatible // sample rate). // TODO(joi): Should we prefer "hw" instead? @@ -32,7 +32,7 @@ return strncmp(kDeviceTypeDesired, device_name, std::size(kDeviceTypeDesired) - 1) == 0; } -@@ -247,7 +255,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDevice( +@@ -253,7 +261,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDevice( // Loop through the sound cards. // Don't use snd_device_name_hint(-1,..) since there is an access violation // inside this ALSA API with libasound.so.2.0.0. @@ -42,7 +42,7 @@ int error = wrapper_->DeviceNameHint(card, kPcmInterfaceName, &hints); if (!error) { for (void** hint_iter = hints; *hint_iter != NULL; hint_iter++) { -@@ -271,7 +281,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDevice( +@@ -277,7 +287,9 @@ bool AudioManagerAlsa::HasAnyAlsaAudioDevice( DLOG(WARNING) << "HasAnyAudioDevice: unable to get device hints: " << wrapper_->StrError(error); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_audio_audio__input__device.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_audio_audio__input__device.cc index 0cbac1b06dd1..c47cbab8f9d4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_audio_audio__input__device.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_audio_audio__input__device.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/audio/audio_input_device.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/media/audio/audio_input_device.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/audio/audio_input_device.cc -@@ -269,7 +269,7 @@ void AudioInputDevice::OnStreamCreated( +@@ -275,7 +275,7 @@ void AudioInputDevice::OnStreamCreated( // here. See comments in AliveChecker and PowerObserverHelper for details and // todos. if (detect_dead_stream_ == DeadStreamDetection::kEnabled) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_audio_pulse_pulse__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_audio_pulse_pulse__util.cc index d8c2a047b67e..625df0bae9dd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_audio_pulse_pulse__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_audio_pulse_pulse__util.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/audio/pulse/pulse_util.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/media/audio/pulse/pulse_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/audio/pulse/pulse_util.cc -@@ -50,7 +50,11 @@ constexpr char kBrowserDisplayName[] = "chromium-brows +@@ -50,7 +50,11 @@ static const base::FilePath::CharType kPulseLib[] = #if defined(DLOPEN_PULSEAUDIO) static const base::FilePath::CharType kPulseLib[] = diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_audio__latency.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_audio__latency.cc index 66f6db8fe0aa..4b5ab24a8a78 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_audio__latency.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_audio__latency.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/base/audio_latency.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/media/base/audio_latency.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/base/audio_latency.cc @@ -148,7 +148,7 @@ int AudioLatency::GetRtcBufferSize(int sample_rate, in } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_libaom__thread__wrapper.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_libaom__thread__wrapper.cc index 05c8dcc47ef2..d38dd3073747 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_libaom__thread__wrapper.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_libaom__thread__wrapper.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/base/libaom_thread_wrapper.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/media/base/libaom_thread_wrapper.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/base/libaom_thread_wrapper.cc @@ -5,17 +5,21 @@ #include "base/logging.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_media__switches.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_media__switches.cc index c9b7eace90cc..d83bddbb07f2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_media__switches.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_media__switches.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/base/media_switches.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/media/base/media_switches.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/base/media_switches.cc -@@ -21,7 +21,7 @@ +@@ -20,7 +20,7 @@ #include "ui/gl/gl_features.h" #include "ui/gl/gl_utils.h" @@ -9,7 +9,7 @@ #include "base/cpu.h" #endif -@@ -376,8 +376,8 @@ BASE_FEATURE(kUseSCContentSharingPicker, +@@ -372,8 +372,8 @@ BASE_FEATURE(kUseSCContentSharingPicker, "UseSCContentSharingPicker", base::FEATURE_DISABLED_BY_DEFAULT); #endif // BUILDFLAG(IS_MAC) @@ -20,7 +20,7 @@ // Enables system audio mirroring using pulseaudio. BASE_FEATURE(kPulseaudioLoopbackForCast, "PulseaudioLoopbackForCast", -@@ -387,6 +387,28 @@ BASE_FEATURE(kPulseaudioLoopbackForScreenShare, +@@ -383,6 +383,28 @@ BASE_FEATURE(kPulseaudioLoopbackForScreenShare, BASE_FEATURE(kPulseaudioLoopbackForScreenShare, "PulseaudioLoopbackForScreenShare", base::FEATURE_DISABLED_BY_DEFAULT); @@ -49,7 +49,7 @@ #endif // BUILDFLAG(IS_LINUX) // When enabled, MediaCapabilities will check with GPU Video Accelerator -@@ -688,7 +710,7 @@ BASE_FEATURE(kFileDialogsBlockPictureInPicture, +@@ -630,7 +652,7 @@ BASE_FEATURE(kFileDialogsBlockPictureInPicture, #endif // !BUILDFLAG(IS_ANDROID) // Show toolbar button that opens dialog for controlling media sessions. @@ -58,7 +58,7 @@ BASE_FEATURE(kGlobalMediaControls, "GlobalMediaControls", base::FEATURE_ENABLED_BY_DEFAULT); -@@ -712,7 +734,7 @@ BASE_FEATURE(kGlobalMediaControlsUpdatedUI, +@@ -654,7 +676,7 @@ BASE_FEATURE(kGlobalMediaControlsUpdatedUI, #if !BUILDFLAG(IS_ANDROID) // If enabled, users can request Media Remoting without fullscreen-in-tab. @@ -67,7 +67,7 @@ BASE_FEATURE(kMediaRemotingWithoutFullscreen, "MediaRemotingWithoutFullscreen", base::FEATURE_ENABLED_BY_DEFAULT); -@@ -725,7 +747,7 @@ BASE_FEATURE(kMediaRemotingWithoutFullscreen, +@@ -667,7 +689,7 @@ BASE_FEATURE(kMediaRemotingWithoutFullscreen, // Show picture-in-picture button in Global Media Controls. #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -76,25 +76,25 @@ BASE_FEATURE(kGlobalMediaControlsPictureInPicture, "GlobalMediaControlsPictureInPicture", base::FEATURE_ENABLED_BY_DEFAULT); -@@ -757,7 +779,7 @@ BASE_FEATURE(kUnifiedAutoplay, +@@ -699,7 +721,7 @@ BASE_FEATURE(kUnifiedAutoplay, "UnifiedAutoplay", base::FEATURE_ENABLED_BY_DEFAULT); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // Enable vaapi video decoding on linux. This is already enabled by default on - // chromeos, but needs an experiment on linux. - BASE_FEATURE(kVaapiVideoDecodeLinux, -@@ -860,7 +882,7 @@ BASE_FEATURE(kVSyncMjpegDecoding, + // Enable vaapi/v4l2 video decoding on linux. This is already enabled by default + // on chromeos, but needs an experiment on linux. + BASE_FEATURE(kAcceleratedVideoDecodeLinux, +@@ -808,7 +830,7 @@ BASE_FEATURE(kVSyncMjpegDecoding, "VSyncMjpegDecoding", base::FEATURE_DISABLED_BY_DEFAULT); #endif // defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // Enables the new V4L2StatefulVideoDecoder instead of V4L2VideoDecoder. - // Owners: frkoenig@chromium.org, mcasas@chromium.org - // Expiry: When the |V4L2FlatVideoDecoder| flag handles stateful decoding on -@@ -1505,7 +1527,7 @@ BASE_FEATURE(kUseGTFOOutOfProcessVideoDecoding, + // Enable H264 temporal layer encoding with V4L2 HW encoder on ChromeOS. + BASE_FEATURE(kV4L2H264TemporalLayerHWEncoding, + "V4L2H264TemporalLayerHWEncoding", +@@ -1379,7 +1401,7 @@ BASE_FEATURE(kUseGTFOOutOfProcessVideoDecoding, base::FEATURE_DISABLED_BY_DEFAULT); #endif // BUILDFLAG(ALLOW_OOP_VIDEO_DECODER) @@ -103,7 +103,7 @@ // Spawn utility processes to perform hardware encode acceleration instead of // using the GPU process. BASE_FEATURE(kUseOutOfProcessVideoEncoding, -@@ -1587,7 +1609,7 @@ BASE_FEATURE(kRecordWebAudioEngagement, +@@ -1463,7 +1485,7 @@ BASE_FEATURE(kRecordWebAudioEngagement, "RecordWebAudioEngagement", base::FEATURE_ENABLED_BY_DEFAULT); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_media__switches.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_media__switches.h index 108be0434e4d..9524d682bc65 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_media__switches.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_media__switches.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/base/media_switches.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/media/base/media_switches.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/base/media_switches.h -@@ -331,13 +331,25 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kPlatformHEVCEncoder +@@ -324,13 +324,25 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kPreloadMetadataSusp MEDIA_EXPORT BASE_DECLARE_FEATURE(kPlaybackSpeedButton); MEDIA_EXPORT BASE_DECLARE_FEATURE(kPreloadMediaEngagementData); MEDIA_EXPORT BASE_DECLARE_FEATURE(kPreloadMetadataSuspend); @@ -28,25 +28,25 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kReduceHardwareVideoDecoderBuffers); #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) MEDIA_EXPORT BASE_DECLARE_FEATURE(kResumeBackgroundVideo); -@@ -352,7 +364,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kUnifiedAutoplay); +@@ -344,7 +356,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseFakeDeviceForMed + MEDIA_EXPORT BASE_DECLARE_FEATURE(kUnifiedAutoplay); MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseAndroidOverlayForSecureOnly); - MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseDecoderStreamForWebRTC); MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseFakeDeviceForMediaStream); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiVideoDecodeLinux); - MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiVideoDecodeLinuxGL); - MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiVideoEncodeLinux); -@@ -373,7 +385,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiVp8TemporalLay + MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoDecodeLinux); + MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoDecodeLinuxGL); + MEDIA_EXPORT BASE_DECLARE_FEATURE(kAcceleratedVideoEncodeLinux); +@@ -366,7 +378,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kVSyncMjpegDecoding) MEDIA_EXPORT BASE_DECLARE_FEATURE(kVaapiVp9SModeHWEncoding); MEDIA_EXPORT BASE_DECLARE_FEATURE(kVSyncMjpegDecoding); #endif // defined(ARCH_CPU_X86_FAMILY) && BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - MEDIA_EXPORT BASE_DECLARE_FEATURE(kV4L2FlatStatefulVideoDecoder); MEDIA_EXPORT BASE_DECLARE_FEATURE(kV4L2H264TemporalLayerHWEncoding); #endif // BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) -@@ -513,7 +525,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseOutOfProcessVide + MEDIA_EXPORT BASE_DECLARE_FEATURE(kVideoBlitColorAccuracy); +@@ -497,7 +509,7 @@ MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseGTFOOutOfProcess MEDIA_EXPORT BASE_DECLARE_FEATURE(kUseGTFOOutOfProcessVideoDecoding); #endif // BUILDFLAG(ALLOW_OOP_VIDEO_DECODER) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_video__frame.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_video__frame.cc index 77c80da024bd..2f711fe192fb 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_video__frame.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_video__frame.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/base/video_frame.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/media/base/video_frame.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/base/video_frame.cc -@@ -88,7 +88,7 @@ std::string VideoFrame::StorageTypeToString( +@@ -92,7 +92,7 @@ std::string VideoFrame::StorageTypeToString( return "OWNED_MEMORY"; case VideoFrame::STORAGE_SHMEM: return "SHMEM"; @@ -9,7 +9,7 @@ case VideoFrame::STORAGE_DMABUFS: return "DMABUFS"; #endif -@@ -103,7 +103,7 @@ std::string VideoFrame::StorageTypeToString( +@@ -106,7 +106,7 @@ bool VideoFrame::IsStorageTypeMappable(VideoFrame::Sto // static bool VideoFrame::IsStorageTypeMappable(VideoFrame::StorageType storage_type) { return @@ -18,8 +18,8 @@ // This is not strictly needed but makes explicit that, at VideoFrame // level, DmaBufs are not mappable from userspace. storage_type != VideoFrame::STORAGE_DMABUFS && -@@ -401,7 +401,7 @@ VideoFrame::CreateFrameForGpuMemoryBufferOrMappableSII - : shared_image->GetStrideForVideoFrame(i); +@@ -420,7 +420,7 @@ VideoFrame::CreateFrameForGpuMemoryBufferOrMappableSII + plane_size.width() * VideoFrame::BytesPerElement(*format, plane); } uint64_t modifier = gfx::NativePixmapHandle::kNoModifier; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) @@ -27,7 +27,7 @@ bool is_native_buffer = gpu_memory_buffer ? (gpu_memory_buffer->GetType() != gfx::SHARED_MEMORY_BUFFER) -@@ -782,7 +782,7 @@ scoped_refptr<VideoFrame> VideoFrame::WrapExternalGpuM +@@ -938,7 +938,7 @@ scoped_refptr<VideoFrame> VideoFrame::WrapExternalGpuM return frame; } @@ -36,7 +36,7 @@ // static scoped_refptr<VideoFrame> VideoFrame::WrapExternalDmabufs( const VideoFrameLayout& layout, -@@ -1489,7 +1489,7 @@ scoped_refptr<gpu::ClientSharedImage> VideoFrame::shar +@@ -1623,7 +1623,7 @@ scoped_refptr<gpu::ClientSharedImage> VideoFrame::shar return wrapped_frame_ ? wrapped_frame_->shared_image() : shared_image_; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_video__frame.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_video__frame.h index 20cbc521aa09..e6960b86a245 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_video__frame.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_base_video__frame.h @@ -1,24 +1,24 @@ ---- src/3rdparty/chromium/media/base/video_frame.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/media/base/video_frame.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/base/video_frame.h -@@ -50,7 +50,7 @@ - #include "base/apple/scoped_cftyperef.h" - #endif // BUILDFLAG(IS_APPLE) +@@ -42,7 +42,7 @@ + #include "ui/gfx/geometry/size.h" + #include "ui/gfx/hdr_metadata.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "base/files/scoped_file.h" #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -@@ -116,7 +116,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte +@@ -88,7 +88,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte STORAGE_UNOWNED_MEMORY = 2, // External, non owned data pointers. STORAGE_OWNED_MEMORY = 3, // VideoFrame has allocated its own data buffer. STORAGE_SHMEM = 4, // Backed by read-only shared memory. -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - // TODO(mcasas): Consider turning this type into STORAGE_NATIVE - // based on the idea of using this same enum value for both DMA - // buffers on Linux and CVPixelBuffers on Mac (which currently use -@@ -393,7 +393,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte + STORAGE_DMABUFS = 5, // Each plane is stored into a DmaBuf. + #endif + STORAGE_GPU_MEMORY_BUFFER = 6, +@@ -435,7 +435,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte ReleaseMailboxAndGpuMemoryBufferCB mailbox_holder_and_gmb_release_cb, base::TimeDelta timestamp); @@ -27,7 +27,7 @@ // Wraps provided dmabufs // (https://www.kernel.org/doc/html/latest/driver-api/dma-buf.html) with a // VideoFrame. The frame will take ownership of |dmabuf_fds|, and will -@@ -711,7 +711,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte +@@ -745,7 +745,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte // wait for the included sync point. scoped_refptr<gpu::ClientSharedImage> shared_image() const; @@ -36,12 +36,12 @@ // The number of DmaBufs will be equal or less than the number of planes of // the frame. If there are less, this means that the last FD contains the // remaining planes. Should be > 0 for STORAGE_DMABUFS. -@@ -953,7 +953,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte +@@ -974,7 +974,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCounte // GpuMemoryBuffers. Clients will set this flag while creating a VideoFrame. bool is_mappable_si_enabled_ = false; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - // Dmabufs for the frame, used when storage is STORAGE_DMABUFS. Size is either // equal or less than the number of planes of the frame. If it is less, then + // the memory area represented by the last FD contains the remaining planes. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_create__video__capture__device__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_create__video__capture__device__factory.cc index 1c2bb92fa122..ccf44146bc6a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_create__video__capture__device__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_create__video__capture__device__factory.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/capture/video/create_video_capture_device_factory.cc.orig 2023-03-09 06:31:50 UTC +--- src/3rdparty/chromium/media/capture/video/create_video_capture_device_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/capture/video/create_video_capture_device_factory.cc @@ -13,7 +13,7 @@ #include "media/capture/video/fake_video_capture_device_factory.h" @@ -9,7 +9,7 @@ #include "media/capture/video/linux/video_capture_device_factory_linux.h" #elif BUILDFLAG(IS_CHROMEOS_ASH) #include "media/capture/video/chromeos/public/cros_features.h" -@@ -56,7 +56,7 @@ CreateFakeVideoCaptureDeviceFactory() { +@@ -56,7 +56,7 @@ CreatePlatformSpecificVideoCaptureDeviceFactory( std::unique_ptr<VideoCaptureDeviceFactory> CreatePlatformSpecificVideoCaptureDeviceFactory( scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_fake__video__capture__device__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_fake__video__capture__device__factory.cc index b12bab7e6532..72357c833876 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_fake__video__capture__device__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_fake__video__capture__device__factory.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/capture/video/fake_video_capture_device_factory.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/media/capture/video/fake_video_capture_device_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/capture/video/fake_video_capture_device_factory.cc @@ -231,7 +231,7 @@ void FakeVideoCaptureDeviceFactory::GetDevicesInfo( int entry_index = 0; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_file__video__capture__device__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_file__video__capture__device__factory.cc index 8617d9fbb13c..417dcebdbb8d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_file__video__capture__device__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_file__video__capture__device__factory.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/capture/video/file_video_capture_device_factory.cc.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/media/capture/video/file_video_capture_device_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/capture/video/file_video_capture_device_factory.cc @@ -52,7 +52,7 @@ void FileVideoCaptureDeviceFactory::GetDevicesInfo( VideoCaptureApi::WIN_DIRECT_SHOW; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_fake__v4l2__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_fake__v4l2__impl.cc index ede62bdf3186..64004e20b766 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_fake__v4l2__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_fake__v4l2__impl.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/capture/video/linux/fake_v4l2_impl.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/media/capture/video/linux/fake_v4l2_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/capture/video/linux/fake_v4l2_impl.cc -@@ -562,7 +562,7 @@ int FakeV4L2Impl::close(int fd) { +@@ -569,7 +569,7 @@ int FakeV4L2Impl::close(int fd) { return kSuccessReturnValue; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_fake__v4l2__impl.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_fake__v4l2__impl.h index 08dd4ff954b9..f68dd5bc4797 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_fake__v4l2__impl.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_fake__v4l2__impl.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/capture/video/linux/fake_v4l2_impl.h.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/media/capture/video/linux/fake_v4l2_impl.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/capture/video/linux/fake_v4l2_impl.h @@ -8,7 +8,13 @@ #include <map> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.cc index a8b590190a3c..31de4718c96e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_delegate.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_delegate.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_delegate.cc -@@ -5,8 +5,10 @@ +@@ -10,8 +10,10 @@ #include "media/capture/video/linux/v4l2_capture_delegate.h" #include <fcntl.h> @@ -11,7 +11,7 @@ #include <poll.h> #include <sys/ioctl.h> #include <sys/mman.h> -@@ -29,17 +31,19 @@ +@@ -34,17 +36,19 @@ #include "media/capture/video/blob_utils.h" #include "media/capture/video/linux/video_capture_device_linux.h" @@ -32,7 +32,7 @@ // TODO(aleksandar.stojiljkovic): Wrap this with kernel version check once the // format is introduced to kernel. -@@ -49,6 +53,14 @@ using media::mojom::MeteringMode; +@@ -54,6 +58,14 @@ using media::mojom::MeteringMode; #define V4L2_PIX_FMT_INVZ v4l2_fourcc('I', 'N', 'V', 'Z') #endif @@ -47,7 +47,7 @@ namespace media { namespace { -@@ -268,7 +280,7 @@ bool V4L2CaptureDelegate::IsBlockedControl(int control +@@ -273,7 +285,7 @@ bool V4L2CaptureDelegate::IsControllableControl( // static bool V4L2CaptureDelegate::IsControllableControl( int control_id, @@ -56,7 +56,7 @@ const int special_control_id = GetControllingSpecialControl(control_id); if (!special_control_id) { // The control is not controlled by a special control thus the control is -@@ -324,7 +336,7 @@ V4L2CaptureDelegate::V4L2CaptureDelegate( +@@ -329,7 +341,7 @@ V4L2CaptureDelegate::V4L2CaptureDelegate( is_capturing_(false), timeout_count_(0), rotation_(rotation) { @@ -65,16 +65,16 @@ use_gpu_buffer_ = switches::IsVideoCaptureUseGpuMemoryBufferEnabled(); #endif // BUILDFLAG(IS_LINUX) } -@@ -451,7 +463,7 @@ void V4L2CaptureDelegate::AllocateAndStart( +@@ -456,7 +468,7 @@ void V4L2CaptureDelegate::AllocateAndStart( client_->OnStarted(); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (use_gpu_buffer_) { - v4l2_gpu_helper_ = std::make_unique<V4L2CaptureDelegateGpuHelper>( - std::move(gmb_support_test_)); -@@ -801,7 +813,7 @@ void V4L2CaptureDelegate::SetGPUEnvironmentForTesting( + v4l2_gpu_helper_ = std::make_unique<V4L2CaptureDelegateGpuHelper>(); + } +@@ -800,7 +812,7 @@ V4L2CaptureDelegate::~V4L2CaptureDelegate() = default; V4L2CaptureDelegate::~V4L2CaptureDelegate() = default; @@ -83,7 +83,7 @@ int num_retries = 0; for (; DoIoctl(request, argp) < 0 && num_retries < kMaxIOCtrlRetries; ++num_retries) { -@@ -811,7 +823,7 @@ bool V4L2CaptureDelegate::RunIoctl(int request, void* +@@ -810,7 +822,7 @@ bool V4L2CaptureDelegate::RunIoctl(int request, void* return num_retries != kMaxIOCtrlRetries; } @@ -92,7 +92,7 @@ return HANDLE_EINTR(v4l2_->ioctl(device_fd_.get(), request, argp)); } -@@ -822,6 +834,7 @@ bool V4L2CaptureDelegate::IsControllableControl(int co +@@ -821,6 +833,7 @@ void V4L2CaptureDelegate::ReplaceControlEventSubscript } void V4L2CaptureDelegate::ReplaceControlEventSubscriptions() { @@ -100,7 +100,7 @@ constexpr uint32_t kControlIds[] = {V4L2_CID_AUTO_EXPOSURE_BIAS, V4L2_CID_AUTO_WHITE_BALANCE, V4L2_CID_BRIGHTNESS, -@@ -849,6 +862,7 @@ void V4L2CaptureDelegate::ReplaceControlEventSubscript +@@ -848,6 +861,7 @@ void V4L2CaptureDelegate::ReplaceControlEventSubscript << ", {type = V4L2_EVENT_CTRL, id = " << control_id << "}"; } } @@ -108,7 +108,7 @@ } mojom::RangePtr V4L2CaptureDelegate::RetrieveUserControlRange(int control_id) { -@@ -1029,7 +1043,11 @@ void V4L2CaptureDelegate::DoCapture() { +@@ -1028,7 +1042,11 @@ void V4L2CaptureDelegate::DoCapture() { pollfd device_pfd = {}; device_pfd.fd = device_fd_.get(); @@ -120,7 +120,7 @@ const int result = HANDLE_EINTR(v4l2_->poll(&device_pfd, 1, kCaptureTimeoutMs)); -@@ -1067,6 +1085,7 @@ void V4L2CaptureDelegate::DoCapture() { +@@ -1066,6 +1084,7 @@ void V4L2CaptureDelegate::DoCapture() { timeout_count_ = 0; } @@ -128,7 +128,7 @@ // Dequeue events if the driver has filled in some. if (device_pfd.revents & POLLPRI) { bool controls_changed = false; -@@ -1102,6 +1121,7 @@ void V4L2CaptureDelegate::DoCapture() { +@@ -1099,6 +1118,7 @@ void V4L2CaptureDelegate::DoCapture() { client_->OnCaptureConfigurationChanged(); } } @@ -136,7 +136,7 @@ // Deenqueue, send and reenqueue a buffer if the driver has filled one in. if (device_pfd.revents & POLLIN) { -@@ -1155,7 +1175,7 @@ void V4L2CaptureDelegate::DoCapture() { +@@ -1152,7 +1172,7 @@ void V4L2CaptureDelegate::DoCapture() { // workable on Linux. // See http://crbug.com/959919. @@ -145,7 +145,7 @@ if (use_gpu_buffer_) { v4l2_gpu_helper_->OnIncomingCapturedData( client_.get(), buffer_tracker->start(), -@@ -1228,7 +1248,7 @@ void V4L2CaptureDelegate::SetErrorState(VideoCaptureEr +@@ -1226,7 +1246,7 @@ void V4L2CaptureDelegate::SetErrorState(VideoCaptureEr client_->OnError(error, from_here, reason); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.h index 543d9fb3ec80..2e514a48bff3 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__delegate.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_delegate.h.orig 2023-10-11 18:22:24 UTC +--- src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_delegate.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_delegate.h -@@ -35,7 +35,7 @@ class Location; +@@ -34,7 +34,7 @@ namespace media { namespace media { @@ -9,16 +9,16 @@ class V4L2CaptureDelegateGpuHelper; #endif // BUILDFLAG(IS_LINUX) -@@ -86,7 +86,7 @@ class CAPTURE_EXPORT V4L2CaptureDelegate final { +@@ -85,7 +85,7 @@ class CAPTURE_EXPORT V4L2CaptureDelegate final { static bool IsBlockedControl(int control_id); static bool IsControllableControl( int control_id, - const base::RepeatingCallback<int(int, void*)>& do_ioctl); + const base::RepeatingCallback<int(unsigned int, void*)>& do_ioctl); - void SetGPUEnvironmentForTesting( - std::unique_ptr<gpu::GpuMemoryBufferSupport> gmb_support); -@@ -100,10 +100,10 @@ class CAPTURE_EXPORT V4L2CaptureDelegate final { + private: + friend class V4L2CaptureDelegateTest; +@@ -96,10 +96,10 @@ class CAPTURE_EXPORT V4L2CaptureDelegate final { // device file descriptor or (re)starting streaming, can fail but works after // retrying (https://crbug.com/670262). Returns false if the |request| ioctl // fails too many times. @@ -31,7 +31,7 @@ // Check whether the control is controllable (and not changed automatically). bool IsControllableControl(int control_id); -@@ -133,7 +133,7 @@ class CAPTURE_EXPORT V4L2CaptureDelegate final { +@@ -129,7 +129,7 @@ class CAPTURE_EXPORT V4L2CaptureDelegate final { const base::Location& from_here, const std::string& reason); @@ -40,7 +40,7 @@ // Systems which describe a "color space" usually map that to one or more of // {primary, matrix, transfer, range}. BuildColorSpaceFromv4l2() will use the // matched value as first priority. Otherwise, if there is no best matching -@@ -167,7 +167,7 @@ class CAPTURE_EXPORT V4L2CaptureDelegate final { +@@ -163,7 +163,7 @@ class CAPTURE_EXPORT V4L2CaptureDelegate final { // Clockwise rotation in degrees. This value should be 0, 90, 180, or 270. int rotation_; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__device.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__device.h index 62bab60735a5..c86519330731 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__device.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__device.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_device.h.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_device.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_device.h @@ -21,7 +21,7 @@ class CAPTURE_EXPORT V4L2CaptureDevice public: diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__device__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__device__impl.cc index 622d27139cb1..16adb86d413a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__device__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__device__impl.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_device_impl.cc.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_device_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_device_impl.cc @@ -22,7 +22,7 @@ int V4L2CaptureDeviceImpl::close(int fd) { return ::close(fd); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__device__impl.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__device__impl.h index b4e9cc8445c5..b85edd46f9cb 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__device__impl.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_v4l2__capture__device__impl.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_device_impl.h.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_device_impl.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/capture/video/linux/v4l2_capture_device_impl.h @@ -19,7 +19,7 @@ class CAPTURE_EXPORT V4L2CaptureDeviceImpl : public V4 public: diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_video__capture__device__factory__v4l2.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_video__capture__device__factory__v4l2.cc index 003486970033..710fc9713cb9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_video__capture__device__factory__v4l2.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_video__capture__device__factory__v4l2.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/capture/video/linux/video_capture_device_factory_v4l2.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/media/capture/video/linux/video_capture_device_factory_v4l2.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/capture/video/linux/video_capture_device_factory_v4l2.cc -@@ -38,6 +38,7 @@ bool CompareCaptureDevices(const VideoCaptureDeviceInf +@@ -43,6 +43,7 @@ bool CompareCaptureDevices(const VideoCaptureDeviceInf return a.descriptor < b.descriptor; } @@ -8,7 +8,7 @@ // USB VID and PID are both 4 bytes long. const size_t kVidPidSize = 4; const size_t kMaxInterfaceNameSize = 256; -@@ -70,11 +71,15 @@ std::string ExtractFileNameFromDeviceId(const std::str +@@ -75,11 +76,24 @@ std::string ExtractFileNameFromDeviceId(const std::str DCHECK(base::StartsWith(device_id, kDevDir, base::CompareCase::SENSITIVE)); return device_id.substr(strlen(kDevDir), device_id.length()); } @@ -19,12 +19,21 @@ public: void GetDeviceIds(std::vector<std::string>* target_container) override { +#if BUILDFLAG(IS_OPENBSD) -+ target_container->emplace_back("/dev/video"); ++ char device[12]; ++ int fd; ++ /* unveil(2) limits access to /dev/, try /dev/video[0-7] */ ++ for (int n = 0; n < 8; n++) { ++ snprintf(device, sizeof(device), "/dev/video%d", n); ++ if ((fd = open(device, O_RDONLY)) != -1) { ++ close(fd); ++ target_container->emplace_back(device); ++ } ++ } +#else const base::FilePath path("/dev/"); base::FileEnumerator enumerator(path, false, base::FileEnumerator::FILES, "video*"); -@@ -82,9 +87,13 @@ class DevVideoFilePathsDeviceProvider +@@ -87,9 +101,13 @@ class DevVideoFilePathsDeviceProvider const base::FileEnumerator::FileInfo info = enumerator.GetInfo(); target_container->emplace_back(path.value() + info.GetName().value()); } @@ -38,7 +47,7 @@ const std::string file_name = ExtractFileNameFromDeviceId(device_id); std::string usb_id; const std::string vid_path = -@@ -101,9 +110,13 @@ class DevVideoFilePathsDeviceProvider +@@ -106,9 +124,13 @@ class DevVideoFilePathsDeviceProvider } return usb_id; @@ -52,7 +61,7 @@ const std::string file_name = ExtractFileNameFromDeviceId(device_id); const std::string interface_path = base::StringPrintf(kInterfacePathTemplate, file_name.c_str()); -@@ -114,6 +127,7 @@ class DevVideoFilePathsDeviceProvider +@@ -119,6 +141,7 @@ class DevVideoFilePathsDeviceProvider return std::string(); } return display_name; @@ -60,7 +69,7 @@ } }; -@@ -219,7 +233,7 @@ void VideoCaptureDeviceFactoryV4L2::GetDevicesInfo( +@@ -224,7 +247,7 @@ void VideoCaptureDeviceFactoryV4L2::GetDevicesInfo( std::move(callback).Run(std::move(devices_info)); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_video__capture__device__factory__v4l2.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_video__capture__device__factory__v4l2.h index 3c19edbc63b4..ac0929b3c140 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_video__capture__device__factory__v4l2.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_linux_video__capture__device__factory__v4l2.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/capture/video/linux/video_capture_device_factory_v4l2.h.orig 2023-04-05 11:05:06 UTC +--- src/3rdparty/chromium/media/capture/video/linux/video_capture_device_factory_v4l2.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/capture/video/linux/video_capture_device_factory_v4l2.h @@ -51,7 +51,7 @@ class CAPTURE_EXPORT VideoCaptureDeviceFactoryV4L2 diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_video__capture__buffer__tracker__factory__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_video__capture__buffer__tracker__factory__impl.cc index e233efa20441..6220c32d6b5b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_video__capture__buffer__tracker__factory__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_video__capture__buffer__tracker__factory__impl.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/capture/video/video_capture_buffer_tracker_factory_impl.cc.orig 2023-12-10 06:10:27 UTC +--- src/3rdparty/chromium/media/capture/video/video_capture_buffer_tracker_factory_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/capture/video/video_capture_buffer_tracker_factory_impl.cc @@ -14,7 +14,7 @@ #include "media/capture/video/chromeos/gpu_memory_buffer_tracker_cros.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_video__capture__device__client.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_video__capture__device__client.cc index 693c2f74d501..70a2641abb13 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_video__capture__device__client.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_capture_video_video__capture__device__client.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/capture/video/video_capture_device_client.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/media/capture/video/video_capture_device_client.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/capture/video/video_capture_device_client.cc -@@ -169,7 +169,7 @@ FourccAndFlip GetFourccAndFlipFromPixelFormat( +@@ -173,7 +173,7 @@ FourccAndFlip GetFourccAndFlipFromPixelFormat( CHECK(!is_width_odd && !is_height_odd); return {libyuv::FOURCC_UYVY}; case media::PIXEL_FORMAT_RGB24: diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_cdm_library__cdm_cdm__paths.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_cdm_library__cdm_cdm__paths.gni index 02b8f3d6b112..a55710b845f7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_cdm_library__cdm_cdm__paths.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_cdm_library__cdm_cdm__paths.gni @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/cdm/library_cdm/cdm_paths.gni.orig 2023-10-11 18:22:24 UTC +--- src/3rdparty/chromium/media/cdm/library_cdm/cdm_paths.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/cdm/library_cdm/cdm_paths.gni -@@ -15,7 +15,7 @@ assert(enable_library_cdms) +@@ -15,7 +15,7 @@ if (is_chromeos) { # Explicitly define what we use to avoid confusion. if (is_chromeos) { component_os = "cros" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_ffmpeg_scripts_build__ffmpeg.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_ffmpeg_scripts_build__ffmpeg.py index a83f1ae32d10..913190bacb8e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_ffmpeg_scripts_build__ffmpeg.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_ffmpeg_scripts_build__ffmpeg.py @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/ffmpeg/scripts/build_ffmpeg.py.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/media/ffmpeg/scripts/build_ffmpeg.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/ffmpeg/scripts/build_ffmpeg.py -@@ -33,7 +33,7 @@ NDK_ROOT_DIR = os.path.abspath( +@@ -33,7 +33,7 @@ sys.path.append(os.path.join(CHROMIUM_ROOT_DIR, 'build SUCCESS_TOKEN = 'THIS_BUILD_WORKED' sys.path.append(os.path.join(CHROMIUM_ROOT_DIR, 'build')) @@ -9,7 +9,7 @@ BRANDINGS = [ 'Chrome', -@@ -43,6 +43,8 @@ BRANDINGS = [ +@@ -43,6 +43,8 @@ ARCH_MAP = { ARCH_MAP = { 'android': ['ia32', 'x64', 'arm-neon', 'arm64'], 'linux': ['ia32', 'x64', 'noasm-x64', 'arm', 'arm-neon', 'arm64'], @@ -18,7 +18,7 @@ 'mac': ['x64', 'arm64'], 'win': ['ia32', 'x64', 'arm64'], } -@@ -122,7 +124,7 @@ def PrintAndCheckCall(argv, *args, **kwargs): +@@ -122,7 +124,7 @@ def GetDsoName(target_os, dso_name, dso_version): def GetDsoName(target_os, dso_name, dso_version): diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_ffmpeg_scripts_robo__lib_config.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_ffmpeg_scripts_robo__lib_config.py index af97ac505dc6..d06919fec3d8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_ffmpeg_scripts_robo__lib_config.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_ffmpeg_scripts_robo__lib_config.py @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/ffmpeg/scripts/robo_lib/config.py.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/media/ffmpeg/scripts/robo_lib/config.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/ffmpeg/scripts/robo_lib/config.py -@@ -55,19 +55,13 @@ class RoboConfiguration: +@@ -56,19 +56,13 @@ class RoboConfiguration: self._llvm_path = os.path.join(self.chrome_src(), "third_party", "llvm-build", "Release+Asserts", "bin") @@ -19,8 +19,8 @@ - shell.log(f"On sushi branch: {self.sushi_branch_name()}") # Filename that we'll ask generate_gn.py to write git commands to. - # TODO: Should this use script_directory, or stay with ffmpeg? As long as -@@ -186,9 +180,9 @@ class RoboConfiguration: + # TODO: Should this use script_directory, or stay with ffmpeg? As long +@@ -187,9 +181,9 @@ class RoboConfiguration: if re.match(r"i.86", platform.machine()): self._host_architecture = "ia32" @@ -32,7 +32,7 @@ self._host_architecture = "arm64" elif platform.machine() == "mips32": self._host_architecture = "mipsel" -@@ -223,6 +217,10 @@ class RoboConfiguration: +@@ -224,6 +218,10 @@ class RoboConfiguration: elif platform.system() == "Windows" or "CYGWIN_NT" in platform.system( ): self._host_operating_system = "win" @@ -43,7 +43,7 @@ else: raise ValueError(f"Unsupported platform: {platform.system()}") -@@ -231,8 +229,8 @@ class RoboConfiguration: +@@ -232,8 +230,8 @@ class RoboConfiguration: wd = os.getcwd() # Walk up the tree until we find src/AUTHORS while wd != "/": diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_buffer__validation.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_buffer__validation.cc index 3ea6a7bac46e..5d23f126008e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_buffer__validation.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_buffer__validation.cc @@ -1,46 +1,29 @@ ---- src/3rdparty/chromium/media/gpu/buffer_validation.cc.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/media/gpu/buffer_validation.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/gpu/buffer_validation.cc -@@ -16,7 +16,7 @@ +@@ -15,7 +15,7 @@ #include "ui/gfx/geometry/size.h" #include "ui/gfx/gpu_memory_buffer.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - #include <drm_fourcc.h> #include <sys/types.h> #include <unistd.h> -@@ -29,7 +29,7 @@ + #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +@@ -23,7 +23,7 @@ bool GetFileSize(const int fd, size_t* size) { namespace media { - namespace { --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - #ifndef I915_FORMAT_MOD_4_TILED_MTL_MC_CCS - // TODO(b/271455200): Remove this definition once drm_fourcc.h contains it. - /* -@@ -55,7 +55,7 @@ bool IsIntelMediaCompressedModifier(uint64_t modifier) - } // namespace - bool GetFileSize(const int fd, size_t* size) { -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) if (fd < 0) { VLOG(1) << "Invalid file descriptor"; return false; -@@ -109,14 +109,14 @@ bool VerifyGpuMemoryBufferHandle( +@@ -77,7 +77,7 @@ bool VerifyGpuMemoryBufferHandle( VLOG(1) << "Unsupported: " << pixel_format; return false; } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - const uint64_t modifier = gmb_handle.native_pixmap_handle.modifier; - const bool is_intel_media_compressed_buffer = - IsIntelMediaCompressedModifier(modifier); - const bool is_intel_media_compression_enabled = - #if BUILDFLAG(IS_CHROMEOS) - base::FeatureList::IsEnabled(features::kEnableIntelMediaCompression); --#elif BUILDFLAG(IS_LINUX) -+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - false; - #endif - + const size_t num_planes = media::VideoFrame::NumPlanes(pixel_format); + if (num_planes != gmb_handle.native_pixmap_handle.planes.size() || + num_planes == 0) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_gl__image__processor__backend.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_gl__image__processor__backend.cc index 1913204be552..4ef8add30a57 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_gl__image__processor__backend.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_gl__image__processor__backend.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/gpu/chromeos/gl_image_processor_backend.cc.orig 2024-06-18 16:34:35 UTC +--- src/3rdparty/chromium/media/gpu/chromeos/gl_image_processor_backend.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/gpu/chromeos/gl_image_processor_backend.cc @@ -28,6 +28,10 @@ #include "ui/ozone/public/ozone_platform.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_libyuv__image__processor__backend.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_libyuv__image__processor__backend.cc index f08d6740a082..404730cda2c9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_libyuv__image__processor__backend.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_libyuv__image__processor__backend.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/gpu/chromeos/libyuv_image_processor_backend.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/media/gpu/chromeos/libyuv_image_processor_backend.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/gpu/chromeos/libyuv_image_processor_backend.cc @@ -53,7 +53,7 @@ static constexpr struct { #define CONV(in, out, trans, result) \ @@ -9,7 +9,7 @@ CONV(NV12, AR24, kConversion, Supported), #endif CONV(NV12, NV12, kConversion, Supported), -@@ -420,7 +420,7 @@ int LibYUVImageProcessorBackend::DoConversion(const Fr +@@ -412,7 +412,7 @@ int LibYUVImageProcessorBackend::DoConversion(const Fr fr->GetWritableVisibleData(VideoFrame::Plane::kUV)), \ fr->stride(VideoFrame::Plane::kUV) @@ -18,7 +18,7 @@ #define ARGB_DATA(fr) \ fr->GetWritableVisibleData(VideoFrame::Plane::kARGB), \ fr->stride(VideoFrame::Plane::kARGB) -@@ -582,7 +582,7 @@ int LibYUVImageProcessorBackend::DoConversion(const Fr +@@ -574,7 +574,7 @@ int LibYUVImageProcessorBackend::DoConversion(const Fr } } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_mailbox__video__frame__converter.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_mailbox__video__frame__converter.cc index 944226376b78..3fbb1cac8346 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_mailbox__video__frame__converter.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_mailbox__video__frame__converter.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/gpu/chromeos/mailbox_video_frame_converter.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/media/gpu/chromeos/mailbox_video_frame_converter.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/gpu/chromeos/mailbox_video_frame_converter.cc @@ -67,7 +67,7 @@ viz::SharedImageFormat GetSharedImageFormat(gfx::Buffe << static_cast<int>(buffer_format); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_native__pixmap__frame__resource.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_native__pixmap__frame__resource.cc deleted file mode 100644 index acf72a66a116..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_native__pixmap__frame__resource.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/media/gpu/chromeos/native_pixmap_frame_resource.cc.orig 2024-08-26 12:06:38 UTC -+++ src/3rdparty/chromium/media/gpu/chromeos/native_pixmap_frame_resource.cc -@@ -176,7 +176,7 @@ scoped_refptr<NativePixmapFrameResource> NativePixmapF - const bool is_intel_media_compression_enabled = - #if BUILDFLAG(IS_CHROMEOS) - base::FeatureList::IsEnabled(features::kEnableIntelMediaCompression); --#elif BUILDFLAG(IS_LINUX) -+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - false; - #endif - CHECK(!is_intel_media_compressed_buffer || diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_platform__video__frame__utils.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_platform__video__frame__utils.cc index f9be7d354ab5..a159a923179a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_platform__video__frame__utils.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_platform__video__frame__utils.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/gpu/chromeos/platform_video_frame_utils.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/media/gpu/chromeos/platform_video_frame_utils.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/gpu/chromeos/platform_video_frame_utils.cc -@@ -68,7 +68,7 @@ static std::unique_ptr<ui::GbmDevice> CreateGbmDevice( +@@ -67,7 +67,7 @@ static std::unique_ptr<ui::GbmDevice> CreateGbmDevice( const base::FilePath dev_path(FILE_PATH_LITERAL( base::StrCat({drm_node_file_prefix, base::NumberToString(i)}))); @@ -9,21 +9,3 @@ const bool is_render_node = base::Contains(drm_node_file_prefix, "render"); // TODO(b/313513760): don't guard base::File::FLAG_WRITE behind -@@ -196,7 +196,7 @@ class GbmDeviceWrapper { - const bool is_intel_media_compression_enabled = - #if BUILDFLAG(IS_CHROMEOS) - base::FeatureList::IsEnabled(features::kEnableIntelMediaCompression); --#elif BUILDFLAG(IS_LINUX) -+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - false; - #endif - if (is_intel_media_compression_enabled) { -@@ -350,7 +350,7 @@ scoped_refptr<VideoFrame> CreateVideoFrameFromGpuMemor - const bool is_intel_media_compression_enabled = - #if BUILDFLAG(IS_CHROMEOS) - base::FeatureList::IsEnabled(features::kEnableIntelMediaCompression); --#elif BUILDFLAG(IS_LINUX) -+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - false; - #endif - diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_video__decoder__pipeline.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_video__decoder__pipeline.cc index 2d15fce08dc2..b995c3aa5764 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_video__decoder__pipeline.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_chromeos_video__decoder__pipeline.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/gpu/chromeos/video_decoder_pipeline.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/media/gpu/chromeos/video_decoder_pipeline.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/gpu/chromeos/video_decoder_pipeline.cc -@@ -1096,7 +1096,7 @@ VideoDecoderPipeline::PickDecoderOutputFormat( +@@ -1159,7 +1159,7 @@ VideoDecoderPipeline::PickDecoderOutputFormat( } #endif @@ -9,7 +9,7 @@ // Linux should always use a custom allocator (to allocate buffers using // libva) and a PlatformVideoFramePool. CHECK(allocator.has_value()); -@@ -1105,7 +1105,7 @@ VideoDecoderPipeline::PickDecoderOutputFormat( +@@ -1168,7 +1168,7 @@ VideoDecoderPipeline::PickDecoderOutputFormat( // VideoFrame::StorageType of VideoFrame::STORAGE_DMABUFS. main_frame_pool_->AsPlatformVideoFramePool()->SetCustomFrameAllocator( *allocator, VideoFrame::STORAGE_DMABUFS); @@ -18,7 +18,7 @@ // Linux w/ V4L2 should not use a custom allocator // Only tested with video_decode_accelerator_tests // TODO(wenst@) Test with full Chromium Browser -@@ -1287,7 +1287,7 @@ VideoDecoderPipeline::PickDecoderOutputFormat( +@@ -1350,7 +1350,7 @@ VideoDecoderPipeline::PickDecoderOutputFormat( << " VideoFrames"; auxiliary_frame_pool_->set_parent_task_runner(decoder_task_runner_); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_gpu__video__encode__accelerator__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_gpu__video__encode__accelerator__factory.cc index 513ca747253a..ce9bb3815646 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_gpu__video__encode__accelerator__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_gpu__video__encode__accelerator__factory.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/gpu/gpu_video_encode_accelerator_factory.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/media/gpu/gpu_video_encode_accelerator_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/gpu/gpu_video_encode_accelerator_factory.cc @@ -118,7 +118,7 @@ std::vector<VEAFactoryFunction> GetVEAFactoryFunctions return vea_factory_functions; @@ -6,6 +6,15 @@ #if BUILDFLAG(USE_VAAPI) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - if (base::FeatureList::IsEnabled(kVaapiVideoEncodeLinux)) + if (base::FeatureList::IsEnabled(kAcceleratedVideoEncodeLinux)) { vea_factory_functions.push_back(base::BindRepeating(&CreateVaapiVEA)); - #else + } +@@ -126,7 +126,7 @@ std::vector<VEAFactoryFunction> GetVEAFactoryFunctions + vea_factory_functions.push_back(base::BindRepeating(&CreateVaapiVEA)); + #endif + #elif BUILDFLAG(USE_V4L2_CODEC) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + if (base::FeatureList::IsEnabled(kAcceleratedVideoEncodeLinux)) { + vea_factory_functions.push_back(base::BindRepeating(&CreateV4L2VEA)); + } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc index a1200aa4d2c5..2d9473a7c3ce 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.cc @@ -16,7 +16,9 @@ #include "media/gpu/vaapi/vaapi_wrapper.h" @@ -10,7 +10,7 @@ // TODO(b/195769334): the hardware video decoding sandbox is really only useful // when building with VA-API or V4L2 (otherwise, we're not really doing hardware -@@ -32,6 +34,7 @@ using sandbox::syscall_broker::BrokerFilePermission; +@@ -32,6 +34,7 @@ namespace { namespace media { namespace { @@ -26,7 +26,7 @@ } // namespace -@@ -203,6 +207,7 @@ bool HardwareVideoDecodingPreSandboxHookForV4L2( +@@ -203,6 +207,7 @@ bool HardwareVideoDecodingPreSandboxHook( // (at least). bool HardwareVideoDecodingPreSandboxHook( sandbox::policy::SandboxLinux::Options options) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.h index 3ef02d85160d..d2e67531454f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.h.orig 2023-04-28 17:01:32 UTC +--- src/3rdparty/chromium/media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.h @@ -5,7 +5,13 @@ #ifndef MEDIA_GPU_SANDBOX_HARDWARE_VIDEO_DECODING_SANDBOX_HOOK_LINUX_H_ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__encoding__sandbox__hook__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__encoding__sandbox__hook__linux.cc index d8791842b47e..9d143a158355 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__encoding__sandbox__hook__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__encoding__sandbox__hook__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/gpu/sandbox/hardware_video_encoding_sandbox_hook_linux.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/media/gpu/sandbox/hardware_video_encoding_sandbox_hook_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/gpu/sandbox/hardware_video_encoding_sandbox_hook_linux.cc @@ -18,12 +18,15 @@ #include "media/gpu/v4l2/v4l2_device.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__encoding__sandbox__hook__linux.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__encoding__sandbox__hook__linux.h index 9cc18190d195..e34583c178a7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__encoding__sandbox__hook__linux.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_sandbox_hardware__video__encoding__sandbox__hook__linux.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/gpu/sandbox/hardware_video_encoding_sandbox_hook_linux.h.orig 2023-04-28 17:01:32 UTC +--- src/3rdparty/chromium/media/gpu/sandbox/hardware_video_encoding_sandbox_hook_linux.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/gpu/sandbox/hardware_video_encoding_sandbox_hook_linux.h @@ -5,7 +5,13 @@ #ifndef MEDIA_GPU_SANDBOX_HARDWARE_VIDEO_ENCODING_SANDBOX_HOOK_LINUX_H_ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_vaapi_vaapi__video__decoder.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_vaapi_vaapi__video__decoder.cc index 33980b0c5bb2..630fba20803d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_vaapi_vaapi__video__decoder.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_vaapi_vaapi__video__decoder.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/gpu/vaapi/vaapi_video_decoder.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/media/gpu/vaapi/vaapi_video_decoder.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/gpu/vaapi/vaapi_video_decoder.cc -@@ -785,7 +785,7 @@ void VaapiVideoDecoder::ApplyResolutionChangeWithScree +@@ -787,7 +787,7 @@ void VaapiVideoDecoder::ApplyResolutionChangeWithScree const gfx::Size decoder_natural_size = aspect_ratio_.GetNaturalSize(decoder_visible_rect); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_vaapi_vaapi__wrapper.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_vaapi_vaapi__wrapper.cc index 7e3f6887a864..76a3e3dafd88 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_vaapi_vaapi__wrapper.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_gpu_vaapi_vaapi__wrapper.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/gpu/vaapi/vaapi_wrapper.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/media/gpu/vaapi/vaapi_wrapper.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/gpu/vaapi/vaapi_wrapper.cc -@@ -77,7 +77,7 @@ +@@ -78,7 +78,7 @@ using media_gpu_vaapi::kModuleVa_prot; using media_gpu_vaapi::kModuleVa_prot; #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_media__options.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_media__options.gni index 983971e99938..606cf07432ed 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_media__options.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_media__options.gni @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/media_options.gni.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/media/media_options.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/media_options.gni -@@ -202,12 +202,15 @@ declare_args() { +@@ -214,12 +214,15 @@ declare_args() { # Enables runtime selection of ALSA library for audio. use_alsa = false diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_mojo_mojom_stable_stable__video__decoder__types__mojom__traits.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_mojo_mojom_stable_stable__video__decoder__types__mojom__traits.cc index d583ac5218e8..b2cacb2de482 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_mojo_mojom_stable_stable__video__decoder__types__mojom__traits.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_mojo_mojom_stable_stable__video__decoder__types__mojom__traits.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/mojo/mojom/stable/stable_video_decoder_types_mojom_traits.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/media/mojo/mojom/stable/stable_video_decoder_types_mojom_traits.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/mojo/mojom/stable/stable_video_decoder_types_mojom_traits.cc -@@ -841,7 +841,7 @@ const gfx::GpuMemoryBufferId& StructTraits< +@@ -861,7 +861,7 @@ const gfx::GpuMemoryBufferId& StructTraits< return input.id; } @@ -9,7 +9,7 @@ // static gfx::NativePixmapHandle StructTraits< media::stable::mojom::NativeGpuMemoryBufferHandleDataView, -@@ -862,7 +862,7 @@ bool StructTraits<media::stable::mojom::NativeGpuMemor +@@ -882,7 +882,7 @@ bool StructTraits<media::stable::mojom::NativeGpuMemor output->type = gfx::NATIVE_PIXMAP; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_mojo_mojom_stable_stable__video__decoder__types__mojom__traits.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_mojo_mojom_stable_stable__video__decoder__types__mojom__traits.h index 299f5aac415e..1a8e46965b7c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_mojo_mojom_stable_stable__video__decoder__types__mojom__traits.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_mojo_mojom_stable_stable__video__decoder__types__mojom__traits.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/mojo/mojom/stable/stable_video_decoder_types_mojom_traits.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/media/mojo/mojom/stable/stable_video_decoder_types_mojom_traits.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/mojo/mojom/stable/stable_video_decoder_types_mojom_traits.h -@@ -695,7 +695,7 @@ struct StructTraits<media::stable::mojom::NativeGpuMem +@@ -704,7 +704,7 @@ struct StructTraits<media::stable::mojom::NativeGpuMem static const gfx::GpuMemoryBufferId& id( const gfx::GpuMemoryBufferHandle& input); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_mojo_mojom_video__frame__mojom__traits.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_mojo_mojom_video__frame__mojom__traits.cc index b83ddacf77d8..a7f8f88fc62b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_mojo_mojom_video__frame__mojom__traits.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_mojo_mojom_video__frame__mojom__traits.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/mojo/mojom/video_frame_mojom_traits.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/media/mojo/mojom/video_frame_mojom_traits.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/mojo/mojom/video_frame_mojom_traits.cc -@@ -27,7 +27,7 @@ +@@ -22,7 +22,7 @@ #include "ui/gfx/mojom/color_space_mojom_traits.h" #include "ui/gfx/mojom/hdr_metadata_mojom_traits.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_video_fake__gpu__memory__buffer.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_video_fake__gpu__memory__buffer.cc index 15d802956522..bb4f8b25ea6d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_video_fake__gpu__memory__buffer.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_video_fake__gpu__memory__buffer.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/media/video/fake_gpu_memory_buffer.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/media/video/fake_gpu_memory_buffer.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/video/fake_gpu_memory_buffer.cc @@ -14,7 +14,7 @@ #include "media/base/format_utils.h" @@ -9,7 +9,7 @@ #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> -@@ -57,7 +57,7 @@ class FakeGpuMemoryBufferImpl : public gpu::GpuMemoryB +@@ -63,7 +63,7 @@ class FakeGpuMemoryBufferImpl : public gpu::GpuMemoryB } // namespace @@ -18,7 +18,7 @@ base::ScopedFD GetDummyFD() { base::ScopedFD fd(open("/dev/zero", O_RDWR)); DCHECK(fd.is_valid()); -@@ -87,7 +87,7 @@ FakeGpuMemoryBuffer::FakeGpuMemoryBuffer(const gfx::Si +@@ -102,7 +102,7 @@ FakeGpuMemoryBuffer::FakeGpuMemoryBuffer(const gfx::Si static base::AtomicSequenceNumber buffer_id_generator; handle_.id = gfx::GpuMemoryBufferId(buffer_id_generator.GetNext()); @@ -27,7 +27,7 @@ for (size_t i = 0; i < VideoFrame::NumPlanes(video_pixel_format_); i++) { const gfx::Size plane_size_in_bytes = VideoFrame::PlaneSize(video_pixel_format_, i, size_); -@@ -149,7 +149,7 @@ gfx::GpuMemoryBufferHandle FakeGpuMemoryBuffer::CloneH +@@ -176,7 +176,7 @@ gfx::GpuMemoryBufferHandle FakeGpuMemoryBuffer::CloneH gfx::GpuMemoryBufferHandle handle; handle.type = gfx::NATIVE_PIXMAP; handle.id = handle_.id; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_video_gpu__memory__buffer__video__frame__pool.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_video_gpu__memory__buffer__video__frame__pool.cc index dd53719a0814..cddb93025b3f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_video_gpu__memory__buffer__video__frame__pool.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_video_gpu__memory__buffer__video__frame__pool.cc @@ -1,24 +1,15 @@ ---- src/3rdparty/chromium/media/video/gpu_memory_buffer_video_frame_pool.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/media/video/gpu_memory_buffer_video_frame_pool.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/video/gpu_memory_buffer_video_frame_pool.cc -@@ -98,7 +98,7 @@ class GpuMemoryBufferVideoFramePool::PoolImpl - gpu::SHARED_IMAGE_USAGE_RASTER_READ | - gpu::SHARED_IMAGE_USAGE_DISPLAY_READ | - gpu::SHARED_IMAGE_USAGE_SCANOUT; --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) - // TODO(crbug.com/40194712): Always add the flag once the - // OzoneImageBacking is by default turned on. - if (base::CommandLine::ForCurrentProcess()->HasSwitch( -@@ -695,7 +695,7 @@ void GpuMemoryBufferVideoFramePool::PoolImpl::CreateHa +@@ -644,7 +644,7 @@ void GpuMemoryBufferVideoFramePool::PoolImpl::CreateHa } - bool is_software_backed_video_frame = !video_frame->HasTextures(); + bool is_software_backed_video_frame = !video_frame->HasSharedImage(); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) is_software_backed_video_frame &= !video_frame->HasDmaBufs(); #endif -@@ -1104,7 +1104,7 @@ scoped_refptr<VideoFrame> GpuMemoryBufferVideoFramePoo +@@ -1054,7 +1054,7 @@ scoped_refptr<VideoFrame> GpuMemoryBufferVideoFramePoo media::IOSurfaceIsWebGPUCompatible(handle.io_surface.get()); #endif @@ -27,3 +18,12 @@ is_webgpu_compatible = handle.native_pixmap_handle.supports_zero_copy_webgpu_import; #endif +@@ -1225,7 +1225,7 @@ GpuMemoryBufferVideoFramePool::PoolImpl::GetOrCreateFr + si_usage |= gpu::SHARED_IMAGE_USAGE_SCANOUT; + } + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + // TODO(crbug.com/40194712): Always add the flag once the + // OzoneImageBacking is by default turned on. + if (base::CommandLine::ForCurrentProcess()->HasSwitch( diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter.cc index f7651241fb6e..8732827b9bda 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter.cc @@ -1,20 +1,11 @@ ---- src/3rdparty/chromium/media/video/video_encode_accelerator_adapter.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/media/video/video_encode_accelerator_adapter.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/video/video_encode_accelerator_adapter.cc -@@ -164,7 +164,7 @@ VideoEncodeAccelerator::Config SetUpVeaConfig( - if (is_rgb) - config.input_format = PIXEL_FORMAT_I420; - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - if (format != PIXEL_FORMAT_I420 || - !VideoFrame::IsStorageTypeMappable(storage_type)) { - // ChromeOS/Linux hardware video encoders supports I420 on-memory -@@ -550,7 +550,7 @@ void VideoEncodeAcceleratorAdapter::InitializeInternal - SetUpVeaConfig(profile_, options_, format, first_frame->storage_type(), - supported_rc_modes_, required_encoder_type_); +@@ -463,7 +463,7 @@ void VideoEncodeAcceleratorAdapter::InitializeOnAccele + auto format = PIXEL_FORMAT_I420; + auto storage_type = VideoEncodeAccelerator::Config::StorageType::kShmem; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Linux/ChromeOS require a special configuration to use dmabuf storage. - // We need to keep sending frames the same way the first frame was sent. - // Other platforms will happily mix GpuMemoryBuffer storage with regular + // We need to keep sending frames with the same storage type. + // Other platforms will happily mix GpuMemoryBuffer storage with shared-mem diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter__test.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter__test.cc index 8c8877508ae3..4c440bf1a2df 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter__test.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_video_video__encode__accelerator__adapter__test.cc @@ -1,11 +1,38 @@ ---- src/3rdparty/chromium/media/video/video_encode_accelerator_adapter_test.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/media/video/video_encode_accelerator_adapter_test.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/video/video_encode_accelerator_adapter_test.cc -@@ -461,7 +461,7 @@ TEST_P(VideoEncodeAcceleratorAdapterTest, TwoFramesRes +@@ -260,7 +260,7 @@ TEST_F(VideoEncodeAcceleratorAdapterTest, InitializeAf + }); + + VideoPixelFormat expected_input_format = PIXEL_FORMAT_I420; +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + expected_input_format = PIXEL_FORMAT_NV12; + #endif + vea()->SetEncodingCallback(base::BindLambdaForTesting( +@@ -369,7 +369,7 @@ TEST_F(VideoEncodeAcceleratorAdapterTest, FlushDuringI + }); + + VideoPixelFormat expected_input_format = PIXEL_FORMAT_I420; +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + expected_input_format = PIXEL_FORMAT_NV12; + #endif + +@@ -467,7 +467,7 @@ TEST_P(VideoEncodeAcceleratorAdapterTest, TwoFramesRes CreateGreenFrame(large_size, pixel_format, base::Milliseconds(2)); VideoPixelFormat expected_input_format = PIXEL_FORMAT_I420; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - if (pixel_format != PIXEL_FORMAT_I420 || !small_frame->IsMappable()) expected_input_format = PIXEL_FORMAT_NV12; #endif + const gfx::ColorSpace expected_color_space = +@@ -674,7 +674,7 @@ TEST_F(VideoEncodeAcceleratorAdapterTest, + }); + + VideoPixelFormat expected_input_format = PIXEL_FORMAT_I420; +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + expected_input_format = PIXEL_FORMAT_NV12; + #endif + vea()->SetEncodingCallback(base::BindLambdaForTesting( diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_webrtc_audio__processor.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_webrtc_audio__processor.cc index 6a2ccbad3d69..517c6d1c2aeb 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_webrtc_audio__processor.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_webrtc_audio__processor.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/webrtc/audio_processor.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/media/webrtc/audio_processor.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/webrtc/audio_processor.cc -@@ -521,7 +521,7 @@ std::optional<double> AudioProcessor::ProcessData( +@@ -509,7 +509,7 @@ std::optional<double> AudioProcessor::ProcessData( #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) DCHECK_LE(volume, 1.0); #elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_webrtc_helpers.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_webrtc_helpers.cc index ae6a95a2e8c7..32f93c901fbf 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_webrtc_helpers.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_media_webrtc_helpers.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/media/webrtc/helpers.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/media/webrtc/helpers.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/media/webrtc/helpers.cc -@@ -41,14 +41,14 @@ void ConfigAutomaticGainControl(const AudioProcessingS +@@ -43,14 +43,14 @@ void ConfigAutomaticGainControl(const AudioProcessingS return; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_mojo_core_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_mojo_core_BUILD.gn index ab74ea474441..3262e8797c30 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_mojo_core_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_mojo_core_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/mojo/core/BUILD.gn.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/mojo/core/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/mojo/core/BUILD.gn -@@ -161,7 +161,7 @@ source_set("impl_for_embedder") { +@@ -163,7 +163,7 @@ source_set("impl_for_embedder") { ] } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_mojo_core_channel.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_mojo_core_channel.cc index 1338e8a5bd95..48f4cf3711e7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_mojo_core_channel.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_mojo_core_channel.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/mojo/core/channel.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/mojo/core/channel.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/mojo/core/channel.cc -@@ -82,7 +82,11 @@ const size_t kMaxAttachedHandles = 64; +@@ -83,7 +83,11 @@ const size_t kMaxAttachedHandles = 253; const size_t kMaxAttachedHandles = 253; #endif // BUILDFLAG(IS_FUCHSIA) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_mojo_core_embedder_features.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_mojo_core_embedder_features.h index e36f5ba80304..03dbd4c88532 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_mojo_core_embedder_features.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_mojo_core_embedder_features.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/mojo/core/embedder/features.h.orig 2023-04-28 17:01:32 UTC +--- src/3rdparty/chromium/mojo/core/embedder/features.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/mojo/core/embedder/features.h @@ -16,7 +16,7 @@ namespace core { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_mojo_public_tools_bindings_mojom.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_mojo_public_tools_bindings_mojom.gni index dde70c46875f..641ae6c73609 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_mojo_public_tools_bindings_mojom.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_mojo_public_tools_bindings_mojom.gni @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/mojo/public/tools/bindings/mojom.gni.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/mojo/public/tools/bindings/mojom.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/mojo/public/tools/bindings/mojom.gni -@@ -776,6 +776,16 @@ template("mojom") { +@@ -787,6 +787,16 @@ template("mojom") { enabled_features += [ "is_apple" ] } @@ -14,6 +14,6 @@ + enabled_features += [ "is_bsd" ] + } + - action(parser_target_name) { - allow_remote = true - + action_outputs = [] + foreach(base_path, output_file_base_paths) { + filename = get_path_info(base_path, "file") diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_BUILD.gn index 9f7a79728378..f79412254507 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/net/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/net/BUILD.gn.orig 2025-10-02 00:36:39 UTC +++ src/3rdparty/chromium/net/BUILD.gn -@@ -130,7 +130,7 @@ net_configs = [ +@@ -131,7 +131,7 @@ net_configs = [ "//build/config/compiler:wexit_time_destructors", ] @@ -9,7 +9,7 @@ net_configs += [ "//build/config/linux:libresolv" ] } -@@ -1281,10 +1281,6 @@ jumbo_component("net") { +@@ -1313,10 +1313,6 @@ jumbo_component("net") { "base/network_interfaces_linux.h", "base/platform_mime_util_linux.cc", ] @@ -20,7 +20,7 @@ } if (is_linux) { -@@ -1294,6 +1290,19 @@ jumbo_component("net") { +@@ -1326,6 +1322,19 @@ jumbo_component("net") { ] } @@ -40,7 +40,7 @@ if (is_mac) { sources += [ "base/network_notification_thread_mac.cc", -@@ -1458,7 +1467,7 @@ jumbo_component("net") { +@@ -1492,7 +1501,7 @@ jumbo_component("net") { } # Use getifaddrs() on POSIX platforms, except Linux. @@ -49,7 +49,7 @@ sources += [ "base/network_interfaces_getifaddrs.cc", "base/network_interfaces_getifaddrs.h", -@@ -2941,7 +2950,7 @@ target(_test_target_type, "net_unittests") { +@@ -3009,7 +3018,7 @@ target(_test_target_type, "net_unittests") { ] } @@ -58,7 +58,7 @@ sources += [ "base/address_tracker_linux_unittest.cc", "base/network_interfaces_linux_unittest.cc", -@@ -3034,6 +3043,10 @@ target(_test_target_type, "net_unittests") { +@@ -3103,6 +3112,10 @@ target(_test_target_type, "net_unittests") { ] } @@ -69,7 +69,7 @@ if (enable_websockets) { sources += [ "server/http_connection_unittest.cc", -@@ -3100,7 +3113,7 @@ target(_test_target_type, "net_unittests") { +@@ -3169,7 +3182,7 @@ target(_test_target_type, "net_unittests") { ] } @@ -78,7 +78,7 @@ sources += [ "tools/quic/quic_simple_server_test.cc" ] } -@@ -3239,7 +3252,7 @@ target(_test_target_type, "net_unittests") { +@@ -3308,7 +3321,7 @@ target(_test_target_type, "net_unittests") { } # Use getifaddrs() on POSIX platforms, except Linux. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_features.cc index 71ee6ae4e421..8273a50f6d94 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_features.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_features.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/base/features.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/net/base/features.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/base/features.cc @@ -28,7 +28,7 @@ BASE_FEATURE(kChromeStaticPinning, base::FEATURE_ENABLED_BY_DEFAULT); @@ -9,15 +9,15 @@ BASE_FEATURE(kAsyncDns, "AsyncDns", base::FEATURE_ENABLED_BY_DEFAULT -@@ -535,7 +535,12 @@ BASE_FEATURE(kSpdyHeadersToHttpResponseUseBuilder, +@@ -566,7 +566,12 @@ BASE_FEATURE(kSpdyHeadersToHttpResponseUseBuilder, "SpdyHeadersToHttpResponseUseBuilder", base::FEATURE_DISABLED_BY_DEFAULT); +#if BUILDFLAG(IS_OPENBSD) +// No IP_RECVTOS support - BASE_FEATURE(kReportEcn, "ReportEcn", base::FEATURE_DISABLED_BY_DEFAULT); -+#else +BASE_FEATURE(kReportEcn, "ReportEcn", base::FEATURE_DISABLED_BY_DEFAULT); ++#else + BASE_FEATURE(kReportEcn, "ReportEcn", base::FEATURE_ENABLED_BY_DEFAULT); +#endif BASE_FEATURE(kUseNewAlpsCodepointHttp2, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_mock__network__change__notifier.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_mock__network__change__notifier.cc index 54f65b481329..e7043becb36f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_mock__network__change__notifier.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_mock__network__change__notifier.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/base/mock_network_change_notifier.cc.orig 2023-08-17 07:33:31 UTC +--- src/3rdparty/chromium/net/base/mock_network_change_notifier.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/base/mock_network_change_notifier.cc @@ -103,7 +103,7 @@ MockNetworkChangeNotifier::GetCurrentConnectionCost() return connection_cost_; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_mock__network__change__notifier.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_mock__network__change__notifier.h index fa6daf99c99f..5983a431e0fd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_mock__network__change__notifier.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_mock__network__change__notifier.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/base/mock_network_change_notifier.h.orig 2023-08-17 07:33:31 UTC +--- src/3rdparty/chromium/net/base/mock_network_change_notifier.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/base/mock_network_change_notifier.h @@ -84,7 +84,7 @@ class MockNetworkChangeNotifier : public NetworkChange // use_default_connection_cost_implementation is set to true. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_network__change__notifier.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_network__change__notifier.cc index 9977eda543f6..6fdb2bdb1ee9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_network__change__notifier.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_network__change__notifier.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/base/network_change_notifier.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/net/base/network_change_notifier.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/base/network_change_notifier.cc @@ -37,7 +37,7 @@ #include "net/base/network_change_notifier_linux.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_network__change__notifier__passive.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_network__change__notifier__passive.cc index 4ab4523fae18..28dc3c1b6538 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_network__change__notifier__passive.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_network__change__notifier__passive.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/net/base/network_change_notifier_passive.cc.orig 2023-05-31 08:12:17 UTC +--- src/3rdparty/chromium/net/base/network_change_notifier_passive.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/base/network_change_notifier_passive.cc -@@ -107,7 +107,7 @@ NetworkChangeNotifierPassive::GetAddressMapOwnerIntern +@@ -107,7 +107,7 @@ NetworkChangeNotifierPassive::NetworkChangeCalculatorP NetworkChangeNotifier::NetworkChangeCalculatorParams NetworkChangeNotifierPassive::NetworkChangeCalculatorParamsPassive() { NetworkChangeCalculatorParams params; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_network__interfaces__posix.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_network__interfaces__posix.h index 495ee6fd1ac3..65324f8e7b0f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_network__interfaces__posix.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_network__interfaces__posix.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/base/network_interfaces_posix.h.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/net/base/network_interfaces_posix.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/base/network_interfaces_posix.h @@ -8,6 +8,8 @@ // This file provides some basic functionality shared between diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_sockaddr__util__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_sockaddr__util__posix.cc index b22bec2d34b1..a28dd959b75a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_sockaddr__util__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_base_sockaddr__util__posix.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/net/base/sockaddr_util_posix.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/net/base/sockaddr_util_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/base/sockaddr_util_posix.cc -@@ -46,7 +46,8 @@ bool FillUnixAddress(const std::string& socket_path, +@@ -45,7 +45,8 @@ bool FillUnixAddress(const std::string& socket_path, return true; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_cert_cert__verify__proc.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_cert_cert__verify__proc.h index a16adebf725c..4d1ce5921f3a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_cert_cert__verify__proc.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_cert_cert__verify__proc.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/net/cert/cert_verify_proc.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/net/cert/cert_verify_proc.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/cert/cert_verify_proc.h -@@ -178,7 +178,7 @@ class NET_EXPORT CertVerifyProc +@@ -186,7 +186,7 @@ class NET_EXPORT CertVerifyProc kMaxValue = kChainLengthOne }; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_disk__cache_backend__experiment.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_disk__cache_backend__experiment.h new file mode 100644 index 000000000000..8a444746c7e0 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_disk__cache_backend__experiment.h @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/net/disk_cache/backend_experiment.h.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/net/disk_cache/backend_experiment.h +@@ -14,7 +14,7 @@ constexpr bool IsSimpleBackendEnabledByDefaultPlatform + // default. + constexpr bool IsSimpleBackendEnabledByDefaultPlatform() { + return BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || +- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC); ++ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD); + } + + // True if assigned to any of disk cache backend experiment groups. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_disk__cache_simple_simple__file__tracker.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_disk__cache_simple_simple__file__tracker.cc index b96c3368f007..2119d54ea688 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_disk__cache_simple_simple__file__tracker.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_disk__cache_simple_simple__file__tracker.cc @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/net/disk_cache/simple/simple_file_tracker.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/net/disk_cache/simple/simple_file_tracker.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/disk_cache/simple/simple_file_tracker.cc -@@ -35,7 +35,17 @@ void RecordFileDescripterLimiterOp(FileDescriptorLimit - } // namespace +@@ -37,7 +37,17 @@ SimpleFileTracker::SimpleFileTracker(int file_limit) + } SimpleFileTracker::SimpleFileTracker(int file_limit) +#if defined(OS_OPENBSD) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_BUILD.gn index d8b0e52e66bb..a653c0d7fe4a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/net/dns/BUILD.gn.orig 2025-03-29 00:50:57 UTC +--- src/3rdparty/chromium/net/dns/BUILD.gn.orig 2025-10-02 00:36:39 UTC +++ src/3rdparty/chromium/net/dns/BUILD.gn -@@ -138,7 +138,7 @@ source_set("dns") { +@@ -140,7 +140,7 @@ source_set("dns") { "dns_config_service_android.cc", "dns_config_service_android.h", ] @@ -9,7 +9,7 @@ sources += [ "dns_config_service_linux.cc", "dns_config_service_linux.h", -@@ -172,6 +172,9 @@ source_set("dns") { +@@ -174,6 +174,9 @@ source_set("dns") { } deps = [ "//net:net_deps" ] @@ -19,7 +19,7 @@ public_deps = [ ":dns_client", -@@ -179,6 +182,7 @@ source_set("dns") { +@@ -181,6 +184,7 @@ source_set("dns") { ":host_resolver_manager", ":mdns_client", "//net:net_public_deps", @@ -27,7 +27,7 @@ ] allow_circular_includes_from = [ -@@ -447,9 +451,9 @@ source_set("tests") { +@@ -450,9 +454,9 @@ source_set("tests") { if (is_android) { sources += [ "dns_config_service_android_unittest.cc" ] diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_address__info.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_address__info.cc index be1963acf7b6..46c3c2569743 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_address__info.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_address__info.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/dns/address_info.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/net/dns/address_info.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/dns/address_info.cc @@ -83,8 +83,12 @@ AddressInfo::AddressInfoAndResult AddressInfo::Get( // error. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_address__sorter__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_address__sorter__posix.cc index 06bd88941fc4..def00f1e3338 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_address__sorter__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_address__sorter__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/dns/address_sorter_posix.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/net/dns/address_sorter_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/dns/address_sorter_posix.cc @@ -32,6 +32,7 @@ #include "net/dns/netinet_in_var_ios.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_dns__config__service__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_dns__config__service__posix.cc index 1d3fc9a57e93..2c79b0dafaa9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_dns__config__service__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_dns__config__service__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/dns/dns_config_service_posix.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/net/dns/dns_config_service_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/dns/dns_config_service_posix.cc @@ -39,6 +39,11 @@ #include "net/dns/dns_config_watcher_mac.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_dns__reloader.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_dns__reloader.cc index a318a821f432..05d7e872b14f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_dns__reloader.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_dns__reloader.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/dns/dns_reloader.cc.orig 2023-04-05 11:05:06 UTC +--- src/3rdparty/chromium/net/dns/dns_reloader.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/dns/dns_reloader.cc @@ -10,6 +10,7 @@ // - there's not guarantee it exists at all. :( diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_dns__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_dns__util.cc index 89daa1d3b714..e564ee9bf104 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_dns__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_dns__util.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/dns/dns_util.cc.orig 2023-02-08 09:03:45 UTC +--- src/3rdparty/chromium/net/dns/dns_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/dns/dns_util.cc @@ -29,6 +29,8 @@ #include "net/dns/public/util.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_host__resolver__proc.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_host__resolver__proc.cc index d44f4b34ddc7..71185087b268 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_host__resolver__proc.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_host__resolver__proc.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/dns/host_resolver_proc.cc.orig 2022-11-30 08:12:58 UTC +--- src/3rdparty/chromium/net/dns/host_resolver_proc.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/dns/host_resolver_proc.cc @@ -15,10 +15,6 @@ #include "net/base/net_errors.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_public_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_public_BUILD.gn index 078eca3ccfa1..01714bee58b6 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_public_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_public_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/dns/public/BUILD.gn.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/net/dns/public/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/dns/public/BUILD.gn @@ -78,7 +78,7 @@ source_set("tests") { "doh_provider_entry_unittest.cc", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_public_resolv__reader.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_public_resolv__reader.h index f04131117c2b..5c8d3c7d4cb7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_public_resolv__reader.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_public_resolv__reader.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/dns/public/resolv_reader.h.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/net/dns/public/resolv_reader.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/dns/public/resolv_reader.h @@ -5,6 +5,7 @@ #ifndef NET_DNS_PUBLIC_RESOLV_READER_H_ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_public_scoped__res__state.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_public_scoped__res__state.h index 8eb3b329ed67..42eb628a1e08 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_public_scoped__res__state.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_dns_public_scoped__res__state.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/dns/public/scoped_res_state.h.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/net/dns/public/scoped_res_state.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/dns/public/scoped_res_state.h @@ -5,6 +5,7 @@ #ifndef NET_DNS_PUBLIC_SCOPED_RES_STATE_H_ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__gssapi__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__gssapi__posix.cc index 132dbd282215..a324b37159f0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__gssapi__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__gssapi__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/http/http_auth_gssapi_posix.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/net/http/http_auth_gssapi_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/http/http_auth_gssapi_posix.cc @@ -375,8 +375,9 @@ base::NativeLibrary GSSAPISharedLibrary::LoadSharedLib static const char* const kDefaultLibraryNames[] = { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__gssapi__posix.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__gssapi__posix.h index 35e61fbb0b0a..cdfbf91fee11 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__gssapi__posix.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__gssapi__posix.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/http/http_auth_gssapi_posix.h.orig 2022-08-31 12:19:35 UTC +--- src/3rdparty/chromium/net/http/http_auth_gssapi_posix.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/http/http_auth_gssapi_posix.h @@ -21,6 +21,9 @@ #if BUILDFLAG(IS_APPLE) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__handler__negotiate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__handler__negotiate.cc index cb34577ccbc0..f5dae1e801df 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__handler__negotiate.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__handler__negotiate.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/http/http_auth_handler_negotiate.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/net/http/http_auth_handler_negotiate.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/http/http_auth_handler_negotiate.cc @@ -120,7 +120,7 @@ int HttpAuthHandlerNegotiate::Factory::CreateAuthHandl #elif BUILDFLAG(IS_POSIX) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__preferences.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__preferences.cc index a4a4207ce0bf..5b73f30cdb53 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__preferences.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__preferences.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/http/http_auth_preferences.cc.orig 2023-10-11 18:22:24 UTC +--- src/3rdparty/chromium/net/http/http_auth_preferences.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/http/http_auth_preferences.cc @@ -39,7 +39,7 @@ std::string HttpAuthPreferences::AuthAndroidNegotiateA } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__preferences.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__preferences.h index 7b8e4bdd586c..33dd318123f9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__preferences.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__auth__preferences.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/http/http_auth_preferences.h.orig 2023-10-11 18:22:24 UTC +--- src/3rdparty/chromium/net/http/http_auth_preferences.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/http/http_auth_preferences.h @@ -50,7 +50,7 @@ class NET_EXPORT HttpAuthPreferences { #if BUILDFLAG(IS_ANDROID) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__network__session.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__network__session.cc index 23edb1d926fc..d868dd408dcc 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__network__session.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_http_http__network__session.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/http/http_network_session.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/net/http/http_network_session.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/http/http_network_session.cc @@ -20,7 +20,9 @@ #include "build/build_config.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_proxy__resolution_proxy__config__service.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_proxy__resolution_proxy__config__service.cc index 745564ada383..dbd079b9040c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_proxy__resolution_proxy__config__service.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_proxy__resolution_proxy__config__service.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/proxy_resolution/proxy_config_service.cc.orig 2023-03-09 06:31:50 UTC +--- src/3rdparty/chromium/net/proxy_resolution/proxy_config_service.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/proxy_resolution/proxy_config_service.cc @@ -19,20 +19,20 @@ #include "net/proxy_resolution/proxy_config_service_ios.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_proxy__resolution_proxy__config__service__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_proxy__resolution_proxy__config__service__linux.cc index 1f61bc922d8e..99348ea0c5d8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_proxy__resolution_proxy__config__service__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_proxy__resolution_proxy__config__service__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/proxy_resolution/proxy_config_service_linux.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/net/proxy_resolution/proxy_config_service_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/proxy_resolution/proxy_config_service_linux.cc @@ -11,7 +11,9 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_socket_socket__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_socket_socket__posix.cc deleted file mode 100644 index 0f58425e5a8a..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_socket_socket__posix.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/net/socket/socket_posix.cc.orig 2022-07-22 17:30:31 UTC -+++ src/3rdparty/chromium/net/socket/socket_posix.cc -@@ -516,7 +516,7 @@ void SocketPosix::ReadCompleted() { - } - - int SocketPosix::DoWrite(IOBuffer* buf, int buf_len) { --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) - // Disable SIGPIPE for this write. Although Chromium globally disables - // SIGPIPE, the net stack may be used in other consumers which do not do - // this. MSG_NOSIGNAL is a Linux-only API. On OS X, this is a setsockopt on diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_socket_socks5__client__socket.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_socket_socks5__client__socket.cc index 4305703bea29..5f91392c50dd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_socket_socks5__client__socket.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_socket_socks5__client__socket.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/socket/socks5_client_socket.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/net/socket/socks5_client_socket.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/socket/socks5_client_socket.cc @@ -24,6 +24,9 @@ #include "net/log/net_log_event_type.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_socket_tcp__socket__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_socket_tcp__socket__posix.cc index 4b2d83849b27..bcf490b2604c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_socket_tcp__socket__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_socket_tcp__socket__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/socket/tcp_socket_posix.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/net/socket/tcp_socket_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/socket/tcp_socket_posix.cc @@ -98,6 +98,17 @@ bool SetTCPKeepAlive(int fd, bool enable, int delay) { PLOG(ERROR) << "Failed to set TCP_KEEPALIVE on fd: " << fd; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_socket_udp__socket__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_socket_udp__socket__posix.cc index b1ac5453e6d0..c7031a6a3c42 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_socket_udp__socket__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_socket_udp__socket__posix.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/net/socket/udp_socket_posix.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/net/socket/udp_socket_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/socket/udp_socket_posix.cc -@@ -522,12 +522,17 @@ int UDPSocketPosix::SetRecvTos() { +@@ -528,12 +528,17 @@ int UDPSocketPosix::SetRecvTos() { #endif // BUILDFLAG(IS_APPLE) } @@ -19,7 +19,7 @@ if (confirm) { sendto_flags_ |= MSG_CONFIRM; } else { -@@ -548,7 +553,7 @@ int UDPSocketPosix::SetBroadcast(bool broadcast) { +@@ -554,7 +559,7 @@ int UDPSocketPosix::SetBroadcast(bool broadcast) { DCHECK_CALLED_ON_VALID_THREAD(thread_checker_); int value = broadcast ? 1 : 0; int rv; @@ -28,7 +28,7 @@ // SO_REUSEPORT on OSX permits multiple processes to each receive // UDP multicast or broadcast datagrams destined for the bound // port. -@@ -886,7 +891,7 @@ int UDPSocketPosix::DoBind(const IPEndPoint& address) +@@ -892,7 +897,7 @@ int UDPSocketPosix::DoBind(const IPEndPoint& address) #if BUILDFLAG(IS_CHROMEOS_ASH) if (last_error == EINVAL) return ERR_ADDRESS_IN_USE; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_third__party_quiche_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_third__party_quiche_BUILD.gn index 98ddd74ef682..d9d31d3f9442 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_third__party_quiche_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_third__party_quiche_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/net/third_party/quiche/BUILD.gn.orig 2023-11-03 10:09:45 UTC +--- src/3rdparty/chromium/net/third_party/quiche/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/third_party/quiche/BUILD.gn -@@ -29,7 +29,7 @@ import("//net/third_party/quiche/src/build/source_list +@@ -29,7 +29,7 @@ import("//third_party/protobuf/proto_library.gni") import("//testing/libfuzzer/fuzzer_test.gni") import("//third_party/protobuf/proto_library.gni") diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_tools_cert__verify__tool_cert__verify__tool.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_tools_cert__verify__tool_cert__verify__tool.cc index 0c51a3c029c5..68255851bf83 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_tools_cert__verify__tool_cert__verify__tool.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_tools_cert__verify__tool_cert__verify__tool.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/tools/cert_verify_tool/cert_verify_tool.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/net/tools/cert_verify_tool/cert_verify_tool.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/tools/cert_verify_tool/cert_verify_tool.cc @@ -35,7 +35,7 @@ #include "third_party/boringssl/src/pki/trust_store.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_tools_net__watcher_net__watcher.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_tools_net__watcher_net__watcher.cc index 39b71048a272..3305a8285fe1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_tools_net__watcher_net__watcher.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_tools_net__watcher_net__watcher.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/net/tools/net_watcher/net_watcher.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/net/tools/net_watcher/net_watcher.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/tools/net_watcher/net_watcher.cc @@ -32,7 +32,7 @@ #include "net/proxy_resolution/proxy_config_service.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_traffic__annotation_network__traffic__annotation.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_traffic__annotation_network__traffic__annotation.h index fc6ca465eac6..fa1508ca5712 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_traffic__annotation_network__traffic__annotation.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_traffic__annotation_network__traffic__annotation.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/net/traffic_annotation/network_traffic_annotation.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/net/traffic_annotation/network_traffic_annotation.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/traffic_annotation/network_traffic_annotation.h -@@ -378,7 +378,7 @@ struct MutablePartialNetworkTrafficAnnotationTag { +@@ -375,7 +375,7 @@ struct MutablePartialNetworkTrafficAnnotationTag { } // namespace net // Placeholder for unannotated usages. @@ -9,7 +9,7 @@ #define TRAFFIC_ANNOTATION_WITHOUT_PROTO(ANNOTATION_ID) \ net::DefineNetworkTrafficAnnotation(ANNOTATION_ID, "No proto yet.") #endif -@@ -392,7 +392,7 @@ struct MutablePartialNetworkTrafficAnnotationTag { +@@ -389,7 +389,7 @@ struct MutablePartialNetworkTrafficAnnotationTag { // TODO(crbug.com/40118868): Revisit once build flag switch of lacros-chrome is // complete. #if !BUILDFLAG(IS_WIN) && \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_url__request_url__request__context.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_url__request_url__request__context.cc index 5a6b8543f38e..d31eb5e33903 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_url__request_url__request__context.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_url__request_url__request__context.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/net/url_request/url_request_context.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/net/url_request/url_request_context.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/url_request/url_request_context.cc -@@ -121,7 +121,7 @@ const HttpNetworkSessionContext* URLRequestContext::Ge +@@ -123,7 +123,7 @@ const HttpNetworkSessionContext* URLRequestContext::Ge // TODO(crbug.com/40118868): Revisit once build flag switch of lacros-chrome is // complete. #if !BUILDFLAG(IS_WIN) && \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_url__request_url__request__context.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_url__request_url__request__context.h index a78fc8c28b3e..76216e0e7de4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_url__request_url__request__context.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_url__request_url__request__context.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/net/url_request/url_request_context.h.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/net/url_request/url_request_context.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/url_request/url_request_context.h -@@ -91,7 +91,7 @@ class NET_EXPORT URLRequestContext final { +@@ -90,7 +90,7 @@ class NET_EXPORT URLRequestContext final { // TODO(crbug.com/40118868): Revisit once build flag switch of lacros-chrome is // complete. #if !BUILDFLAG(IS_WIN) && \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_url__request_url__request__context__builder.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_url__request_url__request__context__builder.cc index 9371e40202de..ed638731e513 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_url__request_url__request__context__builder.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_net_url__request_url__request__context__builder.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/net/url_request/url_request_context_builder.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/net/url_request/url_request_context_builder.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/net/url_request/url_request_context_builder.cc -@@ -446,7 +446,7 @@ std::unique_ptr<URLRequestContext> URLRequestContextBu +@@ -447,7 +447,7 @@ std::unique_ptr<URLRequestContext> URLRequestContextBu } if (!proxy_resolution_service_) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_pdf_pdfium_pdfium__engine.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_pdf_pdfium_pdfium__engine.cc index 3674ddee982c..9ddc3f520617 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_pdf_pdfium_pdfium__engine.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_pdf_pdfium_pdfium__engine.cc @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/pdf/pdfium/pdfium_engine.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/pdf/pdfium/pdfium_engine.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/pdf/pdfium/pdfium_engine.cc -@@ -94,7 +94,7 @@ - #include "gin/public/cppgc.h" +@@ -108,7 +108,7 @@ + #include "ui/accessibility/ax_features.mojom-features.h" #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) @@ -9,7 +9,7 @@ #include "pdf/pdfium/pdfium_font_linux.h" #endif -@@ -523,7 +523,7 @@ void InitializeSDK(bool enable_v8, +@@ -541,7 +541,7 @@ void InitializeSDK(bool enable_v8, FPDF_InitLibraryWithConfig(&config); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_backend_cups__ipp__helper.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_backend_cups__ipp__helper.cc index 177acc3aefa7..13ed55926bc2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_backend_cups__ipp__helper.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_backend_cups__ipp__helper.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/printing/backend/cups_ipp_helper.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/printing/backend/cups_ipp_helper.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/printing/backend/cups_ipp_helper.cc -@@ -202,7 +202,7 @@ void ExtractResolutions(const CupsOptionProvider& prin +@@ -201,7 +201,7 @@ void ExtractResolutions(const CupsOptionProvider& prin // Provide a default DPI if no valid DPI is found. #if BUILDFLAG(IS_MAC) constexpr gfx::Size kDefaultMissingDpi(kDefaultMacDpi, kDefaultMacDpi); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_backend_print__backend__cups.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_backend_print__backend__cups.cc index 01b606373430..d6bbe5ec5862 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_backend_print__backend__cups.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_backend_print__backend__cups.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/printing/backend/print_backend_cups.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/printing/backend/print_backend_cups.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/printing/backend/print_backend_cups.cc -@@ -33,7 +33,7 @@ +@@ -29,7 +29,7 @@ #include "printing/mojom/print.mojom.h" #include "url/gurl.h" @@ -9,7 +9,7 @@ #include "base/feature_list.h" #include "printing/backend/cups_connection.h" #include "printing/backend/print_backend_cups_ipp.h" -@@ -63,7 +63,7 @@ int CaptureCupsDestCallback(void* data, unsigned flags +@@ -59,7 +59,7 @@ int CaptureCupsDestCallback(void* data, unsigned flags return 1; // Keep going. } @@ -17,8 +17,8 @@ +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) // This may be removed when Amazon Linux 2 reaches EOL (30 Jun 2025). bool AreNewerCupsFunctionsAvailable() { - return cupsFindDestDefault && cupsFindDestSupported && ippValidateAttributes; -@@ -291,7 +291,7 @@ bool PrintBackendCUPS::IsValidPrinter(const std::strin + return cupsFindDestDefault && cupsFindDestSupported && cupsUserAgent && +@@ -292,7 +292,7 @@ scoped_refptr<PrintBackend> PrintBackend::CreateInstan #if !BUILDFLAG(IS_CHROMEOS) scoped_refptr<PrintBackend> PrintBackend::CreateInstanceImpl( const std::string& locale) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_mojom_printing__context__mojom__traits.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_mojom_printing__context__mojom__traits.cc index 613fd337eaaf..7a7ebd81ae3e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_mojom_printing__context__mojom__traits.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_mojom_printing__context__mojom__traits.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/printing/mojom/printing_context_mojom_traits.cc.orig 2023-11-03 10:09:45 UTC +--- src/3rdparty/chromium/printing/mojom/printing_context_mojom_traits.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/printing/mojom/printing_context_mojom_traits.cc @@ -19,7 +19,7 @@ #include "base/numerics/safe_conversions.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_mojom_printing__context__mojom__traits.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_mojom_printing__context__mojom__traits.h index fcdfc946bf1f..a2ebcdc86132 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_mojom_printing__context__mojom__traits.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_mojom_printing__context__mojom__traits.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/printing/mojom/printing_context_mojom_traits.h.orig 2023-10-11 18:22:24 UTC +--- src/3rdparty/chromium/printing/mojom/printing_context_mojom_traits.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/printing/mojom/printing_context_mojom_traits.h @@ -166,7 +166,7 @@ struct StructTraits<printing::mojom::PrintSettingsData return s.pages_per_sheet(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_print__settings.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_print__settings.cc index a4f4d9d86d32..c634188c7166 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_print__settings.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_print__settings.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/printing/print_settings.cc.orig 2023-10-11 18:22:24 UTC +--- src/3rdparty/chromium/printing/print_settings.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/printing/print_settings.cc -@@ -320,7 +320,7 @@ PrintSettings& PrintSettings::operator=(const PrintSet +@@ -319,7 +319,7 @@ PrintSettings& PrintSettings::operator=(const PrintSet #endif is_modifiable_ = settings.is_modifiable_; pages_per_sheet_ = settings.pages_per_sheet_; @@ -9,7 +9,7 @@ for (const auto& item : settings.advanced_settings_) advanced_settings_.emplace(item.first, item.second.Clone()); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -@@ -350,7 +350,7 @@ bool PrintSettings::operator==(const PrintSettings& ot +@@ -349,7 +349,7 @@ bool PrintSettings::operator==(const PrintSettings& ot #endif is_modifiable_, requested_custom_margins_in_points_, pages_per_sheet_ @@ -18,7 +18,7 @@ , advanced_settings_ #endif -@@ -374,7 +374,7 @@ bool PrintSettings::operator==(const PrintSettings& ot +@@ -373,7 +373,7 @@ bool PrintSettings::operator==(const PrintSettings& ot other.is_modifiable_, other.requested_custom_margins_in_points_, other.pages_per_sheet_ @@ -27,7 +27,7 @@ , other.advanced_settings_ #endif -@@ -414,7 +414,7 @@ void PrintSettings::Clear() { +@@ -413,7 +413,7 @@ void PrintSettings::Clear() { #endif is_modifiable_ = true; pages_per_sheet_ = 1; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_print__settings.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_print__settings.h index 6b60b85de563..10ee02370716 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_print__settings.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_print__settings.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/printing/print_settings.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/printing/print_settings.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/printing/print_settings.h @@ -25,7 +25,7 @@ #include "base/values.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_print__settings__conversion.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_print__settings__conversion.cc index d53265f3b1c8..b7983ece0d70 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_print__settings__conversion.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_print__settings__conversion.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/printing/print_settings_conversion.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/printing/print_settings_conversion.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/printing/print_settings_conversion.cc @@ -285,7 +285,7 @@ std::unique_ptr<PrintSettings> PrintSettingsFromJobSet settings->set_is_modifiable(is_modifiable.value()); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_printing__context__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_printing__context__linux.cc index 85bc9279fa3c..e31b5546b07a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_printing__context__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_printing__context__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/printing/printing_context_linux.cc.orig 2023-12-10 06:10:27 UTC +--- src/3rdparty/chromium/printing/printing_context_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/printing/printing_context_linux.cc @@ -23,7 +23,7 @@ #endif @@ -9,7 +9,7 @@ #include "ui/linux/linux_ui.h" #endif -@@ -68,7 +68,7 @@ mojom::ResultCode PrintingContextLinux::UseDefaultSett +@@ -66,7 +66,7 @@ mojom::ResultCode PrintingContextLinux::UseDefaultSett ResetSettings(); @@ -18,7 +18,7 @@ if (!ui::LinuxUi::instance()) return mojom::ResultCode::kSuccess; -@@ -84,7 +84,7 @@ mojom::ResultCode PrintingContextLinux::UseDefaultSett +@@ -82,7 +82,7 @@ gfx::Size PrintingContextLinux::GetPdfPaperSizeDeviceU } gfx::Size PrintingContextLinux::GetPdfPaperSizeDeviceUnits() { @@ -27,7 +27,7 @@ if (ui::LinuxUi::instance()) return ui::LinuxUi::instance()->GetPdfPaperSize(this); #endif -@@ -97,7 +97,7 @@ mojom::ResultCode PrintingContextLinux::UpdatePrinterS +@@ -95,7 +95,7 @@ mojom::ResultCode PrintingContextLinux::UpdatePrinterS DCHECK(!printer_settings.show_system_dialog); DCHECK(!in_print_job_); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_printing__features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_printing__features.cc index 31448a5e8af9..e84e867d192e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_printing__features.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_printing__features.cc @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/printing/printing_features.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/printing/printing_features.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/printing/printing_features.cc @@ -21,12 +21,12 @@ BASE_FEATURE(kAddPrinterViaPrintscanmgr, - base::FEATURE_DISABLED_BY_DEFAULT); + base::FEATURE_ENABLED_BY_DEFAULT); #endif // BUILDFLAG(IS_CHROMEOS) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) @@ -15,3 +15,12 @@ base::FEATURE_DISABLED_BY_DEFAULT #else base::FEATURE_ENABLED_BY_DEFAULT +@@ -69,7 +69,7 @@ BASE_FEATURE(kEnableOopPrintDrivers, + // out-of-process. + BASE_FEATURE(kEnableOopPrintDrivers, + "EnableOopPrintDrivers", +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + base::FEATURE_ENABLED_BY_DEFAULT + #else + base::FEATURE_DISABLED_BY_DEFAULT diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_printing__features.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_printing__features.h index a6ce6e32a4db..17de6576b020 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_printing__features.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_printing__features.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/printing/printing_features.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/printing/printing_features.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/printing/printing_features.h -@@ -22,7 +22,7 @@ COMPONENT_EXPORT(PRINTING_BASE) +@@ -22,7 +22,7 @@ BASE_DECLARE_FEATURE(kAddPrinterViaPrintscanmgr); BASE_DECLARE_FEATURE(kAddPrinterViaPrintscanmgr); #endif // BUILDFLAG(IS_CHROMEOS) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_sandbox_print__backend__sandbox__hook__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_sandbox_print__backend__sandbox__hook__linux.cc index e213b02f0259..dcf1f9b26705 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_sandbox_print__backend__sandbox__hook__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_sandbox_print__backend__sandbox__hook__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/printing/sandbox/print_backend_sandbox_hook_linux.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/printing/sandbox/print_backend_sandbox_hook_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/printing/sandbox/print_backend_sandbox_hook_linux.cc @@ -10,20 +10,27 @@ #include "base/path_service.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_sandbox_print__backend__sandbox__hook__linux.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_sandbox_print__backend__sandbox__hook__linux.h index 57c55c4add93..dc8330575174 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_sandbox_print__backend__sandbox__hook__linux.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_printing_sandbox_print__backend__sandbox__hook__linux.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/printing/sandbox/print_backend_sandbox_hook_linux.h.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/printing/sandbox/print_backend_sandbox_hook_linux.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/printing/sandbox/print_backend_sandbox_hook_linux.h @@ -5,8 +5,13 @@ #ifndef PRINTING_SANDBOX_PRINT_BACKEND_SANDBOX_HOOK_LINUX_H_ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_BUILD.gn index a9f2a18dd4d7..d74fea4fae33 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/sandbox/BUILD.gn.orig 2022-08-31 12:19:35 UTC +--- src/3rdparty/chromium/sandbox/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/sandbox/BUILD.gn @@ -49,7 +49,7 @@ group("sandbox") { "//sandbox/mac:system_services", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_features.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_features.gni index eb3639cd4918..09c445d06355 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_features.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_features.gni @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/sandbox/features.gni.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/sandbox/features.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/sandbox/features.gni @@ -6,7 +6,7 @@ # currently. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_linux_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_linux_BUILD.gn index cfdee966f711..174e20777d0d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_linux_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_linux_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/sandbox/linux/BUILD.gn.orig 2023-08-17 07:33:31 UTC +--- src/3rdparty/chromium/sandbox/linux/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/sandbox/linux/BUILD.gn -@@ -12,11 +12,11 @@ if (is_android) { +@@ -12,11 +12,11 @@ declare_args() { } declare_args() { @@ -15,7 +15,7 @@ # On Android, use plain GTest. use_base_test_suite = is_linux || is_chromeos -@@ -379,6 +379,17 @@ component("sandbox_services") { +@@ -380,6 +380,17 @@ component("sandbox_services") { "services/libc_interceptor.h", ] } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_linux_services_init__process__reaper.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_linux_services_init__process__reaper.cc index 0d270be6a9ee..a66698f846c8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_linux_services_init__process__reaper.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_linux_services_init__process__reaper.cc @@ -1,14 +1,14 @@ ---- src/3rdparty/chromium/sandbox/linux/services/init_process_reaper.cc.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/sandbox/linux/services/init_process_reaper.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/sandbox/linux/services/init_process_reaper.cc -@@ -2,6 +2,7 @@ - // Use of this source code is governed by a BSD-style license that can be - // found in the LICENSE file. +@@ -7,6 +7,7 @@ + #pragma allow_unsafe_libc_calls + #endif +#if 0 #include "sandbox/linux/services/init_process_reaper.h" #include <signal.h> -@@ -100,3 +101,4 @@ bool CreateInitProcessReaper(base::OnceClosure post_fo +@@ -105,3 +106,4 @@ bool CreateInitProcessReaper(base::OnceClosure post_fo } } // namespace sandbox. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_linux_services_libc__interceptor.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_linux_services_libc__interceptor.cc index 5c91d4e896ed..8d68b393215d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_linux_services_libc__interceptor.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_linux_services_libc__interceptor.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/sandbox/linux/services/libc_interceptor.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/sandbox/linux/services/libc_interceptor.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/sandbox/linux/services/libc_interceptor.cc @@ -17,7 +17,9 @@ #include <stddef.h> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_BUILD.gn index 6c7f3d1b7b3e..4ae7566eda1a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/sandbox/policy/BUILD.gn.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/sandbox/policy/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/sandbox/policy/BUILD.gn -@@ -50,7 +50,7 @@ component("policy") { +@@ -45,7 +45,7 @@ component("policy") { "//third_party/jni_zero", ] } @@ -9,7 +9,7 @@ sources += [ "linux/bpf_audio_policy_linux.cc", "linux/bpf_audio_policy_linux.h", -@@ -125,6 +125,27 @@ component("policy") { +@@ -114,6 +114,27 @@ component("policy") { "//sandbox/linux:sandbox_services", "//sandbox/linux:seccomp_bpf", "//sandbox/linux:suid_sandbox_client", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_features.cc index 3f73d86940a2..8146c2256c4b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_features.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_features.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/sandbox/policy/features.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/sandbox/policy/features.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/sandbox/policy/features.cc -@@ -20,7 +20,11 @@ namespace sandbox::policy::features { +@@ -20,7 +20,11 @@ BASE_FEATURE(kNetworkServiceSandbox, // (Only causes an effect when feature kNetworkServiceInProcess is disabled.) BASE_FEATURE(kNetworkServiceSandbox, "NetworkServiceSandbox", @@ -12,12 +12,3 @@ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) // Enables a fine-grained seccomp-BPF syscall filter for the network service. -@@ -134,7 +138,7 @@ BASE_FEATURE(kSpectreVariant2Mitigation, - base::FEATURE_ENABLED_BY_DEFAULT); - #endif // BUILDFLAG(IS_CHROMEOS_ASH) - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - // Enabling the kNetworkServiceSandbox feature automatically enables Spectre - // variant 2 mitigations in the network service. This can lead to performance - // regressions, so enabling this feature will turn off the Spectre Variant 2 diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_features.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_features.h deleted file mode 100644 index c523f6e18ef0..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_features.h +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/sandbox/policy/features.h.orig 2024-10-22 08:31:56 UTC -+++ src/3rdparty/chromium/sandbox/policy/features.h -@@ -45,7 +45,7 @@ SANDBOX_POLICY_EXPORT BASE_DECLARE_FEATURE( - SANDBOX_POLICY_EXPORT BASE_DECLARE_FEATURE(kSpectreVariant2Mitigation); - #endif // BUILDFLAG(IS_CHROMEOS_ASH) - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - SANDBOX_POLICY_EXPORT BASE_DECLARE_FEATURE( - kForceDisableSpectreVariant2MitigationInNetworkService); - diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_freebsd_sandbox__freebsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_freebsd_sandbox__freebsd.cc index 2c31ebe63ce2..028998d12a95 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_freebsd_sandbox__freebsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_freebsd_sandbox__freebsd.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/sandbox/policy/freebsd/sandbox_freebsd.cc.orig 2023-04-28 19:19:55 UTC +--- src/3rdparty/chromium/sandbox/policy/freebsd/sandbox_freebsd.cc.orig 2025-09-01 08:52:31 UTC +++ src/3rdparty/chromium/sandbox/policy/freebsd/sandbox_freebsd.cc -@@ -0,0 +1,245 @@ +@@ -0,0 +1,211 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. @@ -159,7 +159,7 @@ + return true; + + VLOG(1) << "SandboxLinux::InitializeSandbox: process_type=" -+ << process_type << " sandbox_type=" << GetSandboxTypeInEnglish(sandbox_type); ++ << process_type << " sandbox_type=" << sandbox_type; + + // Only one thread is running, pre-initialize if not already done. + if (!pre_initialized_) @@ -210,39 +210,5 @@ + // !defined(THREAD_SANITIZER) && !defined(LEAK_SANITIZER) +} + -+// static -+std::string SandboxLinux::GetSandboxTypeInEnglish(sandbox::mojom::Sandbox sandbox_type) { -+ switch (sandbox_type) { -+ case sandbox::mojom::Sandbox::kNoSandbox: -+ return "Unsandboxed"; -+ case sandbox::mojom::Sandbox::kRenderer: -+ return "Renderer"; -+ case sandbox::mojom::Sandbox::kUtility: -+ return "Utility"; -+ case sandbox::mojom::Sandbox::kGpu: -+ return "GPU"; -+#if BUILDFLAG(ENABLE_PPAPI) -+ case sandbox::mojom::Sandbox::kPpapi: -+ return "PPAPI"; -+#endif -+ case sandbox::mojom::Sandbox::kNetwork: -+ return "Network"; -+ case sandbox::mojom::Sandbox::kCdm: -+ return "CDM"; -+ case sandbox::mojom::Sandbox::kPrintCompositor: -+ return "Print Compositor"; -+ case sandbox::mojom::Sandbox::kAudio: -+ return "Audio"; -+ case sandbox::mojom::Sandbox::kSpeechRecognition: -+ return "Speech Recognition"; -+ case sandbox::mojom::Sandbox::kService: -+ return "Service"; -+ case sandbox::mojom::Sandbox::kVideoCapture: -+ return "Video Capture"; -+ default: -+ return "Unknown"; -+ } -+} -+ +} // namespace policy +} // namespace sandbox diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_freebsd_sandbox__freebsd.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_freebsd_sandbox__freebsd.h index 63c091d8eaab..b0fe4a6f2bb2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_freebsd_sandbox__freebsd.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_freebsd_sandbox__freebsd.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/sandbox/policy/freebsd/sandbox_freebsd.h.orig 2022-11-30 08:12:58 UTC +--- src/3rdparty/chromium/sandbox/policy/freebsd/sandbox_freebsd.h.orig 2025-09-01 08:52:31 UTC +++ src/3rdparty/chromium/sandbox/policy/freebsd/sandbox_freebsd.h -@@ -0,0 +1,278 @@ +@@ -0,0 +1,276 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. @@ -169,8 +169,6 @@ + // is called from inside these processes. + int GetStatus(); + -+ static std::string GetSandboxTypeInEnglish(sandbox::mojom::Sandbox sandbox_type); -+ + // Returns true if the current process is single-threaded or if the number + // of threads cannot be determined. + bool IsSingleThreaded() const; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_mojom_sandbox.mojom b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_mojom_sandbox.mojom index 1d1c7c43d5a3..a3d6e6486d1b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_mojom_sandbox.mojom +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_mojom_sandbox.mojom @@ -1,8 +1,8 @@ ---- src/3rdparty/chromium/sandbox/policy/mojom/sandbox.mojom.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/sandbox/policy/mojom/sandbox.mojom.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/sandbox/policy/mojom/sandbox.mojom -@@ -80,6 +80,12 @@ enum Sandbox { - [EnableIf=is_fuchsia] - kVideoCapture, +@@ -74,6 +74,12 @@ enum Sandbox { + // Minimally privileged sandbox on Fuchsia. + [EnableIf=is_fuchsia] kVideoCapture, + [EnableIf=is_openbsd] + kVideoCapture, @@ -12,4 +12,4 @@ + // Allows access to file contents and Windows APIs for parsing icons from PE // files. - [EnableIf=is_win] + [EnableIf=is_win] kIconReader, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_openbsd_sandbox__openbsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_openbsd_sandbox__openbsd.cc index 3a93e1e4dfe3..b8e756de5939 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_openbsd_sandbox__openbsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_openbsd_sandbox__openbsd.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/sandbox/policy/openbsd/sandbox_openbsd.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/sandbox/policy/openbsd/sandbox_openbsd.cc.orig 2025-09-01 08:52:31 UTC +++ src/3rdparty/chromium/sandbox/policy/openbsd/sandbox_openbsd.cc -@@ -0,0 +1,424 @@ +@@ -0,0 +1,392 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. @@ -203,6 +203,7 @@ + ufile = _UNVEIL_MAIN; + break; + case sandbox::mojom::Sandbox::kGpu: ++ case sandbox::mojom::Sandbox::kOnDeviceModelExecution: + ufile = _UNVEIL_GPU; + break; + case sandbox::mojom::Sandbox::kNetwork: @@ -299,7 +300,7 @@ + return true; + + VLOG(1) << "SandboxLinux::InitializeSandbox: process_type=" -+ << process_type << " sandbox_type=" << GetSandboxTypeInEnglish(sandbox_type); ++ << process_type << " sandbox_type=" << sandbox_type; + + // Only one thread is running, pre-initialize if not already done. + if (!pre_initialized_) @@ -331,6 +332,7 @@ + SetPledge("stdio rpath flock prot_exec recvfd sendfd ps", NULL); + break; + case sandbox::mojom::Sandbox::kGpu: ++ case sandbox::mojom::Sandbox::kOnDeviceModelExecution: + SetPledge("stdio drm rpath flock cpath wpath prot_exec recvfd sendfd tmppath", NULL); + break; +#if BUILDFLAG(ENABLE_PPAPI) @@ -353,7 +355,7 @@ + SetPledge("stdio rpath cpath wpath fattr flock sendfd recvfd prot_exec", NULL); + break; + default: -+ LOG(ERROR) << "non-pledge()'d process: " << GetSandboxTypeInEnglish(sandbox_type); ++ LOG(ERROR) << "non-pledge()'d process: " << sandbox_type; + break; + } + @@ -389,39 +391,5 @@ + // !defined(THREAD_SANITIZER) && !defined(LEAK_SANITIZER) +} + -+// static -+std::string SandboxLinux::GetSandboxTypeInEnglish(sandbox::mojom::Sandbox sandbox_type) { -+ switch (sandbox_type) { -+ case sandbox::mojom::Sandbox::kNoSandbox: -+ return "Unsandboxed"; -+ case sandbox::mojom::Sandbox::kRenderer: -+ return "Renderer"; -+ case sandbox::mojom::Sandbox::kUtility: -+ return "Utility"; -+ case sandbox::mojom::Sandbox::kGpu: -+ return "GPU"; -+#if BUILDFLAG(ENABLE_PPAPI) -+ case sandbox::mojom::Sandbox::kPpapi: -+ return "PPAPI"; -+#endif -+ case sandbox::mojom::Sandbox::kNetwork: -+ return "Network"; -+ case sandbox::mojom::Sandbox::kCdm: -+ return "CDM"; -+ case sandbox::mojom::Sandbox::kPrintCompositor: -+ return "Print Compositor"; -+ case sandbox::mojom::Sandbox::kAudio: -+ return "Audio"; -+ case sandbox::mojom::Sandbox::kSpeechRecognition: -+ return "Speech Recognition"; -+ case sandbox::mojom::Sandbox::kService: -+ return "Service"; -+ case sandbox::mojom::Sandbox::kVideoCapture: -+ return "Video Capture"; -+ default: -+ return "Unknown"; -+ } -+} -+ +} // namespace policy +} // namespace sandbox diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_openbsd_sandbox__openbsd.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_openbsd_sandbox__openbsd.h index 139a14b50a96..03a15e2da4cb 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_openbsd_sandbox__openbsd.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_openbsd_sandbox__openbsd.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/sandbox/policy/openbsd/sandbox_openbsd.h.orig 2022-11-30 08:12:58 UTC +--- src/3rdparty/chromium/sandbox/policy/openbsd/sandbox_openbsd.h.orig 2025-09-01 08:52:32 UTC +++ src/3rdparty/chromium/sandbox/policy/openbsd/sandbox_openbsd.h -@@ -0,0 +1,282 @@ +@@ -0,0 +1,280 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. @@ -169,8 +169,6 @@ + // is called from inside these processes. + int GetStatus(); + -+ static std::string GetSandboxTypeInEnglish(sandbox::mojom::Sandbox sandbox_type); -+ + // Returns true if the current process is single-threaded or if the number + // of threads cannot be determined. + bool IsSingleThreaded() const; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_sandbox.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_sandbox.cc index 7d2b91d6704f..2d58960f10ee 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_sandbox.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_sandbox.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/sandbox/policy/sandbox.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/sandbox/policy/sandbox.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/sandbox/policy/sandbox.cc @@ -18,6 +18,10 @@ #include "sandbox/policy/linux/sandbox_linux.h" @@ -11,7 +11,7 @@ #if BUILDFLAG(IS_MAC) #include "sandbox/mac/seatbelt.h" #endif // BUILDFLAG(IS_MAC) -@@ -32,7 +36,7 @@ +@@ -32,7 +36,7 @@ namespace policy { namespace sandbox { namespace policy { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_sandbox.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_sandbox.h index 4c335f283a21..549a38e317b6 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_sandbox.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_sandbox.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/sandbox/policy/sandbox.h.orig 2023-04-28 17:01:32 UTC +--- src/3rdparty/chromium/sandbox/policy/sandbox.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/sandbox/policy/sandbox.h @@ -12,6 +12,12 @@ #include "sandbox/policy/linux/sandbox_linux.h" @@ -13,7 +13,7 @@ namespace sandbox { namespace mojom { enum class Sandbox; -@@ -32,7 +38,7 @@ namespace policy { +@@ -32,7 +38,7 @@ class SANDBOX_POLICY_EXPORT Sandbox { class SANDBOX_POLICY_EXPORT Sandbox { public: diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_sandbox__type.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_sandbox__type.cc index 4a8f5b63b8fb..9e089d4abef4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_sandbox__type.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_sandbox__type.cc @@ -1,34 +1,48 @@ ---- src/3rdparty/chromium/sandbox/policy/sandbox_type.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/sandbox/policy/sandbox_type.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/sandbox/policy/sandbox_type.cc -@@ -38,7 +38,7 @@ bool IsUnsandboxedSandboxType(Sandbox sandbox_type) { +@@ -39,7 +39,7 @@ constexpr char kPpapiSandbox[] = "ppapi"; #endif - case Sandbox::kAudio: - return false; + + #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ +- BUILDFLAG(IS_WIN) ++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) + constexpr char kPrintBackendSandbox[] = "print_backend"; + constexpr char kScreenAISandbox[] = "screen_ai"; + #endif +@@ -57,18 +57,18 @@ constexpr char kMirroringSandbox[] = "mirroring"; + constexpr char kMirroringSandbox[] = "mirroring"; + #endif // BUILDFLAG(IS_MAC) + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + constexpr char kVideoEffectsSandbox[] = "video_effects"; + #endif + -#if BUILDFLAG(IS_FUCHSIA) +#if BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) - case Sandbox::kVideoCapture: - return false; - #endif -@@ -62,7 +62,7 @@ bool IsUnsandboxedSandboxType(Sandbox sandbox_type) { - #if BUILDFLAG(IS_MAC) - case Sandbox::kMirroring: + constexpr char kVideoCaptureSandbox[] = "video_capture"; #endif + -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - case Sandbox::kHardwareVideoDecoding: + constexpr char kHardwareVideoDecodingSandbox[] = "hardware_video_decoding"; #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) - #if BUILDFLAG(IS_CHROMEOS_ASH) -@@ -73,7 +73,7 @@ bool IsUnsandboxedSandboxType(Sandbox sandbox_type) { - case Sandbox::kLibassistant: - #endif // BUILDFLAG(ENABLE_CROS_LIBASSISTANT) - #endif // // BUILDFLAG(IS_CHROMEOS_ASH) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) | BUILDFLAG(IS_BSD) - case Sandbox::kZygoteIntermediateSandbox: - case Sandbox::kHardwareVideoEncoding: - #endif -@@ -131,7 +131,7 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi - #endif ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + constexpr char kHardwareVideoEncodingSandbox[] = "hardware_video_encoding"; + #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) + +@@ -81,7 +81,7 @@ constexpr char kLibassistantSandbox[] = "libassistant" + #endif // BUILDFLAG(ENABLE_CROS_LIBASSISTANT) + #endif // BUILDFLAG(IS_CHROMEOS_ASH) + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + constexpr char kOnDeviceTranslationSandbox[] = "on_device_translation"; + #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) + +@@ -143,7 +143,7 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi + case Sandbox::kCdm: case Sandbox::kPrintCompositor: case Sandbox::kAudio: -#if BUILDFLAG(IS_FUCHSIA) @@ -36,7 +50,7 @@ case Sandbox::kVideoCapture: #endif #if BUILDFLAG(IS_WIN) -@@ -142,10 +142,10 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi +@@ -154,10 +154,10 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi case Sandbox::kMediaFoundationCdm: case Sandbox::kWindowsSystemProxyResolver: #endif // BUILDFLAG(IS_WIN) @@ -49,7 +63,26 @@ case Sandbox::kHardwareVideoEncoding: #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) #if BUILDFLAG(IS_CHROMEOS_ASH) -@@ -171,7 +171,7 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi +@@ -172,15 +172,15 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi + case Sandbox::kMirroring: + #endif // BUILDFLAG(IS_MAC) + #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ +- BUILDFLAG(IS_WIN) ++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) + case Sandbox::kPrintBackend: + case Sandbox::kScreenAI: + #endif + case Sandbox::kSpeechRecognition: +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + case Sandbox::kVideoEffects: + #endif +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + case Sandbox::kOnDeviceTranslation: + #endif + DCHECK(command_line->GetSwitchValueASCII(switches::kProcessType) == +@@ -190,7 +190,7 @@ void SetCommandLineFlagsForSandboxType(base::CommandLi switches::kServiceSandboxType, StringFromUtilitySandboxType(sandbox_type)); break; @@ -58,7 +91,7 @@ case Sandbox::kZygoteIntermediateSandbox: break; #endif -@@ -211,7 +211,7 @@ sandbox::mojom::Sandbox SandboxTypeFromCommandLine( +@@ -230,7 +230,7 @@ sandbox::mojom::Sandbox SandboxTypeFromCommandLine( return Sandbox::kUtility; } @@ -67,30 +100,51 @@ // Intermediate process gains a sandbox later. if (process_type == switches::kZygoteProcessType) return Sandbox::kZygoteIntermediateSandbox; -@@ -259,7 +259,7 @@ std::string StringFromUtilitySandboxType(Sandbox sandb - return switches::kUtilitySandbox; +@@ -272,7 +272,7 @@ std::string StringFromUtilitySandboxType(Sandbox sandb + return kUtilitySandbox; case Sandbox::kAudio: - return switches::kAudioSandbox; + return kAudioSandbox; -#if BUILDFLAG(IS_FUCHSIA) +#if BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) case Sandbox::kVideoCapture: - return switches::kVideoCaptureSandbox; + return kVideoCaptureSandbox; + #endif +@@ -283,17 +283,17 @@ std::string StringFromUtilitySandboxType(Sandbox sandb + case Sandbox::kSpeechRecognition: + return kSpeechRecognitionSandbox; + #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ +- BUILDFLAG(IS_WIN) ++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) + case Sandbox::kPrintBackend: + return kPrintBackendSandbox; + case Sandbox::kScreenAI: + return kScreenAISandbox; + #endif +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + case Sandbox::kVideoEffects: + return kVideoEffectsSandbox; #endif -@@ -291,11 +291,11 @@ std::string StringFromUtilitySandboxType(Sandbox sandb +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + case Sandbox::kOnDeviceTranslation: + return kOnDeviceTranslationSandbox; + #endif +@@ -313,11 +313,11 @@ std::string StringFromUtilitySandboxType(Sandbox sandb case Sandbox::kMirroring: - return switches::kMirroringSandbox; + return kMirroringSandbox; #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) case Sandbox::kHardwareVideoDecoding: - return switches::kHardwareVideoDecodingSandbox; + return kHardwareVideoDecodingSandbox; #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) case Sandbox::kHardwareVideoEncoding: - return switches::kHardwareVideoEncodingSandbox; + return kHardwareVideoEncodingSandbox; #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -@@ -314,7 +314,7 @@ std::string StringFromUtilitySandboxType(Sandbox sandb +@@ -336,7 +336,7 @@ std::string StringFromUtilitySandboxType(Sandbox sandb // The following are not utility processes so should not occur. case Sandbox::kRenderer: case Sandbox::kGpu: @@ -98,23 +152,46 @@ +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) case Sandbox::kZygoteIntermediateSandbox: #endif - NOTREACHED_IN_MIGRATION(); -@@ -389,15 +389,15 @@ sandbox::mojom::Sandbox UtilitySandboxTypeFromString( - if (sandbox_string == switches::kVideoEffectsSandbox) { + NOTREACHED(); +@@ -414,7 +414,7 @@ sandbox::mojom::Sandbox UtilitySandboxTypeFromString( + return Sandbox::kSpeechRecognition; + } + #if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ +- BUILDFLAG(IS_WIN) ++ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) + if (sandbox_string == kPrintBackendSandbox) { + return Sandbox::kPrintBackend; + } +@@ -422,27 +422,27 @@ sandbox::mojom::Sandbox UtilitySandboxTypeFromString( + return Sandbox::kScreenAI; + } + #endif +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + if (sandbox_string == kVideoEffectsSandbox) { return Sandbox::kVideoEffects; } + #endif +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + if (sandbox_string == kOnDeviceTranslationSandbox) { + return Sandbox::kOnDeviceTranslation; + } + #endif -#if BUILDFLAG(IS_FUCHSIA) +#if BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) - if (sandbox_string == switches::kVideoCaptureSandbox) + if (sandbox_string == kVideoCaptureSandbox) { return Sandbox::kVideoCapture; + } #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - if (sandbox_string == switches::kHardwareVideoDecodingSandbox) + if (sandbox_string == kHardwareVideoDecodingSandbox) { return Sandbox::kHardwareVideoDecoding; + } #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - if (sandbox_string == switches::kHardwareVideoEncodingSandbox) + if (sandbox_string == kHardwareVideoEncodingSandbox) { return Sandbox::kHardwareVideoEncoding; - #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) + } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_switches.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_switches.cc index d3b968924eb3..43b2b91468af 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_switches.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_switches.cc @@ -1,19 +1,6 @@ ---- src/3rdparty/chromium/sandbox/policy/switches.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/sandbox/policy/switches.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/sandbox/policy/switches.cc -@@ -55,10 +55,10 @@ const char kWindowsSystemProxyResolverSandbox[] = "pro - const char kMirroringSandbox[] = "mirroring"; - #endif // BUILDFLAG(IS_MAC) - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - const char kHardwareVideoDecodingSandbox[] = "hardware_video_decoding"; - #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - const char kHardwareVideoEncodingSandbox[] = "hardware_video_encoding"; - #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) - -@@ -98,7 +98,9 @@ const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-f +@@ -38,7 +38,9 @@ const char kNoSandbox[] = "no-sandbox"; // Meant to be used as a browser-level switch for testing purposes only. const char kNoSandbox[] = "no-sandbox"; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_switches.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_switches.h index 51545368930f..bd2c48b2f1fa 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_switches.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_sandbox_policy_switches.h @@ -1,19 +1,6 @@ ---- src/3rdparty/chromium/sandbox/policy/switches.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/sandbox/policy/switches.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/sandbox/policy/switches.h -@@ -58,10 +58,10 @@ SANDBOX_POLICY_EXPORT extern const char kWindowsSystem - SANDBOX_POLICY_EXPORT extern const char kMirroringSandbox[]; - #endif // BUILDFLAG(IS_MAC) - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - SANDBOX_POLICY_EXPORT extern const char kHardwareVideoDecodingSandbox[]; - #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_ASH) --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - SANDBOX_POLICY_EXPORT extern const char kHardwareVideoEncodingSandbox[]; - #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) - -@@ -83,7 +83,8 @@ SANDBOX_POLICY_EXPORT extern const char kDisableSetuid +@@ -23,7 +23,8 @@ SANDBOX_POLICY_EXPORT extern const char kNoSandbox[]; SANDBOX_POLICY_EXPORT extern const char kGpuSandboxAllowSysVShm[]; SANDBOX_POLICY_EXPORT extern const char kGpuSandboxFailuresFatal[]; SANDBOX_POLICY_EXPORT extern const char kNoSandbox[]; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_audio_audio__sandbox__hook__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_audio_audio__sandbox__hook__linux.cc index c732be8091ea..2f0707010b1a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_audio_audio__sandbox__hook__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_audio_audio__sandbox__hook__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/audio/audio_sandbox_hook_linux.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/services/audio/audio_sandbox_hook_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/audio/audio_sandbox_hook_linux.cc @@ -143,6 +143,7 @@ void AddPulseAudioFilePermissions( } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_audio_audio__sandbox__hook__linux.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_audio_audio__sandbox__hook__linux.h index bbb595ea5940..82b93583089e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_audio_audio__sandbox__hook__linux.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_audio_audio__sandbox__hook__linux.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/audio/audio_sandbox_hook_linux.h.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/services/audio/audio_sandbox_hook_linux.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/audio/audio_sandbox_hook_linux.h @@ -5,7 +5,13 @@ #ifndef SERVICES_AUDIO_AUDIO_SANDBOX_HOOK_LINUX_H_ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_BUILD.gn index 32ce10fde4b2..b02b37e6f18e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/services/device/BUILD.gn.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/services/device/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/device/BUILD.gn -@@ -15,7 +15,7 @@ if (is_android) { +@@ -13,7 +13,7 @@ is_serial_enabled_platform = } is_serial_enabled_platform = diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_geolocation_location__provider__manager.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_geolocation_location__provider__manager.cc index 3fe319a7f706..03f0ca65cca9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_geolocation_location__provider__manager.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_geolocation_location__provider__manager.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/services/device/geolocation/location_provider_manager.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/services/device/geolocation/location_provider_manager.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/device/geolocation/location_provider_manager.cc -@@ -47,7 +47,7 @@ LocationProviderManager::LocationProviderManager( +@@ -86,7 +86,7 @@ LocationProviderManager::LocationProviderManager( #if BUILDFLAG(IS_ANDROID) // On Android, default to using the platform location provider. provider_manager_mode_ = LPMM::kPlatformOnly; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_BUILD.gn index cfa79d9ad2cd..2a28b3e6d727 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/services/device/hid/BUILD.gn.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/services/device/hid/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/device/hid/BUILD.gn -@@ -36,7 +36,26 @@ source_set("hid") { +@@ -34,7 +34,26 @@ source_set("hid") { "//services/device/public/mojom", ] diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__connection__fido.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__connection__fido.cc index 4a94ac3596a9..d03a7714e00e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__connection__fido.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__connection__fido.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/device/hid/hid_connection_fido.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/services/device/hid/hid_connection_fido.cc.orig 2025-09-01 08:52:32 UTC +++ src/3rdparty/chromium/services/device/hid/hid_connection_fido.cc @@ -0,0 +1,216 @@ +// Copyright 2014 The Chromium Authors diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__connection__fido.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__connection__fido.h index 721ad2743480..83eb15e468ee 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__connection__fido.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__connection__fido.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/device/hid/hid_connection_fido.h.orig 2022-10-28 16:39:00 UTC +--- src/3rdparty/chromium/services/device/hid/hid_connection_fido.h.orig 2025-09-01 08:52:32 UTC +++ src/3rdparty/chromium/services/device/hid/hid_connection_fido.h @@ -0,0 +1,60 @@ +// Copyright 2014 The Chromium Authors diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__connection__freebsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__connection__freebsd.cc index 9f9be9b8cdf6..e5df760a1b98 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__connection__freebsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__connection__freebsd.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/device/hid/hid_connection_freebsd.cc.orig 2024-07-30 19:22:51 UTC +--- src/3rdparty/chromium/services/device/hid/hid_connection_freebsd.cc.orig 2025-09-01 08:52:32 UTC +++ src/3rdparty/chromium/services/device/hid/hid_connection_freebsd.cc @@ -0,0 +1,240 @@ +// Copyright (c) 2014 The Chromium Authors. All rights reserved. @@ -46,7 +46,7 @@ + // Must be called on a thread that has a base::MessageLoopForIO. + void Start() { + DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); -+ base::internal::AssertBlockingAllowed(); ++ base::AssertBlockingAllowed(); + + file_watcher_ = base::FileDescriptorWatcher::WatchReadable( + fd_.get(), base::BindRepeating(&BlockingTaskRunnerHelper::OnFileCanReadWithoutBlocking, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__connection__freebsd.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__connection__freebsd.h index 137aec76fd38..f13791faf7bf 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__connection__freebsd.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__connection__freebsd.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/device/hid/hid_connection_freebsd.h.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/services/device/hid/hid_connection_freebsd.h.orig 2025-09-01 08:52:32 UTC +++ src/3rdparty/chromium/services/device/hid/hid_connection_freebsd.h @@ -0,0 +1,67 @@ +// Copyright (c) 2014 The Chromium Authors. All rights reserved. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service.cc index 03c1704d920e..1ded3bb546a2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/device/hid/hid_service.cc.orig 2022-11-30 08:12:58 UTC +--- src/3rdparty/chromium/services/device/hid/hid_service.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/device/hid/hid_service.cc @@ -20,6 +20,10 @@ @@ -11,7 +11,7 @@ #elif BUILDFLAG(IS_MAC) #include "services/device/hid/hid_service_mac.h" #elif BUILDFLAG(IS_WIN) -@@ -68,6 +72,10 @@ constexpr base::TaskTraits HidService::kBlockingTaskTr +@@ -68,6 +72,10 @@ std::unique_ptr<HidService> HidService::Create() { std::unique_ptr<HidService> HidService::Create() { #if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && defined(USE_UDEV) return std::make_unique<HidServiceLinux>(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service__fido.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service__fido.cc index 9705bc8e8038..be1d256adb86 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service__fido.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service__fido.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/device/hid/hid_service_fido.cc.orig 2023-03-09 06:31:50 UTC +--- src/3rdparty/chromium/services/device/hid/hid_service_fido.cc.orig 2025-09-01 08:52:32 UTC +++ src/3rdparty/chromium/services/device/hid/hid_service_fido.cc @@ -0,0 +1,396 @@ +// Copyright 2014 The Chromium Authors diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service__fido.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service__fido.h index 66df5a44d568..82958a8076d1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service__fido.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service__fido.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/device/hid/hid_service_fido.h.orig 2022-10-28 16:39:00 UTC +--- src/3rdparty/chromium/services/device/hid/hid_service_fido.h.orig 2025-09-01 08:52:32 UTC +++ src/3rdparty/chromium/services/device/hid/hid_service_fido.h @@ -0,0 +1,65 @@ +// Copyright 2014 The Chromium Authors diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service__freebsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service__freebsd.cc index 888fba7bc134..5dd2d09418de 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service__freebsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service__freebsd.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/device/hid/hid_service_freebsd.cc.orig 2023-04-05 11:05:06 UTC +--- src/3rdparty/chromium/services/device/hid/hid_service_freebsd.cc.orig 2025-09-01 08:52:32 UTC +++ src/3rdparty/chromium/services/device/hid/hid_service_freebsd.cc @@ -0,0 +1,395 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. @@ -106,7 +106,7 @@ + + bool HaveReadWritePermissions(std::string device_id) { + std::string device_node = "/dev/" + device_id; -+ base::internal::AssertBlockingAllowed(); ++ base::AssertBlockingAllowed(); + + base::FilePath device_path(device_node); + base::File device_file; @@ -130,7 +130,7 @@ + + std::vector<uint8_t> report_descriptor; + -+ base::internal::AssertBlockingAllowed(); ++ base::AssertBlockingAllowed(); + + base::FilePath device_path(device_node); + base::File device_file; @@ -196,7 +196,7 @@ + private: + + void CheckPendingPermissionChange() { -+ base::internal::AssertBlockingAllowed(); ++ base::AssertBlockingAllowed(); + std::map<std::string, int>::iterator it; + for (it = permissions_checks_attempts_.begin(); it != permissions_checks_attempts_.end();) { + std::string device_name = it->first; @@ -222,7 +222,7 @@ + } + + void SetupDevdMonitor() { -+ base::internal::AssertBlockingAllowed(); ++ base::AssertBlockingAllowed(); + + int devd_fd = socket(AF_UNIX, SOCK_SEQPACKET, 0); + if (devd_fd < 0) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service__freebsd.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service__freebsd.h index 40f84176a6b1..414f80d3eafc 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service__freebsd.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_hid_hid__service__freebsd.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/device/hid/hid_service_freebsd.h.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/services/device/hid/hid_service_freebsd.h.orig 2025-09-01 08:52:32 UTC +++ src/3rdparty/chromium/services/device/hid/hid_service_freebsd.h @@ -0,0 +1,49 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_public_cpp_device__features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_public_cpp_device__features.cc new file mode 100644 index 000000000000..e491370ddfc4 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_public_cpp_device__features.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/services/device/public/cpp/device_features.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/services/device/public/cpp/device_features.cc +@@ -114,7 +114,7 @@ bool IsOsLevelGeolocationPermissionSupportEnabled() { + + // Controls whether Chrome will try to automatically detach kernel drivers when + // a USB interface is busy. +-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + BASE_FEATURE(kAutomaticUsbDetach, + "AutomaticUsbDetach", + base::FEATURE_DISABLED_BY_DEFAULT); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_public_cpp_device__features.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_public_cpp_device__features.h new file mode 100644 index 000000000000..2efee686809f --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_public_cpp_device__features.h @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/services/device/public/cpp/device_features.h.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/services/device/public/cpp/device_features.h +@@ -51,7 +51,7 @@ DEVICE_FEATURES_EXPORT bool IsOsLevelGeolocationPermis + + DEVICE_FEATURES_EXPORT bool IsOsLevelGeolocationPermissionSupportEnabled(); + +-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + DEVICE_FEATURES_EXPORT BASE_DECLARE_FEATURE(kAutomaticUsbDetach); + #endif // BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) + diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_public_cpp_generic__sensor_sensor__reading.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_public_cpp_generic__sensor_sensor__reading.h index 3536acad910c..7cbf73db6014 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_public_cpp_generic__sensor_sensor__reading.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_public_cpp_generic__sensor_sensor__reading.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/device/public/cpp/generic_sensor/sensor_reading.h.orig 2023-11-03 10:09:45 UTC +--- src/3rdparty/chromium/services/device/public/cpp/generic_sensor/sensor_reading.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/device/public/cpp/generic_sensor/sensor_reading.h @@ -8,6 +8,8 @@ #include <stddef.h> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_public_mojom_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_public_mojom_BUILD.gn index 63053ad19b9c..753caeb0179b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_public_mojom_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_public_mojom_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/services/device/public/mojom/BUILD.gn.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/services/device/public/mojom/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/device/public/mojom/BUILD.gn -@@ -98,7 +98,7 @@ mojom("device_service") { +@@ -97,7 +97,7 @@ mojom("device_service") { enable_js_fuzzing = false enabled_features = [] diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_serial_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_serial_BUILD.gn index 9496dbd69359..f4e2814a9427 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_serial_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_serial_BUILD.gn @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/services/device/serial/BUILD.gn.orig 2022-11-30 08:12:58 UTC +--- src/3rdparty/chromium/services/device/serial/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/device/serial/BUILD.gn -@@ -5,7 +5,7 @@ - import("//build/config/chromeos/ui_mode.gni") +@@ -4,7 +4,7 @@ import("//build/config/features.gni") + import("//build/config/features.gni") -if (is_win || ((is_linux || is_chromeos) && use_udev) || is_mac) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_serial_serial__device__enumerator.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_serial_serial__device__enumerator.cc index c09acd084053..bb9ec6e900d3 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_serial_serial__device__enumerator.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_serial_serial__device__enumerator.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/device/serial/serial_device_enumerator.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/services/device/serial/serial_device_enumerator.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/device/serial/serial_device_enumerator.cc @@ -13,7 +13,7 @@ #include "build/build_config.h" @@ -9,7 +9,7 @@ #include "services/device/serial/serial_device_enumerator_linux.h" #elif BUILDFLAG(IS_MAC) #include "services/device/serial/serial_device_enumerator_mac.h" -@@ -26,7 +26,7 @@ namespace device { +@@ -26,7 +26,7 @@ std::unique_ptr<SerialDeviceEnumerator> SerialDeviceEn // static std::unique_ptr<SerialDeviceEnumerator> SerialDeviceEnumerator::Create( scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_serial_serial__io__handler__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_serial_serial__io__handler__posix.cc index 793359fa7134..4e4e29276a3b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_serial_serial__io__handler__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_serial_serial__io__handler__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/device/serial/serial_io_handler_posix.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/services/device/serial/serial_io_handler_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/device/serial/serial_io_handler_posix.cc @@ -73,7 +73,7 @@ bool BitrateToSpeedConstant(int bitrate, speed_t* spee BITRATE_TO_SPEED_CASE(9600) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_time__zone__monitor_time__zone__monitor__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_time__zone__monitor_time__zone__monitor__linux.cc index 58b9299f403d..fb56d608b038 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_time__zone__monitor_time__zone__monitor__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_time__zone__monitor_time__zone__monitor__linux.cc @@ -1,14 +1,15 @@ ---- src/3rdparty/chromium/services/device/time_zone_monitor/time_zone_monitor_linux.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/services/device/time_zone_monitor/time_zone_monitor_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/device/time_zone_monitor/time_zone_monitor_linux.cc -@@ -136,7 +136,11 @@ class TimeZoneMonitorLinuxImpl +@@ -131,9 +131,12 @@ class TimeZoneMonitorLinuxImpl // false positives are harmless, assuming the false positive rate is // reasonable. - const char* const kFilesToWatch[] = { + const auto kFilesToWatch = std::to_array<const char*>({ +#if BUILDFLAG(IS_BSD) -+ "/etc/localtime", + "/etc/localtime", +#else - "/etc/localtime", "/etc/timezone", "/etc/TZ", + "/etc/timezone", + "/etc/TZ", +#endif - }; + }); for (size_t index = 0; index < std::size(kFilesToWatch); ++index) { file_path_watchers_.push_back(std::make_unique<base::FilePathWatcher>()); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_usb_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_usb_BUILD.gn index 636a271e9dfc..ffcfe7bad43a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_usb_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_usb_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/services/device/usb/BUILD.gn.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/services/device/usb/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/device/usb/BUILD.gn -@@ -91,7 +91,7 @@ static_library("usb") { +@@ -90,7 +90,7 @@ static_library("usb") { deps += [ "//third_party/re2" ] } @@ -9,7 +9,7 @@ # These sources and deps are required for libusb. # TODO(crbug.com/40136337) Remove these sources. sources += [ -@@ -114,6 +114,13 @@ static_library("usb") { +@@ -113,6 +113,13 @@ static_library("usb") { deps += [ "//third_party/libusb" ] } @@ -23,7 +23,7 @@ if (is_linux || is_chromeos) { sources += [ "usb_device_linux.cc", -@@ -135,7 +142,7 @@ static_library("usb") { +@@ -134,7 +141,7 @@ static_library("usb") { deps += [ "//device/udev_linux" ] } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_usb_usb__service.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_usb_usb__service.cc index 807d8298aad6..cf4a2b3d2e82 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_usb_usb__service.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_usb_usb__service.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/device/usb/usb_service.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/services/device/usb/usb_service.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/device/usb/usb_service.cc @@ -21,12 +21,16 @@ @@ -18,7 +18,7 @@ #endif namespace device { -@@ -49,11 +53,13 @@ constexpr base::TaskTraits UsbService::kBlockingTaskTr +@@ -49,11 +53,13 @@ std::unique_ptr<UsbService> UsbService::Create() { std::unique_ptr<UsbService> UsbService::Create() { #if BUILDFLAG(IS_ANDROID) return base::WrapUnique(new UsbServiceAndroid()); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_usb_usb__service__fake.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_usb_usb__service__fake.cc index 861a404cb395..8543bc1f0d18 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_usb_usb__service__fake.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_usb_usb__service__fake.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/device/usb/usb_service_fake.cc.orig 2023-03-09 06:31:50 UTC +--- src/3rdparty/chromium/services/device/usb/usb_service_fake.cc.orig 2025-09-01 08:52:32 UTC +++ src/3rdparty/chromium/services/device/usb/usb_service_fake.cc @@ -0,0 +1,49 @@ +// Copyright 2014 The Chromium Authors diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_usb_usb__service__fake.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_usb_usb__service__fake.h index 91abd5127dba..56ea7733250a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_usb_usb__service__fake.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_device_usb_usb__service__fake.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/device/usb/usb_service_fake.h.orig 2022-10-29 13:32:26 UTC +--- src/3rdparty/chromium/services/device/usb/usb_service_fake.h.orig 2025-09-01 08:52:32 UTC +++ src/3rdparty/chromium/services/device/usb/usb_service_fake.h @@ -0,0 +1,48 @@ +// Copyright 2015 The Chromium Authors diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_BUILD.gn index d45741c257ae..59e5ef1ca9f1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/services/network/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/services/network/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/network/BUILD.gn -@@ -396,7 +396,6 @@ if (is_linux || is_chromeos) { +@@ -397,7 +397,6 @@ if (is_linux || is_chromeos) { ] deps = [ "//base:base", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__context.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__context.cc index 2fbc5eaf8e1e..377c5a0d80fd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__context.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__context.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/services/network/network_context.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/services/network/network_context.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/network/network_context.cc -@@ -588,7 +588,7 @@ NetworkContext::NetworkContextHttpAuthPreferences:: +@@ -611,7 +611,7 @@ NetworkContext::NetworkContextHttpAuthPreferences:: NetworkContext::NetworkContextHttpAuthPreferences:: ~NetworkContextHttpAuthPreferences() = default; @@ -9,7 +9,7 @@ bool NetworkContext::NetworkContextHttpAuthPreferences::AllowGssapiLibraryLoad() const { if (network_service_) { -@@ -2449,7 +2449,7 @@ void NetworkContext::OnHttpAuthDynamicParamsChanged( +@@ -2522,7 +2522,7 @@ void NetworkContext::OnHttpAuthDynamicParamsChanged( http_auth_dynamic_network_service_params->android_negotiate_account_type); #endif // BUILDFLAG(IS_ANDROID) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__context.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__context.h index 45dbfa6bf2ea..481b9b56791a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__context.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__context.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/services/network/network_context.h.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/services/network/network_context.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/network/network_context.h -@@ -698,7 +698,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkContext +@@ -705,7 +705,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkContext public: explicit NetworkContextHttpAuthPreferences(NetworkService* network_service); ~NetworkContextHttpAuthPreferences() override; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__sandbox__hook__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__sandbox__hook__linux.cc index 95be23ab04f5..fb7e43ec3be4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__sandbox__hook__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__sandbox__hook__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/network/network_sandbox_hook_linux.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/services/network/network_sandbox_hook_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/network/network_sandbox_hook_linux.cc @@ -15,11 +15,14 @@ #include "sandbox/linux/syscall_broker/broker_file_permission.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__sandbox__hook__linux.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__sandbox__hook__linux.h index b7f9e169b92b..52c373ac0f2c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__sandbox__hook__linux.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__sandbox__hook__linux.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/network/network_sandbox_hook_linux.h.orig 2023-04-28 17:01:32 UTC +--- src/3rdparty/chromium/services/network/network_sandbox_hook_linux.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/network/network_sandbox_hook_linux.h @@ -6,7 +6,11 @@ #define SERVICES_NETWORK_NETWORK_SANDBOX_HOOK_LINUX_H_ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__service.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__service.cc index 44337a2e14df..353c13c60c59 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__service.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__service.cc @@ -1,15 +1,20 @@ ---- src/3rdparty/chromium/services/network/network_service.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/services/network/network_service.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/network/network_service.cc -@@ -99,7 +99,7 @@ +@@ -98,11 +98,11 @@ #include "third_party/boringssl/src/include/openssl/cpu.h" #endif --#if (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)) || \ -+#if ((BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS)) || BUILDFLAG(IS_BSD)) || \ - BUILDFLAG(IS_CHROMEOS_LACROS) - +-#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CASTOS) ++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && !BUILDFLAG(IS_CASTOS) #include "components/os_crypt/sync/key_storage_config_linux.h" -@@ -977,7 +977,7 @@ void NetworkService::SetExplicitlyAllowedPorts( + #endif + +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + #include "services/network/network_change_notifier_passive_factory.h" + #endif + +@@ -981,7 +981,7 @@ void NetworkService::SetExplicitlyAllowedPorts( net::SetExplicitlyAllowedPorts(ports); } @@ -18,7 +23,7 @@ void NetworkService::SetGssapiLibraryLoadObserver( mojo::PendingRemote<mojom::GssapiLibraryLoadObserver> gssapi_library_load_observer) { -@@ -1059,7 +1059,7 @@ NetworkService::CreateHttpAuthHandlerFactory(NetworkCo +@@ -1063,7 +1063,7 @@ NetworkService::CreateHttpAuthHandlerFactory(NetworkCo ); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__service.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__service.h index 5de70e9a3f5d..9e6098a05e29 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__service.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_network__service.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/services/network/network_service.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/services/network/network_service.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/network/network_service.h -@@ -238,7 +238,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService +@@ -237,7 +237,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService const std::vector<ContentSettingPatternSource>& settings) override; void SetExplicitlyAllowedPorts(const std::vector<uint16_t>& ports) override; @@ -9,7 +9,7 @@ void SetGssapiLibraryLoadObserver( mojo::PendingRemote<mojom::GssapiLibraryLoadObserver> gssapi_library_load_observer) override; -@@ -264,7 +264,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService +@@ -263,7 +263,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService std::unique_ptr<net::HttpAuthHandlerFactory> CreateHttpAuthHandlerFactory( NetworkContext* network_context); @@ -18,7 +18,7 @@ // This is called just before a GSSAPI library may be loaded. void OnBeforeGssapiLibraryLoad(); #endif // BUILDFLAG(IS_LINUX) -@@ -498,7 +498,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService +@@ -509,7 +509,7 @@ class COMPONENT_EXPORT(NETWORK_SERVICE) NetworkService // leaking stale listeners between tests. std::unique_ptr<net::NetworkChangeNotifier> mock_network_change_notifier_; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_public_cpp_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_public_cpp_BUILD.gn index 826912e27504..3670ef82bc9e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_public_cpp_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_public_cpp_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/services/network/public/cpp/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/services/network/public/cpp/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/network/public/cpp/BUILD.gn -@@ -487,7 +487,7 @@ jumbo_component("cpp_base") { +@@ -513,7 +513,7 @@ jumbo_component("cpp_base") { sources += [ "transferable_directory_fuchsia.cc" ] } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_public_cpp_features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_public_cpp_features.cc index 160182fc07fb..aeb9fccce1f8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_public_cpp_features.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_public_cpp_features.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/services/network/public/cpp/features.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/services/network/public/cpp/features.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/network/public/cpp/features.cc -@@ -125,7 +125,7 @@ BASE_FEATURE(kSplitAuthCacheByNetworkIsolationKey, +@@ -123,7 +123,7 @@ BASE_FEATURE(kSplitAuthCacheByNetworkIsolationKey, // Enable usage of hardcoded DoH upgrade mapping for use in automatic mode. #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_public_mojom_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_public_mojom_BUILD.gn index fea257947fb2..1bca3ab91606 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_public_mojom_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_public_mojom_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/services/network/public/mojom/BUILD.gn.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/services/network/public/mojom/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/network/public/mojom/BUILD.gn -@@ -493,11 +493,11 @@ mojom("url_loader_base") { +@@ -550,11 +550,11 @@ mojom("url_loader_base") { } enabled_features = [] @@ -14,7 +14,7 @@ # TODO(crbug.com/40263697): Remove this once is_linux in the mojom IDL does # not include lacros. enabled_features += [ "use_network_interface_change_listener" ] -@@ -1490,7 +1490,7 @@ mojom("mojom") { +@@ -1594,7 +1594,7 @@ mojom("mojom") { } } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_shared__dictionary_shared__dictionary__writer__in__memory.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_shared__dictionary_shared__dictionary__writer__in__memory.h index be502691c819..383ecd429cb1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_shared__dictionary_shared__dictionary__writer__in__memory.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_network_shared__dictionary_shared__dictionary__writer__in__memory.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/network/shared_dictionary/shared_dictionary_writer_in_memory.h.orig 2023-08-17 07:33:31 UTC +--- src/3rdparty/chromium/services/network/shared_dictionary/shared_dictionary_writer_in_memory.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/network/shared_dictionary/shared_dictionary_writer_in_memory.h @@ -9,6 +9,8 @@ #include <string> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_on__device__model_on__device__model__service.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_on__device__model_on__device__model__service.h index a428345de78a..3d87ac2e05e6 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_on__device__model_on__device__model__service.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_on__device__model_on__device__model__service.h @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/services/on_device_model/on_device_model_service.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/services/on_device_model/on_device_model_service.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/on_device_model/on_device_model_service.h -@@ -27,6 +27,10 @@ namespace ml { - class OnDeviceModelInternalImpl; +@@ -31,6 +31,10 @@ class TsHolder; + class TsHolder; } +#if BUILDFLAG(IS_BSD) @@ -11,7 +11,7 @@ namespace on_device_model { class COMPONENT_EXPORT(ON_DEVICE_MODEL) OnDeviceModelService -@@ -40,7 +44,7 @@ class COMPONENT_EXPORT(ON_DEVICE_MODEL) OnDeviceModelS +@@ -44,7 +48,7 @@ class COMPONENT_EXPORT(ON_DEVICE_MODEL) OnDeviceModelS // Must be called in the service's process after the run loop finished. [[nodiscard]] static bool Shutdown(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_on__device__model_pre__sandbox__init.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_on__device__model_pre__sandbox__init.cc index 0b54ae82bdc7..0ef174ae2867 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_on__device__model_pre__sandbox__init.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_on__device__model_pre__sandbox__init.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/on_device_model/pre_sandbox_init.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/services/on_device_model/pre_sandbox_init.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/on_device_model/pre_sandbox_init.cc @@ -14,7 +14,7 @@ #include "services/on_device_model/ml/chrome_ml.h" // nogncheck @@ -9,7 +9,7 @@ #include "gpu/config/gpu_info_collector.h" // nogncheck #include "third_party/dawn/include/dawn/dawn_proc.h" // nogncheck #include "third_party/dawn/include/dawn/native/DawnNative.h" // nogncheck -@@ -25,7 +25,7 @@ namespace on_device_model { +@@ -25,7 +25,7 @@ namespace { namespace { @@ -27,7 +27,7 @@ // Warm any relevant drivers before attempting to bring up the sandbox. For // good measure we initialize a device instance for any adapter with an // appropriate backend on top of any integrated or discrete GPU. -@@ -101,7 +101,7 @@ bool OnDeviceModelService::PreSandboxInit() { +@@ -102,7 +102,7 @@ bool OnDeviceModelService::PreSandboxInit() { return true; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc index c6d0c0116650..88527d0d6d2c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_resource__coordinator_memory__instrumentation_queued__request__dispatcher.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/resource_coordinator/memory_instrumentation/queued_request_dispatcher.cc.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/services/resource_coordinator/memory_instrumentation/queued_request_dispatcher.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/resource_coordinator/memory_instrumentation/queued_request_dispatcher.cc @@ -54,7 +54,7 @@ uint32_t CalculatePrivateFootprintKb(const mojom::RawO uint32_t shared_resident_kb) { @@ -17,8 +17,8 @@ +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) os_dump->private_footprint_swap_kb = internal_os_dump.platform_private_footprint->vm_swap_bytes / 1024; - #endif -@@ -219,7 +219,7 @@ void QueuedRequestDispatcher::SetUpAndDispatch( + os_dump->mappings_count = internal_os_dump.mappings_count; +@@ -220,7 +220,7 @@ void QueuedRequestDispatcher::SetUpAndDispatch( // On most platforms each process can dump data about their own process // so ask each process to do so Linux is special see below. @@ -27,7 +27,7 @@ request->pending_responses.insert({client_info.pid, ResponseType::kOSDump}); client->RequestOSMemoryDump(request->memory_map_option(), {base::kNullProcessId}, -@@ -234,7 +234,7 @@ void QueuedRequestDispatcher::SetUpAndDispatch( +@@ -235,7 +235,7 @@ void QueuedRequestDispatcher::SetUpAndDispatch( // In some cases, OS stats can only be dumped from a privileged process to // get around to sandboxing/selinux restrictions (see crbug.com/461788). @@ -36,7 +36,7 @@ std::vector<base::ProcessId> pids; mojom::ClientProcess* browser_client = nullptr; base::ProcessId browser_client_pid = base::kNullProcessId; -@@ -280,7 +280,7 @@ void QueuedRequestDispatcher::SetUpAndDispatchVmRegion +@@ -281,7 +281,7 @@ void QueuedRequestDispatcher::SetUpAndDispatchVmRegion const OsCallback& os_callback) { // On Linux, OS stats can only be dumped from a privileged process to // get around to sandboxing/selinux restrictions (see crbug.com/461788). @@ -45,7 +45,7 @@ mojom::ClientProcess* browser_client = nullptr; base::ProcessId browser_client_pid = 0; for (const auto& client_info : clients) { -@@ -330,7 +330,7 @@ QueuedRequestDispatcher::FinalizeVmRegionRequest( +@@ -331,7 +331,7 @@ QueuedRequestDispatcher::FinalizeVmRegionRequest( // each client process provides 1 OS dump, % the case where the client is // disconnected mid dump. OSMemDumpMap& extra_os_dumps = response.second.os_dumps; @@ -54,7 +54,7 @@ for (auto& kv : extra_os_dumps) { auto pid = kv.first == base::kNullProcessId ? original_pid : kv.first; DCHECK(results.find(pid) == results.end()); -@@ -391,7 +391,7 @@ void QueuedRequestDispatcher::Finalize(QueuedRequest* +@@ -392,7 +392,7 @@ void QueuedRequestDispatcher::Finalize(QueuedRequest* // crash). In the latter case (OS_LINUX) we expect the full map to come // from the browser process response. OSMemDumpMap& extra_os_dumps = response.second.os_dumps; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_BUILD.gn index 04cda496465e..48727e389c5e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/services/resource_coordinator/public/cpp/memory_instrumentation/BUILD.gn.orig 2023-05-31 08:12:17 UTC +--- src/3rdparty/chromium/services/resource_coordinator/public/cpp/memory_instrumentation/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/resource_coordinator/public/cpp/memory_instrumentation/BUILD.gn -@@ -29,8 +29,12 @@ component("memory_instrumentation") { +@@ -27,8 +27,12 @@ component("memory_instrumentation") { sources += [ "os_metrics_win.cc" ] } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h index 3ea8ab7c24ed..ee669df061d1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics.h @@ -1,17 +1,17 @@ ---- src/3rdparty/chromium/services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics.h.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics.h -@@ -53,7 +53,7 @@ class COMPONENT_EXPORT( - mojom::RawOSMemDump*); - static std::vector<mojom::VmRegionPtr> GetProcessMemoryMaps(base::ProcessId); +@@ -57,7 +57,7 @@ class COMPONENT_EXPORT( + static std::vector<mojom::VmRegionPtr> GetProcessMemoryMaps( + base::ProcessHandle); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) static void SetProcSmapsForTesting(FILE*); #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || // BUILDFLAG(IS_ANDROID) -@@ -70,7 +70,7 @@ class COMPONENT_EXPORT( - static std::vector<mojom::VmRegionPtr> GetProcessModules(base::ProcessId); - #endif +@@ -79,7 +79,7 @@ class COMPONENT_EXPORT( + GetMemoryInfo(base::ProcessHandle handle); + #endif // !BUILDFLAG(IS_APPLE) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc index 950265931f9e..0e98c67bc0bb 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_resource__coordinator_public_cpp_memory__instrumentation_os__metrics__bsd.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics_bsd.cc.orig 2022-03-25 21:59:56 UTC +--- src/3rdparty/chromium/services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics_bsd.cc.orig 2025-09-01 08:52:32 UTC +++ src/3rdparty/chromium/services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics_bsd.cc @@ -0,0 +1,58 @@ +// Copyright 2022 The Chromium Authors. All rights reserved. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_screen__ai_public_cpp_utilities.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_screen__ai_public_cpp_utilities.cc index b66eb358c5ba..b2d14ed8c7ed 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_screen__ai_public_cpp_utilities.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_screen__ai_public_cpp_utilities.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/services/screen_ai/public/cpp/utilities.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/services/screen_ai/public/cpp/utilities.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/screen_ai/public/cpp/utilities.cc -@@ -18,7 +18,7 @@ namespace screen_ai { +@@ -18,7 +18,7 @@ namespace { namespace { @@ -18,7 +18,7 @@ constexpr base::FilePath::CharType kScreenAIResourcePathForTests[] = FILE_PATH_LITERAL("third_party/screen-ai/linux/resources"); #elif BUILDFLAG(IS_MAC) -@@ -128,7 +128,7 @@ base::FilePath GetComponentBinaryPathForTests() { +@@ -128,7 +128,7 @@ const char* GetBinaryPathSwitch() { const char* GetBinaryPathSwitch() { // This is only used on Linux and ChromeOS. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc index 126f71bfe8e7..a04c3071e081 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.cc -@@ -53,6 +53,7 @@ bool ScreenAIPreSandboxHook(base::FilePath binary_path +@@ -58,6 +58,7 @@ bool ScreenAIPreSandboxHook(base::FilePath binary_path } } @@ -8,7 +8,7 @@ auto* instance = sandbox::policy::SandboxLinux::GetInstance(); std::vector<BrokerFilePermission> permissions{ -@@ -75,6 +76,7 @@ bool ScreenAIPreSandboxHook(base::FilePath binary_path +@@ -79,6 +80,7 @@ bool ScreenAIPreSandboxHook(base::FilePath binary_path sandbox::syscall_broker::COMMAND_OPEN}), permissions, options); instance->EngageNamespaceSandboxIfPossible(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.h index 985a342673c6..9b15ab97fb72 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_screen__ai_sandbox_screen__ai__sandbox__hook__linux.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.h.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.h @@ -6,7 +6,13 @@ #define SERVICES_SCREEN_AI_SANDBOX_SCREEN_AI_SANDBOX_HOOK_LINUX_H_ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_service__manager_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_service__manager_BUILD.gn index 32b4fda43d97..0439e39ef58f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_service__manager_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_service__manager_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/services/service_manager/BUILD.gn.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/services/service_manager/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/service_manager/BUILD.gn -@@ -66,7 +66,7 @@ source_set("service_manager") { +@@ -65,7 +65,7 @@ source_set("service_manager") { ] } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_service__manager_public_cpp_service__executable_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_service__manager_public_cpp_service__executable_BUILD.gn index 5aab2b0f89d3..d575a8847ec4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_service__manager_public_cpp_service__executable_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_service__manager_public_cpp_service__executable_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/service_manager/public/cpp/service_executable/BUILD.gn.orig 2021-04-14 18:41:08 UTC +--- src/3rdparty/chromium/services/service_manager/public/cpp/service_executable/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/service_manager/public/cpp/service_executable/BUILD.gn @@ -22,7 +22,7 @@ source_set("support") { "//services/service_manager/public/mojom", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc index 85aa5ae439e0..d092ca35176b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_tracing_public_cpp_stack__sampling_tracing__sampler__profiler.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc @@ -40,7 +40,7 @@ #include "third_party/perfetto/protos/perfetto/trace/track_event/process_descriptor.pbzero.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_tracing_public_cpp_system__metrics__sampler.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_tracing_public_cpp_system__metrics__sampler.cc new file mode 100644 index 000000000000..75233bb50e25 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_tracing_public_cpp_system__metrics__sampler.cc @@ -0,0 +1,13 @@ +--- src/3rdparty/chromium/services/tracing/public/cpp/system_metrics_sampler.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/services/tracing/public/cpp/system_metrics_sampler.cc +@@ -176,8 +176,8 @@ void SystemMetricsSampler::ProcessSampler::SampleProce + TRACE_COUNTER(TRACE_DISABLED_BY_DEFAULT("system_metrics"), + "PhysicalMemoryFootprint", + memory_info->physical_footprint_bytes); +-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ +- BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) ++#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ ++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)) && defined(notyet) + TRACE_COUNTER(TRACE_DISABLED_BY_DEFAULT("system_metrics"), "VmSwapMemory", + memory_info->vm_swap_bytes); + TRACE_COUNTER(TRACE_DISABLED_BY_DEFAULT("system_metrics"), "RssAnonMemory", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_video__capture_public_mojom_video__capture__service.mojom b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_video__capture_public_mojom_video__capture__service.mojom index 9b94a026919c..096875ca5d3a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_video__capture_public_mojom_video__capture__service.mojom +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_video__capture_public_mojom_video__capture__service.mojom @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/services/video_capture/public/mojom/video_capture_service.mojom.orig 2023-03-09 06:31:50 UTC +--- src/3rdparty/chromium/services/video_capture/public/mojom/video_capture_service.mojom.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/services/video_capture/public/mojom/video_capture_service.mojom @@ -25,10 +25,10 @@ interface AcceleratorFactory { pending_receiver<chromeos_camera.mojom.MjpegDecodeAccelerator> jda); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_video__capture_video__capture__service__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_video__capture_video__capture__service__impl.cc deleted file mode 100644 index ed4420119eca..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_video__capture_video__capture__service__impl.cc +++ /dev/null @@ -1,38 +0,0 @@ ---- src/3rdparty/chromium/services/video_capture/video_capture_service_impl.cc.orig 2024-09-30 07:45:04 UTC -+++ src/3rdparty/chromium/services/video_capture/video_capture_service_impl.cc -@@ -42,7 +42,7 @@ - #include "services/video_capture/lacros/device_factory_adapter_lacros.h" - #endif // BUILDFLAG(IS_CHROMEOS_LACROS) - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - #include "media/capture/capture_switches.h" - #include "media/capture/video/video_capture_gpu_channel_host.h" - #include "services/viz/public/cpp/gpu/context_provider_command_buffer.h" -@@ -110,7 +110,7 @@ class VideoCaptureServiceImpl::GpuDependenciesContext - this}; - }; - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - // Intended usage of this class is to create viz::Gpu in utility process and - // connect to viz::GpuClient of browser process, which will call to Gpu service. - // Also, this class holds the viz::ContextProvider to listen and monitor Gpu -@@ -337,7 +337,7 @@ void VideoCaptureServiceImpl::LazyInitializeGpuDepende - gpu_dependencies_context_ = std::make_unique<GpuDependenciesContext>(); - - #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) --#if BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - { - #else - if (switches::IsVideoCaptureUseGpuMemoryBufferEnabled()) { -@@ -469,7 +469,7 @@ void VideoCaptureServiceImpl::OnGpuInfoUpdate(const CH - } - #endif - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - void VideoCaptureServiceImpl::SetVizGpu(std::unique_ptr<viz::Gpu> viz_gpu) { - viz_gpu_ = std::move(viz_gpu); - } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_video__capture_video__capture__service__impl.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_video__capture_video__capture__service__impl.h deleted file mode 100644 index 2bc8b36132ab..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_video__capture_video__capture__service__impl.h +++ /dev/null @@ -1,29 +0,0 @@ ---- src/3rdparty/chromium/services/video_capture/video_capture_service_impl.h.orig 2024-08-26 12:06:38 UTC -+++ src/3rdparty/chromium/services/video_capture/video_capture_service_impl.h -@@ -27,7 +27,7 @@ - #include "services/video_capture/ash/video_capture_device_factory_ash.h" - #endif // BUILDFLAG(IS_CHROMEOS_ASH) - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - #include "services/viz/public/cpp/gpu/gpu.h" - #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || - // BUILDFLAG(IS_CHROMEOS_ASH) -@@ -75,7 +75,7 @@ class VideoCaptureServiceImpl : public mojom::VideoCap - #if BUILDFLAG(IS_WIN) - void OnGpuInfoUpdate(const CHROME_LUID& luid) override; - #endif --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - void SetVizGpu(std::unique_ptr<viz::Gpu> viz_gpu); - #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || - // BUILDFLAG(IS_CHROMEOS_ASH) -@@ -120,7 +120,7 @@ class VideoCaptureServiceImpl : public mojom::VideoCap - factory_receivers_ash_; - #endif - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS_ASH) || BUILDFLAG(IS_BSD) - class VizGpuContextProvider; - std::unique_ptr<VizGpuContextProvider> viz_gpu_context_provider_; - std::unique_ptr<viz::Gpu> viz_gpu_; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_video__effects_video__effects__sandbox__hook__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_video__effects_video__effects__sandbox__hook__linux.cc new file mode 100644 index 000000000000..306bc8badccf --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_video__effects_video__effects__sandbox__hook__linux.cc @@ -0,0 +1,27 @@ +--- src/3rdparty/chromium/services/video_effects/video_effects_sandbox_hook_linux.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/services/video_effects/video_effects_sandbox_hook_linux.cc +@@ -6,7 +6,13 @@ + + #include <dlfcn.h> + ++#include "build/build_config.h" ++ ++#if BUILDFLAG(IS_BSD) ++#include "sandbox/policy/sandbox.h" ++#else + #include "sandbox/policy/linux/sandbox_linux.h" ++#endif + #include "services/on_device_model/ml/chrome_ml_holder.h" + + namespace video_effects { +@@ -29,8 +35,10 @@ bool VideoEffectsPreSandboxHook( + DVLOG(1) << "Successfully opened Chrome ML shared library."; + } + ++#if !BUILDFLAG(IS_BSD) + auto* instance = sandbox::policy::SandboxLinux::GetInstance(); + instance->EngageNamespaceSandboxIfPossible(); ++#endif + return true; + } + diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_video__effects_video__effects__sandbox__hook__linux.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_video__effects_video__effects__sandbox__hook__linux.h new file mode 100644 index 000000000000..cf29f54c7761 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_services_video__effects_video__effects__sandbox__hook__linux.h @@ -0,0 +1,16 @@ +--- src/3rdparty/chromium/services/video_effects/video_effects_sandbox_hook_linux.h.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/services/video_effects/video_effects_sandbox_hook_linux.h +@@ -5,7 +5,13 @@ + #ifndef SERVICES_VIDEO_EFFECTS_VIDEO_EFFECTS_SANDBOX_HOOK_LINUX_H_ + #define SERVICES_VIDEO_EFFECTS_VIDEO_EFFECTS_SANDBOX_HOOK_LINUX_H_ + ++#include "build/build_config.h" ++ ++#if BUILDFLAG(IS_BSD) ++#include "sandbox/policy/sandbox.h" ++#else + #include "sandbox/policy/linux/sandbox_linux.h" ++#endif + + namespace video_effects { + diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_skia_ext_SkMemory__new__handler.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_skia_ext_SkMemory__new__handler.cpp index d9c9d98ae567..213544808735 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_skia_ext_SkMemory__new__handler.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_skia_ext_SkMemory__new__handler.cpp @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/skia/ext/SkMemory_new_handler.cpp.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/skia/ext/SkMemory_new_handler.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/skia/ext/SkMemory_new_handler.cpp -@@ -19,7 +19,7 @@ +@@ -24,7 +24,7 @@ #include <windows.h> #elif BUILDFLAG(IS_APPLE) #include <malloc/malloc.h> @@ -9,7 +9,7 @@ #include <malloc.h> #endif -@@ -105,7 +105,7 @@ static void* malloc_nothrow(size_t size, int debug_sen +@@ -110,7 +110,7 @@ static void* malloc_nothrow(size_t size, int debug_sen // TODO(b.kelemen): we should always use UncheckedMalloc but currently it // doesn't work as intended everywhere. void* result; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_skia_ext_font__utils.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_skia_ext_font__utils.cc index b012a52c5d94..f8c5a703914c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_skia_ext_font__utils.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_skia_ext_font__utils.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/skia/ext/font_utils.cc.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/skia/ext/font_utils.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/skia/ext/font_utils.cc @@ -19,7 +19,7 @@ #include "third_party/skia/include/ports/SkFontMgr_mac_ct.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_skia_ext_skcolorspace__trfn.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_skia_ext_skcolorspace__trfn.cc index 45fa8f9b2a66..4ad09163f37f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_skia_ext_skcolorspace__trfn.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_skia_ext_skcolorspace__trfn.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/skia/ext/skcolorspace_trfn.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/skia/ext/skcolorspace_trfn.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/skia/ext/skcolorspace_trfn.cc -@@ -7,6 +7,8 @@ - #pragma allow_unsafe_buffers - #endif +@@ -2,6 +2,8 @@ + // Use of this source code is governed by a BSD-style license that can be + // found in the LICENSE file. +#include <cmath> + #include "skia/ext/skcolorspace_trfn.h" - #include <cmath> + #include <array> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_base_config.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_base_config.h index 745476e8c487..704d5b9b0320 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_base_config.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_base_config.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/abseil-cpp/absl/base/config.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/third_party/abseil-cpp/absl/base/config.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/abseil-cpp/absl/base/config.h @@ -412,7 +412,7 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != #ifdef ABSL_HAVE_SCHED_YIELD diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_base_internal_sysinfo.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_base_internal_sysinfo.cc index a2dfb2712dcb..0e50fef2533c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_base_internal_sysinfo.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_base_internal_sysinfo.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/abseil-cpp/absl/base/internal/sysinfo.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/third_party/abseil-cpp/absl/base/internal/sysinfo.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/abseil-cpp/absl/base/internal/sysinfo.cc @@ -30,7 +30,7 @@ #include <sys/syscall.h> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.h index 969ad360846d..01e92231b5fa 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.h @@ -1,11 +1,12 @@ ---- src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h -@@ -35,7 +35,7 @@ +@@ -35,7 +35,8 @@ #if defined(__ELF__) && !defined(__OpenBSD__) && !defined(__QNX__) && \ !defined(__native_client__) && !defined(__asmjs__) && \ !defined(__wasm__) && !defined(__HAIKU__) && !defined(__sun) && \ -- !defined(__VXWORKS__) && !defined(__hexagon__) -+ !defined(__VXWORKS__) && !defined(__hexagon__) && !defined(__FreeBSD__) +- !defined(__VXWORKS__) && !defined(__hexagon__) && !defined(__XTENSA__) ++ !defined(__VXWORKS__) && !defined(__hexagon__) && !defined(__XTENSA__) && \ ++ !defined(__FreeBSD__) #define ABSL_HAVE_ELF_MEM_IMAGE 1 #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_BUILD.gn index ecd4d8a98907..d524158610e4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/angle/BUILD.gn.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/third_party/angle/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/angle/BUILD.gn -@@ -354,7 +354,6 @@ config("extra_warnings") { +@@ -355,7 +355,6 @@ config("extra_warnings") { "-Wtautological-type-limit-compare", "-Wundefined-reinterpret-cast", "-Wunneeded-internal-declaration", @@ -8,7 +8,7 @@ "-Wsuggest-destructor-override", "-Wsuggest-override", -@@ -531,7 +530,7 @@ template("angle_common_lib") { +@@ -532,7 +531,7 @@ template("angle_common_lib") { all_dependent_configs = [ ":angle_disable_pool_alloc" ] } @@ -17,7 +17,7 @@ libs = [ "dl" ] } -@@ -686,6 +685,9 @@ angle_static_library("angle_gpu_info_util") { +@@ -687,6 +686,9 @@ angle_static_library("angle_gpu_info_util") { "Xi", "Xext", ] diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_common_platform.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_common_platform.h index 99b5a2655f1f..df42f573e0c3 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_common_platform.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_common_platform.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/angle/src/common/platform.h.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/third_party/angle/src/common/platform.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/angle/src/common/platform.h @@ -26,7 +26,15 @@ #elif defined(__linux__) || defined(EMSCRIPTEN) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_common_platform__helpers.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_common_platform__helpers.h index ba4eb7f74eee..9ae38c9f6455 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_common_platform__helpers.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_common_platform__helpers.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/angle/src/common/platform_helpers.h.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/third_party/angle/src/common/platform_helpers.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/angle/src/common/platform_helpers.h -@@ -62,7 +62,7 @@ inline constexpr bool IsIOS() +@@ -62,7 +62,7 @@ inline constexpr bool IsLinux() inline constexpr bool IsLinux() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_common_system__utils.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_common_system__utils.cpp index df5caaa53995..dfd87b6ebd50 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_common_system__utils.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_common_system__utils.cpp @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/angle/src/common/system_utils.cpp.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/third_party/angle/src/common/system_utils.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/angle/src/common/system_utils.cpp -@@ -25,7 +25,7 @@ namespace angle +@@ -25,7 +25,7 @@ std::string GetExecutableName() { std::string GetExecutableName() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_common_system__utils__linux.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_common_system__utils__linux.cpp index a221cb4ed157..e60844a1e921 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_common_system__utils__linux.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_common_system__utils__linux.cpp @@ -1,20 +1,22 @@ ---- src/3rdparty/chromium/third_party/angle/src/common/system_utils_linux.cpp.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/third_party/angle/src/common/system_utils_linux.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/angle/src/common/system_utils_linux.cpp -@@ -15,8 +15,13 @@ - - #include <array> +@@ -15,10 +15,15 @@ + #include <sys/types.h> + #include <unistd.h> +#if ANGLE_PLATFORM_OPENBSD +#include <pthread_np.h> +#endif + + #include <array> + namespace angle { +#if ANGLE_PLATFORM_LINUX std::string GetExecutablePath() { // We cannot use lstat to get the size of /proc/self/exe as it always returns 0 -@@ -32,6 +37,7 @@ std::string GetExecutablePath() +@@ -34,6 +39,7 @@ std::string GetExecutablePath() path[result] = '\0'; return path; } @@ -22,10 +24,10 @@ std::string GetExecutableDirectory() { -@@ -56,6 +62,10 @@ void SetCurrentThreadName(const char *name) - { +@@ -59,6 +65,10 @@ void SetCurrentThreadName(const char *name) // There's a 15-character (16 including '\0') limit. If the name is too big (and ERANGE is - // returned), just ignore the name. + // returned), name will be ignored. + ASSERT(strlen(name) < 16); +#if ANGLE_PLATFORM_OPENBSD + pthread_set_name_np(pthread_self(), name); +#else diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__internal.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__internal.h index 721f6c16dbde..09eafb9404e4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__internal.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__internal.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/angle/src/gpu_info_util/SystemInfo_internal.h.orig 2023-05-31 08:12:17 UTC +--- src/3rdparty/chromium/third_party/angle/src/gpu_info_util/SystemInfo_internal.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/angle/src/gpu_info_util/SystemInfo_internal.h -@@ -15,6 +15,13 @@ +@@ -15,6 +15,13 @@ namespace angle namespace angle { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__libpci.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__libpci.cpp index 54df02d354c4..134cea93b91c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__libpci.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__libpci.cpp @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/angle/src/gpu_info_util/SystemInfo_libpci.cpp.orig 2022-02-23 19:25:59 UTC +--- src/3rdparty/chromium/third_party/angle/src/gpu_info_util/SystemInfo_libpci.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/angle/src/gpu_info_util/SystemInfo_libpci.cpp @@ -12,6 +12,11 @@ #include <pci/pci.h> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__linux.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__linux.cpp index 667a13c429f2..a4cd096a509a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__linux.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__linux.cpp @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/angle/src/gpu_info_util/SystemInfo_linux.cpp.orig 2022-02-23 19:25:59 UTC +--- src/3rdparty/chromium/third_party/angle/src/gpu_info_util/SystemInfo_linux.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/angle/src/gpu_info_util/SystemInfo_linux.cpp -@@ -71,6 +71,24 @@ bool GetPCIDevicesWithLibPCI(std::vector<GPUDeviceInfo +@@ -71,6 +71,24 @@ bool GetSystemInfo(SystemInfo *info) bool GetSystemInfo(SystemInfo *info) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__x11.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__x11.cpp index 530783df06ae..f81f07477c00 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__x11.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_gpu__info__util_SystemInfo__x11.cpp @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/angle/src/gpu_info_util/SystemInfo_x11.cpp.orig 2022-02-23 20:48:53 UTC +--- src/3rdparty/chromium/third_party/angle/src/gpu_info_util/SystemInfo_x11.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/angle/src/gpu_info_util/SystemInfo_x11.cpp @@ -8,6 +8,10 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_Display.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_Display.cpp index ecb06b04e34e..07f19f96c285 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_Display.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_Display.cpp @@ -1,16 +1,16 @@ ---- src/3rdparty/chromium/third_party/angle/src/libANGLE/Display.cpp.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/third_party/angle/src/libANGLE/Display.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/angle/src/libANGLE/Display.cpp -@@ -60,7 +60,7 @@ +@@ -58,7 +58,7 @@ + # include "libANGLE/renderer/gl/wgl/DisplayWGL.h" + # elif ANGLE_ENABLE_CGL # include "libANGLE/renderer/gl/cgl/DisplayCGL.h" - # elif ANGLE_ENABLE_EAGL - # include "libANGLE/renderer/gl/eagl/DisplayEAGL.h" -# elif defined(ANGLE_PLATFORM_LINUX) +# elif defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_BSD) # include "libANGLE/renderer/gl/egl/DisplayEGL.h" # if defined(ANGLE_USE_X11) # include "libANGLE/renderer/gl/glx/DisplayGLX_api.h" -@@ -416,7 +416,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di - impl = new rx::DisplayEAGL(state); +@@ -422,7 +422,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di + impl = new rx::DisplayCGL(state); break; -# elif defined(ANGLE_PLATFORM_LINUX) @@ -18,7 +18,7 @@ # if defined(ANGLE_USE_GBM) if (platformType == 0) { -@@ -462,7 +462,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di +@@ -468,7 +468,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di #if defined(ANGLE_ENABLE_OPENGL) # if defined(ANGLE_PLATFORM_WINDOWS) impl = new rx::DisplayWGL(state); @@ -27,7 +27,7 @@ # if defined(ANGLE_USE_GBM) if (platformType == 0) { -@@ -513,7 +513,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di +@@ -519,7 +519,7 @@ rx::DisplayImpl *CreateDisplayFromAttribs(EGLAttrib di impl = rx::CreateVulkanWin32Display(state); } break; @@ -36,7 +36,16 @@ # if defined(ANGLE_USE_GBM) if (platformType == EGL_PLATFORM_GBM_KHR && rx::IsVulkanGbmDisplayAvailable()) { -@@ -2158,7 +2158,7 @@ static ClientExtensions GenerateClientExtensions() +@@ -2139,7 +2139,7 @@ static ClientExtensions GenerateClientExtensions() + extensions.platformWaylandEXT = true; + #endif + +-#if defined(ANGLE_PLATFORM_LINUX) && (defined(ANGLE_ENABLE_OPENGL) || defined(ANGLE_ENABLE_VULKAN)) ++#if (defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_BSD)) && (defined(ANGLE_ENABLE_OPENGL) || defined(ANGLE_ENABLE_VULKAN)) + extensions.platformSurfacelessMESA = true; + #endif + +@@ -2186,7 +2186,7 @@ static ClientExtensions GenerateClientExtensions() extensions.x11Visual = true; #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_formatutils.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_formatutils.cpp deleted file mode 100644 index e59e83967111..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_formatutils.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/third_party/angle/src/libANGLE/formatutils.cpp.orig 2023-10-11 18:22:24 UTC -+++ src/3rdparty/chromium/third_party/angle/src/libANGLE/formatutils.cpp -@@ -1475,7 +1475,7 @@ static InternalFormatInfoMap BuildInternalFormatInfoMa - AddYUVFormat(&map, GL_G8_B8R8_2PLANE_420_UNORM_ANGLE, true, 8, 8, 8, 0, 0, GL_G8_B8R8_2PLANE_420_UNORM_ANGLE, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::yuvInternalFormatANGLE>, RequireExt<&Extensions::yuvInternalFormatANGLE>, RequireExt<&Extensions::yuvInternalFormatANGLE>, NeverSupported, NeverSupported); - AddYUVFormat(&map, GL_G8_B8_R8_3PLANE_420_UNORM_ANGLE, true, 8, 8, 8, 0, 0, GL_G8_B8_R8_3PLANE_420_UNORM_ANGLE, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::yuvInternalFormatANGLE>, RequireExt<&Extensions::yuvInternalFormatANGLE>, RequireExt<&Extensions::yuvInternalFormatANGLE>, NeverSupported, NeverSupported); - --#if defined(ANGLE_PLATFORM_LINUX) -+#if defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_BSD) - // From GL_OES_required_internalformat - // The |shared| bit shouldn't be 2. But given this hits assertion when bits - // are checked, it's fine to have this bit set as 2 as a workaround. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_renderer_gl_glx_FunctionsGLX.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_renderer_gl_glx_FunctionsGLX.cpp index 27c39055ce40..0e2e07c6e397 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_renderer_gl_glx_FunctionsGLX.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_renderer_gl_glx_FunctionsGLX.cpp @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/gl/glx/FunctionsGLX.cpp.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/gl/glx/FunctionsGLX.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/gl/glx/FunctionsGLX.cpp @@ -144,10 +144,10 @@ bool FunctionsGLX::initialize(Display *xDisplay, int s // which a GLXWindow was ever created. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_renderer_vulkan_DisplayVk__api.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_renderer_vulkan_DisplayVk__api.h index e78048789abe..4fefb0d16b95 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_renderer_vulkan_DisplayVk__api.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_src_libANGLE_renderer_vulkan_DisplayVk__api.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/vulkan/DisplayVk_api.h.orig 2022-06-17 14:20:10 UTC +--- src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/vulkan/DisplayVk_api.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/angle/src/libANGLE/renderer/vulkan/DisplayVk_api.h -@@ -23,7 +23,7 @@ bool IsVulkanWin32DisplayAvailable(); +@@ -23,7 +23,7 @@ DisplayImpl *CreateVulkanWin32Display(const egl::Displ DisplayImpl *CreateVulkanWin32Display(const egl::DisplayState &state); #endif // defined(ANGLE_PLATFORM_WINDOWS) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_util_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_util_BUILD.gn index 89e05cbb806f..d5b04fcc8629 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_util_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_angle_util_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/angle/util/BUILD.gn.orig 2023-08-17 07:33:31 UTC +--- src/3rdparty/chromium/third_party/angle/util/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/angle/util/BUILD.gn @@ -311,7 +311,7 @@ foreach(is_shared_library, ] diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_common_renderer__preferences_renderer__preferences__mojom__traits.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_common_renderer__preferences_renderer__preferences__mojom__traits.cc index 49f53952a6be..b93a18c20211 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_common_renderer__preferences_renderer__preferences__mojom__traits.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_common_renderer__preferences_renderer__preferences__mojom__traits.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/common/renderer_preferences/renderer_preferences_mojom_traits.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/third_party/blink/common/renderer_preferences/renderer_preferences_mojom_traits.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/common/renderer_preferences/renderer_preferences_mojom_traits.cc -@@ -68,7 +68,7 @@ bool StructTraits<blink::mojom::RendererPreferencesDat +@@ -77,7 +77,7 @@ bool StructTraits<blink::mojom::RendererPreferencesDat out->send_subresource_notification = data.send_subresource_notification(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_public_common_renderer__preferences_renderer__preferences.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_public_common_renderer__preferences_renderer__preferences.h index 3f6ec828bb87..ae24df50b92f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_public_common_renderer__preferences_renderer__preferences.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_public_common_renderer__preferences_renderer__preferences.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/blink/public/common/renderer_preferences/renderer_preferences.h.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/third_party/blink/public/common/renderer_preferences/renderer_preferences.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/public/common/renderer_preferences/renderer_preferences.h @@ -65,7 +65,7 @@ struct BLINK_COMMON_EXPORT RendererPreferences { UserAgentOverride user_agent_override; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_public_common_renderer__preferences_renderer__preferences__mojom__traits.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_public_common_renderer__preferences_renderer__preferences__mojom__traits.h index e9a5dd8c61a1..45d01747fa7d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_public_common_renderer__preferences_renderer__preferences__mojom__traits.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_public_common_renderer__preferences_renderer__preferences__mojom__traits.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/public/common/renderer_preferences/renderer_preferences_mojom_traits.h.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/third_party/blink/public/common/renderer_preferences/renderer_preferences_mojom_traits.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/public/common/renderer_preferences/renderer_preferences_mojom_traits.h -@@ -166,7 +166,7 @@ struct BLINK_COMMON_EXPORT +@@ -180,7 +180,7 @@ struct BLINK_COMMON_EXPORT return data.send_subresource_notification; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_public_platform_platform.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_public_platform_platform.h index 2e0641b0c551..064cbb8569ba 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_public_platform_platform.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_public_platform_platform.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/public/platform/platform.h.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/third_party/blink/public/platform/platform.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/public/platform/platform.h -@@ -370,7 +370,7 @@ class BLINK_PLATFORM_EXPORT Platform { +@@ -371,7 +371,7 @@ class BLINK_PLATFORM_EXPORT Platform { return nullptr; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_public_platform_web__vector.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_public_platform_web__vector.h deleted file mode 100644 index bc01db713d78..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_public_platform_web__vector.h +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/third_party/blink/public/platform/web_vector.h.orig 2024-08-26 12:06:38 UTC -+++ src/3rdparty/chromium/third_party/blink/public/platform/web_vector.h -@@ -91,7 +91,7 @@ class WebVector { - // The vector can be populated using reserve() and emplace_back(). - WebVector() = default; - --#if defined(ARCH_CPU_64_BITS) -+#if defined(ARCH_CPU_64_BITS) || defined(__OpenBSD__) - // Create a vector with |size| default-constructed elements. We define - // a constructor with size_t otherwise we'd have a duplicate define. - explicit WebVector(size_t size) : data_(size) {} diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_bindings_scripts_bind__gen_style__format.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_bindings_scripts_bind__gen_style__format.py index a548ea147052..dc4f4eac740b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_bindings_scripts_bind__gen_style__format.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_bindings_scripts_bind__gen_style__format.py @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/bindings/scripts/bind_gen/style_format.py.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/bindings/scripts/bind_gen/style_format.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/bindings/scripts/bind_gen/style_format.py @@ -30,7 +30,7 @@ def init(root_src_dir, enable_style_format=True): diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_build_scripts_run__with__pythonpath.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_build_scripts_run__with__pythonpath.py index e32084057366..a750c457c6a2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_build_scripts_run__with__pythonpath.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_build_scripts_run__with__pythonpath.py @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/build/scripts/run_with_pythonpath.py.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/build/scripts/run_with_pythonpath.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/build/scripts/run_with_pythonpath.py @@ -22,6 +22,7 @@ def main(): existing_pp = ( diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_controller_blink__initializer.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_controller_blink__initializer.cc index dba203017d9f..a1aeb0a8bf97 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_controller_blink__initializer.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_controller_blink__initializer.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/controller/blink_initializer.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/controller/blink_initializer.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/controller/blink_initializer.cc @@ -81,12 +81,12 @@ #include "third_party/blink/renderer/controller/private_memory_footprint_provider.h" @@ -15,7 +15,7 @@ #include "third_party/blink/renderer/controller/highest_pmf_reporter.h" #include "third_party/blink/renderer/controller/user_level_memory_pressure_signal_generator.h" #endif -@@ -256,7 +256,7 @@ void BlinkInitializer::RegisterInterfaces(mojo::Binder +@@ -255,7 +255,7 @@ void BlinkInitializer::RegisterInterfaces(mojo::Binder main_thread_task_runner); #endif @@ -24,7 +24,7 @@ binders.Add<mojom::blink::MemoryUsageMonitorLinux>( ConvertToBaseRepeatingCallback( CrossThreadBindRepeating(&MemoryUsageMonitorPosix::Bind)), -@@ -303,7 +303,7 @@ void BlinkInitializer::RegisterMemoryWatchers(Platform +@@ -302,7 +302,7 @@ void BlinkInitializer::RegisterMemoryWatchers(Platform #endif #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_controller_memory__usage__monitor__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_controller_memory__usage__monitor__posix.cc index b24d6a9bda56..b7c691555986 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_controller_memory__usage__monitor__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_controller_memory__usage__monitor__posix.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/controller/memory_usage_monitor_posix.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/controller/memory_usage_monitor_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/controller/memory_usage_monitor_posix.cc -@@ -133,15 +133,17 @@ void MemoryUsageMonitorPosix::ResetFileDescriptors() { +@@ -133,15 +133,17 @@ void MemoryUsageMonitorPosix::SetProcFiles(base::File void MemoryUsageMonitorPosix::SetProcFiles(base::File statm_file, base::File status_file) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_controller_memory__usage__monitor__posix.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_controller_memory__usage__monitor__posix.h index ce465c6ba978..69e79c2b6a55 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_controller_memory__usage__monitor__posix.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_controller_memory__usage__monitor__posix.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/controller/memory_usage_monitor_posix.h.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/controller/memory_usage_monitor_posix.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/controller/memory_usage_monitor_posix.h @@ -13,7 +13,7 @@ #include "third_party/blink/renderer/controller/controller_export.h" @@ -9,7 +9,7 @@ #include "third_party/blink/public/mojom/memory_usage_monitor_linux.mojom-blink.h" #endif -@@ -22,7 +22,7 @@ namespace blink { +@@ -22,7 +22,7 @@ class CONTROLLER_EXPORT MemoryUsageMonitorPosix // MemoryUsageMonitor implementation for Android and Linux. class CONTROLLER_EXPORT MemoryUsageMonitorPosix : public MemoryUsageMonitor diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_editing_editing__behavior.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_editing_editing__behavior.cc index 4906368f37f7..2d586d511612 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_editing_editing__behavior.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_editing_editing__behavior.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/core/editing/editing_behavior.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/core/editing/editing_behavior.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/core/editing/editing_behavior.cc @@ -304,7 +304,7 @@ bool EditingBehavior::ShouldInsertCharacter(const Keyb // unexpected behaviour diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_execution__context_navigator__base.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_execution__context_navigator__base.cc index ff4187a018a7..3c110f4202fa 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_execution__context_navigator__base.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_execution__context_navigator__base.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/core/execution_context/navigator_base.cc.orig 2023-04-05 11:05:06 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/core/execution_context/navigator_base.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/core/execution_context/navigator_base.cc @@ -31,7 +31,7 @@ String GetReducedNavigatorPlatform() { return "Win32"; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_exported_web__view__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_exported_web__view__impl.cc index 4fd783141565..6ca69dec189f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_exported_web__view__impl.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_exported_web__view__impl.cc @@ -1,20 +1,20 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/core/exported/web_view_impl.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/core/exported/web_view_impl.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/core/exported/web_view_impl.cc -@@ -428,7 +428,7 @@ SkFontHinting RendererPreferencesToSkiaHinting( +@@ -429,7 +429,7 @@ SkFontHinting RendererPreferencesToSkiaHinting( + #if !BUILDFLAG(IS_MAC) && !BUILDFLAG(IS_WIN) + SkFontHinting RendererPreferencesToSkiaHinting( const blink::RendererPreferences& prefs) { - // TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is - // complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (!prefs.should_antialias_text) { // When anti-aliasing is off, GTK maps all non-zero hinting settings to // 'Normal' hinting so we do the same. Otherwise, folks who have 'Slight' -@@ -3413,7 +3413,7 @@ void WebViewImpl::UpdateFontRenderingFromRendererPrefs +@@ -3430,7 +3430,7 @@ void WebViewImpl::UpdateFontRenderingFromRendererPrefs + gfx::FontRenderParams::SUBPIXEL_RENDERING_NONE); + WebFontRenderStyle::SetSubpixelPositioning( renderer_preferences_.use_subpixel_positioning); - // TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is - // complete. --#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) && \ -+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)) && \ - !BUILDFLAG(IS_ANDROID) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (!renderer_preferences_.system_font_family_name.empty()) { WebFontRenderStyle::SetSystemFontFamily(blink::WebString::FromUTF8( + renderer_preferences_.system_font_family_name)); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_frame_web__frame__test.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_frame_web__frame__test.cc index b84b2245213d..e0d82c67b484 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_frame_web__frame__test.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_frame_web__frame__test.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/core/frame/web_frame_test.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/core/frame/web_frame_test.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/core/frame/web_frame_test.cc -@@ -6478,7 +6478,7 @@ TEST_F(WebFrameTest, DISABLED_PositionForPointTest) { +@@ -6470,7 +6470,7 @@ TEST_F(WebFrameTest, DISABLED_PositionForPointTest) { } #if BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || \ @@ -9,7 +9,7 @@ // TODO(crbug.com/1090246): Fix these tests on Fuchsia and re-enable. // TODO(crbug.com/1317375): Build these tests on all platforms. #define MAYBE_SelectRangeStaysHorizontallyAlignedWhenMoved \ -@@ -6887,7 +6887,7 @@ TEST_F(CompositedSelectionBoundsTest, LargeSelectionSc +@@ -6879,7 +6879,7 @@ TEST_F(CompositedSelectionBoundsTest, LargeSelectionNo TEST_F(CompositedSelectionBoundsTest, LargeSelectionNoScroll) { RunTest("composited_selection_bounds_large_selection_noscroll.html"); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_html_canvas_canvas__async__blob__creator.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_html_canvas_canvas__async__blob__creator.cc index 55d498b0aab7..6ff538a19e9e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_html_canvas_canvas__async__blob__creator.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_html_canvas_canvas__async__blob__creator.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/core/html/canvas/canvas_async_blob_creator.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/core/html/canvas/canvas_async_blob_creator.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/core/html/canvas/canvas_async_blob_creator.cc @@ -55,7 +55,7 @@ constexpr base::TimeDelta kEncodeRowSlackBeforeDeadlin diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_inspector_inspector__memory__agent.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_inspector_inspector__memory__agent.cc index 23825e3999a7..7fc8a7feebf2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_inspector_inspector__memory__agent.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_inspector_inspector__memory__agent.cc @@ -1,9 +1,9 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/core/inspector/inspector_memory_agent.cc.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/core/inspector/inspector_memory_agent.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/core/inspector/inspector_memory_agent.cc -@@ -192,7 +192,7 @@ InspectorMemoryAgent::GetSamplingProfileById(uint32_t +@@ -192,7 +192,7 @@ Vector<String> InspectorMemoryAgent::Symbolize( Vector<String> InspectorMemoryAgent::Symbolize( - const WebVector<const void*>& addresses) { + const std::vector<const void*>& addresses) { -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // TODO(alph): Move symbolization to the client. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_layout_layout__view.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_layout_layout__view.cc index 6a9b53131365..3edfc02a0fa3 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_layout_layout__view.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_layout_layout__view.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/core/layout/layout_view.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/core/layout/layout_view.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/core/layout/layout_view.cc -@@ -73,7 +73,7 @@ +@@ -74,7 +74,7 @@ #include "ui/display/screen_info.h" #include "ui/gfx/geometry/quad_f.h" @@ -9,7 +9,7 @@ #include "third_party/blink/renderer/platform/fonts/font_cache.h" #endif -@@ -776,7 +776,7 @@ void LayoutView::LayoutRoot() { +@@ -784,7 +784,7 @@ void LayoutView::LayoutRoot() { intrinsic_logical_widths_ = LogicalWidth(); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_loader_mixed__content__checker.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_loader_mixed__content__checker.cc new file mode 100644 index 000000000000..a667f590b833 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_loader_mixed__content__checker.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/third_party/blink/renderer/core/loader/mixed_content_checker.cc.orig 2025-10-02 00:36:39 UTC ++++ src/3rdparty/chromium/third_party/blink/renderer/core/loader/mixed_content_checker.cc +@@ -509,7 +509,7 @@ bool MixedContentChecker::ShouldBlockFetch( + switch (context_type) { + case mojom::blink::MixedContentContextType::kOptionallyBlockable: + +-#if (BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX)) && \ ++#if (BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && \ + BUILDFLAG(ENABLE_CAST_RECEIVER) + // Fuchsia WebEngine can be configured to allow loading Mixed Content from + // an insecure IP address. This is a workaround to revert Fuchsia Cast diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_origin__trials_origin__trial__context.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_origin__trials_origin__trial__context.cc new file mode 100644 index 000000000000..d606b3946494 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_origin__trials_origin__trial__context.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/third_party/blink/renderer/core/origin_trials/origin_trial_context.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/third_party/blink/renderer/core/origin_trials/origin_trial_context.cc +@@ -566,7 +566,7 @@ bool OriginTrialContext::CanEnableTrialFromName(const + } + + if (trial_name == "TranslationAPI") { +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + return base::FeatureList::IsEnabled(features::kTranslationAPI); + #else + return false; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_paint_paint__layer.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_paint_paint__layer.cc index 32bd76858040..0c4ddf2ac33d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_paint_paint__layer.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_paint_paint__layer.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/core/paint/paint_layer.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/core/paint/paint_layer.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/core/paint/paint_layer.cc -@@ -120,7 +120,7 @@ namespace blink { +@@ -123,7 +123,7 @@ namespace { namespace { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc index 954c9e28712c..5fe7752565e6 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_core_scroll_scrollbar__theme__aura.cc @@ -1,20 +1,20 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/core/scroll/scrollbar_theme_aura.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/core/scroll/scrollbar_theme_aura.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/core/scroll/scrollbar_theme_aura.cc -@@ -148,7 +148,7 @@ bool ScrollbarThemeAura::SupportsDragSnapBack() const +@@ -147,7 +147,7 @@ bool ScrollbarThemeAura::SupportsDragSnapBack() const + // Disable snapback on desktop Linux to better integrate with the desktop + // behavior. Typically, Linux apps do not implement scrollbar snapback (this // is true for at least GTK and QT apps). - // TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is - // complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return false; #else return true; -@@ -418,7 +418,7 @@ bool ScrollbarThemeAura::ShouldCenterOnThumb(const Scr +@@ -424,7 +424,7 @@ bool ScrollbarThemeAura::ShouldCenterOnThumb(const Scr + + bool ScrollbarThemeAura::ShouldCenterOnThumb(const Scrollbar& scrollbar, const WebMouseEvent& event) const { - // TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is - // complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) if (event.button == WebPointerProperties::Button::kMiddle) return true; #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_media_audio_audio__device__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_media_audio_audio__device__factory.cc index 290296619c85..08700ef04c3f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_media_audio_audio__device__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_media_audio_audio__device__factory.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/modules/media/audio/audio_device_factory.cc.orig 2022-11-30 08:12:58 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/modules/media/audio/audio_device_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/modules/media/audio/audio_device_factory.cc -@@ -35,7 +35,7 @@ namespace { +@@ -34,7 +34,7 @@ AudioDeviceFactory* g_factory_override = nullptr; + // Set when the default factory is overridden. AudioDeviceFactory* g_factory_override = nullptr; - #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ -- BUILDFLAG(IS_CHROMEOS_LACROS) -+ BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Due to driver deadlock issues on Windows (http://crbug/422522) there is a // chance device authorization response is never received from the browser side. // In this case we will time out, to avoid renderer hang forever waiting for diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_media_audio_audio__renderer__mixer__manager__test.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_media_audio_audio__renderer__mixer__manager__test.cc index b91f933a5ae4..04c21348cb9a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_media_audio_audio__renderer__mixer__manager__test.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_media_audio_audio__renderer__mixer__manager__test.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/modules/media/audio/audio_renderer_mixer_manager_test.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/modules/media/audio/audio_renderer_mixer_manager_test.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/modules/media/audio/audio_renderer_mixer_manager_test.cc -@@ -813,7 +813,7 @@ TEST_F(AudioRendererMixerManagerTest, MixerParamsLaten +@@ -873,7 +873,7 @@ TEST_F(AudioRendererMixerManagerTest, MixerParamsLaten mixer->get_output_params_for_testing().sample_rate()); #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_APPLE) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc index 3e4c0751247f..dd8c6e9c54f9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_peerconnection_rtc__data__channel.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/modules/peerconnection/rtc_data_channel.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/modules/peerconnection/rtc_data_channel.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/modules/peerconnection/rtc_data_channel.cc -@@ -557,6 +557,7 @@ void RTCDataChannel::send(Blob* data, ExceptionState& +@@ -542,6 +542,7 @@ void RTCDataChannel::send(Blob* data, ExceptionState& pending_messages_.push_back(message); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc index fe3ae4730393..ac479c37a4fb 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_peerconnection_webrtc__audio__renderer__test.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/modules/peerconnection/webrtc_audio_renderer_test.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/modules/peerconnection/webrtc_audio_renderer_test.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/modules/peerconnection/webrtc_audio_renderer_test.cc @@ -304,7 +304,7 @@ TEST_F(WebRtcAudioRendererTest, DISABLED_VerifySinkPar SetupRenderer(kDefaultOutputDeviceId); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_webaudio_audio__worklet__thread__test.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_webaudio_audio__worklet__thread__test.cc index de8e2b465d4f..00fb7d7b6dc1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_webaudio_audio__worklet__thread__test.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_webaudio_audio__worklet__thread__test.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/modules/webaudio/audio_worklet_thread_test.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/modules/webaudio/audio_worklet_thread_test.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/modules/webaudio/audio_worklet_thread_test.cc -@@ -469,7 +469,7 @@ class AudioWorkletThreadPriorityTest +@@ -465,7 +465,7 @@ class AudioWorkletThreadPriorityTest // TODO(crbug.com/1022888): The worklet thread priority is always NORMAL // on OS_LINUX and OS_CHROMEOS regardless of the thread priority setting. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc index 268dabfff069..f34dfc8138cc 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_webgl_webgl__rendering__context__base.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc.orig 2025-03-29 00:50:57 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.cc -@@ -6298,7 +6298,7 @@ void WebGLRenderingContextBase::TexImageHelperMediaVid +@@ -6334,7 +6334,7 @@ void WebGLRenderingContextBase::TexImageHelperMediaVid constexpr bool kAllowZeroCopyImages = true; #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_webgpu_gpu__queue.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_webgpu_gpu__queue.cc index cac26aa529db..092688d34eb5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_webgpu_gpu__queue.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_webgpu_gpu__queue.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/modules/webgpu/gpu_queue.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/modules/webgpu/gpu_queue.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/modules/webgpu/gpu_queue.cc -@@ -788,7 +788,7 @@ bool GPUQueue::CopyFromCanvasSourceImage( +@@ -815,7 +815,7 @@ bool GPUQueue::CopyFromCanvasSourceImage( // on linux platform. // TODO(crbug.com/1424119): using a webgpu mailbox texture on the OpenGLES // backend is failing for unknown reasons. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_BUILD.gn index 3a2b65610b70..60eb84c2d15d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/BUILD.gn -@@ -2059,7 +2059,7 @@ jumbo_static_library("test_support") { +@@ -2085,7 +2085,7 @@ jumbo_static_library("test_support") { ] # fuzzed_data_provider may not work with a custom toolchain. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__cache.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__cache.cc index 2ea6f77533e6..bb3c0dfa804f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__cache.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__cache.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_cache.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_cache.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_cache.cc -@@ -81,7 +81,7 @@ extern const char kNotoColorEmojiCompat[] = "Noto Colo +@@ -82,7 +82,7 @@ SkFontMgr* FontCache::static_font_manager_ = nullptr; SkFontMgr* FontCache::static_font_manager_ = nullptr; @@ -9,7 +9,7 @@ float FontCache::device_scale_factor_ = 1.0; #endif -@@ -132,7 +132,7 @@ const FontPlatformData* FontCache::SystemFontPlatformD +@@ -133,7 +133,7 @@ const FontPlatformData* FontCache::SystemFontPlatformD const FontDescription& font_description) { const AtomicString& family = FontCache::SystemFontFamily(); #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__cache.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__cache.h index 9e4b94c08812..27c65628b270 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__cache.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__cache.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_cache.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_cache.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_cache.h @@ -55,7 +55,7 @@ #include "third_party/skia/include/core/SkFontMgr.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__description.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__description.cc index a9e689812214..ca22c58fa411 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__description.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__description.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_description.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_description.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_description.cc -@@ -44,7 +44,7 @@ +@@ -45,7 +45,7 @@ #include "third_party/blink/renderer/platform/wtf/text/string_hash.h" #include "third_party/blink/renderer/platform/wtf/text/string_hasher.h" @@ -9,7 +9,7 @@ #include "third_party/blink/renderer/platform/fonts/font_cache.h" #endif -@@ -282,7 +282,7 @@ FontCacheKey FontDescription::CacheKey( +@@ -284,7 +284,7 @@ FontCacheKey FontDescription::CacheKey( static_cast<unsigned>(fields_.orientation_) << 1 | // bit 2-3 static_cast<unsigned>(fields_.subpixel_text_position_); // bit 1 diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__metrics.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__metrics.cc index 45eb2fd4917c..d5ff84813841 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__metrics.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__metrics.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_metrics.cc.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_metrics.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_metrics.cc -@@ -39,7 +39,7 @@ +@@ -39,7 +39,7 @@ namespace blink { namespace blink { #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__platform__data.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__platform__data.cc deleted file mode 100644 index 263bf89e1e66..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__platform__data.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_platform_data.cc.orig 2025-02-21 12:29:33 UTC -+++ src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_platform_data.cc -@@ -57,7 +57,7 @@ namespace { - namespace blink { - namespace { - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - // Getting the system font render style takes a significant amount of time on - // Linux because looking up fonts using fontconfig can be very slow. We fetch - // the render style for each font family and text size, while it's very -@@ -170,7 +170,7 @@ FontPlatformData::FontPlatformData(sk_sp<SkTypeface> t - style_ = WebFontRenderStyle::GetDefault(); - #if !BUILDFLAG(IS_WIN) - WebFontRenderStyle system_style; --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - bool override_font_name_and_size = - base::FeatureList::IsEnabled(kOptimizeLinuxFonts); - #else diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__unique__name__lookup.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__unique__name__lookup.cc index 0c26a3f7c8da..b860215d09e4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__unique__name__lookup.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_font__unique__name__lookup.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_unique_name_lookup.cc.orig 2022-03-25 21:59:56 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_unique_name_lookup.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/font_unique_name_lookup.cc @@ -9,7 +9,7 @@ #if BUILDFLAG(IS_ANDROID) @@ -9,7 +9,7 @@ #include "third_party/blink/renderer/platform/fonts/linux/font_unique_name_lookup_linux.h" #elif BUILDFLAG(IS_WIN) #include "third_party/blink/renderer/platform/fonts/win/font_unique_name_lookup_win.h" -@@ -24,7 +24,7 @@ std::unique_ptr<FontUniqueNameLookup> +@@ -24,7 +24,7 @@ FontUniqueNameLookup::GetPlatformUniqueNameLookup() { FontUniqueNameLookup::GetPlatformUniqueNameLookup() { #if BUILDFLAG(IS_ANDROID) return std::make_unique<FontUniqueNameLookupAndroid>(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc index e6e52c7c2c67..0d7999ebd9a5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_fonts_skia_font__cache__skia.cc @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/skia/font_cache_skia.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/skia/font_cache_skia.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/fonts/skia/font_cache_skia.cc @@ -65,7 +65,7 @@ AtomicString ToAtomicString(const SkString& str) { - return AtomicString::FromUTF8(str.c_str(), str.size()); + return AtomicString::FromUTF8(std::string_view(str.begin(), str.end())); } -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_begin__frame__provider.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_begin__frame__provider.cc index b05f28ed8769..9873b30de799 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_begin__frame__provider.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_begin__frame__provider.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/begin_frame_provider.cc.orig 2023-08-17 07:33:31 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/begin_frame_provider.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/begin_frame_provider.cc @@ -71,8 +71,12 @@ void BeginFrameProvider::CreateCompositorFrameSinkIfNe diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_gpu_image__layer__bridge.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_gpu_image__layer__bridge.cc index c319eea4d7e2..65f0bd960841 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_gpu_image__layer__bridge.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_gpu_image__layer__bridge.cc @@ -1,9 +1,9 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/gpu/image_layer_bridge.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/gpu/image_layer_bridge.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/gpu/image_layer_bridge.cc -@@ -49,7 +49,7 @@ scoped_refptr<StaticBitmapImage> MakeAccelerated( +@@ -48,7 +48,7 @@ scoped_refptr<StaticBitmapImage> MakeAccelerated( + const auto paint_image = source->PaintImageForCurrentFrame(); - const auto image_info = paint_image.GetSkImageInfo().makeWH( - source->Size().width(), source->Size().height()); + const auto image_info = paint_image.GetSkImageInfo(); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // TODO(b/330865436): On Linux, CanvasResourceProvider doesn't always check diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_video__frame__submitter.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_video__frame__submitter.cc index 0dad33ef0603..7213bdf42f55 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_video__frame__submitter.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_video__frame__submitter.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/video_frame_submitter.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/video_frame_submitter.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/video_frame_submitter.cc -@@ -438,7 +438,7 @@ void VideoFrameSubmitter::OnBeginFrame( +@@ -421,7 +421,7 @@ void VideoFrameSubmitter::OnBeginFrame( auto& details = timing_details.find(frame_token)->value; auto& feedback = details.presentation_feedback; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_instrumentation_partition__alloc__memory__dump__provider.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_instrumentation_partition__alloc__memory__dump__provider.cc index 230fa8d5bc2f..f790228ed5bf 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_instrumentation_partition__alloc__memory__dump__provider.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_instrumentation_partition__alloc__memory__dump__provider.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/instrumentation/partition_alloc_memory_dump_provider.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/instrumentation/partition_alloc_memory_dump_provider.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/instrumentation/partition_alloc_memory_dump_provider.cc -@@ -14,7 +14,9 @@ +@@ -14,7 +14,9 @@ namespace blink { namespace blink { @@ -10,7 +10,7 @@ PartitionAllocMemoryDumpProvider* PartitionAllocMemoryDumpProvider::Instance() { DEFINE_STATIC_LOCAL(PartitionAllocMemoryDumpProvider, instance, ()); -@@ -24,6 +26,7 @@ PartitionAllocMemoryDumpProvider* PartitionAllocMemory +@@ -24,6 +26,7 @@ bool PartitionAllocMemoryDumpProvider::OnMemoryDump( bool PartitionAllocMemoryDumpProvider::OnMemoryDump( const base::trace_event::MemoryDumpArgs& args, base::trace_event::ProcessMemoryDump* memory_dump) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_peerconnection_rtc__video__encoder__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_peerconnection_rtc__video__encoder__factory.cc index 1e42ae6bf33b..8944f43e62f5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_peerconnection_rtc__video__encoder__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_peerconnection_rtc__video__encoder__factory.cc @@ -1,17 +1,17 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/peerconnection/rtc_video_encoder_factory.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/peerconnection/rtc_video_encoder_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/peerconnection/rtc_video_encoder_factory.cc -@@ -260,12 +260,12 @@ SupportedFormats GetSupportedFormatsInternal( - supported_formats.scalability_modes.push_back(profile.scalability_modes); +@@ -334,12 +334,12 @@ SupportedFormats GetSupportedFormatsInternal( + supported_formats.profiles.push_back(profile.profile); supported_formats.sdp_formats.push_back(std::move(*format)); --#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #if BUILDFLAG(IS_WIN) const bool kShouldAddH264Cbp = base::FeatureList::IsEnabled(kMediaFoundationH264CbpEncoding) && profile.profile == media::VideoCodecProfile::H264PROFILE_BASELINE; --#elif BUILDFLAG(IS_LINUX) -+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) +-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) const bool kShouldAddH264Cbp = profile.profile == media::VideoCodecProfile::H264PROFILE_BASELINE; #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_runtime__enabled__features.json5 b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_runtime__enabled__features.json5 index b3b99e8e202e..f8af95448deb 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_runtime__enabled__features.json5 +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_runtime__enabled__features.json5 @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/runtime_enabled_features.json5.orig 2025-08-18 00:53:11 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/runtime_enabled_features.json5.orig 2025-10-02 00:36:39 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/runtime_enabled_features.json5 -@@ -384,7 +384,7 @@ +@@ -427,7 +427,7 @@ name: "AppTitle", status: "experimental", origin_trial_feature_name: "AppTitle", @@ -9,7 +9,16 @@ base_feature: "WebAppEnableAppTitle", }, { -@@ -1805,7 +1805,7 @@ +@@ -1599,7 +1599,7 @@ + name: "DocumentIsolationPolicy", + status: "experimental", + origin_trial_feature_name: "DocumentIsolationPolicy", +- origin_trial_os: ["win", "mac", "linux", "chromeos"], ++ origin_trial_os: ["win", "mac", "linux", "chromeos", "openbsd", "freebsd"], + base_feature: "none", + }, + { +@@ -1892,7 +1892,7 @@ base_feature: "none", public: true, origin_trial_feature_name: "FedCmMultipleIdentityProviders", @@ -18,16 +27,16 @@ origin_trial_allows_third_party: true, }, { -@@ -3156,7 +3156,7 @@ +@@ -3279,7 +3279,7 @@ // Tracking bug for the implementation: https://crbug.com/1462930 name: "PermissionElement", origin_trial_feature_name: "PermissionElement", -- origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos"], -+ origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos", "openbsd", "freebsd"], +- origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos", "android"], ++ origin_trial_os: ["win", "mac", "linux", "fuchsia", "chromeos", "android", "openbsd", "freebsd"], status: "experimental", public: true, base_feature_status: "enabled", -@@ -3302,7 +3302,7 @@ +@@ -3416,7 +3416,7 @@ { name: "PrivateNetworkAccessPermissionPrompt", origin_trial_feature_name: "PrivateNetworkAccessPermissionPrompt", @@ -36,7 +45,7 @@ status: "stable", public: true, base_feature: "none", -@@ -4320,7 +4320,7 @@ +@@ -4478,7 +4478,7 @@ name: "UnrestrictedSharedArrayBuffer", base_feature: "none", origin_trial_feature_name: "UnrestrictedSharedArrayBuffer", @@ -45,7 +54,7 @@ }, // Enables using policy-controlled feature "usb-unrestricted" to allow // isolated context to access protected USB interface classes and to -@@ -4467,7 +4467,7 @@ +@@ -4665,7 +4665,7 @@ { name: "WebAppScopeExtensions", origin_trial_feature_name: "WebAppScopeExtensions", @@ -54,12 +63,12 @@ status: "experimental", base_feature: "none", }, -@@ -4510,7 +4510,7 @@ - status: "experimental", - base_feature: "none", - origin_trial_feature_name: "WebAppUrlHandling", -- origin_trial_os: ["win", "mac", "linux"], -+ origin_trial_os: ["win", "mac", "linux", "openbsd", "freebsd"], - }, +@@ -4934,7 +4934,7 @@ { - // WebAssembly JS Promise Integration, + name: "WebIdentityDigitalCredentials", + origin_trial_feature_name: "WebIdentityDigitalCredentials", +- origin_trial_os: ["android", "win", "mac", "linux", "chromeos"], ++ origin_trial_os: ["android", "win", "mac", "linux", "chromeos", "openbsd", "freebsd"], + origin_trial_allows_third_party: true, + implied_by: ["WebIdentityDigitalCredentialsCreation"], + public: true, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_scheduler_common_thread.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_scheduler_common_thread.cc index 0b18e5180bef..633c79e52dda 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_scheduler_common_thread.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_scheduler_common_thread.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/scheduler/common/thread.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/scheduler/common/thread.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/scheduler/common/thread.cc -@@ -88,7 +88,7 @@ void Thread::CreateAndSetCompositorThread() { +@@ -87,7 +87,7 @@ void Thread::CreateAndSetCompositorThread() { "Compositor"); })); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_widget_compositing_blink__categorized__worker__pool__delegate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_widget_compositing_blink__categorized__worker__pool__delegate.cc index a957cfd32446..c98948a7f2b9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_widget_compositing_blink__categorized__worker__pool__delegate.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_widget_compositing_blink__categorized__worker__pool__delegate.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/widget/compositing/blink_categorized_worker_pool_delegate.cc.orig 2023-05-31 08:12:17 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/widget/compositing/blink_categorized_worker_pool_delegate.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/widget/compositing/blink_categorized_worker_pool_delegate.cc -@@ -27,7 +27,7 @@ BlinkCategorizedWorkerPoolDelegate& BlinkCategorizedWo +@@ -27,7 +27,7 @@ void BlinkCategorizedWorkerPoolDelegate::NotifyThreadW void BlinkCategorizedWorkerPoolDelegate::NotifyThreadWillRun( base::PlatformThreadId tid) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_wtf_container__annotations.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_wtf_container__annotations.h index 103af99b3e7b..e370038bc3a2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_wtf_container__annotations.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_wtf_container__annotations.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/container_annotations.h.orig 2022-03-25 21:59:56 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/container_annotations.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/container_annotations.h @@ -12,7 +12,7 @@ // TODO(ochang): Remove the ARCH_CPU_X86_64 condition to enable this for X86 diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_wtf_stack__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_wtf_stack__util.cc index 00565c8d5139..619732db09a2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_wtf_stack__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_wtf_stack__util.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/stack_util.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/stack_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/stack_util.cc -@@ -23,6 +23,11 @@ +@@ -23,6 +23,11 @@ extern "C" void* __libc_stack_end; // NOLINT extern "C" void* __libc_stack_end; // NOLINT #endif @@ -21,7 +21,7 @@ #elif BUILDFLAG(IS_APPLE) // pthread_get_stacksize_np() returns too low a value for the main thread on // OSX 10.9, -@@ -154,6 +161,13 @@ void* GetStackStart() { +@@ -152,6 +159,13 @@ void* GetStackStart() { ::GetCurrentThreadStackLimits(&lowLimit, &highLimit); return reinterpret_cast<void*>(highLimit); #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_wtf_text_text__codec__icu.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_wtf_text_text__codec__icu.cc deleted file mode 100644 index 320932d839f5..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_wtf_text_text__codec__icu.cc +++ /dev/null @@ -1,18 +0,0 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/text_codec_icu.cc.orig 2024-08-26 12:06:38 UTC -+++ src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/text_codec_icu.cc -@@ -615,6 +615,7 @@ static void GbkUrlEscapedEntityCallack( - code_point, reason, err); - } - -+#if !BUILDFLAG(IS_BSD) - static void GbkCallbackSubstitute(const void* context, - UConverterFromUnicodeArgs* from_unicode_args, - const UChar* code_units, -@@ -632,6 +633,7 @@ static void GbkCallbackSubstitute(const void* context, - UCNV_FROM_U_CALLBACK_SUBSTITUTE(context, from_unicode_args, code_units, - length, code_point, reason, err); - } -+#endif - #endif // USING_SYSTEM_ICU - - static void NotReachedEntityCallback(const void* context, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_brotli_common_platform.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_brotli_common_platform.h index 18392c68a190..960cb0d4805c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_brotli_common_platform.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_brotli_common_platform.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/brotli/common/platform.h.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/third_party/brotli/common/platform.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/brotli/common/platform.h @@ -28,7 +28,7 @@ #include <brotli/port.h> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_cpuinfo_cpuinfo.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_cpuinfo_cpuinfo.gni index fdbb3de57a11..0e35473403d7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_cpuinfo_cpuinfo.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_cpuinfo_cpuinfo.gni @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/cpuinfo/cpuinfo.gni.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/third_party/cpuinfo/cpuinfo.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/cpuinfo/cpuinfo.gni @@ -8,7 +8,7 @@ use_cpuinfo = current_cpu != "s390" && current_cpu != "s390x" && diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_build_crashpad__buildconfig.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_build_crashpad__buildconfig.gni index 14c9411abecc..61525d8e96ef 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_build_crashpad__buildconfig.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_build_crashpad__buildconfig.gni @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/crashpad/crashpad/build/crashpad_buildconfig.gni.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/third_party/crashpad/crashpad/build/crashpad_buildconfig.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/crashpad/crashpad/build/crashpad_buildconfig.gni @@ -61,7 +61,7 @@ if (crashpad_is_in_chromium) { crashpad_is_ios = is_ios diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_client_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_client_BUILD.gn index 8964a52ea7f7..bd27cebd69e5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_client_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_client_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/crashpad/crashpad/client/BUILD.gn.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/third_party/crashpad/crashpad/client/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/crashpad/crashpad/client/BUILD.gn @@ -137,6 +137,13 @@ static_library("common") { if (crashpad_is_win) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_client_crashpad__client__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_client_crashpad__client__posix.cc index eaa3a41627ed..86b7e5cf67ba 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_client_crashpad__client__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_client_crashpad__client__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/crashpad/crashpad/client/crashpad_client_posix.cc.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/third_party/crashpad/crashpad/client/crashpad_client_posix.cc.orig 2025-09-01 08:52:33 UTC +++ src/3rdparty/chromium/third_party/crashpad/crashpad/client/crashpad_client_posix.cc @@ -0,0 +1,40 @@ +// Copyright 2017 The Crashpad Authors. All rights reserved. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_minidump_minidump__misc__info__writer.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_minidump_minidump__misc__info__writer.cc index f337430eb9d6..571d5b06bd56 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_minidump_minidump__misc__info__writer.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_minidump_minidump__misc__info__writer.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc.orig 2022-07-22 17:30:31 UTC +--- src/3rdparty/chromium/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc @@ -159,6 +159,10 @@ std::string MinidumpMiscInfoDebugBuildString() { static constexpr char kOS[] = "win"; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_misc_address__types.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_misc_address__types.h index ada89edcb833..259fcbaccd8f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_misc_address__types.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_misc_address__types.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/crashpad/crashpad/util/misc/address_types.h.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/third_party/crashpad/crashpad/util/misc/address_types.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/crashpad/crashpad/util/misc/address_types.h @@ -25,7 +25,7 @@ #include <mach/mach_types.h> @@ -9,7 +9,7 @@ #include "util/linux/address_types.h" #elif BUILDFLAG(IS_FUCHSIA) #include <zircon/types.h> -@@ -55,7 +55,7 @@ using VMSize = mach_vm_size_t; +@@ -55,7 +55,7 @@ using VMSize = WinVMSize; using VMAddress = WinVMAddress; using VMSize = WinVMSize; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_misc_capture__context.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_misc_capture__context.h index fddd74c41f77..351657263b98 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_misc_capture__context.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_misc_capture__context.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/crashpad/crashpad/util/misc/capture_context.h.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/third_party/crashpad/crashpad/util/misc/capture_context.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/crashpad/crashpad/util/misc/capture_context.h @@ -21,7 +21,8 @@ #include <mach/mach.h> @@ -10,7 +10,7 @@ #include <ucontext.h> #endif // BUILDFLAG(IS_APPLE) -@@ -35,7 +36,8 @@ using NativeCPUContext = arm_unified_thread_state; +@@ -35,7 +36,8 @@ using NativeCPUContext = CONTEXT; #endif #elif BUILDFLAG(IS_WIN) using NativeCPUContext = CONTEXT; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_misc_metrics.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_misc_metrics.cc index ae45aff49a98..77fce5d55118 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_misc_metrics.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_misc_metrics.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/crashpad/crashpad/util/misc/metrics.cc.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/third_party/crashpad/crashpad/util/misc/metrics.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/crashpad/crashpad/util/misc/metrics.cc @@ -25,7 +25,7 @@ #define METRICS_OS_NAME "Win" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_misc_uuid.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_misc_uuid.cc index ce6b4d18a671..cb6c56b2573e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_misc_uuid.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_misc_uuid.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/crashpad/crashpad/util/misc/uuid.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/third_party/crashpad/crashpad/util/misc/uuid.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/crashpad/crashpad/util/misc/uuid.cc @@ -110,7 +110,7 @@ bool UUID::InitializeWithNew() { InitializeFromBytes(uuid); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_close__multiple.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_close__multiple.cc index a3d67c4e05e2..7ea324017cd3 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_close__multiple.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_close__multiple.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/crashpad/crashpad/util/posix/close_multiple.cc.orig 2023-12-10 06:10:27 UTC +--- src/3rdparty/chromium/third_party/crashpad/crashpad/util/posix/close_multiple.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/crashpad/crashpad/util/posix/close_multiple.cc -@@ -73,7 +73,7 @@ void CloseNowOrOnExec(int fd, bool ebadf_ok) { +@@ -73,7 +73,7 @@ bool CloseMultipleNowOrOnExecUsingFDDir(int min_fd, in // This is an advantage over looping over all possible file descriptors, because // no attempt needs to be made to close file descriptors that are not open. bool CloseMultipleNowOrOnExecUsingFDDir(int min_fd, int preserve_fd) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_drop__privileges.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_drop__privileges.cc index 07d2646d3883..b8de219adffc 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_drop__privileges.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_drop__privileges.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/crashpad/crashpad/util/posix/drop_privileges.cc.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/third_party/crashpad/crashpad/util/posix/drop_privileges.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/crashpad/crashpad/util/posix/drop_privileges.cc @@ -25,7 +25,7 @@ void DropPrivileges() { gid_t gid = getgid(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_signals.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_signals.cc index af3e3cb7d4d0..21a9cdebe8a4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_signals.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_signals.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/crashpad/crashpad/util/posix/signals.cc.orig 2022-08-31 12:19:35 UTC +--- src/3rdparty/chromium/third_party/crashpad/crashpad/util/posix/signals.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/crashpad/crashpad/util/posix/signals.cc @@ -51,7 +51,7 @@ constexpr int kCrashSignals[] = { #if defined(SIGEMT) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_symbolic__constants__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_symbolic__constants__posix.cc index d05000bbb5b8..2e3ab30e6a55 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_symbolic__constants__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crashpad_crashpad_util_posix_symbolic__constants__posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/crashpad/crashpad/util/posix/symbolic_constants_posix.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/third_party/crashpad/crashpad/util/posix/symbolic_constants_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/crashpad/crashpad/util/posix/symbolic_constants_posix.cc @@ -68,7 +68,7 @@ constexpr const char* kSignalNames[] = { "INFO", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crc32c_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crc32c_BUILD.gn index f6bf968b709f..664b1914d994 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crc32c_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_crc32c_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/crc32c/BUILD.gn.orig 2023-04-28 17:01:32 UTC +--- src/3rdparty/chromium/third_party/crc32c/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/crc32c/BUILD.gn @@ -46,7 +46,7 @@ config("crc32c_config") { } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_dav1d_libdav1d_src_arm_cpu.c b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_dav1d_libdav1d_src_arm_cpu.c index 45c9269f1f25..aceaba1364ac 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_dav1d_libdav1d_src_arm_cpu.c +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_dav1d_libdav1d_src_arm_cpu.c @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/third_party/dav1d/libdav1d/src/arm/cpu.c.orig 2025-05-29 01:27:28 UTC +--- src/3rdparty/chromium/third_party/dav1d/libdav1d/src/arm/cpu.c.orig 2025-10-02 00:36:39 UTC +++ src/3rdparty/chromium/third_party/dav1d/libdav1d/src/arm/cpu.c @@ -35,6 +35,20 @@ - #if defined(HAVE_GETAUXVAL) || defined(HAVE_ELF_AUX_INFO) + #if HAVE_GETAUXVAL || HAVE_ELF_AUX_INFO #include <sys/auxv.h> +#if defined(__FreeBSD__) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_dawn_include_dawn_native_VulkanBackend.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_dawn_include_dawn_native_VulkanBackend.h index 7a725030803a..8084e4e2d29f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_dawn_include_dawn_native_VulkanBackend.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_dawn_include_dawn_native_VulkanBackend.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/dawn/include/dawn/native/VulkanBackend.h.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/third_party/dawn/include/dawn/native/VulkanBackend.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/dawn/include/dawn/native/VulkanBackend.h @@ -83,7 +83,7 @@ struct ExternalImageExportInfoVk : ExternalImageExport }; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_dawn_src_dawn_common_Platform.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_dawn_src_dawn_common_Platform.h index 333d2950e036..9d16826dde05 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_dawn_src_dawn_common_Platform.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_dawn_src_dawn_common_Platform.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/dawn/src/dawn/common/Platform.h.orig 2023-12-10 06:10:27 UTC +--- src/3rdparty/chromium/third_party/dawn/src/dawn/common/Platform.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/dawn/src/dawn/common/Platform.h @@ -59,6 +59,11 @@ #error "Unsupported Windows platform." diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_dawn_src_dawn_native_vulkan_BackendVk.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_dawn_src_dawn_native_vulkan_BackendVk.cpp index bc38db908f9a..6fe2d4ab85f4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_dawn_src_dawn_native_vulkan_BackendVk.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_dawn_src_dawn_native_vulkan_BackendVk.cpp @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp @@ -56,7 +56,7 @@ constexpr char kSwiftshaderLibName[] = "libvk_swiftsha #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_devtools-frontend_src_scripts_build_compress__files.js b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_devtools-frontend_src_scripts_build_compress__files.js index 4e8cd8e40633..ceed3f2ab115 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_devtools-frontend_src_scripts_build_compress__files.js +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_devtools-frontend_src_scripts_build_compress__files.js @@ -1,16 +1,16 @@ Reduce Brotli compression on i386 to have more memory available. Otherwise, node.js stops with either SIGSEGV or SIGABRT after ~530 processed files. ---- src/3rdparty/chromium/third_party/devtools-frontend/src/scripts/build/compress_files.js.orig 2025-03-29 00:50:57 UTC +--- src/3rdparty/chromium/third_party/devtools-frontend/src/scripts/build/compress_files.js.orig 2025-10-02 00:36:39 UTC +++ src/3rdparty/chromium/third_party/devtools-frontend/src/scripts/build/compress_files.js -@@ -2,6 +2,7 @@ - // Use of this source code is governed by a BSD-style license that can be - // found in the LICENSE file. +@@ -4,6 +4,7 @@ const fs = require('fs'); -+const os = require('os'); - const fs = require('fs'); const crypto = require('crypto'); + const fs = require('fs'); ++const os = require('os') + const {pipeline, Readable} = require('stream'); const zlib = require('zlib'); + @@ -52,9 +53,16 @@ async function brotli(sourceData, compressedFilename) output.write(Buffer.from(brotliConst)); output.write(Buffer.from(sizeHeader)); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_BUILD.gn index 5bf2f236e1ea..ea3baf4a77f9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/ffmpeg/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/third_party/ffmpeg/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/ffmpeg/BUILD.gn @@ -358,7 +358,6 @@ target(link_target_type, "ffmpeg_internal") { libs += [ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_configure b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_configure index e8211725936a..c4090a7c848f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_configure +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_configure @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/ffmpeg/configure.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/third_party/ffmpeg/configure.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/ffmpeg/configure -@@ -6818,8 +6818,8 @@ if ! disabled pthreads && ! enabled w32threads && ! en +@@ -6850,8 +6850,8 @@ if ! disabled pthreads && ! enabled w32threads && ! en if enabled pthread_np_h; then hdrs="$hdrs pthread_np.h" fi diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavcodec_x86_cabac.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavcodec_x86_cabac.h index 67db6588d1e4..2fef3f54c0c9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavcodec_x86_cabac.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavcodec_x86_cabac.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/ffmpeg/libavcodec/x86/cabac.h.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/third_party/ffmpeg/libavcodec/x86/cabac.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/ffmpeg/libavcodec/x86/cabac.h @@ -31,7 +31,8 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_cpu.c b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_cpu.c index bdf96b980918..068e48896b10 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_cpu.c +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_cpu.c @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/ffmpeg/libavutil/cpu.c.orig 2022-07-22 17:30:31 UTC +--- src/3rdparty/chromium/third_party/ffmpeg/libavutil/cpu.c.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/ffmpeg/libavutil/cpu.c @@ -38,10 +38,7 @@ #if HAVE_GETPROCESSAFFINITYMASK || HAVE_WINRT diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_mem.c b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_mem.c index ee8d0e6f047f..632373aac479 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_mem.c +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_mem.c @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/ffmpeg/libavutil/mem.c.orig 2022-05-19 14:06:27 UTC +--- src/3rdparty/chromium/third_party/ffmpeg/libavutil/mem.c.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/ffmpeg/libavutil/mem.c @@ -33,9 +33,6 @@ #include <stdlib.h> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_random__seed.c b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_random__seed.c index 56f6d74cfa8e..cb58d2f83558 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_random__seed.c +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_random__seed.c @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/ffmpeg/libavutil/random_seed.c.orig 2023-09-13 13:13:30 UTC +--- src/3rdparty/chromium/third_party/ffmpeg/libavutil/random_seed.c.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/ffmpeg/libavutil/random_seed.c @@ -35,6 +35,11 @@ #elif CONFIG_OPENSSL diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_x86_x86inc.asm b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_x86_x86inc.asm index 237ae59b1e77..30dd08fcbcd0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_x86_x86inc.asm +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ffmpeg_libavutil_x86_x86inc.asm @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/ffmpeg/libavutil/x86/x86inc.asm.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/third_party/ffmpeg/libavutil/x86/x86inc.asm.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/ffmpeg/libavutil/x86/x86inc.asm @@ -46,6 +46,12 @@ %endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_fontconfig_include_config.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_fontconfig_include_config.h index dd390fddb589..eff0708b4812 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_fontconfig_include_config.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_fontconfig_include_config.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/fontconfig/include/config.h.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/third_party/fontconfig/include/config.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/fontconfig/include/config.h @@ -13,7 +13,7 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_fontconfig_src_src_fccompat.c b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_fontconfig_src_src_fccompat.c index d61aaa4c78cc..d418bebfae1a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_fontconfig_src_src_fccompat.c +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_fontconfig_src_src_fccompat.c @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/fontconfig/src/src/fccompat.c.orig 2023-04-05 11:05:06 UTC +--- src/3rdparty/chromium/third_party/fontconfig/src/src/fccompat.c.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/fontconfig/src/src/fccompat.c @@ -184,7 +184,9 @@ FcRandom(void) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ipcz_src_reference__drivers_random.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ipcz_src_reference__drivers_random.cc index 37f7dfaef0fc..c6c95d534398 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ipcz_src_reference__drivers_random.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ipcz_src_reference__drivers_random.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/ipcz/src/reference_drivers/random.cc.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/third_party/ipcz/src/reference_drivers/random.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/ipcz/src/reference_drivers/random.cc @@ -14,7 +14,7 @@ #include <windows.h> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ipcz_src_standalone_base_logging.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ipcz_src_standalone_base_logging.cc index ef8f04ad0054..3f4b3133cdea 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ipcz_src_standalone_base_logging.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_ipcz_src_standalone_base_logging.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/ipcz/src/standalone/base/logging.cc.orig 2022-05-19 14:06:27 UTC +--- src/3rdparty/chromium/third_party/ipcz/src/standalone/base/logging.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/ipcz/src/standalone/base/logging.cc -@@ -50,6 +50,9 @@ LogMessage::LogMessage(const char* file, int line, Lev +@@ -55,6 +55,9 @@ LogMessage::LogMessage(const char* file, int line, Lev #elif BUILDFLAG(IS_ANDROID) stream_ << getpid() << ":" << gettid() << ":"; const char* trimmed_file = strrchr(file, '/') + 1; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_leveldatabase_env__chromium.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_leveldatabase_env__chromium.cc index 145d26bfeab7..f9e0e73c264c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_leveldatabase_env__chromium.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_leveldatabase_env__chromium.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/leveldatabase/env_chromium.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/third_party/leveldatabase/env_chromium.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/leveldatabase/env_chromium.cc -@@ -329,7 +329,8 @@ ChromiumWritableFile::ChromiumWritableFile(const std:: +@@ -329,7 +329,8 @@ Status ChromiumWritableFile::SyncParent() { Status ChromiumWritableFile::SyncParent() { TRACE_EVENT0("leveldb", "SyncParent"); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libaom_source_libaom_aom__ports_aarch64__cpudetect.c b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libaom_source_libaom_aom__ports_aarch64__cpudetect.c index 72f6c7ebf94a..8aaa81010cd3 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libaom_source_libaom_aom__ports_aarch64__cpudetect.c +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libaom_source_libaom_aom__ports_aarch64__cpudetect.c @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/libaom/source/libaom/aom_ports/aarch64_cpudetect.c.orig 2024-06-03 12:51:57 UTC +--- src/3rdparty/chromium/third_party/libaom/source/libaom/aom_ports/aarch64_cpudetect.c.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/libaom/source/libaom/aom_ports/aarch64_cpudetect.c -@@ -99,9 +99,45 @@ static int arm_get_cpu_caps(void) { +@@ -127,9 +127,45 @@ static int arm_get_cpu_caps(void) { return flags; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libsync_src_include_sync_sync.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libsync_src_include_sync_sync.h index 4cbca5dd570b..e2cf6f4533e7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libsync_src_include_sync_sync.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libsync_src_include_sync_sync.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/libsync/src/include/sync/sync.h.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/third_party/libsync/src/include/sync/sync.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/libsync/src/include/sync/sync.h @@ -22,7 +22,9 @@ #include <sys/cdefs.h> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libsync_src_sync.c b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libsync_src_sync.c index 7ea69d700512..3517af68b7f5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libsync_src_sync.c +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libsync_src_sync.c @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/libsync/src/sync.c.orig 2023-10-11 18:22:24 UTC +--- src/3rdparty/chromium/third_party/libsync/src/sync.c.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/libsync/src/sync.c @@ -17,8 +17,8 @@ */ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libusb_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libusb_BUILD.gn index 22b7c68e1787..373c50d35ffe 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libusb_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libusb_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/libusb/BUILD.gn.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/third_party/libusb/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/libusb/BUILD.gn @@ -3,7 +3,7 @@ # found in the LICENSE file. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libusb_src_libusb_core.c b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libusb_src_libusb_core.c index e26d42ffdd14..418782225b11 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libusb_src_libusb_core.c +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libusb_src_libusb_core.c @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/libusb/src/libusb/core.c.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/third_party/libusb/src/libusb/core.c.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/libusb/src/libusb/core.c @@ -448,7 +448,7 @@ libusb_free_device_list(list, 1); * which grows when required. it can be freed once discovery has completed, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libusb_src_libusb_os_threads__posix.c b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libusb_src_libusb_os_threads__posix.c index 369d72508877..b10152996ad1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libusb_src_libusb_os_threads__posix.c +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libusb_src_libusb_os_threads__posix.c @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/libusb/src/libusb/os/threads_posix.c.orig 2023-03-09 06:31:50 UTC +--- src/3rdparty/chromium/third_party/libusb/src/libusb/os/threads_posix.c.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/libusb/src/libusb/os/threads_posix.c @@ -19,9 +19,11 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libvpx_source_libvpx_vpx__ports_aarch64__cpudetect.c b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libvpx_source_libvpx_vpx__ports_aarch64__cpudetect.c index a16c77545f24..486b76f43835 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libvpx_source_libvpx_vpx__ports_aarch64__cpudetect.c +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_libvpx_source_libvpx_vpx__ports_aarch64__cpudetect.c @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/libvpx/source/libvpx/vpx_ports/aarch64_cpudetect.c.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/third_party/libvpx/source/libvpx/vpx_ports/aarch64_cpudetect.c.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/libvpx/source/libvpx/vpx_ports/aarch64_cpudetect.c -@@ -92,9 +92,23 @@ static int arm_get_cpu_caps(void) { +@@ -120,9 +120,23 @@ static int arm_get_cpu_caps(void) { return flags; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_lzma__sdk_C_CpuArch.c b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_lzma__sdk_C_CpuArch.c index b593bc1de478..f8fdb3920966 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_lzma__sdk_C_CpuArch.c +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_lzma__sdk_C_CpuArch.c @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/third_party/lzma_sdk/C/CpuArch.c.orig 2025-02-19 07:43:18 UTC +--- src/3rdparty/chromium/third_party/lzma_sdk/C/CpuArch.c.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/lzma_sdk/C/CpuArch.c -@@ -854,7 +854,35 @@ BoolInt CPU_IsSupported_SHA1(void) { return APPLE_CRYP +@@ -854,6 +854,34 @@ BoolInt CPU_IsSupported_SHA1(void) { return APPLE_CRYP BoolInt CPU_IsSupported_SHA2(void) { return APPLE_CRYPTO_SUPPORT_VAL; } BoolInt CPU_IsSupported_AES (void) { return APPLE_CRYPTO_SUPPORT_VAL; } +#elif defined(__OpenBSD__) - ++ +#include <sys/param.h> +#include <sys/sysctl.h> +#include <machine/cpu.h> @@ -32,20 +32,6 @@ +MY_HWCAP_CHECK_FUNC (SHA1) +MY_HWCAP_CHECK_FUNC (SHA2) +MY_HWCAP_CHECK_FUNC (AES) -+ - #else // __APPLE__ - - #if defined(__GLIBC__) && (__GLIBC__ * 100 + __GLIBC_MINOR__ >= 216) -@@ -869,10 +897,12 @@ BoolInt CPU_IsSupported_AES (void) { return APPLE_CRYP - #endif - #endif -+#if !defined(__FreeBSD__) - #ifdef Z7_GETAUXV_AVAILABLE - // #pragma message("=== Z7_GETAUXV_AVAILABLE === ") - #include <sys/auxv.h> - #define USE_HWCAP -+#endif - #endif + #else // __APPLE__ - #ifdef USE_HWCAP diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_material__color__utilities_src_cpp_palettes_tones.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_material__color__utilities_src_cpp_palettes_tones.cc index 2fac7ff978da..aa95a624da4b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_material__color__utilities_src_cpp_palettes_tones.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_material__color__utilities_src_cpp_palettes_tones.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/material_color_utilities/src/cpp/palettes/tones.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/third_party/material_color_utilities/src/cpp/palettes/tones.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/material_color_utilities/src/cpp/palettes/tones.cc @@ -14,6 +14,8 @@ * limitations under the License. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_nasm_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_nasm_BUILD.gn index 110690bd900f..ebe0f2a10c31 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_nasm_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_nasm_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/nasm/BUILD.gn.orig 2024-07-30 19:22:51 UTC +--- src/3rdparty/chromium/third_party/nasm/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/nasm/BUILD.gn @@ -63,6 +63,13 @@ config("nasm_config") { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_nasm_config_config-linux.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_nasm_config_config-linux.h index 51ee60839711..ada14c71c42e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_nasm_config_config-linux.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_nasm_config_config-linux.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/nasm/config/config-linux.h.orig 2023-01-11 09:17:16 UTC +--- src/3rdparty/chromium/third_party/nasm/config/config-linux.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/nasm/config/config-linux.h @@ -160,7 +160,7 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_node_node.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_node_node.py index 759ce8c8b5b5..9eba14604253 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_node_node.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_node_node.py @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/node/node.py.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/third_party/node/node.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/node/node.py -@@ -39,6 +39,8 @@ def GetBinaryPath(): +@@ -40,6 +40,8 @@ def GetBinaryPath(): return os_path.join(os_path.dirname(__file__), *{ 'Darwin': (darwin_path, darwin_name, 'bin', 'node'), 'Linux': ('linux', 'node-linux-x64', 'bin', 'node'), diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_core_fxge_cfx__fontmapper.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_core_fxge_cfx__fontmapper.cpp index 0496f4205f04..621926e60466 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_core_fxge_cfx__fontmapper.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_core_fxge_cfx__fontmapper.cpp @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/pdfium/core/fxge/cfx_fontmapper.cpp.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/third_party/pdfium/core/fxge/cfx_fontmapper.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/pdfium/core/fxge/cfx_fontmapper.cpp @@ -157,7 +157,7 @@ constexpr AltFontFamily kAltFontFamilies[] = { {"ForteMT", "Forte"}, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_fxjs_fx__date__helpers.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_fxjs_fx__date__helpers.cpp index c0361fbd6d01..6a7a9ba16cc7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_fxjs_fx__date__helpers.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_fxjs_fx__date__helpers.cpp @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/pdfium/fxjs/fx_date_helpers.cpp.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/third_party/pdfium/fxjs/fx_date_helpers.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/pdfium/fxjs/fx_date_helpers.cpp @@ -39,6 +39,11 @@ double GetLocalTZA() { return 0; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_pdfium.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_pdfium.gni index a5f7bb2cfc7c..a04a98e2462d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_pdfium.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_pdfium.gni @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/pdfium/pdfium.gni.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/third_party/pdfium/pdfium.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/pdfium/pdfium.gni @@ -42,7 +42,7 @@ declare_args() { # PDFium will use PartitionAlloc partitions to separate strings, scalars, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_xfa_fxfa_parser_cxfa__timezoneprovider.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_xfa_fxfa_parser_cxfa__timezoneprovider.cpp index b6189b391b6a..a205027ceff2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_xfa_fxfa_parser_cxfa__timezoneprovider.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_pdfium_xfa_fxfa_parser_cxfa__timezoneprovider.cpp @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/pdfium/xfa/fxfa/parser/cxfa_timezoneprovider.cpp.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/third_party/pdfium/xfa/fxfa/parser/cxfa_timezoneprovider.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/pdfium/xfa/fxfa/parser/cxfa_timezoneprovider.cpp @@ -6,12 +6,16 @@ @@ -17,7 +17,7 @@ #if BUILDFLAG(IS_WIN) #define TIMEZONE _timezone -@@ -24,9 +28,21 @@ static bool g_bProviderTimeZoneSet = false; +@@ -24,9 +28,21 @@ CXFA_TimeZoneProvider::CXFA_TimeZoneProvider() { CXFA_TimeZoneProvider::CXFA_TimeZoneProvider() { if (!g_bProviderTimeZoneSet) { g_bProviderTimeZoneSet = true; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_build__config.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_build__config.h index 8903f2c097ae..c5d0fd9f4f41 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_build__config.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_build__config.h @@ -1,22 +1,22 @@ ---- src/3rdparty/chromium/third_party/perfetto/include/perfetto/base/build_config.h.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/third_party/perfetto/include/perfetto/base/build_config.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/perfetto/include/perfetto/base/build_config.h @@ -27,6 +27,7 @@ #if defined(__ANDROID__) #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 1 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 0 +#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_BSD() 0 + #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX_BUT_NOT_QNX() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WIN() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE() 0 - #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_MAC() 0 -@@ -38,6 +39,7 @@ +@@ -40,6 +41,7 @@ #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE() 1 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 0 +#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_BSD() 0 + #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX_BUT_NOT_QNX() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WIN() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WASM() 0 - #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FUCHSIA() 0 -@@ -51,9 +53,10 @@ +@@ -55,9 +57,10 @@ #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_MAC() 1 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_IOS() 0 #endif @@ -25,42 +25,46 @@ #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 1 +#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_BSD() 1 + #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX_BUT_NOT_QNX() 1 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WIN() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE() 0 - #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_MAC() 0 -@@ -64,6 +67,8 @@ +@@ -70,6 +73,7 @@ + #elif defined(__QNXNTO__) + #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0 + #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 1 ++#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_BSD() 0 + #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX_BUT_NOT_QNX() 0 + #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WIN() 0 + #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE() 0 +@@ -82,6 +86,7 @@ #elif defined(_WIN32) #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 0 +#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_BSD() 0 -+#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FREEBSD() 0 + #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX_BUT_NOT_QNX() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WIN() 1 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE() 0 - #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_MAC() 0 -@@ -74,6 +79,8 @@ +@@ -94,6 +99,7 @@ #elif defined(__EMSCRIPTEN__) #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 0 +#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_BSD() 0 -+#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FREEBSD() 0 + #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX_BUT_NOT_QNX() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WIN() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE() 0 - #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_MAC() 0 -@@ -87,6 +94,8 @@ +@@ -109,6 +115,7 @@ #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_MAC() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_IOS() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 0 +#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_BSD() 0 -+#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FREEBSD() 0 + #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX_BUT_NOT_QNX() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WIN() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WASM() 0 - #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FUCHSIA() 1 -@@ -94,6 +103,8 @@ +@@ -118,6 +125,7 @@ #elif defined(__native_client__) #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 0 +#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_BSD() 0 -+#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FREEBSD() 0 + #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX_BUT_NOT_QNX() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WIN() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE() 0 - #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_MAC() 0 diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_thread__utils.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_thread__utils.h index c4b8c00aa897..2f775de62fe9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_thread__utils.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_thread__utils.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/perfetto/include/perfetto/base/thread_utils.h.orig 2023-01-11 09:17:16 UTC +--- src/3rdparty/chromium/third_party/perfetto/include/perfetto/base/thread_utils.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/perfetto/include/perfetto/base/thread_utils.h -@@ -34,6 +34,7 @@ __declspec(dllimport) unsigned long __stdcall GetCurre +@@ -37,6 +37,7 @@ __declspec(dllimport) unsigned long __stdcall GetCurre #include <sys/syscall.h> #include <sys/types.h> #include <unistd.h> @@ -8,7 +8,7 @@ #else #include <pthread.h> #endif -@@ -45,6 +46,11 @@ namespace base { +@@ -49,6 +50,11 @@ inline PlatformThreadId GetThreadId() { using PlatformThreadId = pid_t; inline PlatformThreadId GetThreadId() { return gettid(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_time.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_time.h index 6c5d53decb9e..f1a85966772e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_time.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_base_time.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/perfetto/include/perfetto/base/time.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/third_party/perfetto/include/perfetto/base/time.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/perfetto/include/perfetto/base/time.h -@@ -199,6 +199,9 @@ inline TimeNanos GetTimeInternalNs(clockid_t clk_id) { +@@ -227,6 +227,9 @@ inline TimeNanos GetBootTimeNs() { // Return ns from boot. Conversely to GetWallTimeNs, this clock counts also time // during suspend (when supported). inline TimeNanos GetBootTimeNs() { @@ -10,7 +10,7 @@ // Determine if CLOCK_BOOTTIME is available on the first call. static const clockid_t kBootTimeClockSource = [] { struct timespec ts = {}; -@@ -206,6 +209,7 @@ inline TimeNanos GetBootTimeNs() { +@@ -234,6 +237,7 @@ inline TimeNanos GetBootTimeNs() { return res == 0 ? CLOCK_BOOTTIME : kWallTimeClockSource; }(); return GetTimeInternalNs(kBootTimeClockSource); @@ -18,7 +18,7 @@ } inline TimeNanos GetWallTimeNs() { -@@ -213,7 +217,13 @@ inline TimeNanos GetWallTimeNs() { +@@ -241,7 +245,13 @@ inline TimeNanos GetWallTimeRawNs() { } inline TimeNanos GetWallTimeRawNs() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_ext_base_event__fd.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_ext_base_event__fd.h index 8f678f4279d6..687664055d47 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_ext_base_event__fd.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_ext_base_event__fd.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/perfetto/include/perfetto/ext/base/event_fd.h.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/third_party/perfetto/include/perfetto/ext/base/event_fd.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/perfetto/include/perfetto/ext/base/event_fd.h -@@ -55,6 +55,8 @@ class EventFd { +@@ -58,6 +58,8 @@ class EventFd { // On Mac and other non-Linux UNIX platforms a pipe-based fallback is used. // The write end of the wakeup pipe. ScopedFile write_fd_; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_ext_base_thread__utils.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_ext_base_thread__utils.h index e72af56acee2..3686ba4bbd2d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_ext_base_thread__utils.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_ext_base_thread__utils.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/perfetto/include/perfetto/ext/base/thread_utils.h.orig 2023-12-10 06:10:27 UTC +--- src/3rdparty/chromium/third_party/perfetto/include/perfetto/ext/base/thread_utils.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/perfetto/include/perfetto/ext/base/thread_utils.h -@@ -41,9 +41,10 @@ +@@ -41,9 +41,10 @@ namespace base { namespace perfetto { namespace base { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_tracing_internal_track__event__legacy.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_tracing_internal_track__event__legacy.h index 01cf9543d4f4..5b9e9fc33dfe 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_tracing_internal_track__event__legacy.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_include_perfetto_tracing_internal_track__event__legacy.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/perfetto/include/perfetto/tracing/internal/track_event_legacy.h.orig 2023-04-28 17:01:32 UTC +--- src/3rdparty/chromium/third_party/perfetto/include/perfetto/tracing/internal/track_event_legacy.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/perfetto/include/perfetto/tracing/internal/track_event_legacy.h @@ -249,7 +249,7 @@ class PERFETTO_EXPORT_COMPONENT LegacyTraceId { // are different. E.g. on Mac size_t is considered a different type from diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_protos_perfetto_trace_ftrace_v4l2.proto b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_protos_perfetto_trace_ftrace_v4l2.proto index 0604693c523e..bb7b6c304395 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_protos_perfetto_trace_ftrace_v4l2.proto +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_protos_perfetto_trace_ftrace_v4l2.proto @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/perfetto/protos/perfetto/trace/ftrace/v4l2.proto.orig 2022-09-24 10:57:32 UTC +--- src/3rdparty/chromium/third_party/perfetto/protos/perfetto/trace/ftrace/v4l2.proto.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/perfetto/protos/perfetto/trace/ftrace/v4l2.proto @@ -10,7 +10,7 @@ message V4l2QbufFtraceEvent { optional uint32 field = 2; @@ -18,7 +18,7 @@ optional uint32 sequence = 6; optional uint32 timecode_flags = 7; optional uint32 timecode_frames = 8; -@@ -48,7 +48,7 @@ message V4l2DqbufFtraceEvent { +@@ -48,7 +48,7 @@ message Vb2V4l2BufQueueFtraceEvent { message Vb2V4l2BufQueueFtraceEvent { optional uint32 field = 1; optional uint32 flags = 2; @@ -27,7 +27,7 @@ optional uint32 sequence = 4; optional uint32 timecode_flags = 5; optional uint32 timecode_frames = 6; -@@ -65,7 +65,7 @@ message Vb2V4l2BufQueueFtraceEvent { +@@ -65,7 +65,7 @@ message Vb2V4l2BufDoneFtraceEvent { message Vb2V4l2BufDoneFtraceEvent { optional uint32 field = 1; optional uint32 flags = 2; @@ -36,7 +36,7 @@ optional uint32 sequence = 4; optional uint32 timecode_flags = 5; optional uint32 timecode_frames = 6; -@@ -82,7 +82,7 @@ message Vb2V4l2BufDoneFtraceEvent { +@@ -82,7 +82,7 @@ message Vb2V4l2QbufFtraceEvent { message Vb2V4l2QbufFtraceEvent { optional uint32 field = 1; optional uint32 flags = 2; @@ -45,7 +45,7 @@ optional uint32 sequence = 4; optional uint32 timecode_flags = 5; optional uint32 timecode_frames = 6; -@@ -99,7 +99,7 @@ message Vb2V4l2QbufFtraceEvent { +@@ -99,7 +99,7 @@ message Vb2V4l2DqbufFtraceEvent { message Vb2V4l2DqbufFtraceEvent { optional uint32 field = 1; optional uint32 flags = 2; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_clock__snapshots.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_clock__snapshots.cc new file mode 100644 index 000000000000..92e7fbe2c6e7 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_clock__snapshots.cc @@ -0,0 +1,10 @@ +--- src/3rdparty/chromium/third_party/perfetto/src/base/clock_snapshots.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/third_party/perfetto/src/base/clock_snapshots.cc +@@ -27,6 +27,7 @@ ClockSnapshotVector CaptureClockSnapshots() { + #if !PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) && \ + !PERFETTO_BUILDFLAG(PERFETTO_OS_WIN) && \ + !PERFETTO_BUILDFLAG(PERFETTO_OS_NACL) && \ ++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD) && \ + !PERFETTO_BUILDFLAG(PERFETTO_OS_QNX) + struct { + clockid_t id; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_event__fd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_event__fd.cc index 817dfff36d2e..484e2d2c9da6 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_event__fd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_event__fd.cc @@ -1,21 +1,21 @@ ---- src/3rdparty/chromium/third_party/perfetto/src/base/event_fd.cc.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/third_party/perfetto/src/base/event_fd.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/perfetto/src/base/event_fd.cc -@@ -22,7 +22,8 @@ - #if PERFETTO_BUILDFLAG(PERFETTO_OS_WIN) - #include <Windows.h> +@@ -24,7 +24,8 @@ #include <synchapi.h> + #elif PERFETTO_BUILDFLAG(PERFETTO_OS_QNX) + #include <unistd.h> -#elif PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ +#elif (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && \ + !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) #include <sys/eventfd.h> #include <unistd.h> -@@ -57,7 +58,8 @@ void EventFd::Clear() { +@@ -59,7 +60,8 @@ void EventFd::Clear() { PERFETTO_DFATAL("EventFd::Clear()"); } --#elif PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ -+#elif (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && \ +-#elif PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \ ++#elif (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && \ + !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_periodic__task.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_periodic__task.cc index bbcadd56dbf8..2abcda88a480 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_periodic__task.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_periodic__task.cc @@ -1,20 +1,20 @@ ---- src/3rdparty/chromium/third_party/perfetto/src/base/periodic_task.cc.orig 2023-04-05 11:05:06 UTC +--- src/3rdparty/chromium/third_party/perfetto/src/base/periodic_task.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/perfetto/src/base/periodic_task.cc @@ -24,7 +24,7 @@ #include "perfetto/base/time.h" #include "perfetto/ext/base/file_utils.h" --#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ -+#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \ +-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \ ++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \ (PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) && __ANDROID_API__ >= 19) #include <sys/timerfd.h> #endif -@@ -44,7 +44,7 @@ uint32_t GetNextDelayMs(const TimeMillis& now_ms, +@@ -44,7 +44,7 @@ ScopedPlatformHandle CreateTimerFd(const PeriodicTask: } ScopedPlatformHandle CreateTimerFd(const PeriodicTask::Args& args) { --#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ -+#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \ +-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \ ++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \ (PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) && __ANDROID_API__ >= 19) ScopedPlatformHandle tfd( timerfd_create(CLOCK_BOOTTIME, TFD_CLOEXEC | TFD_NONBLOCK)); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_string__utils.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_string__utils.cc index 0acfbe7ac72a..a78247668a9f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_string__utils.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_string__utils.cc @@ -1,15 +1,12 @@ ---- src/3rdparty/chromium/third_party/perfetto/src/base/string_utils.cc.orig 2023-12-10 06:10:27 UTC +--- src/3rdparty/chromium/third_party/perfetto/src/base/string_utils.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/perfetto/src/base/string_utils.cc -@@ -38,9 +38,10 @@ namespace base { - +@@ -39,7 +39,8 @@ double StrToD(const char* nptr, char** endptr) { // Locale-independant as possible version of strtod. double StrToD(const char* nptr, char** endptr) { --#if PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ -+#if (PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ -- PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) -+ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE)) && \ -+ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD) + #if PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ +- PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \ ++ (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && \ ++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \ + PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) static auto c_locale = newlocale(LC_ALL, "C", nullptr); return strtod_l(nptr, endptr, c_locale); - #else diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_subprocess__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_subprocess__posix.cc index 60382954a88f..34595757e75b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_subprocess__posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_subprocess__posix.cc @@ -1,21 +1,21 @@ ---- src/3rdparty/chromium/third_party/perfetto/src/base/subprocess_posix.cc.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/third_party/perfetto/src/base/subprocess_posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/perfetto/src/base/subprocess_posix.cc @@ -35,7 +35,8 @@ #include <thread> #include <tuple> --#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ -+#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && \ +-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \ ++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && \ + !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) #include <sys/prctl.h> #endif -@@ -64,7 +65,8 @@ struct ChildProcessArgs { +@@ -64,7 +65,8 @@ void __attribute__((noreturn)) ChildProcess(ChildProce // Don't add any dynamic allocation in this function. This will be invoked // under a fork(), potentially in a state where the allocator lock is held. void __attribute__((noreturn)) ChildProcess(ChildProcessArgs* args) { --#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ -+#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && \ +-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \ ++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && \ + !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) // In no case we want a child process to outlive its parent process. This is diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_thread__task__runner.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_thread__task__runner.cc index 42151faf0c6d..5640af1cb9fa 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_thread__task__runner.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_thread__task__runner.cc @@ -1,14 +1,12 @@ ---- src/3rdparty/chromium/third_party/perfetto/src/base/thread_task_runner.cc.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/third_party/perfetto/src/base/thread_task_runner.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/perfetto/src/base/thread_task_runner.cc -@@ -27,8 +27,9 @@ +@@ -27,7 +27,8 @@ #include "perfetto/ext/base/thread_utils.h" #include "perfetto/ext/base/unix_task_runner.h" --#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ -- PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) -+#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ -+ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)) && \ -+ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD) +-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \ ++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && \ ++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \ + PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) #include <sys/prctl.h> #endif - diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_unix__socket.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_unix__socket.cc index 18afd297453e..cadde1a273d3 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_unix__socket.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_unix__socket.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/perfetto/src/base/unix_socket.cc.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/third_party/perfetto/src/base/unix_socket.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/perfetto/src/base/unix_socket.cc -@@ -44,7 +44,7 @@ +@@ -45,7 +45,7 @@ #include <unistd.h> #endif @@ -9,12 +9,12 @@ #include <sys/ucred.h> #endif -@@ -917,9 +917,13 @@ void UnixSocket::ReadPeerCredentialsPosix() { - return; - PERFETTO_CHECK(peer_cred_mode_ != SockPeerCredMode::kIgnore); - --#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ -+#if !defined(__FreeBSD__) && PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ +@@ -976,9 +976,13 @@ void UnixSocket::ReadPeerCredentialsPosix() { + int res = getpeereid(fd, &peer_uid_, nullptr); + PERFETTO_CHECK(res == 0); + // There is no pid when obtaining peer credentials for QNX +-#elif PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ ++#elif !defined(__FreeBSD__) && PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) +#if PERFETTO_BUILDFLAG(PERFETTO_OS_BSD) + struct sockpeercred user_cred; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_utils.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_utils.cc index 5d783b5046b3..315cf0d2d673 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_utils.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_utils.cc @@ -1,26 +1,47 @@ ---- src/3rdparty/chromium/third_party/perfetto/src/base/utils.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/third_party/perfetto/src/base/utils.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/perfetto/src/base/utils.cc -@@ -38,8 +38,9 @@ +@@ -38,7 +38,8 @@ #include <mach/vm_page_size.h> #endif --#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ -- PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) -+#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ -+ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)) && \ -+ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD) +-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \ ++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && \ ++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \ + PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) #include <sys/prctl.h> - #ifndef PR_GET_TAGGED_ADDR_CTRL -@@ -337,8 +338,9 @@ void AlignedFree(void* ptr) { +@@ -278,14 +279,22 @@ std::string GetCurExecutablePath() { + + std::string GetCurExecutablePath() { + std::string self_path; +-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ ++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ + PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ +- PERFETTO_BUILDFLAG(PERFETTO_OS_FUCHSIA) ++ PERFETTO_BUILDFLAG(PERFETTO_OS_FUCHSIA)) && \ ++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD) + char buf[PATH_MAX]; + ssize_t size = readlink("/proc/self/exe", buf, sizeof(buf)); + PERFETTO_CHECK(size != -1); + // readlink does not null terminate. + self_path = std::string(buf, static_cast<size_t>(size)); ++#elif PERFETTO_BUILDFLAG(PERFETTO_OS_BSD) ++ char *buf; ++ const char *cpath = "/usr/local/chrome/chrome"; ++ if ((buf = getenv("CHROME_EXE_PATH")) != NULL) ++ self_path = std::string(buf); ++ else ++ self_path = std::string(cpath); + #elif PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) + uint32_t size = 0; + PERFETTO_CHECK(_NSGetExecutablePath(nullptr, &size)); +@@ -337,7 +346,8 @@ bool IsSyncMemoryTaggingEnabled() { } bool IsSyncMemoryTaggingEnabled() { --#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ -- PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) -+#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ -+ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)) && \ -+ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD) +-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \ ++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && \ ++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) || \ + PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) // Compute only once per lifetime of the process. static bool cached_value = [] { - const int res = prctl(PR_GET_TAGGED_ADDR_CTRL, 0, 0, 0, 0); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc new file mode 100644 index 000000000000..d8c07aefe34d --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_trace__processor_importers_ftrace_v4l2__tracker.cc @@ -0,0 +1,56 @@ +--- src/3rdparty/chromium/third_party/perfetto/src/trace_processor/importers/ftrace/v4l2_tracker.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/third_party/perfetto/src/trace_processor/importers/ftrace/v4l2_tracker.cc +@@ -62,7 +62,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id, + case FtraceEvent::kV4l2QbufFieldNumber: { + V4l2QbufFtraceEvent::Decoder pb_evt(bytes); + BufferEvent evt; +- evt.device_minor = pb_evt.minor(); ++ evt.device_minor = pb_evt.gminor(); + evt.index = pb_evt.index(); + evt.type = pb_evt.type(); + evt.bytesused = pb_evt.bytesused(); +@@ -103,7 +103,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id, + case FtraceEvent::kV4l2DqbufFieldNumber: { + V4l2DqbufFtraceEvent::Decoder pb_evt(bytes); + BufferEvent evt; +- evt.device_minor = pb_evt.minor(); ++ evt.device_minor = pb_evt.gminor(); + evt.index = pb_evt.index(); + evt.type = pb_evt.type(); + evt.bytesused = pb_evt.bytesused(); +@@ -149,7 +149,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id, + case FtraceEvent::kVb2V4l2BufQueueFieldNumber: { + Vb2V4l2BufQueueFtraceEvent::Decoder pb_evt(bytes); + BufferEvent evt; +- evt.device_minor = pb_evt.minor(); ++ evt.device_minor = pb_evt.gminor(); + evt.index = std::nullopt; + evt.type = std::nullopt; + evt.bytesused = std::nullopt; +@@ -180,7 +180,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id, + case FtraceEvent::kVb2V4l2BufDoneFieldNumber: { + Vb2V4l2BufDoneFtraceEvent::Decoder pb_evt(bytes); + BufferEvent evt; +- evt.device_minor = pb_evt.minor(); ++ evt.device_minor = pb_evt.gminor(); + evt.index = std::nullopt; + evt.type = std::nullopt; + evt.bytesused = std::nullopt; +@@ -211,7 +211,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id, + case FtraceEvent::kVb2V4l2QbufFieldNumber: { + Vb2V4l2QbufFtraceEvent::Decoder pb_evt(bytes); + BufferEvent evt; +- evt.device_minor = pb_evt.minor(); ++ evt.device_minor = pb_evt.gminor(); + evt.index = std::nullopt; + evt.type = std::nullopt; + evt.bytesused = std::nullopt; +@@ -242,7 +242,7 @@ void V4l2Tracker::ParseV4l2Event(uint64_t fld_id, + case FtraceEvent::kVb2V4l2DqbufFieldNumber: { + Vb2V4l2DqbufFtraceEvent::Decoder pb_evt(bytes); + BufferEvent evt; +- evt.device_minor = pb_evt.minor(); ++ evt.device_minor = pb_evt.gminor(); + evt.index = std::nullopt; + evt.type = std::nullopt; + evt.bytesused = std::nullopt; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_core_clock__snapshots.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_core_clock__snapshots.cc deleted file mode 100644 index 4d862df94fee..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_core_clock__snapshots.cc +++ /dev/null @@ -1,12 +0,0 @@ ---- src/3rdparty/chromium/third_party/perfetto/src/tracing/core/clock_snapshots.cc.orig 2024-04-19 13:02:56 UTC -+++ src/3rdparty/chromium/third_party/perfetto/src/tracing/core/clock_snapshots.cc -@@ -26,7 +26,8 @@ ClockSnapshotVector CaptureClockSnapshots() { - ClockSnapshotVector snapshot_data; - #if !PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) && \ - !PERFETTO_BUILDFLAG(PERFETTO_OS_WIN) && \ -- !PERFETTO_BUILDFLAG(PERFETTO_OS_NACL) -+ !PERFETTO_BUILDFLAG(PERFETTO_OS_NACL) && \ -+ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD) - struct { - clockid_t id; - protos::pbzero::BuiltinClock type; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_ipc_memfd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_ipc_memfd.cc index fb3732693530..bba176f00f7b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_ipc_memfd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_ipc_memfd.cc @@ -1,12 +1,12 @@ ---- src/3rdparty/chromium/third_party/perfetto/src/tracing/ipc/memfd.cc.orig 2023-09-13 18:23:44 UTC +--- src/3rdparty/chromium/third_party/perfetto/src/tracing/ipc/memfd.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/perfetto/src/tracing/ipc/memfd.cc @@ -20,7 +20,8 @@ #define PERFETTO_MEMFD_ENABLED() \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ -- PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) -+ (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) && \ -+ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) +- PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) ++ (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) && \ ++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD)) #if PERFETTO_MEMFD_ENABLED() diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_platform__posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_platform__posix.cc new file mode 100644 index 000000000000..8cd30c59179c --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_platform__posix.cc @@ -0,0 +1,19 @@ +--- src/3rdparty/chromium/third_party/perfetto/src/tracing/platform_posix.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/third_party/perfetto/src/tracing/platform_posix.cc +@@ -110,12 +110,13 @@ std::string PlatformPosix::GetCurrentProcessName() { + } + + std::string PlatformPosix::GetCurrentProcessName() { +-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ +- PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) ++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ ++ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)) && \ ++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD) + std::string cmdline; + base::ReadFile("/proc/self/cmdline", &cmdline); + return cmdline.substr(0, cmdline.find('\0')); +-#elif PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) ++#elif PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) || PERFETTO_BUILDFLAG(PERFETTO_OS_BSD) + return std::string(getprogname()); + #else + return "unknown_producer"; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_track.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_track.cc index 7c0c95c18d81..dc21279b5bf6 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_track.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_tracing_track.cc @@ -1,6 +1,18 @@ ---- src/3rdparty/chromium/third_party/perfetto/src/tracing/track.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/third_party/perfetto/src/tracing/track.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/perfetto/src/tracing/track.cc -@@ -155,7 +155,7 @@ namespace internal { +@@ -60,8 +60,9 @@ protos::gen::TrackDescriptor ProcessTrack::Serialize() + auto desc = Track::Serialize(); + auto pd = desc.mutable_process(); + pd->set_pid(static_cast<int32_t>(pid)); +-#if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ +- PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) ++#if (PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ ++ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)) && \ ++ !PERFETTO_BUILDFLAG(PERFETTO_OS_BSD) + std::string cmdline; + if (base::ReadFile("/proc/self/cmdline", &cmdline)) { + // Since cmdline is a zero-terminated list of arguments, this ends up +@@ -170,7 +171,7 @@ uint64_t GetProcessStartTime() { namespace { uint64_t GetProcessStartTime() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_protobuf_src_google_protobuf_stubs_platform__macros.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_protobuf_src_google_protobuf_stubs_platform__macros.h index 43da0957d5ca..a0324809dd87 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_protobuf_src_google_protobuf_stubs_platform__macros.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_protobuf_src_google_protobuf_stubs_platform__macros.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/stubs/platform_macros.h.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/stubs/platform_macros.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/stubs/platform_macros.h @@ -122,7 +122,7 @@ GOOGLE_PROTOBUF_PLATFORM_ERROR diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_skia_src_ports_SkMemory__malloc.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_skia_src_ports_SkMemory__malloc.cpp index 09e8778f60fe..3d48b45d7c2f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_skia_src_ports_SkMemory__malloc.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_skia_src_ports_SkMemory__malloc.cpp @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/skia/src/ports/SkMemory_malloc.cpp.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/third_party/skia/src/ports/SkMemory_malloc.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/skia/src/ports/SkMemory_malloc.cpp @@ -15,7 +15,7 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_skia_src_ports_SkOSFile__posix.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_skia_src_ports_SkOSFile__posix.cpp index ed1b7cbdb3a3..f1e948f29ad5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_skia_src_ports_SkOSFile__posix.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_skia_src_ports_SkOSFile__posix.cpp @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/skia/src/ports/SkOSFile_posix.cpp.orig 2022-02-28 16:54:41 UTC +--- src/3rdparty/chromium/third_party/skia/src/ports/SkOSFile_posix.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/skia/src/ports/SkOSFile_posix.cpp -@@ -25,7 +25,7 @@ +@@ -25,7 +25,7 @@ void sk_fsync(FILE* f) { #endif void sk_fsync(FILE* f) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_speech-dispatcher_libspeechd__version.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_speech-dispatcher_libspeechd__version.h index 3515635669e4..8b7c5496868d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_speech-dispatcher_libspeechd__version.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_speech-dispatcher_libspeechd__version.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/speech-dispatcher/libspeechd_version.h.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/third_party/speech-dispatcher/libspeechd_version.h.orig 2025-09-01 08:52:33 UTC +++ src/3rdparty/chromium/third_party/speech-dispatcher/libspeechd_version.h @@ -0,0 +1,29 @@ +/* diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_speech-dispatcher_speechd__types.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_speech-dispatcher_speechd__types.h index 39e9e04e0fdc..197d09425bc2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_speech-dispatcher_speechd__types.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_speech-dispatcher_speechd__types.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/speech-dispatcher/speechd_types.h.orig 2023-12-10 06:10:27 UTC +--- src/3rdparty/chromium/third_party/speech-dispatcher/speechd_types.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/speech-dispatcher/speechd_types.h @@ -119,4 +119,139 @@ typedef struct { SPDVoice voice; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_sqlite_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_sqlite_BUILD.gn index 648b7115e8a6..f5d87cb8cbb7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_sqlite_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_sqlite_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/sqlite/BUILD.gn.orig 2021-12-31 00:58:29 UTC +--- src/3rdparty/chromium/third_party/sqlite/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/sqlite/BUILD.gn -@@ -142,7 +142,7 @@ config("sqlite_warnings") { +@@ -155,7 +155,7 @@ config("sqlite_warnings") { ] } } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_sqlite_src_amalgamation__dev_sqlite3.c b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_sqlite_src_amalgamation__dev_sqlite3.c new file mode 100644 index 000000000000..117065ba7835 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_sqlite_src_amalgamation__dev_sqlite3.c @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/third_party/sqlite/src/amalgamation_dev/sqlite3.c.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/third_party/sqlite/src/amalgamation_dev/sqlite3.c +@@ -14187,7 +14187,7 @@ struct fts5_api { + ** But _XOPEN_SOURCE define causes problems for Mac OS X, so omit + ** it. + */ +-#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__) ++#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__) && !defined(__FreeBSD__) + # define _XOPEN_SOURCE 600 + #endif + diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_sqlite_src_amalgamation_sqlite3.c b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_sqlite_src_amalgamation_sqlite3.c index c81074d0e206..881ed62abfe5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_sqlite_src_amalgamation_sqlite3.c +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_sqlite_src_amalgamation_sqlite3.c @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/sqlite/src/amalgamation/sqlite3.c.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/third_party/sqlite/src/amalgamation/sqlite3.c.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/sqlite/src/amalgamation/sqlite3.c @@ -14187,7 +14187,7 @@ struct fts5_api { ** But _XOPEN_SOURCE define causes problems for Mac OS X, so omit diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_Reactor_Debug.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_Reactor_Debug.cpp index 7a5739bd8b76..32e45e8fbbe1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_Reactor_Debug.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_Reactor_Debug.cpp @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/swiftshader/src/Reactor/Debug.cpp.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/third_party/swiftshader/src/Reactor/Debug.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/swiftshader/src/Reactor/Debug.cpp -@@ -46,7 +46,7 @@ namespace { +@@ -46,7 +46,7 @@ bool IsUnderDebugger() bool IsUnderDebugger() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_System_Configurator.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_System_Configurator.cpp index 4f44dbe0672b..93ccf9bf04ea 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_System_Configurator.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_System_Configurator.cpp @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/swiftshader/src/System/Configurator.cpp.orig 2022-06-17 14:20:10 UTC +--- src/3rdparty/chromium/third_party/swiftshader/src/System/Configurator.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/swiftshader/src/System/Configurator.cpp -@@ -38,6 +38,9 @@ namespace sw { +@@ -38,6 +38,9 @@ Configurator::Configurator(const std::string &filePath Configurator::Configurator(const std::string &filePath) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_System_Linux_MemFd.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_System_Linux_MemFd.cpp index b29f4c1c736a..8b2b3b15743b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_System_Linux_MemFd.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_System_Linux_MemFd.cpp @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/swiftshader/src/System/Linux/MemFd.cpp.orig 2023-09-13 18:23:44 UTC +--- src/3rdparty/chromium/third_party/swiftshader/src/System/Linux/MemFd.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/swiftshader/src/System/Linux/MemFd.cpp @@ -25,6 +25,7 @@ # define MFD_CLOEXEC 0x0001U diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_Vulkan_VkSemaphoreExternalLinux.hpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_Vulkan_VkSemaphoreExternalLinux.hpp index 9abee3a057df..e9977827883e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_Vulkan_VkSemaphoreExternalLinux.hpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_Vulkan_VkSemaphoreExternalLinux.hpp @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/swiftshader/src/Vulkan/VkSemaphoreExternalLinux.hpp.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/third_party/swiftshader/src/Vulkan/VkSemaphoreExternalLinux.hpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/swiftshader/src/Vulkan/VkSemaphoreExternalLinux.hpp @@ -49,13 +49,17 @@ class SharedSemaphore (public) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_WSI_libXCB.cpp b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_WSI_libXCB.cpp index befa5de154a5..1f1cc9939d75 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_WSI_libXCB.cpp +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_swiftshader_src_WSI_libXCB.cpp @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/swiftshader/src/WSI/libXCB.cpp.orig 2023-03-09 06:31:50 UTC +--- src/3rdparty/chromium/third_party/swiftshader/src/WSI/libXCB.cpp.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/swiftshader/src/WSI/libXCB.cpp @@ -57,7 +57,7 @@ LibXcbExports *LibXCB::loadExports() } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_test__fonts_fontconfig_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_test__fonts_fontconfig_BUILD.gn index 0ec45d02194b..78e1877fbe20 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_test__fonts_fontconfig_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_test__fonts_fontconfig_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/test_fonts/fontconfig/BUILD.gn.orig 2022-03-01 11:59:41 UTC +--- src/3rdparty/chromium/third_party/test_fonts/fontconfig/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/test_fonts/fontconfig/BUILD.gn @@ -26,7 +26,11 @@ if (is_linux || is_chromeos) { @@ -13,3 +13,16 @@ } if (current_toolchain == host_toolchain) { +@@ -47,7 +51,11 @@ if (is_linux || is_chromeos) { + "//third_party/test_fonts", + ] + args = [] +- inputs = [ "$root_out_dir/etc/fonts/fonts.conf" ] ++ if (is_freebsd) { ++ inputs = [ "$root_out_dir/usr/local/etc/fonts/fonts.conf" ] ++ } else { ++ inputs = [ "$root_out_dir/etc/fonts/fonts.conf" ] ++ } + outputs = [ + "$root_out_dir/fontconfig_caches/fb5c91b2895aa445d23aebf7f9e2189c-le64.cache-9", + "$root_out_dir/fontconfig_caches/CACHEDIR.TAG", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_test__fonts_fontconfig_fontconfig__util__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_test__fonts_fontconfig_fontconfig__util__linux.cc index 6bf4c39e4fa7..426cea222963 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_test__fonts_fontconfig_fontconfig__util__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_test__fonts_fontconfig_fontconfig__util__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/test_fonts/fontconfig/fontconfig_util_linux.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/third_party/test_fonts/fontconfig/fontconfig_util_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/test_fonts/fontconfig/fontconfig_util_linux.cc @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be @@ -9,7 +9,7 @@ #include "third_party/test_fonts/fontconfig/fontconfig_util_linux.h" #include <fontconfig/fontconfig.h> -@@ -16,11 +18,15 @@ +@@ -16,11 +18,15 @@ std::string GetSysrootDir() { namespace test_fonts { std::string GetSysrootDir() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc index ba43c4f788ae..f0ab531879cc 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_test__fonts_fontconfig_generate__fontconfig__caches.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/test_fonts/fontconfig/generate_fontconfig_caches.cc.orig 2023-04-05 11:05:06 UTC +--- src/3rdparty/chromium/third_party/test_fonts/fontconfig/generate_fontconfig_caches.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/test_fonts/fontconfig/generate_fontconfig_caches.cc @@ -56,7 +56,7 @@ int main() { FcFini(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_tflite_features.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_tflite_features.gni index 398051689021..3bc3faece466 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_tflite_features.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_tflite_features.gni @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/tflite/features.gni.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/third_party/tflite/features.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/tflite/features.gni @@ -9,8 +9,8 @@ declare_args() { # This enables building TFLite with XNNPACK. Currently only available for diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_vulkan-loader_src_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_vulkan-loader_src_BUILD.gn index 014f9e62f94c..cc2aa9e5a1a4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_vulkan-loader_src_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_vulkan-loader_src_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/vulkan-loader/src/BUILD.gn.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/third_party/vulkan-loader/src/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/vulkan-loader/src/BUILD.gn @@ -57,7 +57,7 @@ config("vulkan_internal_config") { defines += [ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_vulkan-loader_src_loader_vk__loader__platform.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_vulkan-loader_src_loader_vk__loader__platform.h index 37ae7cd6fe68..4534a182737e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_vulkan-loader_src_loader_vk__loader__platform.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_vulkan-loader_src_loader_vk__loader__platform.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/vulkan-loader/src/loader/vk_loader_platform.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/third_party/vulkan-loader/src/loader/vk_loader_platform.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/vulkan-loader/src/loader/vk_loader_platform.h -@@ -327,7 +327,15 @@ static inline char *loader_platform_executable_path(ch +@@ -353,7 +353,15 @@ static inline char *loader_platform_executable_path(ch return buffer; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_vulkan-validation-layers_src_layers_external_vma_vk__mem__alloc.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_vulkan-validation-layers_src_layers_external_vma_vk__mem__alloc.h index 8f3ef04b564d..14203c0c3a88 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_vulkan-validation-layers_src_layers_external_vma_vk__mem__alloc.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_vulkan-validation-layers_src_layers_external_vma_vk__mem__alloc.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/vulkan-validation-layers/src/layers/external/vma/vk_mem_alloc.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/third_party/vulkan-validation-layers/src/layers/external/vma/vk_mem_alloc.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/vulkan-validation-layers/src/layers/external/vma/vk_mem_alloc.h -@@ -2740,7 +2740,7 @@ static void* vma_aligned_alloc(size_t alignment, size_ +@@ -2971,7 +2971,7 @@ static void* vma_aligned_alloc(size_t alignment, size_ return memalign(alignment, size); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_vulkan__memory__allocator_include_vk__mem__alloc.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_vulkan__memory__allocator_include_vk__mem__alloc.h index b9bf4a40e9f8..1306f622fc95 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_vulkan__memory__allocator_include_vk__mem__alloc.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_vulkan__memory__allocator_include_vk__mem__alloc.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/vulkan_memory_allocator/include/vk_mem_alloc.h.orig 2023-12-10 07:19:51 UTC +--- src/3rdparty/chromium/third_party/vulkan_memory_allocator/include/vk_mem_alloc.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/vulkan_memory_allocator/include/vk_mem_alloc.h @@ -2760,7 +2760,7 @@ void* vma_aligned_alloc(size_t alignment, size_t size) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_wayland_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_wayland_BUILD.gn index d7cb5a70271a..02686515e7df 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_wayland_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_wayland_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/wayland/BUILD.gn.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/third_party/wayland/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/wayland/BUILD.gn @@ -24,6 +24,11 @@ if (!use_system_libwayland) { "src/src", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_BUILD.gn index 3f06c1d92a9e..4ce816d059f0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/webrtc/BUILD.gn.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/third_party/webrtc/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/webrtc/BUILD.gn @@ -218,6 +218,9 @@ config("common_inherited_config") { if (is_linux || is_chromeos) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_modules_audio__device_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_modules_audio__device_BUILD.gn index 04ae386f8f52..f119368bcf3a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_modules_audio__device_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_modules_audio__device_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/webrtc/modules/audio_device/BUILD.gn.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/third_party/webrtc/modules/audio_device/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/webrtc/modules/audio_device/BUILD.gn @@ -330,7 +330,7 @@ rtc_library("audio_device_impl") { if (rtc_use_dummy_audio_file_devices) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc index d68e7a9f0a52..8ca83dbac2d8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_modules_desktop__capture_linux_wayland_egl__dmabuf.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/webrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc.orig 2023-08-23 11:41:11 UTC +--- src/3rdparty/chromium/third_party/webrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/webrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc @@ -10,11 +10,15 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_modules_desktop__capture_linux_x11_x__server__pixel__buffer.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_modules_desktop__capture_linux_x11_x__server__pixel__buffer.cc index a1a6bb2215db..84ef5efda48e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_modules_desktop__capture_linux_x11_x__server__pixel__buffer.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_modules_desktop__capture_linux_x11_x__server__pixel__buffer.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/webrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/third_party/webrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/webrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc -@@ -203,6 +203,12 @@ bool XServerPixelBuffer::Init(XAtomCache* cache, Windo +@@ -203,6 +203,12 @@ void XServerPixelBuffer::InitShm(const XWindowAttribut void XServerPixelBuffer::InitShm(const XWindowAttributes& attributes) { Visual* default_visual = attributes.visual; int default_depth = attributes.depth; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_modules_video__coding_codecs_av1_libaom__av1__encoder.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_modules_video__coding_codecs_av1_libaom__av1__encoder.cc index 1a078ee9204c..8b5321f84de2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_modules_video__coding_codecs_av1_libaom__av1__encoder.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_modules_video__coding_codecs_av1_libaom__av1__encoder.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/webrtc/modules/video_coding/codecs/av1/libaom_av1_encoder.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/third_party/webrtc/modules/video_coding/codecs/av1/libaom_av1_encoder.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/webrtc/modules/video_coding/codecs/av1/libaom_av1_encoder.cc @@ -299,7 +299,9 @@ int LibaomAv1Encoder::InitEncode(const VideoCodec* cod SET_ENCODER_PARAM_OR_RETURN_ERROR(AV1E_SET_ENABLE_PALETTE, 0); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_byte__order.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_byte__order.h index a225e7a2921c..83d3787b3337 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_byte__order.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_byte__order.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/webrtc/rtc_base/byte_order.h.orig 2023-02-08 09:03:45 UTC +--- src/3rdparty/chromium/third_party/webrtc/rtc_base/byte_order.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/webrtc/rtc_base/byte_order.h @@ -90,6 +90,8 @@ #error WEBRTC_ARCH_BIG_ENDIAN or WEBRTC_ARCH_LITTLE_ENDIAN must be defined. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_ip__address.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_ip__address.cc index 5e11cac038dd..057e2515c305 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_ip__address.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_ip__address.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/webrtc/rtc_base/ip_address.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/third_party/webrtc/rtc_base/ip_address.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/webrtc/rtc_base/ip_address.cc @@ -14,7 +14,8 @@ #include <cstring> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_net__test__helpers.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_net__test__helpers.cc index 296ec5680e28..e3fe12535f38 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_net__test__helpers.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_net__test__helpers.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/webrtc/rtc_base/net_test_helpers.cc.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/third_party/webrtc/rtc_base/net_test_helpers.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/webrtc/rtc_base/net_test_helpers.cc @@ -21,6 +21,7 @@ #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_network.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_network.cc index 4f86f6a943b0..8525f3795daa 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_network.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_network.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/webrtc/rtc_base/network.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/third_party/webrtc/rtc_base/network.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/webrtc/rtc_base/network.cc @@ -290,7 +290,12 @@ AdapterType GetAdapterTypeFromName(absl::string_view n } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_physical__socket__server.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_physical__socket__server.cc index 81c8c969fb9b..7d10051ba916 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_physical__socket__server.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_physical__socket__server.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/third_party/webrtc/rtc_base/physical_socket_server.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/third_party/webrtc/rtc_base/physical_socket_server.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/webrtc/rtc_base/physical_socket_server.cc -@@ -54,7 +54,7 @@ +@@ -55,7 +55,7 @@ #include "rtc_base/time_utils.h" #include "system_wrappers/include/field_trial.h" @@ -9,7 +9,7 @@ #include <linux/sockios.h> #endif -@@ -74,7 +74,7 @@ typedef void* SockOptArg; +@@ -75,7 +75,7 @@ typedef void* SockOptArg; #endif // WEBRTC_POSIX @@ -18,7 +18,7 @@ int64_t GetSocketRecvTimestamp(int socket) { struct timeval tv_ioctl; -@@ -329,7 +329,7 @@ int PhysicalSocket::GetOption(Option opt, int* value) +@@ -330,7 +330,7 @@ int PhysicalSocket::GetOption(Option opt, int* value) return -1; } if (opt == OPT_DONTFRAGMENT) { @@ -27,7 +27,7 @@ *value = (*value != IP_PMTUDISC_DONT) ? 1 : 0; #endif } else if (opt == OPT_DSCP) { -@@ -358,7 +358,7 @@ int PhysicalSocket::SetOption(Option opt, int value) { +@@ -359,7 +359,7 @@ int PhysicalSocket::SetOption(Option opt, int value) { if (TranslateOption(opt, &slevel, &sopt) == -1) return -1; if (opt == OPT_DONTFRAGMENT) { @@ -36,7 +36,7 @@ value = (value) ? IP_PMTUDISC_DO : IP_PMTUDISC_DONT; #endif } else if (opt == OPT_DSCP) { -@@ -389,7 +389,7 @@ int PhysicalSocket::SetOption(Option opt, int value) { +@@ -390,7 +390,7 @@ int PhysicalSocket::Send(const void* pv, size_t cb) { int PhysicalSocket::Send(const void* pv, size_t cb) { int sent = DoSend( s_, reinterpret_cast<const char*>(pv), static_cast<int>(cb), @@ -45,7 +45,7 @@ // Suppress SIGPIPE. Without this, attempting to send on a socket whose // other end is closed will result in a SIGPIPE signal being raised to // our process, which by default will terminate the process, which we -@@ -418,7 +418,7 @@ int PhysicalSocket::SendTo(const void* buffer, +@@ -419,7 +419,7 @@ int PhysicalSocket::SendTo(const void* buffer, size_t len = addr.ToSockAddrStorage(&saddr); int sent = DoSendTo(s_, static_cast<const char*>(buffer), static_cast<int>(length), @@ -54,7 +54,7 @@ // Suppress SIGPIPE. See above for explanation. MSG_NOSIGNAL, #else -@@ -697,7 +697,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s +@@ -699,7 +699,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s *slevel = IPPROTO_IP; *sopt = IP_DONTFRAGMENT; break; @@ -63,7 +63,7 @@ RTC_LOG(LS_WARNING) << "Socket::OPT_DONTFRAGMENT not supported."; return -1; #elif defined(WEBRTC_POSIX) -@@ -746,7 +746,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s +@@ -748,7 +748,7 @@ int PhysicalSocket::TranslateOption(Option opt, int* s return -1; #endif case OPT_RECV_ECN: @@ -72,7 +72,7 @@ if (family_ == AF_INET6) { *slevel = IPPROTO_IPV6; *sopt = IPV6_RECVTCLASS; -@@ -766,10 +766,19 @@ int PhysicalSocket::TranslateOption(Option opt, int* s +@@ -768,10 +768,19 @@ int PhysicalSocket::TranslateOption(Option opt, int* s *sopt = SO_KEEPALIVE; break; case OPT_TCP_KEEPCNT: @@ -92,7 +92,7 @@ *slevel = IPPROTO_TCP; #if !defined(WEBRTC_MAC) *sopt = TCP_KEEPIDLE; -@@ -777,12 +786,18 @@ int PhysicalSocket::TranslateOption(Option opt, int* s +@@ -779,12 +788,18 @@ int PhysicalSocket::TranslateOption(Option opt, int* s *sopt = TCP_KEEPALIVE; #endif break; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_physical__socket__server.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_physical__socket__server.h index 63d8db15c784..f7d6993d6adc 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_physical__socket__server.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_physical__socket__server.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/webrtc/rtc_base/physical_socket_server.h.orig 2023-12-10 06:10:27 UTC +--- src/3rdparty/chromium/third_party/webrtc/rtc_base/physical_socket_server.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/webrtc/rtc_base/physical_socket_server.h @@ -18,7 +18,7 @@ #include "rtc_base/third_party/sigslot/sigslot.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_platform__thread__types.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_platform__thread__types.cc index 958e0a3e1ff1..251861ea1e92 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_platform__thread__types.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_platform__thread__types.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/webrtc/rtc_base/platform_thread_types.cc.orig 2023-02-08 09:03:45 UTC +--- src/3rdparty/chromium/third_party/webrtc/rtc_base/platform_thread_types.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/webrtc/rtc_base/platform_thread_types.cc @@ -11,7 +11,9 @@ #include "rtc_base/platform_thread_types.h" @@ -19,7 +19,7 @@ #elif defined(WEBRTC_LINUX) return syscall(__NR_gettid); #elif defined(__EMSCRIPTEN__) -@@ -74,6 +78,7 @@ bool IsThreadRefEqual(const PlatformThreadRef& a, cons +@@ -74,6 +78,7 @@ void SetCurrentThreadName(const char* name) { } void SetCurrentThreadName(const char* name) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_third__party_sigslot_sigslot.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_third__party_sigslot_sigslot.h index 0ff10825d865..5c20bd29be83 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_third__party_sigslot_sigslot.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_third__party_sigslot_sigslot.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/webrtc/rtc_base/third_party/sigslot/sigslot.h.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/third_party/webrtc/rtc_base/third_party/sigslot/sigslot.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/webrtc/rtc_base/third_party/sigslot/sigslot.h @@ -178,6 +178,10 @@ class multi_threaded_local { #endif // _SIGSLOT_HAS_WIN32_THREADS diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_system__wrappers_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_system__wrappers_BUILD.gn index caba1a50eb65..9f806b502a6b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_system__wrappers_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_system__wrappers_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/webrtc/system_wrappers/BUILD.gn.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/third_party/webrtc/system_wrappers/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/webrtc/system_wrappers/BUILD.gn @@ -62,8 +62,6 @@ rtc_library("system_wrappers") { if (!build_with_chromium) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_widevine_cdm_widevine.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_widevine_cdm_widevine.gni index 06e11cf6885b..598080557ea9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_widevine_cdm_widevine.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_widevine_cdm_widevine.gni @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/widevine/cdm/widevine.gni.orig 2023-12-10 06:10:27 UTC +--- src/3rdparty/chromium/third_party/widevine/cdm/widevine.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/widevine/cdm/widevine.gni @@ -28,6 +28,8 @@ library_widevine_cdm_available = (is_chromeos && diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_zlib_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_zlib_BUILD.gn index ab61976895bd..59330eea740e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_zlib_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_zlib_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/zlib/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/third_party/zlib/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/zlib/BUILD.gn @@ -140,7 +140,7 @@ if (use_arm_neon_optimizations) { defines = [ "CRC32_ARMV8_CRC32" ] diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_zlib_cpu__features.c b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_zlib_cpu__features.c index 213b2ed0022c..a4936e13bbbf 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_zlib_cpu__features.c +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_zlib_cpu__features.c @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/zlib/cpu_features.c.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/third_party/zlib/cpu_features.c.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/third_party/zlib/cpu_features.c @@ -39,7 +39,8 @@ int ZLIB_INTERNAL riscv_cpu_enable_vclmul = 0; #ifndef CPU_NO_SIMD @@ -21,14 +21,16 @@ #elif !defined(_MSC_VER) #include <pthread.h> #else -@@ -80,6 +85,7 @@ void ZLIB_INTERNAL cpu_check_features(void) - } +@@ -81,7 +86,8 @@ void ZLIB_INTERNAL cpu_check_features(void) #elif defined(ARMV8_OS_ANDROID) || defined(ARMV8_OS_LINUX) || \ defined(ARMV8_OS_MACOS) || defined(ARMV8_OS_FUCHSIA) || \ -+ defined(ARMV8_OS_OPENBSD) || defined(ARMV8_OS_FREEBSD) || \ defined(X86_NOT_WINDOWS) || defined(ARMV8_OS_IOS) || \ - defined(RISCV_RVV) || defined(__ARM_NEON__) || defined(__ARM_NEON) +- defined(RISCV_RVV) || defined(__ARM_NEON__) || defined(__ARM_NEON) ++ defined(RISCV_RVV) || defined(ARMV8_OS_OPENBSD) || \ ++ defined(ARMV8_OS_FREEBSD) || defined(__ARM_NEON__) || defined(__ARM_NEON) #if !defined(ARMV8_OS_MACOS) + // _cpu_check_features() doesn't need to do anything on mac/arm since all + // features are known at build time, so don't call it. @@ -122,6 +128,17 @@ static void _cpu_check_features(void) unsigned long features = getauxval(AT_HWCAP2); arm_cpu_enable_crc32 = !!(features & HWCAP2_CRC32); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_generate__stubs_rules.gni b/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_generate__stubs_rules.gni index 0d44e347c838..dac8b936ec12 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_generate__stubs_rules.gni +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_generate__stubs_rules.gni @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/tools/generate_stubs/rules.gni.orig 2022-08-31 12:19:35 UTC +--- src/3rdparty/chromium/tools/generate_stubs/rules.gni.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/tools/generate_stubs/rules.gni @@ -110,7 +110,6 @@ template("generate_stubs") { "${target_gen_dir}/${invoker.output_name}.cc", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_grit_grit_node_base.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_grit_grit_node_base.py index c0a8e0215811..80cf1ef3e5a1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_grit_grit_node_base.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_grit_grit_node_base.py @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/tools/grit/grit/node/base.py.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/tools/grit/grit/node/base.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/tools/grit/grit/node/base.py -@@ -498,7 +498,8 @@ class Node: +@@ -499,7 +499,8 @@ class Node: value = defs elif name == 'is_linux': diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_json__schema__compiler_cpp__bundle__generator.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_json__schema__compiler_cpp__bundle__generator.py index 8c8e3058857a..e355f977cff2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_json__schema__compiler_cpp__bundle__generator.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_json__schema__compiler_cpp__bundle__generator.py @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/tools/json_schema_compiler/cpp_bundle_generator.py.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/tools/json_schema_compiler/cpp_bundle_generator.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/tools/json_schema_compiler/cpp_bundle_generator.py -@@ -145,7 +145,7 @@ class CppBundleGenerator(object): +@@ -144,7 +144,7 @@ class CppBundleGenerator(object): # BUILDFLAG(IS_CHROMEOS) && BUILDFLAG(IS_CHROMEOS_LACROS). ifdefs.append('BUILDFLAG(IS_CHROMEOS_LACROS)') elif platform == Platforms.LINUX: diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_json__schema__compiler_feature__compiler.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_json__schema__compiler_feature__compiler.py index d14e0a2140b4..2d479dff688b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_json__schema__compiler_feature__compiler.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_json__schema__compiler_feature__compiler.py @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/tools/json_schema_compiler/feature_compiler.py.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/tools/json_schema_compiler/feature_compiler.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/tools/json_schema_compiler/feature_compiler.py -@@ -292,6 +292,8 @@ FEATURE_GRAMMAR = ({ +@@ -290,6 +290,8 @@ FEATURE_GRAMMAR = ({ 'linux': 'Feature::LINUX_PLATFORM', 'mac': 'Feature::MACOSX_PLATFORM', 'win': 'Feature::WIN_PLATFORM', diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_memory_partition__allocator_inspect__utils.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_memory_partition__allocator_inspect__utils.h index f9d75420020b..903e044755fb 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_memory_partition__allocator_inspect__utils.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_memory_partition__allocator_inspect__utils.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/tools/memory/partition_allocator/inspect_utils.h.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/tools/memory/partition_allocator/inspect_utils.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/tools/memory/partition_allocator/inspect_utils.h @@ -61,7 +61,7 @@ class RemoteProcessMemoryReader { const pid_t pid_; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_perf_chrome__telemetry__build_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_perf_chrome__telemetry__build_BUILD.gn index cfc61425b967..0b16dc1447e5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_perf_chrome__telemetry__build_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_perf_chrome__telemetry__build_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/tools/perf/chrome_telemetry_build/BUILD.gn.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/tools/perf/chrome_telemetry_build/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/tools/perf/chrome_telemetry_build/BUILD.gn -@@ -47,7 +47,7 @@ group("telemetry_chrome_test") { +@@ -61,7 +61,7 @@ group("telemetry_chrome_test") { data_deps += [ "//chrome:reorder_imports" ] } @@ -9,7 +9,7 @@ data_deps += [ "//third_party/breakpad:dump_syms" ] # CrOS currently has issues with the locally compiled version of -@@ -178,7 +178,7 @@ group("telemetry_chrome_test_without_chrome") { +@@ -212,7 +212,7 @@ group("telemetry_chrome_test_without_chrome") { ] # Cr-Fuchsia doesn't support breakpad. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_protoc__wrapper_protoc__wrapper.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_protoc__wrapper_protoc__wrapper.py index b3d720dc241a..563866927d02 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_protoc__wrapper_protoc__wrapper.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_protoc__wrapper_protoc__wrapper.py @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/tools/protoc_wrapper/protoc_wrapper.py.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/tools/protoc_wrapper/protoc_wrapper.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/tools/protoc_wrapper/protoc_wrapper.py @@ -183,15 +183,19 @@ def main(argv): if not options.exclude_imports: diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_variations_fieldtrial__to__struct.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_variations_fieldtrial__to__struct.py index 1f57970bf5d1..e4101567e5a2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_variations_fieldtrial__to__struct.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_tools_variations_fieldtrial__to__struct.py @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/tools/variations/fieldtrial_to_struct.py.orig 2022-02-07 13:39:41 UTC +--- src/3rdparty/chromium/tools/variations/fieldtrial_to_struct.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/tools/variations/fieldtrial_to_struct.py @@ -41,6 +41,8 @@ _platforms = [ 'linux', diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_accessibility_accessibility__features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_accessibility_accessibility__features.cc new file mode 100644 index 000000000000..59c819f317b5 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_accessibility_accessibility__features.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/ui/accessibility/accessibility_features.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/ui/accessibility/accessibility_features.cc +@@ -403,7 +403,7 @@ bool IsBlockRootWindowAccessibleNameChangeEventEnabled + } + #endif // BUILDFLAG(IS_MAC) + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + BASE_FEATURE(kWasmTtsComponentUpdaterEnabled, + "WasmTtsComponentUpdaterEnabled", + base::FEATURE_DISABLED_BY_DEFAULT); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_accessibility_accessibility__features.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_accessibility_accessibility__features.h new file mode 100644 index 000000000000..ba0733e16447 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_accessibility_accessibility__features.h @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/ui/accessibility/accessibility_features.h.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/ui/accessibility/accessibility_features.h +@@ -277,7 +277,7 @@ AX_BASE_EXPORT bool IsBlockRootWindowAccessibleNameCha + AX_BASE_EXPORT bool IsBlockRootWindowAccessibleNameChangeEventEnabled(); + #endif // BUILDFLAG(IS_MAC) + +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + // Enable the component updater to download the wasm tts engine component. + AX_BASE_EXPORT BASE_DECLARE_FEATURE(kWasmTtsComponentUpdaterEnabled); + AX_BASE_EXPORT bool IsWasmTtsComponentUpdaterEnabled(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_aura_client_drag__drop__client.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_aura_client_drag__drop__client.h index 4723f63356e8..d24abb631958 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_aura_client_drag__drop__client.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_aura_client_drag__drop__client.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/aura/client/drag_drop_client.h.orig 2023-01-11 09:17:16 UTC +--- src/3rdparty/chromium/ui/aura/client/drag_drop_client.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/aura/client/drag_drop_client.h @@ -44,7 +44,7 @@ class AURA_EXPORT DragDropClient { int allowed_operations, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_aura_screen__ozone.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_aura_screen__ozone.cc index 136e02bc4205..c6ec9250fc7e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_aura_screen__ozone.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_aura_screen__ozone.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/ui/aura/screen_ozone.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/ui/aura/screen_ozone.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/aura/screen_ozone.cc @@ -107,7 +107,7 @@ display::Display ScreenOzone::GetPrimaryDisplay() cons return platform_screen_->GetPrimaryDisplay(); } --#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) ScreenOzone::ScreenSaverSuspenderOzone::ScreenSaverSuspenderOzone( std::unique_ptr<ui::PlatformScreen::PlatformScreenSaverSuspender> suspender) : suspender_(std::move(suspender)) {} diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_aura_screen__ozone.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_aura_screen__ozone.h index 01ad82c1b112..4f22209a3362 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_aura_screen__ozone.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_aura_screen__ozone.h @@ -1,20 +1,20 @@ ---- src/3rdparty/chromium/ui/aura/screen_ozone.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/ui/aura/screen_ozone.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/aura/screen_ozone.h -@@ -45,7 +45,7 @@ class AURA_EXPORT ScreenOzone : public display::Screen +@@ -44,7 +44,7 @@ class AURA_EXPORT ScreenOzone : public display::Screen display::Display GetDisplayMatching( const gfx::Rect& match_rect) const override; display::Display GetPrimaryDisplay() const override; --#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) std::unique_ptr<display::Screen::ScreenSaverSuspender> SuspendScreenSaver() override; - #endif // BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) -@@ -74,7 +74,7 @@ class AURA_EXPORT ScreenOzone : public display::Screen + #endif // BUILDFLAG(IS_LINUX) +@@ -68,7 +68,7 @@ class AURA_EXPORT ScreenOzone : public display::Screen ui::PlatformScreen* platform_screen() { return platform_screen_.get(); } private: --#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) class ScreenSaverSuspenderOzone : public display::Screen::ScreenSaverSuspender { public: diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_accelerators_accelerator.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_accelerators_accelerator.cc new file mode 100644 index 000000000000..79a702c082a7 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_accelerators_accelerator.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/ui/base/accelerators/accelerator.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/ui/base/accelerators/accelerator.cc +@@ -335,7 +335,7 @@ std::u16string Accelerator::ApplyLongFormModifiers( + result = ApplyModifierToAcceleratorString(result, IDS_APP_SEARCH_KEY); + #elif BUILDFLAG(IS_WIN) + result = ApplyModifierToAcceleratorString(result, IDS_APP_WINDOWS_KEY); +-#elif BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + result = ApplyModifierToAcceleratorString(result, IDS_APP_SUPER_KEY); + #else + NOTREACHED(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_accelerators_command.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_accelerators_command.cc new file mode 100644 index 000000000000..07e4037a2646 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_accelerators_command.cc @@ -0,0 +1,11 @@ +--- src/3rdparty/chromium/ui/base/accelerators/command.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/ui/base/accelerators/command.cc +@@ -49,7 +49,7 @@ std::string Command::CommandPlatform() { + return ui::kKeybindingPlatformMac; + #elif BUILDFLAG(IS_CHROMEOS) + return ui::kKeybindingPlatformChromeOs; +-#elif BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + return ui::kKeybindingPlatformLinux; + #elif BUILDFLAG(IS_FUCHSIA) + // TODO(crbug.com/40220501): Change this once we decide what string should be diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_accelerators_global__accelerator__listener_global__accelerator__listener__ozone.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_accelerators_global__accelerator__listener_global__accelerator__listener__ozone.cc new file mode 100644 index 000000000000..f094694cf410 --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_accelerators_global__accelerator__listener_global__accelerator__listener__ozone.cc @@ -0,0 +1,29 @@ +--- src/3rdparty/chromium/ui/base/accelerators/global_accelerator_listener/global_accelerator_listener_ozone.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/ui/base/accelerators/global_accelerator_listener/global_accelerator_listener_ozone.cc +@@ -12,7 +12,7 @@ + #include "ui/base/accelerators/accelerator.h" + #include "ui/ozone/public/ozone_platform.h" + +-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_DBUS) ++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DBUS) + #include "base/feature_list.h" + #include "ui/base/accelerators/global_accelerator_listener/global_accelerator_listener_linux.h" + #endif +@@ -20,7 +20,7 @@ namespace { + using content::BrowserThread; + + namespace { +-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_DBUS) ++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DBUS) + BASE_FEATURE(kGlobalShortcutsPortal, + "GlobalShortcutsPortal", + base::FEATURE_ENABLED_BY_DEFAULT); +@@ -38,7 +38,7 @@ GlobalAcceleratorListener* GlobalAcceleratorListener:: + return instance->get(); + } + +-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_DBUS) ++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_DBUS) + if (base::FeatureList::IsEnabled(kGlobalShortcutsPortal)) { + static GlobalAcceleratorListenerLinux* const linux_instance = + new GlobalAcceleratorListenerLinux(nullptr); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_clipboard_clipboard__constants.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_clipboard_clipboard__constants.cc index 562feaeac6dd..beac1ac32f8c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_clipboard_clipboard__constants.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_clipboard_clipboard__constants.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/base/clipboard/clipboard_constants.cc.orig 2023-12-10 06:10:27 UTC +--- src/3rdparty/chromium/ui/base/clipboard/clipboard_constants.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/clipboard/clipboard_constants.cc -@@ -25,7 +25,7 @@ const char kMimeTypeOctetStream[] = "application/octet +@@ -25,7 +25,7 @@ const char kMimeTypeWindowDrag[] = "chromium/x-window- // Used for window dragging on some platforms. const char kMimeTypeWindowDrag[] = "chromium/x-window-drag"; @@ -9,3 +9,12 @@ const char kMimeTypeLinuxUtf8String[] = "UTF8_STRING"; const char kMimeTypeLinuxString[] = "STRING"; const char kMimeTypeLinuxText[] = "TEXT"; +@@ -33,7 +33,7 @@ const char kMimeTypeLinuxText[] = "TEXT"; + // BUILDFLAG(IS_FUCHSIA) + + #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || \ +- BUILDFLAG(IS_ANDROID) ++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) + const char kMimeTypeSourceUrl[] = "chromium/x-source-url"; + #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || + // BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_ANDROID) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_clipboard_clipboard__constants.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_clipboard_clipboard__constants.h index 63295e3ea98e..01ef909a0ff2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_clipboard_clipboard__constants.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_clipboard_clipboard__constants.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/base/clipboard/clipboard_constants.h.orig 2023-12-10 06:10:27 UTC +--- src/3rdparty/chromium/ui/base/clipboard/clipboard_constants.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/clipboard/clipboard_constants.h -@@ -48,7 +48,7 @@ extern const char kMimeTypeDataTransferEndpoint[]; +@@ -41,7 +41,7 @@ extern const char kMimeTypeWindowDrag[]; // ----- LINUX & CHROMEOS & FUCHSIA MIME TYPES ----- @@ -9,3 +9,12 @@ COMPONENT_EXPORT(UI_BASE_CLIPBOARD_TYPES) extern const char kMimeTypeLinuxUtf8String[]; COMPONENT_EXPORT(UI_BASE_CLIPBOARD_TYPES) +@@ -53,7 +53,7 @@ COMPONENT_EXPORT(UI_BASE_CLIPBOARD_TYPES) + // BUILDFLAG(IS_FUCHSIA) + + #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || \ +- BUILDFLAG(IS_ANDROID) ++ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD) + extern const char kMimeTypeSourceUrl[]; + #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || + // BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_ANDROID) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_clipboard_clipboard__non__backed.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_clipboard_clipboard__non__backed.cc index 90b88dfb648b..0ba101ba79f3 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_clipboard_clipboard__non__backed.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_clipboard_clipboard__non__backed.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/base/clipboard/clipboard_non_backed.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/ui/base/clipboard/clipboard_non_backed.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/clipboard/clipboard_non_backed.cc @@ -461,7 +461,7 @@ ClipboardNonBacked::ClipboardNonBacked() { // so create internal clipboards for platform supported clipboard buffers. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_cursor_cursor__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_cursor_cursor__factory.cc index 32bf4a48c5e7..e7eaae656775 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_cursor_cursor__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_cursor_cursor__factory.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/base/cursor/cursor_factory.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/ui/base/cursor/cursor_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/cursor/cursor_factory.cc -@@ -97,7 +97,7 @@ void CursorFactory::ObserveThemeChanges() { +@@ -96,7 +96,7 @@ void CursorFactory::ObserveThemeChanges() { NOTIMPLEMENTED(); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_cursor_cursor__factory.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_cursor_cursor__factory.h index a491a495b6dd..e9cd0cfc2c31 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_cursor_cursor__factory.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_cursor_cursor__factory.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/base/cursor/cursor_factory.h.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/ui/base/cursor/cursor_factory.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/cursor/cursor_factory.h @@ -93,7 +93,7 @@ class COMPONENT_EXPORT(UI_BASE_CURSOR) CursorFactory { base::ObserverList<CursorFactoryObserver>::Unchecked observers_; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__factory.cc index 6c1463995d3e..bc125b59dd9c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__factory.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/base/dragdrop/os_exchange_data_provider_factory.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/ui/base/dragdrop/os_exchange_data_provider_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/dragdrop/os_exchange_data_provider_factory.cc @@ -7,7 +7,7 @@ #include "base/notreached.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__non__backed.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__non__backed.cc index 577dde022f49..47d629750045 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__non__backed.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__non__backed.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/base/dragdrop/os_exchange_data_provider_non_backed.cc.orig 2025-08-18 00:53:11 UTC +--- src/3rdparty/chromium/ui/base/dragdrop/os_exchange_data_provider_non_backed.cc.orig 2025-10-02 00:36:39 UTC +++ src/3rdparty/chromium/ui/base/dragdrop/os_exchange_data_provider_non_backed.cc -@@ -101,7 +101,7 @@ std::optional<std::u16string> OSExchangeDataProviderNo +@@ -100,7 +100,7 @@ std::optional<std::u16string> OSExchangeDataProviderNo std::optional<std::u16string> OSExchangeDataProviderNonBacked::GetString() const { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_dummy__text__input__client.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_dummy__text__input__client.cc index f4abb292551e..549c3e86ef5e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_dummy__text__input__client.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_dummy__text__input__client.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/base/ime/dummy_text_input_client.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/base/ime/dummy_text_input_client.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/ime/dummy_text_input_client.cc -@@ -163,7 +163,7 @@ bool DummyTextInputClient::ShouldDoLearning() { +@@ -175,7 +175,7 @@ bool DummyTextInputClient::ShouldDoLearning() { return false; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_dummy__text__input__client.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_dummy__text__input__client.h index 50fbeb3a7ddc..acc419dab737 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_dummy__text__input__client.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_dummy__text__input__client.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/base/ime/dummy_text_input_client.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/base/ime/dummy_text_input_client.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/ime/dummy_text_input_client.h -@@ -67,7 +67,7 @@ class DummyTextInputClient : public TextInputClient { +@@ -73,7 +73,7 @@ class DummyTextInputClient : public TextInputClient { ukm::SourceId GetClientSourceForMetrics() const override; bool ShouldDoLearning() override; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_fake__text__input__client.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_fake__text__input__client.cc index 81daef4fb7fe..bd9eebaa8a81 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_fake__text__input__client.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_fake__text__input__client.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/base/ime/fake_text_input_client.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/base/ime/fake_text_input_client.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/ime/fake_text_input_client.cc -@@ -215,7 +215,7 @@ bool FakeTextInputClient::ShouldDoLearning() { +@@ -227,7 +227,7 @@ bool FakeTextInputClient::ShouldDoLearning() { return should_do_learning_; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_fake__text__input__client.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_fake__text__input__client.h index c7aebb8590ac..212006f0bfda 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_fake__text__input__client.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_fake__text__input__client.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/base/ime/fake_text_input_client.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/base/ime/fake_text_input_client.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/ime/fake_text_input_client.h -@@ -101,7 +101,7 @@ class FakeTextInputClient : public TextInputClient { +@@ -107,7 +107,7 @@ class FakeTextInputClient : public TextInputClient { void SetTextEditCommandForNextKeyEvent(TextEditCommand command) override; ukm::SourceId GetClientSourceForMetrics() const override; bool ShouldDoLearning() override; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_init_input__method__initializer.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_init_input__method__initializer.cc index b8f40ee5711b..9d83b509cb32 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_init_input__method__initializer.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_init_input__method__initializer.cc @@ -1,15 +1,15 @@ ---- src/3rdparty/chromium/ui/base/ime/init/input_method_initializer.cc.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/ui/base/ime/init/input_method_initializer.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/ime/init/input_method_initializer.cc -@@ -10,7 +10,7 @@ - #include "build/chromeos_buildflags.h" +@@ -9,7 +9,7 @@ + #include "base/trace_event/trace_event.h" + #include "build/build_config.h" - #if !BUILDFLAG(IS_CHROMEOS_ASH) && defined(USE_AURA) && \ -- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) -+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)) +-#if defined(USE_AURA) && BUILDFLAG(IS_LINUX) ++#if defined(USE_AURA) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) #include "ui/base/ime/linux/fake_input_method_context.h" #include "ui/base/ime/linux/linux_input_method_context_factory.h" #elif BUILDFLAG(IS_WIN) -@@ -33,7 +33,7 @@ void ShutdownInputMethod() { +@@ -33,7 +33,7 @@ void InitializeInputMethodForTesting() { } void InitializeInputMethodForTesting() { @@ -18,12 +18,12 @@ GetInputMethodContextFactoryForTest() = base::BindRepeating([](LinuxInputMethodContextDelegate* delegate) -> std::unique_ptr<LinuxInputMethodContext> { -@@ -46,7 +46,7 @@ void InitializeInputMethodForTesting() { +@@ -45,7 +45,7 @@ void ShutdownInputMethodForTesting() { + } void ShutdownInputMethodForTesting() { - #if !BUILDFLAG(IS_CHROMEOS_ASH) && defined(USE_AURA) && \ -- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) -+ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)) +-#if defined(USE_AURA) && BUILDFLAG(IS_LINUX) ++#if defined(USE_AURA) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) // The function owns the factory (as a static variable that's returned by // reference), so setting this to an empty factory will free the old one. GetInputMethodContextFactoryForTest() = LinuxInputMethodContextFactory(); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_linux_linux__input__method__context__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_linux_linux__input__method__context__factory.cc index b21c6c5b7e35..63b430844d85 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_linux_linux__input__method__context__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_linux_linux__input__method__context__factory.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/base/ime/linux/linux_input_method_context_factory.cc.orig 2022-09-27 14:30:33 UTC +--- src/3rdparty/chromium/ui/base/ime/linux/linux_input_method_context_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/ime/linux/linux_input_method_context_factory.cc @@ -9,7 +9,7 @@ #include "build/build_config.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_text__input__client.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_text__input__client.h index a9cf815f3cd1..2d30f831b061 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_text__input__client.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ime_text__input__client.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/base/ime/text_input_client.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/base/ime/text_input_client.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/ime/text_input_client.h -@@ -268,7 +268,7 @@ class COMPONENT_EXPORT(UI_BASE_IME) TextInputClient { +@@ -337,7 +337,7 @@ class COMPONENT_EXPORT(UI_BASE_IME) TextInputClient { // fields that are considered 'private' (e.g. in incognito tabs). virtual bool ShouldDoLearning() = 0; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_resource_resource__bundle.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_resource_resource__bundle.cc index c230737179fd..6abfdb475ca7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_resource_resource__bundle.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_resource_resource__bundle.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/base/resource/resource_bundle.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/ui/base/resource/resource_bundle.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/resource/resource_bundle.cc -@@ -914,7 +914,7 @@ void ResourceBundle::ReloadFonts() { +@@ -924,7 +924,7 @@ ResourceScaleFactor ResourceBundle::GetMaxResourceScal } ResourceScaleFactor ResourceBundle::GetMaxResourceScaleFactor() const { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__features.cc index 38b6dcc88c83..182916114414 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__features.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__features.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/base/ui_base_features.cc.orig 2025-08-18 00:53:11 UTC +--- src/3rdparty/chromium/ui/base/ui_base_features.cc.orig 2025-10-02 00:36:39 UTC +++ src/3rdparty/chromium/ui/base/ui_base_features.cc -@@ -165,7 +165,7 @@ BASE_FEATURE(kWaylandTextInputV3, +@@ -133,7 +133,7 @@ BASE_FEATURE(kWaylandUiScale, base::FEATURE_DISABLED_BY_DEFAULT); #endif // BUILDFLAG(IS_OZONE) @@ -9,16 +9,16 @@ // If this feature is enabled, users not specify --ozone-platform-hint switch // will get --ozone-platform-hint=auto treatment. https://crbug.com/40250220. COMPONENT_EXPORT(UI_BASE_FEATURES) -@@ -278,7 +278,7 @@ BASE_FEATURE(kUiCompositorScrollWithLayers, +@@ -228,7 +228,7 @@ BASE_FEATURE(kUiCompositorUsesLayerLists, // Enables the use of a touch fling curve that is based on the behavior of // native apps on Windows. --#if BUILDFLAG(IS_WIN) || \ -+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) || \ - (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_ASH) && \ - !BUILDFLAG(IS_CHROMEOS_LACROS)) +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) BASE_FEATURE(kExperimentalFlingAnimation, -@@ -389,7 +389,7 @@ bool IsForcedColorsEnabled() { + "ExperimentalFlingAnimation", + base::FEATURE_ENABLED_BY_DEFAULT); +@@ -311,7 +311,7 @@ bool IsForcedColorsEnabled() { // and Linux. This feature will be released for other platforms in later // milestones. #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__features.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__features.h index 0cdc36728a12..7805c2ec4acf 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__features.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__features.h @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/ui/base/ui_base_features.h.orig 2025-08-18 00:53:11 UTC +--- src/3rdparty/chromium/ui/base/ui_base_features.h.orig 2025-10-02 00:36:39 UTC +++ src/3rdparty/chromium/ui/base/ui_base_features.h -@@ -146,7 +146,7 @@ BASE_DECLARE_FEATURE(kWaylandTextInputV3); - BASE_DECLARE_FEATURE(kWaylandTextInputV3); +@@ -129,7 +129,7 @@ BASE_DECLARE_FEATURE(kWaylandUiScale); + BASE_DECLARE_FEATURE(kWaylandUiScale); #endif // BUILDFLAG(IS_OZONE) -#if BUILDFLAG(IS_LINUX) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__switches.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__switches.cc index 1b6bc2753dd7..f058fae62c05 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__switches.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__switches.cc @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/ui/base/ui_base_switches.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/ui/base/ui_base_switches.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/ui_base_switches.cc -@@ -31,13 +31,13 @@ const char kShowMacOverlayBorders[] = "show-mac-overla - const char kEnableResourcesFileSharing[] = "enable-resources-file-sharing"; +@@ -24,13 +24,13 @@ const char kShowMacOverlayBorders[] = "show-mac-overla + const char kShowMacOverlayBorders[] = "show-mac-overlay-borders"; #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__switches.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__switches.h index d56dc938eaeb..931d1ab9200e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__switches.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__switches.h @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/ui/base/ui_base_switches.h.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/ui/base/ui_base_switches.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/ui_base_switches.h -@@ -27,11 +27,11 @@ COMPONENT_EXPORT(UI_BASE) extern const char kShowMacOv - COMPONENT_EXPORT(UI_BASE) extern const char kEnableResourcesFileSharing[]; +@@ -22,11 +22,11 @@ COMPONENT_EXPORT(UI_BASE) extern const char kShowMacOv + COMPONENT_EXPORT(UI_BASE) extern const char kShowMacOverlayBorders[]; #endif -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_webui_web__ui__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_webui_web__ui__util.cc index f90c9d5e3421..a46ba2c66466 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_webui_web__ui__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_webui_web__ui__util.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/base/webui/web_ui_util.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/ui/base/webui/web_ui_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/webui/web_ui_util.cc -@@ -46,7 +46,7 @@ std::string GetFontFamilyMd() { +@@ -45,7 +45,7 @@ std::string GetFontFamilyMd() { constexpr float kMaxScaleFactor = 1000.0f; std::string GetFontFamilyMd() { @@ -9,12 +9,12 @@ return "Roboto, " + GetFontFamily(); #else return GetFontFamily(); -@@ -223,7 +223,7 @@ std::string GetFontFamily() { +@@ -220,7 +220,7 @@ std::string GetFontFamily() { + std::string GetFontFamily() { + std::string font_family = l10n_util::GetStringUTF8(IDS_WEB_FONT_FAMILY); - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) const base::CommandLine* cmdline = base::CommandLine::ForCurrentProcess(); if (!cmdline->HasSwitch(switches::kSingleProcess)) { std::string font_name = ui::ResourceBundle::GetSharedInstance() diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__cursor__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__cursor__factory.cc index e47ac1a3f5e7..2ad595e4b8f8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__cursor__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__cursor__factory.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/base/x/x11_cursor_factory.cc.orig 2023-11-03 10:09:45 UTC +--- src/3rdparty/chromium/ui/base/x/x11_cursor_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/x/x11_cursor_factory.cc @@ -13,7 +13,7 @@ #include "ui/gfx/geometry/point.h" @@ -9,7 +9,7 @@ #include "ui/linux/linux_ui.h" #endif -@@ -70,7 +70,7 @@ scoped_refptr<PlatformCursor> X11CursorFactory::Create +@@ -70,7 +70,7 @@ void X11CursorFactory::ObserveThemeChanges() { } void X11CursorFactory::ObserveThemeChanges() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__cursor__factory.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__cursor__factory.h index f813cd21a24c..c949c932d39e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__cursor__factory.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__cursor__factory.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/base/x/x11_cursor_factory.h.orig 2023-11-03 10:09:45 UTC +--- src/3rdparty/chromium/ui/base/x/x11_cursor_factory.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/x/x11_cursor_factory.h -@@ -20,7 +20,7 @@ namespace ui { +@@ -20,7 +20,7 @@ class XCursorLoader; class X11Cursor; class XCursorLoader; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__cursor__loader.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__cursor__loader.cc index 29d078f52f2f..36e521073f7a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__cursor__loader.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__cursor__loader.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/base/x/x11_cursor_loader.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/ui/base/x/x11_cursor_loader.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/x/x11_cursor_loader.cc -@@ -34,7 +34,7 @@ +@@ -41,7 +41,7 @@ #include "ui/gfx/x/connection.h" #include "ui/gfx/x/xproto.h" @@ -9,7 +9,7 @@ #include "ui/linux/linux_ui.h" #endif -@@ -59,7 +59,11 @@ std::string CursorPathFromLibXcursor() { +@@ -86,7 +86,11 @@ std::string CursorPathFromLibXcursor() { void operator()(void* ptr) const { dlclose(ptr); } }; @@ -21,7 +21,7 @@ if (!lib) return ""; -@@ -170,7 +174,7 @@ scoped_refptr<base::RefCountedMemory> ReadCursorFile( +@@ -215,7 +219,7 @@ scoped_refptr<base::RefCountedMemory> ReadCursorFile( const std::string& rm_xcursor_theme) { constexpr const char kDefaultTheme[] = "default"; std::string themes[] = { @@ -30,7 +30,7 @@ // The toolkit theme has the highest priority. LinuxUi::instance() ? LinuxUi::instance()->GetCursorThemeName() : std::string(), -@@ -359,7 +363,7 @@ uint32_t XCursorLoader::GetPreferredCursorSize() const +@@ -405,7 +409,7 @@ uint32_t XCursorLoader::GetPreferredCursorSize() const return size; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__display__manager.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__display__manager.cc index 409d104e2151..3e47236847cd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__display__manager.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__display__manager.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/base/x/x11_display_manager.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/ui/base/x/x11_display_manager.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/x/x11_display_manager.cc @@ -16,7 +16,7 @@ #include "ui/gfx/x/randr.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__shm__image__pool.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__shm__image__pool.cc index b23e59b5388f..cb035448ddca 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__shm__image__pool.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_x_x11__shm__image__pool.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/base/x/x11_shm_image_pool.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/ui/base/x/x11_shm_image_pool.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/base/x/x11_shm_image_pool.cc @@ -16,6 +16,7 @@ #include "base/functional/callback.h" @@ -6,9 +6,9 @@ #include "base/strings/string_util.h" +#include "base/system/sys_info.h" #include "build/build_config.h" - #include "build/chromeos_buildflags.h" #include "net/base/url_util.h" -@@ -45,10 +46,14 @@ constexpr float kShmResizeShrinkThreshold = + #include "ui/events/platform/platform_event_dispatcher.h" +@@ -44,10 +45,14 @@ std::size_t MaxShmSegmentSizeImpl() { 1.0f / (kShmResizeThreshold * kShmResizeThreshold); std::size_t MaxShmSegmentSizeImpl() { @@ -23,10 +23,10 @@ } std::size_t MaxShmSegmentSize() { -@@ -57,14 +62,19 @@ std::size_t MaxShmSegmentSize() { +@@ -56,14 +61,19 @@ std::size_t MaxShmSegmentSize() { } - #if !BUILDFLAG(IS_CHROMEOS_ASH) + #if !BUILDFLAG(IS_CHROMEOS) +#if !BUILDFLAG(IS_BSD) bool IsRemoteHost(const std::string& name) { if (name.empty()) @@ -43,15 +43,15 @@ // MIT-SHM may be available on remote connetions, but it will be unusable. Do // a best-effort check to see if the host is remote to disable the SHM // codepath. It may be possible in contrived cases for there to be a -@@ -93,6 +103,7 @@ bool ShouldUseMitShm(x11::Connection* connection) { +@@ -92,6 +102,7 @@ bool ShouldUseMitShm(x11::Connection* connection) { return false; return true; +#endif } - #endif + #endif // !BUILDFLAG(IS_CHROMEOS) -@@ -183,7 +194,7 @@ bool XShmImagePool::Resize(const gfx::Size& pixel_size +@@ -182,7 +193,7 @@ bool XShmImagePool::Resize(const gfx::Size& pixel_size shmctl(state.shmid, IPC_RMID, nullptr); return false; } @@ -60,7 +60,7 @@ // On Linux, a shmid can still be attached after IPC_RMID if otherwise // kept alive. Detach before XShmAttach to prevent a memory leak in case // the process dies. -@@ -202,7 +213,7 @@ bool XShmImagePool::Resize(const gfx::Size& pixel_size +@@ -201,7 +212,7 @@ bool XShmImagePool::Resize(const gfx::Size& pixel_size return false; state.shmseg = shmseg; state.shmem_attached_to_server = true; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_color_color__id.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_color_color__id.h index a7b4fd5fb9e6..29e40085bb59 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_color_color__id.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_color_color__id.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/color/color_id.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/ui/color/color_id.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/color/color_id.h -@@ -622,7 +622,7 @@ +@@ -620,7 +620,7 @@ \ E_CPONLY(kColorCrosSysPositive) \ E_CPONLY(kColorCrosSysComplementVariant) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_color_color__provider__utils.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_color_color__provider__utils.cc index fb329027ed84..8ff9d55de90a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_color_color__provider__utils.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_color_color__provider__utils.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/color/color_provider_utils.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/ui/color/color_provider_utils.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/color/color_provider_utils.cc -@@ -187,7 +187,7 @@ std::string_view SystemThemeName(ui::SystemTheme syste +@@ -189,7 +189,7 @@ std::string_view SystemThemeName(ui::SystemTheme syste switch (system_theme) { case ui::SystemTheme::kDefault: return "kDefault"; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_color_system__theme.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_color_system__theme.h index aeb1264a4f56..7d4f5a536b19 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_color_system__theme.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_color_system__theme.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/color/system_theme.h.orig 2022-11-30 08:12:58 UTC +--- src/3rdparty/chromium/ui/color/system_theme.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/color/system_theme.h -@@ -15,7 +15,7 @@ namespace ui { +@@ -15,7 +15,7 @@ enum class SystemTheme { enum class SystemTheme { // Classic theme, used in the default or users' chosen theme. kDefault = 0, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_compositor_compositor.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_compositor_compositor.cc index 36f7889e1894..e4954f09a052 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_compositor_compositor.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_compositor_compositor.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/ui/compositor/compositor.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/ui/compositor/compositor.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/compositor/compositor.cc -@@ -925,7 +925,7 @@ void Compositor::OnResume() { +@@ -929,7 +929,7 @@ void Compositor::OnResume() { obs.ResetIfActive(); } -#if BUILDFLAG(IS_LINUX) && BUILDFLAG(IS_OZONE_X11) +#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(IS_OZONE_X11) void Compositor::OnCompleteSwapWithNewSize(const gfx::Size& size) { - for (auto& observer : observer_list_) - observer.OnCompositingCompleteSwapWithNewSize(this, size); + observer_list_.Notify( + &CompositorObserver::OnCompositingCompleteSwapWithNewSize, this, size); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_compositor_compositor.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_compositor_compositor.h index d6e97bc3ee6e..825e9ab5f9f3 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_compositor_compositor.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_compositor_compositor.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/compositor/compositor.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/ui/compositor/compositor.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/compositor/compositor.h -@@ -457,7 +457,7 @@ class COMPOSITOR_EXPORT Compositor : public base::Powe +@@ -458,7 +458,7 @@ class COMPOSITOR_EXPORT Compositor : public base::Powe // base::PowerSuspendObserver: void OnResume() override; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_compositor_compositor__observer.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_compositor_compositor__observer.h index 86fca6b9535c..08529f3ddc96 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_compositor_compositor__observer.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_compositor_compositor__observer.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/compositor/compositor_observer.h.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/ui/compositor/compositor_observer.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/compositor/compositor_observer.h -@@ -52,7 +52,7 @@ class COMPOSITOR_EXPORT CompositorObserver { +@@ -56,7 +56,7 @@ class COMPOSITOR_EXPORT CompositorObserver { // Called when a child of the compositor is resizing. virtual void OnCompositingChildResizing(Compositor* compositor) {} diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_display_screen.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_display_screen.cc index 772c78480f49..4de76982af44 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_display_screen.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_display_screen.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/ui/display/screen.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/ui/display/screen.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/display/screen.cc @@ -86,7 +86,7 @@ void Screen::SetDisplayForNewWindows(int64_t display_i display_id_for_new_windows_ = display_id; } --#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) Screen::ScreenSaverSuspender::~ScreenSaverSuspender() = default; std::unique_ptr<Screen::ScreenSaverSuspender> Screen::SuspendScreenSaver() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_display_screen.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_display_screen.h index d28651d96a0e..fdd113ea3aca 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_display_screen.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_display_screen.h @@ -1,20 +1,20 @@ ---- src/3rdparty/chromium/ui/display/screen.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/ui/display/screen.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/display/screen.h @@ -140,7 +140,7 @@ class DISPLAY_EXPORT Screen { // (both of which may or may not be `nearest_id`). display::ScreenInfos GetScreenInfosNearestDisplay(int64_t nearest_id) const; --#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Object which suspends the platform-specific screensaver for the duration of // its existence. class ScreenSaverSuspender { -@@ -248,7 +248,7 @@ class DISPLAY_EXPORT Screen { +@@ -243,7 +243,7 @@ class DISPLAY_EXPORT Screen { int64_t display_id_for_new_windows_; int64_t scoped_display_id_for_new_windows_ = display::kInvalidDisplayId; --#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) uint32_t screen_saver_suspension_count_ = 0; - #endif // BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_LINUX) + #endif // BUILDFLAG(IS_LINUX) }; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_devices_x11_device__data__manager__x11.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_devices_x11_device__data__manager__x11.cc index 23c04fd8b8ea..238a7d2bd66a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_devices_x11_device__data__manager__x11.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_devices_x11_device__data__manager__x11.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/events/devices/x11/device_data_manager_x11.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/events/devices/x11/device_data_manager_x11.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/events/devices/x11/device_data_manager_x11.cc -@@ -849,6 +849,7 @@ void DeviceDataManagerX11::SetDisabledKeyboardAllowedK +@@ -849,6 +849,7 @@ void DeviceDataManagerX11::DisableDevice(x11::Input::D } void DeviceDataManagerX11::DisableDevice(x11::Input::DeviceId deviceid) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_event.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_event.cc index 0f635f2b6987..c6b78a45a5c7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_event.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_event.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/events/event.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/events/event.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/events/event.cc -@@ -366,7 +366,7 @@ std::string LocatedEvent::ToString() const { +@@ -373,7 +373,7 @@ MouseEvent::MouseEvent(const PlatformEvent& native_eve MouseEvent::MouseEvent(const PlatformEvent& native_event) : LocatedEvent(native_event), changed_button_flags_(GetChangedMouseButtonFlagsFromNative(native_event)), @@ -9,7 +9,7 @@ movement_(GetMouseMovementFromNative(native_event)), #endif pointer_details_(GetMousePointerDetailsFromNative(native_event)) { -@@ -622,7 +622,7 @@ std::unique_ptr<Event> MouseWheelEvent::Clone() const +@@ -629,7 +629,7 @@ std::unique_ptr<Event> MouseWheelEvent::Clone() const return std::make_unique<MouseWheelEvent>(*this); } @@ -18,7 +18,7 @@ // This value matches Windows, Fuchsia WHEEL_DELTA, and (roughly) Firefox on // Linux. // static -@@ -882,7 +882,7 @@ void KeyEvent::InitializeNative() { +@@ -889,7 +889,7 @@ void KeyEvent::InitializeNative() { if (synthesize_key_repeat_enabled_ && IsRepeated(GetLastKeyEvent())) SetFlags(flags() | EF_IS_REPEAT); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_event__switches.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_event__switches.cc index dc5845a86621..92924e6a0d5c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_event__switches.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_event__switches.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/events/event_switches.cc.orig 2022-06-17 14:20:10 UTC +--- src/3rdparty/chromium/ui/events/event_switches.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/events/event_switches.cc -@@ -21,7 +21,7 @@ const char kCompensateForUnstablePinchZoom[] = +@@ -21,7 +21,7 @@ const char kTouchSlopDistance[] = "touch-slop-distance // value is a floating point number that is interpreted as a distance in pixels. const char kTouchSlopDistance[] = "touch-slop-distance"; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_event__switches.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_event__switches.h index 3c73a369ad21..11d03d8f359e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_event__switches.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_event__switches.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/events/event_switches.h.orig 2022-06-17 14:20:10 UTC +--- src/3rdparty/chromium/ui/events/event_switches.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/events/event_switches.h -@@ -13,7 +13,7 @@ namespace switches { +@@ -13,7 +13,7 @@ EVENTS_BASE_EXPORT extern const char kTouchSlopDistanc EVENTS_BASE_EXPORT extern const char kCompensateForUnstablePinchZoom[]; EVENTS_BASE_EXPORT extern const char kTouchSlopDistance[]; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_keycodes_dom_keycode__converter.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_keycodes_dom_keycode__converter.cc index 07118d8c6847..7ae9de79a267 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_keycodes_dom_keycode__converter.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_keycodes_dom_keycode__converter.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/events/keycodes/dom/keycode_converter.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/events/keycodes/dom/keycode_converter.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/events/keycodes/dom/keycode_converter.cc @@ -18,7 +18,7 @@ #include "ui/events/keycodes/dom/dom_code.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_keycodes_dom_keycode__converter.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_keycodes_dom_keycode__converter.h index 5f88b4f7fd89..c6a3cf58b4ab 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_keycodes_dom_keycode__converter.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_events_keycodes_dom_keycode__converter.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/events/keycodes/dom/keycode_converter.h.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/ui/events/keycodes/dom/keycode_converter.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/events/keycodes/dom/keycode_converter.h @@ -64,7 +64,7 @@ class KeycodeConverter { // Convert a DomCode into a native keycode. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_BUILD.gn index 9e6ae7d274e8..3bad8f8cac2d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/gfx/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/ui/gfx/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/BUILD.gn -@@ -665,7 +665,7 @@ jumbo_source_set("memory_buffer_sources") { +@@ -657,7 +657,7 @@ jumbo_source_set("memory_buffer_sources") { deps += [ "//build/config/linux/libdrm" ] } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_canvas__skia.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_canvas__skia.cc index 3b9dfac78f70..07493f25c80c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_canvas__skia.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_canvas__skia.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/gfx/canvas_skia.cc.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/ui/gfx/canvas_skia.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/canvas_skia.cc -@@ -213,7 +213,7 @@ void Canvas::DrawStringRectWithFlags(const std::u16str +@@ -218,7 +218,7 @@ void Canvas::DrawStringRectWithFlags(const std::u16str Range range = StripAcceleratorChars(flags, &adjusted_text); bool elide_text = ((flags & NO_ELLIPSIS) == 0); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_font__fallback__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_font__fallback__linux.cc index 1e5c4a4ca194..9d21ae18d7f2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_font__fallback__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_font__fallback__linux.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/gfx/font_fallback_linux.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/gfx/font_fallback_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/font_fallback_linux.cc @@ -32,6 +32,8 @@ #include "ui/gfx/linux/fontconfig_util.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_font__render__params.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_font__render__params.h index 8ecb52d571a9..30d9b3176daf 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_font__render__params.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_font__render__params.h @@ -1,20 +1,20 @@ ---- src/3rdparty/chromium/ui/gfx/font_render_params.h.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/ui/gfx/font_render_params.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/font_render_params.h -@@ -115,7 +115,7 @@ GFX_EXPORT FontRenderParams GetFontRenderParams( - const FontRenderParamsQuery& query, - std::string* family_out); +@@ -115,7 +115,7 @@ FontRenderParams GetFontRenderParams(const FontRenderP + FontRenderParams GetFontRenderParams(const FontRenderParamsQuery& query, + std::string* family_out); -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) // Clears GetFontRenderParams()'s cache. Intended to be called by tests that are // changing Fontconfig's configuration. - GFX_EXPORT void ClearFontRenderParamsCacheForTest(); -@@ -125,7 +125,7 @@ GFX_EXPORT void ClearFontRenderParamsCacheForTest(); - GFX_EXPORT float GetFontRenderParamsDeviceScaleFactor(); + COMPONENT_EXPORT(GFX) void ClearFontRenderParamsCacheForTest(); +@@ -125,7 +125,7 @@ COMPONENT_EXPORT(GFX) float GetFontRenderParamsDeviceS + COMPONENT_EXPORT(GFX) float GetFontRenderParamsDeviceScaleFactor(); #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \ - BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) + BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) // Sets the device scale factor for FontRenderParams to decide // if it should enable subpixel positioning. - GFX_EXPORT void SetFontRenderParamsDeviceScaleFactor( + COMPONENT_EXPORT(GFX) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_font__render__params__linux.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_font__render__params__linux.cc index eba7c3faca7e..d3b132974942 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_font__render__params__linux.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_font__render__params__linux.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/gfx/font_render_params_linux.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/ui/gfx/font_render_params_linux.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/font_render_params_linux.cc -@@ -25,7 +25,7 @@ +@@ -24,7 +24,7 @@ #include "ui/gfx/linux/fontconfig_util.h" #include "ui/gfx/switches.h" @@ -9,7 +9,7 @@ #include "ui/linux/linux_ui.h" #endif -@@ -212,7 +212,7 @@ FontRenderParams GetFontRenderParams(const FontRenderP +@@ -222,7 +222,7 @@ FontRenderParams GetFontRenderParams(const FontRenderP // Start with the delegate's settings, but let Fontconfig have the final say. FontRenderParams params; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_font__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_font__util.cc index 070d4b8a3f67..36fb22a98fe6 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_font__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_font__util.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/gfx/font_util.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/ui/gfx/font_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/font_util.cc @@ -6,7 +6,7 @@ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.cc index f592b66d03a1..137e6217566a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.cc @@ -1,7 +1,7 @@ ---- src/3rdparty/chromium/ui/gfx/gpu_memory_buffer.cc.orig 2024-05-21 18:07:39 UTC +--- src/3rdparty/chromium/ui/gfx/gpu_memory_buffer.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/gpu_memory_buffer.cc -@@ -55,7 +55,7 @@ GpuMemoryBufferHandle GpuMemoryBufferHandle::Clone() c - handle.region = region.Duplicate(); +@@ -108,7 +108,7 @@ GpuMemoryBufferHandle GpuMemoryBufferHandle::Clone() c + handle.id = id; handle.offset = offset; handle.stride = stride; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.h index c25b04cc4427..c17c8cbd4f77 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_gpu__memory__buffer.h @@ -1,16 +1,16 @@ ---- src/3rdparty/chromium/ui/gfx/gpu_memory_buffer.h.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/ui/gfx/gpu_memory_buffer.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/gpu_memory_buffer.h -@@ -15,7 +15,7 @@ +@@ -17,7 +17,7 @@ + #include "ui/gfx/generic_shared_memory_id.h" #include "ui/gfx/geometry/rect.h" - #include "ui/gfx/gfx_export.h" -#if BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "ui/gfx/native_pixmap_handle.h" #elif BUILDFLAG(IS_APPLE) #include "ui/gfx/mac/io_surface.h" -@@ -76,7 +76,7 @@ struct GFX_EXPORT GpuMemoryBufferHandle { - base::UnsafeSharedMemoryRegion region; +@@ -205,7 +205,7 @@ struct COMPONENT_EXPORT(GFX) GpuMemoryBufferHandle { + uint32_t offset = 0; uint32_t stride = 0; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_linux_dmabuf__uapi.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_linux_dmabuf__uapi.h index ae5856e2b271..19d94e3c579b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_linux_dmabuf__uapi.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_linux_dmabuf__uapi.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/gfx/linux/dmabuf_uapi.h.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/ui/gfx/linux/dmabuf_uapi.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/linux/dmabuf_uapi.h @@ -5,12 +5,11 @@ #ifndef UI_GFX_LINUX_DMABUF_UAPI_H_ @@ -17,17 +17,7 @@ struct dma_buf_sync { __u64 flags; -@@ -26,9 +25,7 @@ constexpr unsigned long DMA_BUF_IOCTL_SYNC = - constexpr char DMA_BUF_BASE = 'b'; - constexpr unsigned long DMA_BUF_IOCTL_SYNC = - _IOW(DMA_BUF_BASE, 0, struct dma_buf_sync); --#endif - --#ifndef DMA_BUF_IOCTL_EXPORT_SYNC_FILE - struct dma_buf_export_sync_file { - __u32 flags; - __s32 fd; -@@ -43,6 +40,5 @@ constexpr unsigned long DMA_BUF_IOCTL_IMPORT_SYNC_FILE +@@ -43,6 +42,5 @@ constexpr unsigned long DMA_BUF_IOCTL_IMPORT_SYNC_FILE _IOWR(DMA_BUF_BASE, 2, struct dma_buf_export_sync_file); constexpr unsigned long DMA_BUF_IOCTL_IMPORT_SYNC_FILE = _IOW(DMA_BUF_BASE, 3, struct dma_buf_import_sync_file); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_linux_gbm__wrapper.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_linux_gbm__wrapper.cc index b48a98195aeb..0e7a0c617885 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_linux_gbm__wrapper.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_linux_gbm__wrapper.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/gfx/linux/gbm_wrapper.cc.orig 2025-08-18 00:53:11 UTC +--- src/3rdparty/chromium/ui/gfx/linux/gbm_wrapper.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/linux/gbm_wrapper.cc -@@ -331,7 +331,7 @@ class Device final : public ui::GbmDevice { +@@ -330,7 +330,7 @@ class Device final : public ui::GbmDevice { // of 1x1 BOs which are destroyed before creating the final BO creation used // to instantiate the returned GbmBuffer. gfx::Size size_for_verification = diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_mojom_buffer__types__mojom__traits.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_mojom_buffer__types__mojom__traits.cc deleted file mode 100644 index 06159565c6b7..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_mojom_buffer__types__mojom__traits.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- src/3rdparty/chromium/ui/gfx/mojom/buffer_types_mojom_traits.cc.orig 2023-01-11 09:17:16 UTC -+++ src/3rdparty/chromium/ui/gfx/mojom/buffer_types_mojom_traits.cc -@@ -33,7 +33,7 @@ gfx::mojom::GpuMemoryBufferPlatformHandlePtr StructTra - return gfx::mojom::GpuMemoryBufferPlatformHandle::NewSharedMemoryHandle( - std::move(handle.region)); - case gfx::NATIVE_PIXMAP: --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD) - return gfx::mojom::GpuMemoryBufferPlatformHandle::NewNativePixmapHandle( - std::move(handle.native_pixmap_handle)); - #else -@@ -115,7 +115,7 @@ bool StructTraits<gfx::mojom::GpuMemoryBufferHandleDat - out->type = gfx::SHARED_MEMORY_BUFFER; - out->region = std::move(platform_handle->get_shared_memory_handle()); - return true; --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD) - case gfx::mojom::GpuMemoryBufferPlatformHandleDataView::Tag:: - kNativePixmapHandle: - out->type = gfx::NATIVE_PIXMAP; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.cc index 1364053a0de1..349badd0b392 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.cc @@ -1,8 +1,17 @@ ---- src/3rdparty/chromium/ui/gfx/mojom/native_handle_types_mojom_traits.cc.orig 2023-01-11 09:17:16 UTC +--- src/3rdparty/chromium/ui/gfx/mojom/native_handle_types_mojom_traits.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/mojom/native_handle_types_mojom_traits.cc -@@ -8,11 +8,11 @@ +@@ -14,7 +14,7 @@ + #include "ui/gfx/mac/io_surface.h" + #endif // BUILDFLAG(IS_APPLE) - namespace mojo { +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD) + #include "ui/gfx/native_pixmap_handle.h" + #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) + +@@ -80,11 +80,11 @@ bool StructTraits<gfx::mojom::AHardwareBufferHandleDat + } + #endif // BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD) @@ -14,7 +23,7 @@ return mojo::PlatformHandle(std::move(plane.fd)); #elif BUILDFLAG(IS_FUCHSIA) return mojo::PlatformHandle(std::move(plane.vmo)); -@@ -28,7 +28,7 @@ bool StructTraits< +@@ -100,7 +100,7 @@ bool StructTraits< out->size = data.size(); mojo::PlatformHandle handle = data.TakeBufferHandle(); @@ -23,7 +32,7 @@ if (!handle.is_fd()) return false; out->fd = handle.TakeFD(); -@@ -54,7 +54,7 @@ bool StructTraits< +@@ -126,7 +126,7 @@ bool StructTraits< gfx::mojom::NativePixmapHandleDataView, gfx::NativePixmapHandle>::Read(gfx::mojom::NativePixmapHandleDataView data, gfx::NativePixmapHandle* out) { @@ -32,3 +41,21 @@ out->modifier = data.modifier(); out->supports_zero_copy_webgpu_import = data.supports_zero_copy_webgpu_import(); +@@ -190,7 +190,7 @@ gfx::mojom::GpuMemoryBufferPlatformHandleDataView::Tag + NOTREACHED(); + #endif // BUILDFLAG(IS_APPLE) + case gfx::NATIVE_PIXMAP: +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD) + return Tag::kNativePixmapHandle; + #else + NOTREACHED(); +@@ -259,7 +259,7 @@ bool UnionTraits<gfx::mojom::GpuMemoryBufferPlatformHa + } + return true; + #endif // BUILDFLAG(IS_APPLE) +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD) + case Tag::kNativePixmapHandle: + handle->type = gfx::NATIVE_PIXMAP; + return data.ReadNativePixmapHandle(&handle->native_pixmap_handle); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.h index 9b2f97eb4be0..e2fc9fa51937 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_mojom_native__handle__types__mojom__traits.h @@ -1,24 +1,24 @@ ---- src/3rdparty/chromium/ui/gfx/mojom/native_handle_types_mojom_traits.h.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/ui/gfx/mojom/native_handle_types_mojom_traits.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/mojom/native_handle_types_mojom_traits.h -@@ -16,7 +16,7 @@ - #include "mojo/public/cpp/system/platform_handle.h" +@@ -18,7 +18,7 @@ + #include "ui/gfx/gpu_memory_buffer.h" #include "ui/gfx/mojom/native_handle_types.mojom-shared.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD) #include "ui/gfx/native_pixmap_handle.h" - #endif - -@@ -26,7 +26,7 @@ + #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) - namespace mojo { +@@ -46,7 +46,7 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED + }; + #endif // BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD) template <> struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED_MOJOM_TRAITS) StructTraits<gfx::mojom::NativePixmapPlaneDataView, -@@ -54,13 +54,13 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED +@@ -74,13 +74,13 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED return pixmap_handle.planes; } @@ -34,3 +34,12 @@ static bool supports_zero_copy_webgpu_import( const gfx::NativePixmapHandle& pixmap_handle) { return pixmap_handle.supports_zero_copy_webgpu_import; +@@ -159,7 +159,7 @@ struct COMPONENT_EXPORT(GFX_NATIVE_HANDLE_TYPES_SHARED + static PlatformHandle mach_port(gfx::GpuMemoryBufferHandle& handle); + #endif // BUILDFLAG(IS_APPLE) + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_BSD) + static gfx::NativePixmapHandle& native_pixmap_handle( + gfx::GpuMemoryBufferHandle& handle) { + return handle.native_pixmap_handle; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_native__pixmap__handle.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_native__pixmap__handle.cc index 01fa545cd003..18c9e306498f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_native__pixmap__handle.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_native__pixmap__handle.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/gfx/native_pixmap_handle.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/ui/gfx/native_pixmap_handle.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/native_pixmap_handle.cc @@ -11,7 +11,7 @@ #include "ui/gfx/buffer_format_util.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_native__pixmap__handle.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_native__pixmap__handle.h index 7849a6b13b1f..10a314b2df18 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_native__pixmap__handle.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_native__pixmap__handle.h @@ -1,15 +1,15 @@ ---- src/3rdparty/chromium/ui/gfx/native_pixmap_handle.h.orig 2023-01-11 09:17:16 UTC +--- src/3rdparty/chromium/ui/gfx/native_pixmap_handle.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/native_pixmap_handle.h @@ -14,7 +14,7 @@ + #include "build/build_config.h" #include "ui/gfx/buffer_types.h" - #include "ui/gfx/gfx_export.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "base/files/scoped_file.h" #endif -@@ -34,7 +34,7 @@ struct GFX_EXPORT NativePixmapPlane { +@@ -34,7 +34,7 @@ struct COMPONENT_EXPORT(GFX) NativePixmapPlane { NativePixmapPlane(int stride, int offset, uint64_t size @@ -18,7 +18,7 @@ , base::ScopedFD fd #elif BUILDFLAG(IS_FUCHSIA) -@@ -55,7 +55,7 @@ struct GFX_EXPORT NativePixmapPlane { +@@ -55,7 +55,7 @@ struct COMPONENT_EXPORT(GFX) NativePixmapPlane { // This is necessary to map the buffers. uint64_t size; @@ -27,7 +27,7 @@ // File descriptor for the underlying memory object (usually dmabuf). base::ScopedFD fd; #elif BUILDFLAG(IS_FUCHSIA) -@@ -78,7 +78,7 @@ struct GFX_EXPORT NativePixmapHandle { +@@ -78,7 +78,7 @@ struct COMPONENT_EXPORT(GFX) NativePixmapHandle { std::vector<NativePixmapPlane> planes; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_native__widget__types.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_native__widget__types.h index 20e3bdee8249..834b39983426 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_native__widget__types.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_native__widget__types.h @@ -1,20 +1,20 @@ ---- src/3rdparty/chromium/ui/gfx/native_widget_types.h.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/ui/gfx/native_widget_types.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/native_widget_types.h -@@ -104,7 +104,7 @@ class SkBitmap; +@@ -101,7 +101,7 @@ class SkBitmap; + #endif + class SkBitmap; - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) extern "C" { struct _AtkObject; using AtkObject = struct _AtkObject; -@@ -219,7 +219,7 @@ using NativeViewAccessible = struct objc_object*; +@@ -214,7 +214,7 @@ using NativeViewAccessible = struct objc_object*; + #else + using NativeViewAccessible = struct objc_object*; #endif - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#elif BUILDFLAG(IS_LINUX) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Linux doesn't have a native font type. using NativeViewAccessible = AtkObject*; #else diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_platform__font__skia.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_platform__font__skia.cc index 85ce8c633280..44862285a395 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_platform__font__skia.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_platform__font__skia.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/gfx/platform_font_skia.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/ui/gfx/platform_font_skia.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/platform_font_skia.cc @@ -29,7 +29,7 @@ #include "ui/gfx/system_fonts_win.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_render__text__api__fuzzer.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_render__text__api__fuzzer.cc index 55479ac1b8d8..2cc553d78ec1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_render__text__api__fuzzer.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_render__text__api__fuzzer.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/gfx/render_text_api_fuzzer.cc.orig 2022-08-31 12:19:35 UTC +--- src/3rdparty/chromium/ui/gfx/render_text_api_fuzzer.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/render_text_api_fuzzer.cc -@@ -20,7 +20,7 @@ +@@ -19,7 +19,7 @@ #include "ui/gfx/font_util.h" #include "ui/gfx/render_text.h" @@ -9,7 +9,7 @@ #include "third_party/test_fonts/fontconfig/fontconfig_util_linux.h" #endif -@@ -47,7 +47,7 @@ struct Environment { +@@ -46,7 +46,7 @@ struct Environment { CHECK(base::i18n::InitializeICU()); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_render__text__fuzzer.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_render__text__fuzzer.cc index 888af4b14f79..239d0ffbbb72 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_render__text__fuzzer.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_render__text__fuzzer.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/gfx/render_text_fuzzer.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/ui/gfx/render_text_fuzzer.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/render_text_fuzzer.cc @@ -17,7 +17,7 @@ #include "ui/gfx/canvas.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_switches.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_switches.cc index aeea2125cbf8..938504f3eaa4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_switches.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_switches.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/gfx/switches.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/ui/gfx/switches.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/switches.cc -@@ -32,7 +32,7 @@ const char kForcePrefersNoReducedMotion[] = "force-pre +@@ -32,7 +32,7 @@ const char kHeadless[] = "headless"; // Run in headless mode, i.e., without a UI or display server dependencies. const char kHeadless[] = "headless"; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_switches.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_switches.h index e7e526dfd51f..0282e6e4821b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_switches.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_switches.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/gfx/switches.h.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/ui/gfx/switches.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/switches.h -@@ -19,7 +19,7 @@ GFX_SWITCHES_EXPORT extern const char kForcePrefersRed +@@ -18,7 +18,7 @@ GFX_SWITCHES_EXPORT extern const char kHeadless[]; GFX_SWITCHES_EXPORT extern const char kForcePrefersNoReducedMotion[]; GFX_SWITCHES_EXPORT extern const char kHeadless[]; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_x_atom__cache.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_x_atom__cache.cc new file mode 100644 index 000000000000..e714607d58bc --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_x_atom__cache.cc @@ -0,0 +1,10 @@ +--- src/3rdparty/chromium/ui/gfx/x/atom_cache.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/ui/gfx/x/atom_cache.cc +@@ -155,6 +155,7 @@ constexpr auto kAtomsToCache = std::to_array<const cha + "application/octet-stream", + "application/vnd.chromium.test", + "chromium/filename", ++ "chromium/from-privileged", + "chromium/x-bookmark-entries", + "chromium/x-browser-actions", + "chromium/x-file-system-files", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_x_generated__protos_dri3.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_x_generated__protos_dri3.cc index 0a988054f331..fbb96246a4ca 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_x_generated__protos_dri3.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_x_generated__protos_dri3.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/gfx/x/generated_protos/dri3.cc.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/ui/gfx/x/generated_protos/dri3.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/x/generated_protos/dri3.cc @@ -27,6 +27,8 @@ #include <xcb/xcb.h> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_x_generated__protos_shm.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_x_generated__protos_shm.cc index 122bde829528..e40b38ccbd7e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_x_generated__protos_shm.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_x_generated__protos_shm.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/gfx/x/generated_protos/shm.cc.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/ui/gfx/x/generated_protos/shm.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/x/generated_protos/shm.cc @@ -27,6 +27,8 @@ #include <xcb/xcb.h> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_x_xlib__support.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_x_xlib__support.cc index a9a93059759f..a42605133cad 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_x_xlib__support.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_x_xlib__support.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/gfx/x/xlib_support.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/ui/gfx/x/xlib_support.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gfx/x/xlib_support.cc @@ -43,10 +43,18 @@ void InitXlib() { return; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_BUILD.gn index b0749b8e9b91..4b76be828824 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/gl/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/ui/gl/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gl/BUILD.gn -@@ -173,7 +173,6 @@ jumbo_component("gl") { +@@ -174,7 +174,6 @@ jumbo_component("gl") { public_deps = [ ":gl_enums", "//base", @@ -8,7 +8,7 @@ "//ui/events/platform", "//ui/gfx", "//ui/gfx/geometry", -@@ -325,7 +324,6 @@ jumbo_component("gl") { +@@ -336,7 +335,6 @@ jumbo_component("gl") { data_deps += [ "//third_party/angle:libEGL", "//third_party/angle:libGLESv2", @@ -16,7 +16,7 @@ ] if (enable_swiftshader) { data_deps += [ -@@ -554,7 +552,6 @@ test("gl_unittests") { +@@ -568,7 +566,6 @@ test("gl_unittests") { data_deps = [ "//testing/buildbot/filters:gl_unittests_filters", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_gl__context.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_gl__context.cc index 8b4fca8cca79..2a4437bb2e09 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_gl__context.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_gl__context.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/gl/gl_context.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/ui/gl/gl_context.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gl/gl_context.cc -@@ -522,7 +522,7 @@ bool GLContext::MakeVirtuallyCurrent( +@@ -516,7 +516,7 @@ bool GLContext::MakeVirtuallyCurrent( DCHECK(virtual_context->IsCurrent(surface)); if (switched_real_contexts || virtual_context != current_virtual_context_) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_gl__fence.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_gl__fence.cc index 01d342dcb464..a5ab55d4f6ec 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_gl__fence.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_gl__fence.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/gl/gl_fence.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/ui/gl/gl_fence.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gl/gl_fence.cc @@ -17,7 +17,7 @@ #include "ui/gl/gl_surface_egl.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_gl__implementation.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_gl__implementation.cc index b7d6ae9bbfaf..6025af3675ca 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_gl__implementation.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_gl__implementation.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/gl/gl_implementation.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/ui/gl/gl_implementation.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gl/gl_implementation.cc -@@ -253,7 +253,7 @@ GetRequestedGLImplementationFromCommandLine( +@@ -252,7 +252,7 @@ GetRequestedGLImplementationFromCommandLine( const base::CommandLine* command_line) { bool overrideUseSoftwareGL = command_line->HasSwitch(switches::kOverrideUseSoftwareGLForTests); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_gl__switches.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_gl__switches.cc index fc9a68f08e22..6d794b42723c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_gl__switches.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_gl__switches.cc @@ -1,29 +1,29 @@ ---- src/3rdparty/chromium/ui/gl/gl_switches.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/ui/gl/gl_switches.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gl/gl_switches.cc -@@ -12,7 +12,7 @@ +@@ -14,7 +14,7 @@ #include "base/android/build_info.h" #endif --#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && BUILDFLAG(ENABLE_VULKAN) -+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_VULKAN) +-#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)) && BUILDFLAG(ENABLE_VULKAN) ++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_VULKAN) #include <vulkan/vulkan_core.h> #include "third_party/angle/src/gpu_info_util/SystemInfo.h" // nogncheck #endif -@@ -291,7 +291,7 @@ bool IsDefaultANGLEVulkan() { - base::android::SDK_VERSION_Q) +@@ -321,7 +321,7 @@ bool IsDefaultANGLEVulkan() { return false; + } #endif // BUILDFLAG(IS_ANDROID) --#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && BUILDFLAG(ENABLE_VULKAN) -+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_VULKAN) +-#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)) && BUILDFLAG(ENABLE_VULKAN) ++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_VULKAN) angle::SystemInfo system_info; - if (!angle::GetSystemInfoVulkan(&system_info)) - return false; -@@ -303,7 +303,7 @@ bool IsDefaultANGLEVulkan() { - - const auto& active_gpu = system_info.gpus[system_info.activeGPUIndex]; + { + GPU_STARTUP_TRACE_EVENT("angle::GetSystemInfoVulkan"); +@@ -374,7 +374,7 @@ bool IsDefaultANGLEVulkan() { + } + #endif // BUILDFLAG(IS_ANDROID) -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // Vulkan 1.1 is required. - if (active_gpu.driverApiVersion < VK_VERSION_1_1) - return false; + // AMDVLK driver is buggy, so disable Vulkan with AMDVLK for now. + // crbug.com/1340081 + if (active_gpu.driverId == VK_DRIVER_ID_AMD_OPEN_SOURCE) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_sync__control__vsync__provider.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_sync__control__vsync__provider.cc index d7e3ac3e98ed..8b586bb13b05 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_sync__control__vsync__provider.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_sync__control__vsync__provider.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/gl/sync_control_vsync_provider.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/ui/gl/sync_control_vsync_provider.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gl/sync_control_vsync_provider.cc @@ -11,7 +11,7 @@ #include "base/trace_event/trace_event.h" @@ -9,7 +9,7 @@ // These constants define a reasonable range for a calculated refresh interval. // Calculating refreshes out of this range will be considered a fatal error. const int64_t kMinVsyncIntervalUs = base::Time::kMicrosecondsPerSecond / 400; -@@ -26,7 +26,7 @@ const double kRelativeIntervalDifferenceThreshold = 0. +@@ -26,7 +26,7 @@ SyncControlVSyncProvider::SyncControlVSyncProvider() : namespace gl { SyncControlVSyncProvider::SyncControlVSyncProvider() : gfx::VSyncProvider() { @@ -27,7 +27,7 @@ // The actual clock used for the system time returned by // eglGetSyncValuesCHROMIUM is unspecified. In practice, the clock used is // likely to be either CLOCK_REALTIME or CLOCK_MONOTONIC, so we compare the -@@ -160,7 +160,7 @@ bool SyncControlVSyncProvider::GetVSyncParametersIfAva +@@ -160,7 +160,7 @@ bool SyncControlVSyncProvider::SupportGetVSyncParamete } bool SyncControlVSyncProvider::SupportGetVSyncParametersIfAvailable() const { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_sync__control__vsync__provider.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_sync__control__vsync__provider.h index b01e52ec927a..75bb00d87677 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_sync__control__vsync__provider.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gl_sync__control__vsync__provider.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/gl/sync_control_vsync_provider.h.orig 2022-05-19 14:06:27 UTC +--- src/3rdparty/chromium/ui/gl/sync_control_vsync_provider.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gl/sync_control_vsync_provider.h @@ -31,7 +31,7 @@ class SyncControlVSyncProvider : public gfx::VSyncProv bool SupportGetVSyncParametersIfAvailable() const override; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gtk_gtk__compat.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gtk_gtk__compat.cc index fdd51d2768de..047691bf227e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gtk_gtk__compat.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gtk_gtk__compat.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/gtk/gtk_compat.cc.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/ui/gtk/gtk_compat.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gtk/gtk_compat.cc -@@ -62,27 +62,47 @@ auto DlCast(void* symbol) { +@@ -62,27 +62,47 @@ void* GetLibGio() { } void* GetLibGio() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gtk_printing_print__dialog__gtk.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gtk_printing_print__dialog__gtk.cc index b45838145a10..234eb5f2f717 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gtk_printing_print__dialog__gtk.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gtk_printing_print__dialog__gtk.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/gtk/printing/print_dialog_gtk.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/gtk/printing/print_dialog_gtk.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/gtk/printing/print_dialog_gtk.cc -@@ -439,7 +439,7 @@ void PrintDialogGtk::ShowDialog( +@@ -438,7 +438,7 @@ void PrintDialogGtk::ShowDialog( GtkPrintCapabilities cap = static_cast<GtkPrintCapabilities>( GTK_PRINT_CAPABILITY_GENERATE_PDF | GTK_PRINT_CAPABILITY_PAGE_SET | GTK_PRINT_CAPABILITY_COPIES | GTK_PRINT_CAPABILITY_COLLATE | diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_message__center_views_message__popup__view.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_message__center_views_message__popup__view.cc index 70e1e4f76913..f4057e0885a8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_message__center_views_message__popup__view.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_message__center_views_message__popup__view.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/ui/message_center/views/message_popup_view.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/message_center/views/message_popup_view.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/message_center/views/message_popup_view.cc -@@ -144,7 +144,7 @@ std::unique_ptr<views::Widget> MessagePopupView::Show( +@@ -153,7 +153,7 @@ std::unique_ptr<views::Widget> MessagePopupView::Show( + views::Widget::InitParams::CLIENT_OWNS_WIDGET, + views::Widget::InitParams::TYPE_POPUP); params.z_order = ui::ZOrderLevel::kFloatingWindow; - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Make the widget explicitly activatable as TYPE_POPUP is not activatable by // default but we need focus for the inline reply textarea. params.activatable = views::Widget::InitParams::Activatable::kYes; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_native__theme_native__theme.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_native__theme_native__theme.h index 9d9f5a1fe0d2..21271063e8a8 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_native__theme_native__theme.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_native__theme_native__theme.h @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/ui/native_theme/native_theme.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/native_theme/native_theme.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/native_theme/native_theme.h -@@ -64,7 +64,7 @@ class NATIVE_THEME_EXPORT NativeTheme { +@@ -61,7 +61,7 @@ class NATIVE_THEME_EXPORT NativeTheme { + // The part to be painted / sized. + enum Part { kCheckbox, - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) kFrameTopArea, #endif kInnerSpinButton, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_native__theme_native__theme__base.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_native__theme_native__theme__base.cc index bb44b065c9ac..849e4ce9f1d7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_native__theme_native__theme__base.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_native__theme_native__theme__base.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/ui/native_theme/native_theme_base.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/native_theme/native_theme_base.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/native_theme/native_theme_base.cc -@@ -241,7 +241,7 @@ void NativeThemeBase::Paint(cc::PaintCanvas* canvas, +@@ -239,7 +239,7 @@ void NativeThemeBase::Paint(cc::PaintCanvas* canvas, + absl::get<ButtonExtraParams>(extra), color_scheme, + accent_color_opaque); break; - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) case kFrameTopArea: PaintFrameTopArea(canvas, state, rect, absl::get<FrameTopAreaExtraParams>(extra), diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_native__theme_native__theme__features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_native__theme_native__theme__features.cc index 3ca42e4e1e40..9104be835a5b 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_native__theme_native__theme__features.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_native__theme_native__theme__features.cc @@ -1,20 +1,20 @@ ---- src/3rdparty/chromium/ui/native_theme/native_theme_features.cc.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/ui/native_theme/native_theme_features.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/native_theme/native_theme_features.cc -@@ -54,7 +54,7 @@ bool IsOverlayScrollbarEnabled() { +@@ -73,7 +73,7 @@ bool IsFluentOverlayScrollbarEnabled() { - bool IsFluentScrollbarEnabled() { + bool IsFluentOverlayScrollbarEnabled() { // Fluent scrollbars are only used for some OSes due to UI design guidelines. -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - return base::FeatureList::IsEnabled(features::kFluentScrollbar) || - IsFluentOverlayScrollbarEnabled(); + return base::FeatureList::IsEnabled(features::kFluentOverlayScrollbar); #else -@@ -63,7 +63,7 @@ bool IsFluentScrollbarEnabled() { - } - bool IsFluentOverlayScrollbarEnabled() { + return false; +@@ -82,7 +82,7 @@ bool IsFluentScrollbarEnabled() { + + bool IsFluentScrollbarEnabled() { // Fluent scrollbars are only used for some OSes due to UI design guidelines. -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - return base::FeatureList::IsEnabled(features::kFluentOverlayScrollbar); + return base::FeatureList::IsEnabled(features::kFluentScrollbar) || + IsFluentOverlayScrollbarEnabled(); #else - return false; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_common_egl__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_common_egl__util.cc index 837f0774b9d0..679548165ce0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_common_egl__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_common_egl__util.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/ozone/common/egl_util.cc.orig 2022-07-22 17:30:31 UTC +--- src/3rdparty/chromium/ui/ozone/common/egl_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/ozone/common/egl_util.cc -@@ -26,9 +26,9 @@ const base::FilePath::CharType kDefaultGlesSoname[] = +@@ -27,9 +27,9 @@ const base::FilePath::CharType kDefaultEglSoname[] = FILE_PATH_LITERAL("libGLESv2.so"); #else // BUILDFLAG(IS_FUCHSIA) const base::FilePath::CharType kDefaultEglSoname[] = diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_common_features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_common_features.cc deleted file mode 100644 index f1411a927f3e..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_common_features.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- src/3rdparty/chromium/ui/ozone/common/features.cc.orig 2024-10-22 08:31:56 UTC -+++ src/3rdparty/chromium/ui/ozone/common/features.cc -@@ -30,7 +30,7 @@ BASE_FEATURE(kWaylandSurfaceSubmissionInPixelCoordinat - // enabled. - BASE_FEATURE(kWaylandFractionalScaleV1, - "WaylandFractionalScaleV1", --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - base::FEATURE_ENABLED_BY_DEFAULT - #else - base::FEATURE_DISABLED_BY_DEFAULT -@@ -42,7 +42,7 @@ BASE_FEATURE(kWaylandFractionalScaleV1, - // protocol is supported. - BASE_FEATURE(kWaylandXdgToplevelDrag, - "WaylandXdgToplevelDrag", --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - base::FEATURE_ENABLED_BY_DEFAULT - #else - base::FEATURE_DISABLED_BY_DEFAULT diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_headless_headless__surface__factory.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_headless_headless__surface__factory.cc index 0235f047e872..97ec09590696 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_headless_headless__surface__factory.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_headless_headless__surface__factory.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/ozone/platform/headless/headless_surface_factory.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/ui/ozone/platform/headless/headless_surface_factory.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/ozone/platform/headless/headless_surface_factory.cc @@ -34,7 +34,7 @@ #include "ui/ozone/platform/headless/headless_window_manager.h" @@ -9,7 +9,7 @@ #include "ui/ozone/platform/headless/vulkan_implementation_headless.h" #endif -@@ -280,7 +280,7 @@ std::unique_ptr<gpu::VulkanImplementation> +@@ -281,7 +281,7 @@ HeadlessSurfaceFactory::CreateVulkanImplementation( HeadlessSurfaceFactory::CreateVulkanImplementation( bool use_swiftshader, bool allow_protected_memory) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_headless_ozone__platform__headless.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_headless_ozone__platform__headless.cc index 88845a0545db..06b0964728c2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_headless_ozone__platform__headless.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_headless_ozone__platform__headless.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/ozone/platform/headless/ozone_platform_headless.cc.orig 2024-03-27 13:31:02 UTC +--- src/3rdparty/chromium/ui/ozone/platform/headless/ozone_platform_headless.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/ozone/platform/headless/ozone_platform_headless.cc @@ -103,7 +103,7 @@ class OzonePlatformHeadless : public OzonePlatform { } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_headless_vulkan__implementation__headless.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_headless_vulkan__implementation__headless.cc index da31d4b567bc..9ae67a2c9334 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_headless_vulkan__implementation__headless.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_headless_vulkan__implementation__headless.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/ozone/platform/headless/vulkan_implementation_headless.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/ui/ozone/platform/headless/vulkan_implementation_headless.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/ozone/platform/headless/vulkan_implementation_headless.cc -@@ -118,7 +118,7 @@ VulkanImplementationHeadless::ExportVkFenceToGpuFence( +@@ -116,7 +116,7 @@ VulkanImplementationHeadless::GetExternalSemaphoreHand VkExternalSemaphoreHandleTypeFlagBits VulkanImplementationHeadless::GetExternalSemaphoreHandleType() { @@ -9,7 +9,7 @@ return VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT; #else return VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT; -@@ -128,7 +128,7 @@ VulkanImplementationHeadless::GetExternalSemaphoreHand +@@ -126,7 +126,7 @@ bool VulkanImplementationHeadless::CanImportGpuMemoryB bool VulkanImplementationHeadless::CanImportGpuMemoryBuffer( gpu::VulkanDeviceQueue* device_queue, gfx::GpuMemoryBufferType memory_buffer_type) { @@ -18,7 +18,7 @@ const auto& enabled_extensions = device_queue->enabled_extensions(); return gfx::HasExtension(enabled_extensions, VK_EXT_EXTERNAL_MEMORY_DMA_BUF_EXTENSION_NAME) && -@@ -151,7 +151,7 @@ VulkanImplementationHeadless::CreateImageFromGpuMemory +@@ -149,7 +149,7 @@ VulkanImplementationHeadless::CreateImageFromGpuMemory VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT; auto tiling = VK_IMAGE_TILING_OPTIMAL; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_common_wayland__util.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_common_wayland__util.cc index 8b8fd14d2044..a0a3ef485d32 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_common_wayland__util.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_common_wayland__util.cc @@ -1,20 +1,18 @@ ---- src/3rdparty/chromium/ui/ozone/platform/wayland/common/wayland_util.cc.orig 2024-10-23 07:00:35 UTC +--- src/3rdparty/chromium/ui/ozone/platform/wayland/common/wayland_util.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/ozone/platform/wayland/common/wayland_util.cc -@@ -347,7 +347,7 @@ void TransformToWlArray( - } +@@ -420,6 +420,7 @@ void RecordConnectionMetrics(wl_display* display) { + {"weston", WaylandCompositor::kWeston}, + }; - base::TimeTicks EventMillisecondsToTimeTicks(uint32_t milliseconds) { --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // TODO(crbug.com/40287874): `milliseconds` comes from Weston that - // uses timestamp from libinput, which is different from TimeTicks. - // Use EventTimeForNow(), for now. -@@ -389,7 +389,7 @@ bool MaybeHandlePlatformEventForDrag(const ui::Platfor - } ++#if !BUILDFLAG(IS_BSD) + const int fd = wl_display_get_fd(display); + if (fd == -1) { + return WaylandCompositor::kUnknown; +@@ -445,6 +446,7 @@ void RecordConnectionMetrics(wl_display* display) { + return compositor; + } + } ++#endif - void RecordConnectionMetrics(wl_display* display) { --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) - CHECK(display); - - // These values are logged to metrics so must not be changed. + return WaylandCompositor::kOther; + }; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.cc deleted file mode 100644 index f66db0380ac2..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/ui/ozone/platform/wayland/emulate/wayland_input_emulate.cc.orig 2024-03-22 08:19:40 UTC -+++ src/3rdparty/chromium/ui/ozone/platform/wayland/emulate/wayland_input_emulate.cc -@@ -284,7 +284,7 @@ void WaylandInputEmulate::EmulateUpdateDisplay(const s - } - #endif - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - void WaylandInputEmulate::ForceUseScreenCoordinatesOnce() { - force_use_screen_coordinates_once_ = true; - } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.h deleted file mode 100644 index f21fd341c1d4..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_emulate_wayland__input__emulate.h +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/ui/ozone/platform/wayland/emulate/wayland_input_emulate.h.orig 2024-03-22 08:19:40 UTC -+++ src/3rdparty/chromium/ui/ozone/platform/wayland/emulate/wayland_input_emulate.h -@@ -68,7 +68,7 @@ class WaylandInputEmulate : public wl::WaylandProxy::D - uint32_t request_id); - #endif - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - void ForceUseScreenCoordinatesOnce(); - #endif - diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_gpu_vulkan__implementation__wayland.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_gpu_vulkan__implementation__wayland.cc index f4a8fa73c518..264cdee7a5b6 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_gpu_vulkan__implementation__wayland.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_gpu_vulkan__implementation__wayland.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/ozone/platform/wayland/gpu/vulkan_implementation_wayland.cc.orig 2022-03-25 21:59:56 UTC +--- src/3rdparty/chromium/ui/ozone/platform/wayland/gpu/vulkan_implementation_wayland.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/ozone/platform/wayland/gpu/vulkan_implementation_wayland.cc @@ -38,7 +38,11 @@ bool VulkanImplementationWayland::InitializeVulkanInst diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__connection.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__connection.cc deleted file mode 100644 index 626835aa2501..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__connection.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_connection.cc.orig 2024-10-22 08:31:56 UTC -+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_connection.cc -@@ -541,7 +541,7 @@ bool WaylandConnection::ShouldUseOverlayDelegation() c - // isn't present on any non-exo Wayland compositors. - bool should_use_overlay_delegation = - IsWaylandOverlayDelegationEnabled() && !fractional_scale_manager_v1(); --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // Overlay delegation also requires a single-pixel-buffer protocol, which - // allows creation of non-backed solid color buffers. Even though only video - // overlays can be supported on Linux, these color buffers are still needed diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__input__method__context.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__input__method__context.cc deleted file mode 100644 index 4e6d27b79def..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__input__method__context.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_input_method_context.cc.orig 2024-09-30 07:45:04 UTC -+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_input_method_context.cc -@@ -60,7 +60,7 @@ namespace { - // Only enable the preedit string for sequence mode (i.e. when using dead keys - // or the Compose key) on Linux ozone/wayland (see b/220370007). - constexpr CharacterComposer::PreeditStringMode kPreeditStringMode = --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - CharacterComposer::PreeditStringMode::kAlwaysEnabled; - #else - CharacterComposer::PreeditStringMode::kHexModeOnly; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__popup.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__popup.cc deleted file mode 100644 index 2c7494594110..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__popup.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_popup.cc.orig 2024-05-21 18:07:39 UTC -+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_popup.cc -@@ -34,7 +34,7 @@ WaylandPopup::WaylandPopup(PlatformWindowDelegate* del - WaylandWindow* parent) - : WaylandWindow(delegate, connection) { - set_parent_window(parent); --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // TODO(crbug.com/330384470): Whether the popup appear depends on whether - // anchor point is outside of the parent xdg_surface. On Mutter the popup will - // not show when outside. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__screen.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__screen.cc deleted file mode 100644 index c5a663967d43..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__screen.cc +++ /dev/null @@ -1,29 +0,0 @@ ---- src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_screen.cc.orig 2024-10-22 08:31:56 UTC -+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_screen.cc -@@ -46,7 +46,7 @@ - #include "ui/ozone/platform/wayland/host/org_gnome_mutter_idle_monitor.h" - #endif - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - #include "ui/linux/linux_ui.h" - #endif - -@@ -133,7 +133,7 @@ WaylandScreen::WaylandScreen(WaylandConnection* connec - tablet_state_ = connection_->GetTabletState(); - #endif - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - if (auto* linux_ui = ui::LinuxUi::instance()) { - OnDeviceScaleFactorChanged(); - display_scale_factor_observer_.Observe(linux_ui); -@@ -606,7 +606,7 @@ bool WaylandScreen::VerifyOutputStateConsistentForTest - return true; - } - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - void WaylandScreen::OnDeviceScaleFactorChanged() { - if (const auto* linux_ui = ui::LinuxUi::instance()) { - const float new_font_scale = linux_ui->display_config().font_scale; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__screen.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__screen.h deleted file mode 100644 index 7c040f670fb8..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__screen.h +++ /dev/null @@ -1,38 +0,0 @@ ---- src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_screen.h.orig 2024-10-22 08:31:56 UTC -+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_screen.h -@@ -24,7 +24,7 @@ - #include "ui/ozone/platform/wayland/host/wayland_output.h" - #include "ui/ozone/public/platform_screen.h" - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - #include "base/scoped_observation.h" - #include "ui/linux/device_scale_factor_observer.h" - #include "ui/linux/linux_ui.h" -@@ -44,7 +44,7 @@ class OrgGnomeMutterIdleMonitor; - - // A PlatformScreen implementation for Wayland. - class WaylandScreen : public PlatformScreen --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - , - public DeviceScaleFactorObserver - #endif -@@ -96,7 +96,7 @@ class WaylandScreen : public PlatformScreen - display::TabletState GetTabletState() const override; - #endif - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // DeviceScaleFactorObserver: - void OnDeviceScaleFactorChanged() override; - #endif -@@ -158,7 +158,7 @@ class WaylandScreen : public PlatformScreen - display::TabletState tablet_state_; - #endif - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - float font_scale_ = 1.0f; - - base::ScopedObservation<ui::LinuxUi, DeviceScaleFactorObserver> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__toplevel__window.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__toplevel__window.cc deleted file mode 100644 index 17edc8c684a4..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__toplevel__window.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_toplevel_window.cc.orig 2024-09-30 07:45:04 UTC -+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_toplevel_window.cc -@@ -634,7 +634,7 @@ void WaylandToplevelWindow::HandleAuraToplevelConfigur - const bool did_active_change = is_active_ != window_states.is_activated; - is_active_ = window_states.is_activated; - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // The tiled state affects the window geometry, so apply it here. - if (window_states.tiled_edges != tiled_state_) { - // This configure changes the decoration insets. We should adjust the diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__toplevel__window.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__toplevel__window.h deleted file mode 100644 index 5517b4b03c08..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__toplevel__window.h +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_toplevel_window.h.orig 2024-09-30 07:45:04 UTC -+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_toplevel_window.h -@@ -261,7 +261,7 @@ class WaylandToplevelWindow : public WaylandWindow, - // The display ID to switch to in case the state is `kFullscreen`. - int64_t fullscreen_display_id_ = display::kInvalidDisplayId; - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // Contains the current state of the tiled edges. - WindowTiledEdges tiled_state_; - #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.cc deleted file mode 100644 index da50befdb630..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.cc +++ /dev/null @@ -1,44 +0,0 @@ ---- src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_window.cc.orig 2024-10-22 08:31:56 UTC -+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_window.cc -@@ -318,7 +318,7 @@ void WaylandWindow::OnPointerFocusChanged(bool focused - // Whenever the window gets the pointer focus back, the cursor shape must be - // updated. Otherwise, it is invalidated upon wl_pointer::leave and is not - // restored by the Wayland compositor. --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - if (focused && async_cursor_) { - async_cursor_->AddCursorLoadedCallback(base::BindOnce( - &WaylandWindow::OnCursorLoaded, AsWeakPtr(), async_cursor_)); -@@ -584,7 +584,7 @@ bool WaylandWindow::ShouldUseNativeFrame() const { - void WaylandWindow::SetCursor(scoped_refptr<PlatformCursor> platform_cursor) { - DCHECK(platform_cursor); - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - auto async_cursor = WaylandAsyncCursor::FromPlatformCursor(platform_cursor); - - if (async_cursor_ == async_cursor) { -@@ -795,7 +795,7 @@ std::string WaylandWindow::WindowStates::ToString() co - } else { - base::TrimString(states, " ", &states); - } --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - states += "; tiled_edges: "; - std::string tiled = ""; - if (tiled_edges.left) { -@@ -1283,12 +1283,12 @@ void WaylandWindow::UpdateCursorShape(scoped_refptr<Bi - cursor->bitmaps(), hotspot_in_dips, - std::ceil(cursor->cursor_image_scale_factor())); - } --#if !BUILDFLAG(IS_LINUX) -+#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) - cursor_ = cursor; - #endif - } - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - void WaylandWindow::OnCursorLoaded(scoped_refptr<WaylandAsyncCursor> cursor, - scoped_refptr<BitmapCursor> bitmap_cursor) { - if (HasPointerFocus() && async_cursor_ == cursor && bitmap_cursor) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.h deleted file mode 100644 index f923c04a91d0..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_wayland__window.h +++ /dev/null @@ -1,38 +0,0 @@ ---- src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_window.h.orig 2024-10-22 08:31:56 UTC -+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/wayland_window.h -@@ -41,7 +41,7 @@ - #include "ui/platform_window/platform_window_init_properties.h" - #include "ui/platform_window/wm/wm_drag_handler.h" - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - #include "ui/ozone/platform/wayland/host/wayland_async_cursor.h" - #endif - -@@ -285,7 +285,7 @@ class WaylandWindow : public PlatformWindow, - bool is_snapped_secondary = false; - bool is_floated = false; - bool is_pip = false; --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - WindowTiledEdges tiled_edges; - #endif - -@@ -569,7 +569,7 @@ class WaylandWindow : public PlatformWindow, - - void UpdateCursorShape(scoped_refptr<BitmapCursor> cursor); - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - void OnCursorLoaded(scoped_refptr<WaylandAsyncCursor> cursor, - scoped_refptr<BitmapCursor> bitmap_cursor); - #endif -@@ -638,7 +638,7 @@ class WaylandWindow : public PlatformWindow, - - wl::Object<zaura_surface> aura_surface_; - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // The current asynchronously loaded cursor (Linux specific). - scoped_refptr<WaylandAsyncCursor> async_cursor_; - #else diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_xdg__toplevel__wrapper__impl.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_xdg__toplevel__wrapper__impl.cc deleted file mode 100644 index 14ed518ae69b..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_xdg__toplevel__wrapper__impl.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/ui/ozone/platform/wayland/host/xdg_toplevel_wrapper_impl.cc.orig 2024-09-30 07:45:04 UTC -+++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/xdg_toplevel_wrapper_impl.cc -@@ -322,7 +322,7 @@ void XDGToplevelWrapperImpl::OnToplevelConfigure(void* - window_states.is_activated = - CheckIfWlArrayHasValue(states, XDG_TOPLEVEL_STATE_ACTIVATED); - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - if (xdg_toplevel_get_version(toplevel) >= - XDG_TOPLEVEL_STATE_TILED_LEFT_SINCE_VERSION) { - // All four tiled states have the same since version, so it is enough to diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_zwp__text__input__wrapper__v1.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_zwp__text__input__wrapper__v1.cc index 8bf28aefa951..f77d1c9d983c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_zwp__text__input__wrapper__v1.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_host_zwp__text__input__wrapper__v1.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/ozone/platform/wayland/host/zwp_text_input_wrapper_v1.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/ui/ozone/platform/wayland/host/zwp_text_input_wrapper_v1.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/ozone/platform/wayland/host/zwp_text_input_wrapper_v1.cc -@@ -256,6 +256,10 @@ void ZWPTextInputWrapperV1::SetSurroundingText( +@@ -261,6 +261,10 @@ void ZWPTextInputWrapperV1::SetSurroundingText( // so if it exceeds 16 bits, it may be broken. static constexpr size_t kSizeLimit = 60000; if (HasAdvancedSurroundingTextSupport() && text.length() > kSizeLimit) { @@ -11,7 +11,7 @@ base::ScopedFD memfd(memfd_create("surrounding_text", MFD_CLOEXEC)); if (!memfd.get()) { PLOG(ERROR) << "Failed to create memfd"; -@@ -268,6 +272,7 @@ void ZWPTextInputWrapperV1::SetSurroundingText( +@@ -273,6 +277,7 @@ void ZWPTextInputWrapperV1::SetSurroundingText( zcr_extended_text_input_v1_set_large_surrounding_text( extended_obj_.get(), memfd.get(), text.length(), selection_range.start(), selection_range.end()); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_ozone__platform__wayland.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_ozone__platform__wayland.cc deleted file mode 100644 index 2171460ee99f..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_wayland_ozone__platform__wayland.cc +++ /dev/null @@ -1,54 +0,0 @@ ---- src/3rdparty/chromium/ui/ozone/platform/wayland/ozone_platform_wayland.cc.orig 2024-09-30 07:45:04 UTC -+++ src/3rdparty/chromium/ui/ozone/platform/wayland/ozone_platform_wayland.cc -@@ -66,13 +66,13 @@ - #include "ui/events/ozone/layout/stub/stub_keyboard_layout_engine.h" - #endif - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - #include "ui/ozone/platform/wayland/host/wayland_cursor_factory.h" - #else - #include "ui/ozone/common/bitmap_cursor_factory.h" - #endif - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - #include "ui/ozone/platform/wayland/host/linux_ui_delegate_wayland.h" - #endif - -@@ -267,7 +267,7 @@ class OzonePlatformWayland : public OzonePlatform, - - buffer_manager_connector_ = std::make_unique<WaylandBufferManagerConnector>( - connection_->buffer_manager_host()); --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - cursor_factory_ = std::make_unique<WaylandCursorFactory>(connection_.get()); - #else - cursor_factory_ = std::make_unique<BitmapCursorFactory>(); -@@ -277,7 +277,7 @@ class OzonePlatformWayland : public OzonePlatform, - - supported_buffer_formats_ = - connection_->buffer_manager_host()->GetSupportedBufferFormats(); --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - linux_ui_delegate_ = - std::make_unique<LinuxUiDelegateWayland>(connection_.get()); - #endif -@@ -343,7 +343,7 @@ class OzonePlatformWayland : public OzonePlatform, - properties->supports_global_screen_coordinates = - kDefaultScreenCoordinateEnabled; - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // TODO(crbug.com/40800718): Revisit (and maybe remove) once proper - // support, probably backed by org.freedesktop.portal.Screenshot.PickColor - // API is implemented. Note: this is restricted to Linux Desktop as Lacros -@@ -545,7 +545,7 @@ class OzonePlatformWayland : public OzonePlatform, - DrmRenderNodePathFinder path_finder_; - #endif - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - std::unique_ptr<LinuxUiDelegateWayland> linux_ui_delegate_; - #endif - }; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_x11_vulkan__implementation__x11.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_x11_vulkan__implementation__x11.cc index 11d0fa706ce0..097dfdef97ec 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_x11_vulkan__implementation__x11.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_x11_vulkan__implementation__x11.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/ozone/platform/x11/vulkan_implementation_x11.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/ui/ozone/platform/x11/vulkan_implementation_x11.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/ozone/platform/x11/vulkan_implementation_x11.cc @@ -59,7 +59,11 @@ bool VulkanImplementationX11::InitializeVulkanInstance diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__screen__ozone.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__screen__ozone.cc index 3e0c586a2e6b..3006c40bb5dc 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__screen__ozone.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__screen__ozone.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/ozone/platform/x11/x11_screen_ozone.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/ui/ozone/platform/x11/x11_screen_ozone.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/ozone/platform/x11/x11_screen_ozone.cc @@ -22,7 +22,7 @@ #include "ui/ozone/platform/x11/x11_window.h" @@ -18,7 +18,7 @@ if (auto* linux_ui = ui::LinuxUi::instance()) { display_scale_factor_observer_.Observe(linux_ui); } -@@ -260,7 +260,7 @@ void X11ScreenOzone::OnEvent(const x11::Event& xev) { +@@ -267,7 +267,7 @@ void X11ScreenOzone::OnEvent(const x11::Event& xev) { x11_display_manager_->OnEvent(xev); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__screen__ozone.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__screen__ozone.h index 0d564b162cfd..f19f7618e478 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__screen__ozone.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__screen__ozone.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/ozone/platform/x11/x11_screen_ozone.h.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/ui/ozone/platform/x11/x11_screen_ozone.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/ozone/platform/x11/x11_screen_ozone.h @@ -16,7 +16,7 @@ #include "ui/gfx/x/event.h" @@ -9,7 +9,7 @@ #include "ui/linux/device_scale_factor_observer.h" #include "ui/linux/linux_ui.h" #endif -@@ -29,7 +29,7 @@ class X11WindowManager; +@@ -29,7 +29,7 @@ class X11ScreenOzone : public PlatformScreen, class X11ScreenOzone : public PlatformScreen, public x11::EventObserver, public XDisplayManager::Delegate diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__window.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__window.cc index cb803d961f39..309765853794 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__window.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_platform_x11_x11__window.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/ozone/platform/x11/x11_window.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/ozone/platform/x11/x11_window.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/ozone/platform/x11/x11_window.cc -@@ -1504,7 +1504,7 @@ void X11Window::OnXWindowStateChanged() { +@@ -1502,7 +1502,7 @@ void X11Window::OnXWindowStateChanged() { WindowTiledEdges tiled_state = GetTiledState(); if (tiled_state != tiled_state_) { tiled_state_ = tiled_state; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_test_mock__platform__window__delegate.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_test_mock__platform__window__delegate.h index 0564516bf372..5899cee705e9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_test_mock__platform__window__delegate.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_ozone_test_mock__platform__window__delegate.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/ozone/test/mock_platform_window_delegate.h.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/ui/ozone/test/mock_platform_window_delegate.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/ozone/test/mock_platform_window_delegate.h @@ -35,7 +35,7 @@ class MockPlatformWindowDelegate : public PlatformWind MOCK_METHOD2(OnWindowStateChanged, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_platform__window_platform__window__delegate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_platform__window_platform__window__delegate.cc index 8eefac7bb627..0179d0af78ca 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_platform__window_platform__window__delegate.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_platform__window_platform__window__delegate.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/platform_window/platform_window_delegate.cc.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/ui/platform_window/platform_window_delegate.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/platform_window/platform_window_delegate.cc -@@ -61,7 +61,7 @@ gfx::Insets PlatformWindowDelegate::CalculateInsetsInD +@@ -57,7 +57,7 @@ gfx::Insets PlatformWindowDelegate::CalculateInsetsInD return gfx::Insets(); } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_platform__window_platform__window__delegate.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_platform__window_platform__window__delegate.h index 2c93359486aa..4cde4a7b042a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_platform__window_platform__window__delegate.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_platform__window_platform__window__delegate.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/platform_window/platform_window_delegate.h.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/ui/platform_window/platform_window_delegate.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/platform_window/platform_window_delegate.h -@@ -181,7 +181,7 @@ class COMPONENT_EXPORT(PLATFORM_WINDOW) PlatformWindow +@@ -144,7 +144,7 @@ class COMPONENT_EXPORT(PLATFORM_WINDOW) PlatformWindow virtual void OnWindowStateChanged(PlatformWindowState old_state, PlatformWindowState new_state) = 0; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_platform__window_platform__window__init__properties.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_platform__window_platform__window__init__properties.h index a81893a46ef0..5b3aaa165a44 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_platform__window_platform__window__init__properties.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_platform__window_platform__window__init__properties.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/platform_window/platform_window_init_properties.h.orig 2024-06-17 12:56:06 UTC +--- src/3rdparty/chromium/ui/platform_window/platform_window_init_properties.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/platform_window/platform_window_init_properties.h -@@ -56,7 +56,7 @@ class WorkspaceExtensionDelegate; +@@ -56,7 +56,7 @@ class ScenicWindowDelegate; class ScenicWindowDelegate; #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_qt_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_qt_BUILD.gn index 7fbca955903d..d914842392d6 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_qt_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_qt_BUILD.gn @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/qt/BUILD.gn.orig 2024-01-30 07:53:34 UTC +--- src/3rdparty/chromium/ui/qt/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/qt/BUILD.gn @@ -20,7 +20,7 @@ config("qt_internal_config") { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__bn.xtb b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__bn.xtb index 71e8022b2a30..ccc73752df02 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__bn.xtb +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__bn.xtb @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/strings/translations/app_locale_settings_bn.xtb.orig 2022-09-24 10:57:32 UTC +--- src/3rdparty/chromium/ui/strings/translations/app_locale_settings_bn.xtb.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/strings/translations/app_locale_settings_bn.xtb @@ -10,7 +10,7 @@ <translation id="IDS_WEB_FONT_FAMILY">Vrinda</translation> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__ja.xtb b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__ja.xtb index 342fe1653a3c..ad06df5159fa 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__ja.xtb +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__ja.xtb @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/strings/translations/app_locale_settings_ja.xtb.orig 2022-09-24 10:57:32 UTC +--- src/3rdparty/chromium/ui/strings/translations/app_locale_settings_ja.xtb.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/strings/translations/app_locale_settings_ja.xtb @@ -12,7 +12,7 @@ <if expr="is_ios"> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__ko.xtb b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__ko.xtb index 07d66a247845..740e66a74ba7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__ko.xtb +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__ko.xtb @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/strings/translations/app_locale_settings_ko.xtb.orig 2022-09-24 10:57:32 UTC +--- src/3rdparty/chromium/ui/strings/translations/app_locale_settings_ko.xtb.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/strings/translations/app_locale_settings_ko.xtb @@ -12,7 +12,7 @@ <if expr="is_ios"> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__ml.xtb b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__ml.xtb index 9fbf0f264e95..35a82988516a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__ml.xtb +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__ml.xtb @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/strings/translations/app_locale_settings_ml.xtb.orig 2022-09-24 10:57:32 UTC +--- src/3rdparty/chromium/ui/strings/translations/app_locale_settings_ml.xtb.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/strings/translations/app_locale_settings_ml.xtb @@ -9,7 +9,7 @@ <translation id="IDS_WEB_FONT_FAMILY">'Segoe UI',Arial,AnjaliOldLipi,Rachana,Kartika</translation> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__th.xtb b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__th.xtb index 4ce623f14532..2f06e7c8ad4f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__th.xtb +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__th.xtb @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/strings/translations/app_locale_settings_th.xtb.orig 2022-09-24 10:57:32 UTC +--- src/3rdparty/chromium/ui/strings/translations/app_locale_settings_th.xtb.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/strings/translations/app_locale_settings_th.xtb @@ -6,7 +6,7 @@ <translation id="IDS_WEB_FONT_FAMILY">Tahoma,sans-serif</translation> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__zh-CN.xtb b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__zh-CN.xtb index 02173dbb3aa4..8e6485eb0016 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__zh-CN.xtb +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__zh-CN.xtb @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/strings/translations/app_locale_settings_zh-CN.xtb.orig 2022-09-24 10:57:32 UTC +--- src/3rdparty/chromium/ui/strings/translations/app_locale_settings_zh-CN.xtb.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/strings/translations/app_locale_settings_zh-CN.xtb @@ -12,7 +12,7 @@ <if expr="is_ios"> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__zh-TW.xtb b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__zh-TW.xtb index de3480d2f9ab..2cbaff5679db 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__zh-TW.xtb +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_strings_translations_app__locale__settings__zh-TW.xtb @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/strings/translations/app_locale_settings_zh-TW.xtb.orig 2023-01-11 09:17:16 UTC +--- src/3rdparty/chromium/ui/strings/translations/app_locale_settings_zh-TW.xtb.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/strings/translations/app_locale_settings_zh-TW.xtb @@ -12,7 +12,7 @@ <if expr="is_ios"> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_controls_prefix__selector.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_controls_prefix__selector.cc index 1c466b503a5b..19262c910c26 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_controls_prefix__selector.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_controls_prefix__selector.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/views/controls/prefix_selector.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/views/controls/prefix_selector.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/controls/prefix_selector.cc -@@ -178,7 +178,7 @@ bool PrefixSelector::ShouldDoLearning() { +@@ -192,7 +192,7 @@ bool PrefixSelector::ShouldDoLearning() { return false; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_controls_prefix__selector.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_controls_prefix__selector.h index 33880046fb1d..30114c8762a9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_controls_prefix__selector.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_controls_prefix__selector.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/views/controls/prefix_selector.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/views/controls/prefix_selector.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/controls/prefix_selector.h -@@ -85,7 +85,7 @@ class VIEWS_EXPORT PrefixSelector : public ui::TextInp +@@ -91,7 +91,7 @@ class VIEWS_EXPORT PrefixSelector : public ui::TextInp ukm::SourceId GetClientSourceForMetrics() const override; bool ShouldDoLearning() override; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.cc index c83e97db5670..4fbd62219e68 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/views/controls/textfield/textfield.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/ui/views/controls/textfield/textfield.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/controls/textfield/textfield.cc @@ -85,7 +85,7 @@ #include "base/win/win_util.h" @@ -9,7 +9,7 @@ #include "ui/base/ime/linux/text_edit_command_auralinux.h" #include "ui/base/ime/text_input_flags.h" #include "ui/linux/linux_ui.h" -@@ -183,7 +183,7 @@ bool IsControlKeyModifier(int flags) { +@@ -182,7 +182,7 @@ bool IsControlKeyModifier(int flags) { // Control-modified key combination, but we cannot extend it to other platforms // as Control has different meanings and behaviors. // https://crrev.com/2580483002/#msg46 @@ -18,16 +18,16 @@ return flags & ui::EF_CONTROL_DOWN; #else return false; -@@ -761,7 +761,7 @@ bool Textfield::OnKeyPressed(const ui::KeyEvent& event - if (!textfield) +@@ -789,7 +789,7 @@ bool Textfield::OnKeyPressed(const ui::KeyEvent& event return handled; + } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) auto* linux_ui = ui::LinuxUi::instance(); std::vector<ui::TextEditCommandAuraLinux> commands; if (!handled && linux_ui && -@@ -944,7 +944,7 @@ void Textfield::AboutToRequestFocusFromTabTraversal(bo +@@ -974,7 +974,7 @@ bool Textfield::SkipDefaultKeyEventProcessing(const ui } bool Textfield::SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) { @@ -36,7 +36,7 @@ // Skip any accelerator handling that conflicts with custom keybindings. auto* linux_ui = ui::LinuxUi::instance(); std::vector<ui::TextEditCommandAuraLinux> commands; -@@ -1994,7 +1994,7 @@ bool Textfield::ShouldDoLearning() { +@@ -2065,7 +2065,7 @@ bool Textfield::ShouldDoLearning() { return false; } @@ -45,20 +45,21 @@ // TODO(crbug.com/41452689): Implement this method to support Korean IME // reconversion feature on native text fields (e.g. find bar). bool Textfield::SetCompositionFromExistingText( -@@ -2500,14 +2500,14 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent( +@@ -2583,7 +2583,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent( #endif return ui::TextEditCommand::DELETE_BACKWARD; } -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Only erase by line break on Linux and ChromeOS. - if (shift) + if (shift) { return ui::TextEditCommand::DELETE_TO_BEGINNING_OF_LINE; +@@ -2591,7 +2591,7 @@ ui::TextEditCommand Textfield::GetCommandForKeyEvent( #endif return ui::TextEditCommand::DELETE_WORD_BACKWARD; case ui::VKEY_DELETE: -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) // Only erase by line break on Linux and ChromeOS. - if (shift && control) + if (shift && control) { return ui::TextEditCommand::DELETE_TO_END_OF_LINE; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.h index 652aebc9ba44..e83f5bd4b5f7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_controls_textfield_textfield.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/views/controls/textfield/textfield.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/views/controls/textfield/textfield.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/controls/textfield/textfield.h @@ -47,7 +47,7 @@ #include "ui/views/view_observer.h" @@ -9,7 +9,7 @@ #include <vector> #endif -@@ -463,7 +463,7 @@ class VIEWS_EXPORT Textfield : public View, +@@ -474,7 +474,7 @@ class VIEWS_EXPORT Textfield : public View, // Set whether the text should be used to improve typing suggestions. void SetShouldDoLearning(bool value) { should_do_learning_ = value; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_corewm_tooltip__aura.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_corewm_tooltip__aura.cc index 18f93c58add1..41b822021261 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_corewm_tooltip__aura.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_corewm_tooltip__aura.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/ui/views/corewm/tooltip_aura.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/ui/views/corewm/tooltip_aura.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/corewm/tooltip_aura.cc -@@ -37,7 +37,7 @@ namespace { +@@ -38,7 +38,7 @@ bool CanUseTranslucentTooltipWidget() { + + // TODO(varkha): Update if native widget can be transparent on Linux. bool CanUseTranslucentTooltipWidget() { - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || BUILDFLAG(IS_WIN) -+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) return false; #else return true; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_examples_widget__example.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_examples_widget__example.cc index 1d47086b6d75..504e4d7f4bad 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_examples_widget__example.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_examples_widget__example.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/views/examples/widget_example.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/views/examples/widget_example.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/examples/widget_example.cc @@ -50,7 +50,7 @@ void WidgetExample::CreateExampleView(View* container) modal_button->SetCallback( diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_focus_focus__manager.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_focus_focus__manager.cc index a1eae222d44e..387b68cade0c 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_focus_focus__manager.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_focus_focus__manager.cc @@ -1,20 +1,20 @@ ---- src/3rdparty/chromium/ui/views/focus/focus_manager.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/ui/views/focus/focus_manager.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/focus/focus_manager.cc -@@ -585,7 +585,7 @@ bool FocusManager::RedirectAcceleratorToBubbleAnchorWi +@@ -604,7 +604,7 @@ bool FocusManager::RedirectAcceleratorToBubbleAnchorWi + return false; + } - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Processing an accelerator can delete things. Because we // need these objects afterwards on Linux, save widget_ as weak pointer and // save the close_on_deactivate property value of widget_delegate in a -@@ -602,7 +602,7 @@ bool FocusManager::RedirectAcceleratorToBubbleAnchorWi +@@ -619,7 +619,7 @@ bool FocusManager::RedirectAcceleratorToBubbleAnchorWi + const bool accelerator_processed = + focus_manager->ProcessAccelerator(accelerator); - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) // Need to manually close the bubble widget on Linux. On Linux when the // bubble is shown, the main widget remains active. Because of that when // focus is set to the main widget to process accelerator, the main widget diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_style_platform__style.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_style_platform__style.cc index fc70e97ab9cd..0d50d5059d96 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_style_platform__style.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_style_platform__style.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/views/style/platform_style.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/ui/views/style/platform_style.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/style/platform_style.cc -@@ -17,7 +17,7 @@ +@@ -16,7 +16,7 @@ #include "ui/views/controls/focusable_border.h" #include "ui/views/controls/scrollbar/scroll_bar_views.h" @@ -9,16 +9,7 @@ #include "ui/views/controls/scrollbar/overlay_scroll_bar.h" #endif -@@ -50,7 +50,7 @@ const View::FocusBehavior PlatformStyle::kDefaultFocus - // Linux clips bubble windows that extend outside their parent window - // bounds. - const bool PlatformStyle::kAdjustBubbleIfOffscreen = --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - false; - #else - true; -@@ -59,7 +59,7 @@ const bool PlatformStyle::kAdjustBubbleIfOffscreen = +@@ -27,7 +27,7 @@ std::unique_ptr<ScrollBar> PlatformStyle::CreateScroll // static std::unique_ptr<ScrollBar> PlatformStyle::CreateScrollBar( ScrollBar::Orientation orientation) { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_test_ui__controls__factory__desktop__aura__ozone.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_test_ui__controls__factory__desktop__aura__ozone.cc index d3a96527382d..b179876bda26 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_test_ui__controls__factory__desktop__aura__ozone.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_test_ui__controls__factory__desktop__aura__ozone.cc @@ -1,8 +1,8 @@ ---- src/3rdparty/chromium/ui/views/test/ui_controls_factory_desktop_aura_ozone.cc.orig 2024-03-22 08:19:40 UTC +--- src/3rdparty/chromium/ui/views/test/ui_controls_factory_desktop_aura_ozone.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/test/ui_controls_factory_desktop_aura_ozone.cc -@@ -296,7 +296,7 @@ void UpdateDisplaySync(const std::string& display_spec +@@ -237,7 +237,7 @@ bool SendMouseClick(MouseButton type, gfx::NativeWindo + window_hint); } - #endif -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_views__delegate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_views__delegate.cc index 19409aa63270..396eb8a5fee5 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_views__delegate.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_views__delegate.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/views/views_delegate.cc.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/ui/views/views_delegate.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/views_delegate.cc -@@ -95,7 +95,7 @@ bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow +@@ -89,7 +89,7 @@ bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow return false; } #elif BUILDFLAG(ENABLE_DESKTOP_AURA) && \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_views__delegate.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_views__delegate.h index 726a5c51347a..8e2007b10333 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_views__delegate.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_views__delegate.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/views/views_delegate.h.orig 2024-02-23 21:04:38 UTC +--- src/3rdparty/chromium/ui/views/views_delegate.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/views_delegate.h -@@ -146,7 +146,7 @@ class VIEWS_EXPORT ViewsDelegate { +@@ -139,7 +139,7 @@ class VIEWS_EXPORT ViewsDelegate { // environment. virtual bool IsWindowInMetro(gfx::NativeWindow window) const; #elif BUILDFLAG(ENABLE_DESKTOP_AURA) && \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__drag__drop__client__ozone.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__drag__drop__client__ozone.cc index 01caf1c093c1..5b46091b56c6 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__drag__drop__client__ozone.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__drag__drop__client__ozone.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone.cc -@@ -206,7 +206,7 @@ DragOperation DesktopDragDropClientOzone::StartDragAnd +@@ -203,7 +203,7 @@ DragOperation DesktopDragDropClientOzone::StartDragAnd return selected_operation_; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__drag__drop__client__ozone.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__drag__drop__client__ozone.h index edd01820e958..7b2f1ec3ef3f 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__drag__drop__client__ozone.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__drag__drop__client__ozone.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone.h -@@ -66,7 +66,7 @@ class VIEWS_EXPORT DesktopDragDropClientOzone +@@ -67,7 +67,7 @@ class VIEWS_EXPORT DesktopDragDropClientOzone // The offset of |drag_widget_| relative to the mouse position. gfx::Vector2d offset; @@ -9,7 +9,7 @@ // The last received drag location. The drag widget is moved asynchronously // so its position is updated when the UI thread has time for that. When // the first change to the location happens, a call to UpdateDragWidget() -@@ -87,7 +87,7 @@ class VIEWS_EXPORT DesktopDragDropClientOzone +@@ -88,7 +88,7 @@ class VIEWS_EXPORT DesktopDragDropClientOzone const gfx::Point& root_location, int allowed_operations, ui::mojom::DragEventSource source) override; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc index bd7bd41c7569..cbb9e3657661 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__window__tree__host__platform.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc -@@ -48,7 +48,7 @@ +@@ -50,7 +50,7 @@ #include "ui/wm/core/window_util.h" #include "ui/wm/public/window_move_client.h" @@ -9,7 +9,7 @@ #include "ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone_linux.h" #endif -@@ -358,7 +358,7 @@ std::unique_ptr<aura::client::DragDropClient> +@@ -347,7 +347,7 @@ DesktopWindowTreeHostPlatform::CreateDragDropClient() DesktopWindowTreeHostPlatform::CreateDragDropClient() { ui::WmDragHandler* drag_handler = ui::GetWmDragHandler(*(platform_window())); std::unique_ptr<DesktopDragDropClientOzone> drag_drop_client = @@ -18,7 +18,7 @@ std::make_unique<DesktopDragDropClientOzoneLinux>(window(), drag_handler); #else std::make_unique<DesktopDragDropClientOzone>(window(), drag_handler); -@@ -1175,7 +1175,7 @@ bool DesktopWindowTreeHostPlatform::RotateFocusForWidg +@@ -1174,7 +1174,7 @@ bool DesktopWindowTreeHostPlatform::RotateFocusForWidg // DesktopWindowTreeHost: // Linux subclasses this host and adds some Linux specific bits. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__window__tree__host__platform__impl__interactive__uitest.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__window__tree__host__platform__impl__interactive__uitest.cc deleted file mode 100644 index e6333332d807..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_desktop__aura_desktop__window__tree__host__platform__impl__interactive__uitest.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_platform_impl_interactive_uitest.cc.orig 2024-04-19 13:02:56 UTC -+++ src/3rdparty/chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_platform_impl_interactive_uitest.cc -@@ -23,7 +23,7 @@ - #include "ui/views/widget/widget_delegate.h" - #include "ui/views/window/native_frame_view.h" - --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - #include "ui/views/widget/desktop_aura/desktop_window_tree_host_linux.h" - #include "ui/views/widget/desktop_aura/window_event_filter_linux.h" - using DesktopWindowTreeHostPlatformImpl = views::DesktopWindowTreeHostLinux; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_root__view.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_root__view.cc index a50d11463dee..d934f6dc9819 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_root__view.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_root__view.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/views/widget/root_view.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/ui/views/widget/root_view.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/widget/root_view.cc -@@ -109,7 +109,7 @@ class AnnounceTextView : public View { +@@ -169,7 +169,7 @@ class AnnounceTextView : public View { #if BUILDFLAG(IS_CHROMEOS) // On ChromeOS, kAlert role can invoke an unnecessary event on reparenting. GetViewAccessibility().SetRole(ax::mojom::Role::kStaticText); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_widget.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_widget.cc index b0b927dfe229..b7f95a11af18 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_widget.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_widget_widget.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/views/widget/widget.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/ui/views/widget/widget.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/widget/widget.cc -@@ -58,7 +58,7 @@ +@@ -63,7 +63,7 @@ #include "ui/views/window/custom_frame_view.h" #include "ui/views/window/dialog_delegate.h" @@ -9,12 +9,12 @@ #include "ui/linux/linux_ui.h" #endif -@@ -2203,7 +2203,7 @@ const ui::NativeTheme* Widget::GetNativeTheme() const - if (parent_) +@@ -2444,7 +2444,7 @@ const ui::NativeTheme* Widget::GetNativeTheme() const return parent_->GetNativeTheme(); + } -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - if (auto* linux_ui_theme = ui::LinuxUiTheme::GetForWindow(GetNativeWindow())) + if (auto* linux_ui_theme = + ui::LinuxUiTheme::GetForWindow(GetNativeWindow())) { return linux_ui_theme->GetNativeTheme(); - #endif diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_window_custom__frame__view.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_window_custom__frame__view.cc index 3597d8cd90d0..0aea38792ef7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_window_custom__frame__view.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_window_custom__frame__view.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/ui/views/window/custom_frame_view.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/ui/views/window/custom_frame_view.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/window/custom_frame_view.cc -@@ -268,7 +268,7 @@ int CustomFrameView::CaptionButtonY() const { +@@ -279,7 +279,7 @@ int CustomFrameView::CaptionButtonY() const { + int CustomFrameView::CaptionButtonY() const { + // Maximized buttons start at window top so that even if their images aren't // drawn flush with the screen edge, they still obey Fitts' Law. - // TODO(crbug.com/40118868): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) return FrameBorderThickness(); #else return frame_->IsMaximized() ? FrameBorderThickness() : kFrameShadowThickness; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_window_dialog__delegate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_window_dialog__delegate.cc index 18d6b7a75476..d4951cb7b77d 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_window_dialog__delegate.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_window_dialog__delegate.cc @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/ui/views/window/dialog_delegate.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/ui/views/window/dialog_delegate.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/window/dialog_delegate.cc -@@ -105,7 +105,7 @@ Widget* DialogDelegate::CreateDialogWidget( +@@ -105,7 +105,7 @@ bool DialogDelegate::CanSupportCustomFrame(gfx::Native // static bool DialogDelegate::CanSupportCustomFrame(gfx::NativeView parent) { --#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \ -+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)) && \ - BUILDFLAG(ENABLE_DESKTOP_AURA) +-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(ENABLE_DESKTOP_AURA) ++#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(ENABLE_DESKTOP_AURA) // The new style doesn't support unparented dialogs on Linux desktop. return parent != nullptr; + #else diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_window_frame__background.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_window_frame__background.cc index b34d95a6105f..be21599f0bcd 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_window_frame__background.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_views_window_frame__background.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/views/window/frame_background.cc.orig 2023-10-11 18:22:24 UTC +--- src/3rdparty/chromium/ui/views/window/frame_background.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/ui/views/window/frame_background.cc @@ -110,7 +110,7 @@ void FrameBackground::PaintMaximized(gfx::Canvas* canv int width) const { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_BUILD.gn b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_BUILD.gn index 429accee11d7..ab331308c2d9 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_BUILD.gn +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_BUILD.gn @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/v8/BUILD.gn.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/v8/BUILD.gn.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/BUILD.gn -@@ -908,6 +908,8 @@ external_v8_defines = [ +@@ -961,6 +961,8 @@ external_v8_defines = [ "V8_TARGET_OS_MACOS", "V8_TARGET_OS_WIN", "V8_TARGET_OS_CHROMEOS", @@ -9,7 +9,7 @@ ] enabled_external_v8_defines = [ -@@ -984,6 +986,12 @@ if (target_os == "android") { +@@ -1040,6 +1042,12 @@ if (target_os == "android") { } else if (target_os == "chromeos") { enabled_external_v8_defines += [ "V8_HAVE_TARGET_OS" ] enabled_external_v8_defines += [ "V8_TARGET_OS_CHROMEOS" ] @@ -22,7 +22,7 @@ } disabled_external_v8_defines = external_v8_defines - enabled_external_v8_defines -@@ -2538,6 +2546,12 @@ template("run_mksnapshot") { +@@ -2479,6 +2487,12 @@ template("run_mksnapshot") { if (!v8_enable_builtins_profiling && v8_enable_builtins_reordering) { args += [ "--reorder-builtins" ] } @@ -35,7 +35,7 @@ } if (v8_enable_turboshaft_csa) { -@@ -6704,7 +6718,7 @@ v8_component("v8_libbase") { +@@ -6638,7 +6652,7 @@ v8_component("v8_libbase") { } } @@ -44,7 +44,7 @@ sources += [ "src/base/debug/stack_trace_posix.cc", "src/base/platform/platform-linux.cc", -@@ -6715,6 +6729,18 @@ v8_component("v8_libbase") { +@@ -6649,6 +6663,18 @@ v8_component("v8_libbase") { "dl", "rt", ] diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_include_v8-internal.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_include_v8-internal.h index 2ea51316a66e..968cd1c8c6e1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_include_v8-internal.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_include_v8-internal.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/v8/include/v8-internal.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/v8/include/v8-internal.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/include/v8-internal.h -@@ -229,7 +229,7 @@ using SandboxedPointer_t = Address; +@@ -232,7 +232,7 @@ using SandboxedPointer_t = Address; #ifdef V8_ENABLE_SANDBOX // Size of the sandbox, excluding the guard regions surrounding it. diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_include_v8config.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_include_v8config.h index 65311acf12ce..01193604514e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_include_v8config.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_include_v8config.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/v8/include/v8config.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/v8/include/v8config.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/include/v8config.h @@ -201,6 +201,8 @@ path. Add it with -I<path> to the command line && !defined(V8_TARGET_OS_FUCHSIA) \ @@ -35,13 +35,11 @@ #ifdef V8_OS_MACOS # define V8_TARGET_OS_MACOS #endif -@@ -381,7 +395,8 @@ path. Add it with -I<path> to the command line - // preserve_most in clang >= 17 (see https://reviews.llvm.org/D143425). +@@ -382,6 +396,7 @@ path. Add it with -I<path> to the command line #if (defined(_M_X64) || defined(__x86_64__) /* x64 (everywhere) */ \ || ((defined(__AARCH64EL__) || defined(_M_ARM64)) /* arm64, but ... */ \ -- && !defined(_WIN32))) /* not on windows */ \ -+ && !defined(_WIN32) /* not on windows */ \ -+ && !defined(__OpenBSD__))) /* not on OpenBSD */ \ + && !defined(_WIN32))) /* not on windows */ \ ++ && !defined(__OpenBSD__) /* not on OpenBSD */ \ && !defined(COMPONENT_BUILD) /* no component build */\ && __clang_major__ >= 17 /* clang >= 17 */ # define V8_HAS_ATTRIBUTE_PRESERVE_MOST (__has_attribute(preserve_most)) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_api_api.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_api_api.cc index 3e3ca5fb8378..e0eff42641ec 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_api_api.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_api_api.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/v8/src/api/api.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/v8/src/api/api.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/api/api.cc -@@ -149,7 +149,7 @@ +@@ -153,7 +153,7 @@ #include "src/wasm/wasm-serialization.h" #endif // V8_ENABLE_WEBASSEMBLY @@ -9,7 +9,7 @@ #include <signal.h> #include <unistd.h> -@@ -6525,7 +6525,7 @@ bool v8::V8::Initialize(const int build_config) { +@@ -6614,7 +6614,7 @@ bool v8::V8::Initialize(const int build_config) { return true; } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_atomicops.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_atomicops.h index 51d11ee69264..f8a2348884b0 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_atomicops.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_atomicops.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/v8/src/base/atomicops.h.orig 2023-09-13 12:11:42 UTC +--- src/3rdparty/chromium/v8/src/base/atomicops.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/base/atomicops.h -@@ -57,10 +57,10 @@ using Atomic64 = SbAtomic64; +@@ -57,10 +57,10 @@ using Atomic32 = int32_t; using Atomic8 = char; using Atomic16 = int16_t; using Atomic32 = int32_t; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_platform_memory.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_platform_memory.h index b8cf280c2187..8ebe57537133 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_platform_memory.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_platform_memory.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/v8/src/base/platform/memory.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/v8/src/base/platform/memory.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/base/platform/memory.h @@ -21,13 +21,13 @@ #include <malloc/malloc.h> diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_platform_platform-openbsd.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_platform_platform-openbsd.cc index 56468ef16124..bd46bced5115 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_platform_platform-openbsd.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_platform_platform-openbsd.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/v8/src/base/platform/platform-openbsd.cc.orig 2024-07-30 11:12:21 UTC +--- src/3rdparty/chromium/v8/src/base/platform/platform-openbsd.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/base/platform/platform-openbsd.cc @@ -6,6 +6,7 @@ // POSIX-compatible parts, the implementation is in platform-posix.cc. @@ -8,7 +8,7 @@ #include <semaphore.h> #include <signal.h> #include <stdlib.h> -@@ -121,6 +122,17 @@ void OS::SignalCodeMovingGC() { +@@ -121,6 +122,17 @@ void OS::AdjustSchedulingParams() {} } void OS::AdjustSchedulingParams() {} diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_platform_platform-posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_platform_platform-posix.cc index ee23148ec530..357a9c42f9c4 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_platform_platform-posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_platform_platform-posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/v8/src/base/platform/platform-posix.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/v8/src/base/platform/platform-posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/base/platform/platform-posix.cc @@ -75,7 +75,7 @@ #include <sys/syscall.h> @@ -25,7 +25,7 @@ uintptr_t raw_addr; { MutexGuard guard(rng_mutex.Pointer()); -@@ -416,6 +423,7 @@ void* OS::GetRandomMmapAddr() { +@@ -412,6 +419,7 @@ void* OS::GetRandomMmapAddr() { #endif return reinterpret_cast<void*>(raw_addr); } @@ -33,7 +33,7 @@ // TODO(bbudge) Move Cygwin and Fuchsia stuff into platform-specific files. #if !V8_OS_CYGWIN && !V8_OS_FUCHSIA -@@ -704,7 +712,7 @@ void OS::DestroySharedMemoryHandle(PlatformSharedMemor +@@ -700,7 +708,7 @@ bool OS::HasLazyCommits() { #if !V8_OS_ZOS // static bool OS::HasLazyCommits() { @@ -42,7 +42,7 @@ return true; #else // TODO(bbudge) Return true for all POSIX platforms. -@@ -1350,7 +1358,7 @@ void Thread::SetThreadLocal(LocalStorageKey key, void* +@@ -1346,7 +1354,7 @@ void Thread::SetThreadLocal(LocalStorageKey key, void* // keep this version in POSIX as most Linux-compatible derivatives will // support it. MacOS and FreeBSD are different here. #if !defined(V8_OS_FREEBSD) && !defined(V8_OS_DARWIN) && !defined(_AIX) && \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_small-vector.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_small-vector.h deleted file mode 100644 index 1432a9e91c60..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_small-vector.h +++ /dev/null @@ -1,11 +0,0 @@ ---- src/3rdparty/chromium/v8/src/base/small-vector.h.orig 2022-10-25 08:25:05 UTC -+++ src/3rdparty/chromium/v8/src/base/small-vector.h -@@ -22,7 +22,7 @@ template <typename T, size_t kSize, typename Allocator - class SmallVector { - // Currently only support trivially copyable and trivially destructible data - // types, as it uses memcpy to copy elements and never calls destructors. -- ASSERT_TRIVIALLY_COPYABLE(T); -+ // XXX FREEBSD ASSERT_TRIVIALLY_COPYABLE(T); - static_assert(std::is_trivially_destructible<T>::value); - - public: diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_sys-info.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_sys-info.cc index 18d5e64ff0d7..fcdcb424baa7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_sys-info.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_base_sys-info.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/v8/src/base/sys-info.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/v8/src/base/sys-info.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/base/sys-info.cc -@@ -36,7 +36,7 @@ namespace base { +@@ -36,7 +36,7 @@ int SysInfo::NumberOfProcessors() { // static int SysInfo::NumberOfProcessors() { #if V8_OS_OPENBSD diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_builtins_x64_builtins-x64.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_builtins_x64_builtins-x64.cc deleted file mode 100644 index b27b6c0558d8..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_builtins_x64_builtins-x64.cc +++ /dev/null @@ -1,14 +0,0 @@ ---- src/3rdparty/chromium/v8/src/builtins/x64/builtins-x64.cc.orig 2024-10-22 08:31:56 UTC -+++ src/3rdparty/chromium/v8/src/builtins/x64/builtins-x64.cc -@@ -2838,7 +2838,11 @@ void Generate_OSREntry(MacroAssembler* masm, Register - // Drop the return address on the stack and jump to the OSR entry - // point of the function. - __ Drop(1); -+#ifdef V8_ENABLE_CET_IBT -+ __ jmp(entry_address, /*notrack=*/true); -+#else - __ jmp(entry_address); -+#endif - } - - enum class OsrSourceTier { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_diagnostics_perf-jit.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_diagnostics_perf-jit.cc index fbe7e994da93..9db4f77b58c7 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_diagnostics_perf-jit.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_diagnostics_perf-jit.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/v8/src/diagnostics/perf-jit.cc.orig 2023-10-11 18:22:24 UTC +--- src/3rdparty/chromium/v8/src/diagnostics/perf-jit.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/diagnostics/perf-jit.cc @@ -31,7 +31,7 @@ #include "src/flags/flags.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_diagnostics_perf-jit.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_diagnostics_perf-jit.h index 7a8cbe25963e..db0212acafa1 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_diagnostics_perf-jit.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_diagnostics_perf-jit.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/v8/src/diagnostics/perf-jit.h.orig 2022-06-17 14:20:10 UTC +--- src/3rdparty/chromium/v8/src/diagnostics/perf-jit.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/diagnostics/perf-jit.h @@ -31,7 +31,7 @@ #include "include/v8config.h" diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_execution_isolate.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_execution_isolate.cc index d685d66c2d07..650e72009263 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_execution_isolate.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_execution_isolate.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/v8/src/execution/isolate.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/v8/src/execution/isolate.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/execution/isolate.cc -@@ -168,6 +168,10 @@ +@@ -172,6 +172,10 @@ #include "src/execution/simulator-base.h" #endif @@ -11,7 +11,7 @@ extern "C" const uint8_t v8_Default_embedded_blob_code_[]; extern "C" uint32_t v8_Default_embedded_blob_code_size_; extern "C" const uint8_t v8_Default_embedded_blob_data_[]; -@@ -4973,6 +4977,13 @@ void Isolate::InitializeDefaultEmbeddedBlob() { +@@ -5048,6 +5052,13 @@ void Isolate::InitializeDefaultEmbeddedBlob() { uint32_t code_size = DefaultEmbeddedBlobCodeSize(); const uint8_t* data = DefaultEmbeddedBlobData(); uint32_t data_size = DefaultEmbeddedBlobDataSize(); @@ -24,4 +24,4 @@ +#endif if (StickyEmbeddedBlobCode() != nullptr) { - base::MutexGuard guard(current_embedded_blob_refcount_mutex_.Pointer()); + base::SpinningMutexGuard guard( diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_flags_flags.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_flags_flags.cc index 9bf8f2cfd29d..83f527a27629 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_flags_flags.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_flags_flags.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/v8/src/flags/flags.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/v8/src/flags/flags.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/flags/flags.cc @@ -16,6 +16,10 @@ #include <set> @@ -8,10 +8,10 @@ +#include <sys/mman.h> +#endif + - #include "src/base/functional.h" + #include "src/base/hashing.h" #include "src/base/lazy-instance.h" #include "src/base/platform/platform.h" -@@ -807,6 +811,10 @@ void FlagList::FreezeFlags() { +@@ -823,6 +827,10 @@ void FlagList::FreezeFlags() { // Note that for string flags we only protect the pointer itself, but not the // string storage. TODO(12887): Fix this. base::OS::SetDataReadOnly(&v8_flags, sizeof(v8_flags)); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_libsampler_sampler.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_libsampler_sampler.cc new file mode 100644 index 000000000000..947c5dcdbe2e --- /dev/null +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_libsampler_sampler.cc @@ -0,0 +1,19 @@ +--- src/3rdparty/chromium/v8/src/libsampler/sampler.cc.orig 2025-08-15 18:30:00 UTC ++++ src/3rdparty/chromium/v8/src/libsampler/sampler.cc +@@ -519,6 +519,16 @@ void SignalHandler::FillRegisterState(void* context, R + state->pc = reinterpret_cast<void*>(mcontext.__gregs[_REG_PC]); + state->sp = reinterpret_cast<void*>(mcontext.__gregs[_REG_SP]); + state->fp = reinterpret_cast<void*>(mcontext.__gregs[_REG_FP]); ++#elif V8_HOST_ARCH_ARM64 ++#ifdef __CHERI_PURE_CAPABILITY__ ++ state->pc = reinterpret_cast<void*>(mcontext.mc_capregs.cap_elr); ++ state->sp = reinterpret_cast<void*>(mcontext.mc_capregs.cap_sp); ++ state->fp = reinterpret_cast<void*>(mcontext.mc_capregs.cap_x[29]); ++#else // !__CHERI_PURE_CAPABILITY__ ++ state->pc = reinterpret_cast<void*>(mcontext.mc_gpregs.gp_elr); ++ state->sp = reinterpret_cast<void*>(mcontext.mc_gpregs.gp_sp); ++ state->fp = reinterpret_cast<void*>(mcontext.mc_gpregs.gp_x[29]); ++#endif // __CHERI_PURE_CAPABILITY__ + #endif // V8_HOST_ARCH_* + #elif V8_OS_NETBSD + #if V8_HOST_ARCH_IA32 diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_sandbox_sandbox.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_sandbox_sandbox.cc index 0e6057d07456..adf546e146ad 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_sandbox_sandbox.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_sandbox_sandbox.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/v8/src/sandbox/sandbox.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/v8/src/sandbox/sandbox.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/sandbox/sandbox.cc -@@ -48,7 +48,7 @@ static Address DetermineAddressSpaceLimit() { +@@ -59,7 +59,7 @@ static Address DetermineAddressSpaceLimit() { } #endif // V8_TARGET_ARCH_X64 diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.cc index 8a0c68411a3c..4bc3ea65268e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-base.cc.orig 2024-08-26 12:06:38 UTC +--- src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-base.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-base.cc @@ -148,6 +148,8 @@ EmbeddedTargetOs ToEmbeddedTargetOs(const char* s) { return EmbeddedTargetOs::kStarboard; diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.h index 16e4ce1934a4..720f6b4ecb65 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-base.h @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-base.h.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-base.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-base.h @@ -36,6 +36,7 @@ enum class EmbeddedTargetOs { kWin, diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-generic.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-generic.cc index 8f34904e9bbe..7291a731ee38 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-generic.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_snapshot_embedded_platform-embedded-file-writer-generic.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-generic.cc.orig 2023-08-17 07:33:31 UTC +--- src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-generic.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-generic.cc @@ -9,6 +9,10 @@ @@ -11,7 +11,7 @@ namespace v8 { namespace internal { -@@ -35,6 +39,10 @@ const char* DirectiveAsString(DataDirective directive) +@@ -35,6 +39,10 @@ void PlatformEmbeddedFileWriterGeneric::SectionText() void PlatformEmbeddedFileWriterGeneric::SectionText() { if (target_os_ == EmbeddedTargetOs::kChromeOS) { fprintf(fp_, ".section .text.hot.embedded\n"); diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_trap-handler_handler-inside-posix.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_trap-handler_handler-inside-posix.cc index 0a85b42f22e3..751c1216b888 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_trap-handler_handler-inside-posix.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_trap-handler_handler-inside-posix.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/v8/src/trap-handler/handler-inside-posix.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/v8/src/trap-handler/handler-inside-posix.cc.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/trap-handler/handler-inside-posix.cc @@ -61,6 +61,8 @@ namespace trap_handler { #define CONTEXT_REG(reg, REG) &uc->uc_mcontext->__ss.__##reg diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_trap-handler_handler-inside-posix.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_trap-handler_handler-inside-posix.h index 07e418789dbc..4fb12e7efc40 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_trap-handler_handler-inside-posix.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_trap-handler_handler-inside-posix.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/v8/src/trap-handler/handler-inside-posix.h.orig 2022-04-21 18:48:31 UTC +--- src/3rdparty/chromium/v8/src/trap-handler/handler-inside-posix.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/trap-handler/handler-inside-posix.h -@@ -13,7 +13,7 @@ namespace v8 { +@@ -13,7 +13,7 @@ namespace trap_handler { namespace internal { namespace trap_handler { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_trap-handler_trap-handler.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_trap-handler_trap-handler.h index b22dfb97260a..4752728a441a 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_trap-handler_trap-handler.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_trap-handler_trap-handler.h @@ -1,11 +1,11 @@ ---- src/3rdparty/chromium/v8/src/trap-handler/trap-handler.h.orig 2023-05-31 08:12:17 UTC +--- src/3rdparty/chromium/v8/src/trap-handler/trap-handler.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/trap-handler/trap-handler.h -@@ -20,7 +20,7 @@ namespace trap_handler { +@@ -18,7 +18,7 @@ namespace v8::internal::trap_handler { // X64 on Linux, Windows, MacOS, FreeBSD. #if V8_HOST_ARCH_X64 && V8_TARGET_ARCH_X64 && \ ((V8_OS_LINUX && !V8_OS_ANDROID) || V8_OS_WIN || V8_OS_DARWIN || \ - V8_OS_FREEBSD) + V8_OS_FREEBSD || V8_OS_OPENBSD) #define V8_TRAP_HANDLER_SUPPORTED true - // Arm64 (non-simulator) on Mac and Linux. + // Arm64 (non-simulator) on Linux, Windows, MacOS. #elif V8_TARGET_ARCH_ARM64 && V8_HOST_ARCH_ARM64 && \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_wasm_baseline_ia32_liftoff-assembler-ia32-inl.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_wasm_baseline_ia32_liftoff-assembler-ia32-inl.h index 91213efa1ce1..a421587a7ba2 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_wasm_baseline_ia32_liftoff-assembler-ia32-inl.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_wasm_baseline_ia32_liftoff-assembler-ia32-inl.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/v8/src/wasm/baseline/ia32/liftoff-assembler-ia32-inl.h.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/v8/src/wasm/baseline/ia32/liftoff-assembler-ia32-inl.h.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/src/wasm/baseline/ia32/liftoff-assembler-ia32-inl.h -@@ -512,7 +512,7 @@ void LiftoffAssembler::StoreTaggedPointer(Register dst +@@ -578,7 +578,7 @@ void LiftoffAssembler::Load(LiftoffRegister dst, Regis } void LiftoffAssembler::Load(LiftoffRegister dst, Register src_addr, @@ -9,7 +9,7 @@ LoadType type, uint32_t* protected_load_pc, bool /* is_load_mem */, bool /* i64_offset */, bool needs_shift) { -@@ -592,7 +592,7 @@ void LiftoffAssembler::Load(LiftoffRegister dst, Regis +@@ -658,7 +658,7 @@ void LiftoffAssembler::Store(Register dst_addr, Regist } void LiftoffAssembler::Store(Register dst_addr, Register offset_reg, @@ -18,7 +18,7 @@ StoreType type, LiftoffRegList pinned, uint32_t* protected_store_pc, bool /* is_store_mem */, bool /* i64_offset */) { -@@ -671,7 +671,7 @@ void LiftoffAssembler::Store(Register dst_addr, Regist +@@ -737,7 +737,7 @@ void LiftoffAssembler::AtomicLoad(LiftoffRegister dst, } void LiftoffAssembler::AtomicLoad(LiftoffRegister dst, Register src_addr, @@ -27,7 +27,7 @@ LoadType type, LiftoffRegList /* pinned */, bool /* i64_offset */) { if (type.value() != LoadType::kI64Load) { -@@ -689,7 +689,7 @@ void LiftoffAssembler::AtomicLoad(LiftoffRegister dst, +@@ -755,7 +755,7 @@ void LiftoffAssembler::AtomicStore(Register dst_addr, } void LiftoffAssembler::AtomicStore(Register dst_addr, Register offset_reg, @@ -36,7 +36,7 @@ StoreType type, LiftoffRegList pinned, bool /* i64_offset */) { DCHECK_LE(offset_imm, std::numeric_limits<int32_t>::max()); -@@ -759,7 +759,7 @@ enum Binop { kAdd, kSub, kAnd, kOr, kXor, kExchange }; +@@ -825,7 +825,7 @@ inline void AtomicAddOrSubOrExchange32(LiftoffAssemble inline void AtomicAddOrSubOrExchange32(LiftoffAssembler* lasm, Binop binop, Register dst_addr, Register offset_reg, @@ -45,7 +45,7 @@ LiftoffRegister value, LiftoffRegister result, StoreType type) { DCHECK_EQ(value, result); -@@ -827,7 +827,7 @@ inline void AtomicAddOrSubOrExchange32(LiftoffAssemble +@@ -893,7 +893,7 @@ inline void AtomicBinop32(LiftoffAssembler* lasm, Bino } inline void AtomicBinop32(LiftoffAssembler* lasm, Binop op, Register dst_addr, @@ -54,7 +54,7 @@ LiftoffRegister value, LiftoffRegister result, StoreType type) { DCHECK_EQ(value, result); -@@ -942,7 +942,7 @@ inline void AtomicBinop32(LiftoffAssembler* lasm, Bino +@@ -1008,7 +1008,7 @@ inline void AtomicBinop64(LiftoffAssembler* lasm, Bino } inline void AtomicBinop64(LiftoffAssembler* lasm, Binop op, Register dst_addr, @@ -63,7 +63,7 @@ LiftoffRegister value, LiftoffRegister result) { // We need {ebx} here, which is the root register. As the root register it // needs special treatment. As we use {ebx} directly in the code below, we -@@ -1038,7 +1038,7 @@ inline void AtomicBinop64(LiftoffAssembler* lasm, Bino +@@ -1104,7 +1104,7 @@ void LiftoffAssembler::AtomicAdd(Register dst_addr, Re } // namespace liftoff void LiftoffAssembler::AtomicAdd(Register dst_addr, Register offset_reg, @@ -72,7 +72,7 @@ LiftoffRegister result, StoreType type, bool /* i64_offset */) { if (type.value() == StoreType::kI64Store) { -@@ -1052,7 +1052,7 @@ void LiftoffAssembler::AtomicAdd(Register dst_addr, Re +@@ -1118,7 +1118,7 @@ void LiftoffAssembler::AtomicSub(Register dst_addr, Re } void LiftoffAssembler::AtomicSub(Register dst_addr, Register offset_reg, @@ -81,7 +81,7 @@ LiftoffRegister result, StoreType type, bool /* i64_offset */) { if (type.value() == StoreType::kI64Store) { -@@ -1065,7 +1065,7 @@ void LiftoffAssembler::AtomicSub(Register dst_addr, Re +@@ -1131,7 +1131,7 @@ void LiftoffAssembler::AtomicAnd(Register dst_addr, Re } void LiftoffAssembler::AtomicAnd(Register dst_addr, Register offset_reg, @@ -90,7 +90,7 @@ LiftoffRegister result, StoreType type, bool /* i64_offset */) { if (type.value() == StoreType::kI64Store) { -@@ -1079,7 +1079,7 @@ void LiftoffAssembler::AtomicAnd(Register dst_addr, Re +@@ -1145,7 +1145,7 @@ void LiftoffAssembler::AtomicOr(Register dst_addr, Reg } void LiftoffAssembler::AtomicOr(Register dst_addr, Register offset_reg, @@ -99,7 +99,7 @@ LiftoffRegister result, StoreType type, bool /* i64_offset */) { if (type.value() == StoreType::kI64Store) { -@@ -1093,7 +1093,7 @@ void LiftoffAssembler::AtomicOr(Register dst_addr, Reg +@@ -1159,7 +1159,7 @@ void LiftoffAssembler::AtomicXor(Register dst_addr, Re } void LiftoffAssembler::AtomicXor(Register dst_addr, Register offset_reg, @@ -108,7 +108,7 @@ LiftoffRegister result, StoreType type, bool /* i64_offset */) { if (type.value() == StoreType::kI64Store) { -@@ -1107,7 +1107,7 @@ void LiftoffAssembler::AtomicXor(Register dst_addr, Re +@@ -1173,7 +1173,7 @@ void LiftoffAssembler::AtomicExchange(Register dst_add } void LiftoffAssembler::AtomicExchange(Register dst_addr, Register offset_reg, @@ -117,7 +117,7 @@ LiftoffRegister value, LiftoffRegister result, StoreType type, bool /* i64_offset */) { -@@ -1122,7 +1122,7 @@ void LiftoffAssembler::AtomicExchange(Register dst_add +@@ -1188,7 +1188,7 @@ void LiftoffAssembler::AtomicCompareExchange( } void LiftoffAssembler::AtomicCompareExchange( diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_tools_run.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_tools_run.py index cab7172bb798..5954551e5742 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_tools_run.py +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_tools_run.py @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/v8/tools/run.py.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/v8/tools/run.py.orig 2025-08-15 18:30:00 UTC +++ src/3rdparty/chromium/v8/tools/run.py @@ -21,7 +21,7 @@ if cmd and cmd[0] == '--redirect-stdout': kwargs = dict(stdout=subprocess.PIPE) diff --git a/www/qt6-webengine/files/patch-src_core_CMakeLists.txt b/www/qt6-webengine/files/patch-src_core_CMakeLists.txt index f04b00dfc8d5..cd49e1e8407d 100644 --- a/www/qt6-webengine/files/patch-src_core_CMakeLists.txt +++ b/www/qt6-webengine/files/patch-src_core_CMakeLists.txt @@ -1,4 +1,4 @@ ---- src/core/CMakeLists.txt.orig 2025-08-18 00:53:11 UTC +--- src/core/CMakeLists.txt.orig 2025-08-15 18:30:00 UTC +++ src/core/CMakeLists.txt @@ -21,7 +21,7 @@ add_subdirectory(tools/qwebengine_convert_dict) # TOOLCHAIN SETUP @@ -9,16 +9,16 @@ setup_toolchains() endif() -@@ -205,7 +205,7 @@ foreach(arch ${archs}) +@@ -212,7 +212,7 @@ foreach(arch ${archs}) accessibility_activation_observer.cpp accessibility_activation_observer.h ) - extend_gn_target(${buildGn} CONDITION LINUX + extend_gn_target(${buildGn} CONDITION LINUX OR FREEBSD SOURCES - ozone/gl_ozone_angle_qt.cpp ozone/gl_ozone_angle_qt.h + ozone/gl_ozone_qt.cpp ozone/gl_ozone_qt.h ozone/ozone_util_qt.cpp ozone/ozone_util_qt.h -@@ -213,17 +213,17 @@ foreach(arch ${archs}) +@@ -220,17 +220,17 @@ foreach(arch ${archs}) ozone/surface_factory_qt.cpp ozone/surface_factory_qt.h ) @@ -39,7 +39,7 @@ SOURCES ozone/egl_helper.cpp ozone/egl_helper.h ) -@@ -443,7 +443,7 @@ foreach(arch ${archs}) +@@ -462,7 +462,7 @@ foreach(arch ${archs}) CONDITION QT_FEATURE_webenginedriver ) @@ -48,7 +48,7 @@ list(APPEND gnArgArg angle_enable_gl=true use_gtk=false # GTK toolkit bindings -@@ -510,6 +510,10 @@ foreach(arch ${archs}) +@@ -529,6 +529,10 @@ foreach(arch ${archs}) extend_gn_list(gnArgArg ARGS use_pulseaudio CONDITION QT_FEATURE_webengine_system_pulseaudio diff --git a/www/qt6-webengine/files/patch-src_core_api_configure.cmake b/www/qt6-webengine/files/patch-src_core_api_configure.cmake index 3988f9c60e8f..341ce7550bf8 100644 --- a/www/qt6-webengine/files/patch-src_core_api_configure.cmake +++ b/www/qt6-webengine/files/patch-src_core_api_configure.cmake @@ -1,4 +1,4 @@ ---- src/core/api/configure.cmake.orig 2025-08-18 00:53:11 UTC +--- src/core/api/configure.cmake.orig 2025-10-02 00:36:39 UTC +++ src/core/api/configure.cmake @@ -10,6 +10,7 @@ if(NOT QT_CONFIGURE_RUNNING) if(PkgConfig_FOUND AND QT_FEATURE_pkg_config) @@ -8,7 +8,7 @@ pkg_check_modules(XDAMAGE xdamage) pkg_check_modules(GBM gbm) pkg_check_modules(LIBVA libva>=1.14) -@@ -90,6 +91,11 @@ qt_feature("webengine-printing-and-pdf" PRIVATE +@@ -96,6 +97,11 @@ qt_feature("webengine-printing-and-pdf" PRIVATE AUTODETECT NOT QT_FEATURE_webengine_embedded_build CONDITION TARGET Qt::PrintSupport AND QT_FEATURE_printer ) @@ -20,7 +20,7 @@ qt_feature("webengine-pepper-plugins" PRIVATE LABEL "Pepper Plugins" PURPOSE "Enables use of Pepper plugins." -@@ -171,7 +177,7 @@ qt_feature("webengine-vaapi" PRIVATE +@@ -179,7 +185,7 @@ qt_feature("webengine-vaapi" PRIVATE PURPOSE "Enables support for VA-API hardware acceleration" AUTODETECT GBM_FOUND AND LIBVA_FOUND AND QT_FEATURE_vulkan # hardware accelerated encoding requires bundled libvpx @@ -29,7 +29,7 @@ ) list(LENGTH CMAKE_OSX_ARCHITECTURES osx_arch_count) qt_feature("webenginedriver" PUBLIC -@@ -214,15 +220,19 @@ qt_configure_add_summary_entry( +@@ -222,15 +228,19 @@ qt_configure_add_summary_entry( ) qt_configure_add_summary_entry( ARGS "webengine-vaapi" @@ -50,5 +50,5 @@ + ARGS "webengine-system-sndio" + CONDITION UNIX ) - qt_configure_add_summary_entry(ARGS "webengine-v8-context-snapshot") - qt_configure_add_summary_entry(ARGS "webenginedriver") + qt_configure_add_summary_entry( + ARGS "webengine-webrtc-system-openh264" diff --git a/www/qt6-webengine/files/patch-src_core_api_qt__cmdline.cmake b/www/qt6-webengine/files/patch-src_core_api_qt__cmdline.cmake index c902885bec71..360c0beb13eb 100644 --- a/www/qt6-webengine/files/patch-src_core_api_qt__cmdline.cmake +++ b/www/qt6-webengine/files/patch-src_core_api_qt__cmdline.cmake @@ -1,9 +1,9 @@ ---- src/core/api/qt_cmdline.cmake.orig 2023-07-07 17:40:32 UTC +--- src/core/api/qt_cmdline.cmake.orig 2025-08-15 18:30:00 UTC +++ src/core/api/qt_cmdline.cmake @@ -28,7 +28,7 @@ set(systemLibs alsa ffmpeg freetype harfbuzz icu lcms2 endfunction() - set(systemLibs alsa ffmpeg freetype harfbuzz icu lcms2 libevent libjpeg + set(systemLibs alsa ffmpeg freetype harfbuzz icu lcms2 libjpeg - libpng libvpx libxml libwebp minizip opus pulseaudio re2 snappy zlib) + libpng libvpx libxml libwebp minizip opus pulseaudio re2 snappy sndio zlib) foreach(slib ${systemLibs}) diff --git a/www/qt6-webengine/files/patch-src_pdf_CMakeLists.txt b/www/qt6-webengine/files/patch-src_pdf_CMakeLists.txt index 5f1fe5de5b2c..cb05c3dfd2c9 100644 --- a/www/qt6-webengine/files/patch-src_pdf_CMakeLists.txt +++ b/www/qt6-webengine/files/patch-src_pdf_CMakeLists.txt @@ -1,4 +1,4 @@ ---- src/pdf/CMakeLists.txt.orig 2025-02-21 12:29:33 UTC +--- src/pdf/CMakeLists.txt.orig 2025-08-15 18:30:00 UTC +++ src/pdf/CMakeLists.txt @@ -69,7 +69,7 @@ add_dependencies(prepare_docs_Pdf generate_pdf_attribu # TOOLCHAIN SETUP @@ -9,9 +9,9 @@ setup_toolchains() endif() -@@ -143,7 +143,7 @@ foreach(arch ${archs}) - v8_use_external_startup_data=false - ) +@@ -144,7 +144,7 @@ foreach(arch ${archs}) + webnn_use_tflite=false + ) - if(LINUX OR ANDROID) + if(LINUX OR ANDROID OR FREEBSD) diff --git a/www/qt6-webengine/pkg-plist b/www/qt6-webengine/pkg-plist index ee5debc059b8..ba921bd16d5d 100644 --- a/www/qt6-webengine/pkg-plist +++ b/www/qt6-webengine/pkg-plist @@ -4,6 +4,7 @@ %%QT_INCDIR%%/QtWebEngineCore/%%FULLVER%%/QtWebEngineCore/private/qwebenginecookiestore_p.h %%QT_INCDIR%%/QtWebEngineCore/%%FULLVER%%/QtWebEngineCore/private/qwebenginedesktopmediarequest_p.h %%QT_INCDIR%%/QtWebEngineCore/%%FULLVER%%/QtWebEngineCore/private/qwebenginedownloadrequest_p.h +%%QT_INCDIR%%/QtWebEngineCore/%%FULLVER%%/QtWebEngineCore/private/qwebengineextensioninfo_p.h %%QT_INCDIR%%/QtWebEngineCore/%%FULLVER%%/QtWebEngineCore/private/qwebengineglobalsettings_p.h %%QT_INCDIR%%/QtWebEngineCore/%%FULLVER%%/QtWebEngineCore/private/qwebenginehistory_p.h %%QT_INCDIR%%/QtWebEngineCore/%%FULLVER%%/QtWebEngineCore/private/qwebenginemessagepumpscheduler_p.h @@ -23,6 +24,8 @@ %%QT_INCDIR%%/QtWebEngineCore/QWebEngineCookieStore %%QT_INCDIR%%/QtWebEngineCore/QWebEngineDesktopMediaRequest %%QT_INCDIR%%/QtWebEngineCore/QWebEngineDownloadRequest +%%QT_INCDIR%%/QtWebEngineCore/QWebEngineExtensionInfo +%%QT_INCDIR%%/QtWebEngineCore/QWebEngineExtensionManager %%QT_INCDIR%%/QtWebEngineCore/QWebEngineFileSystemAccessRequest %%QT_INCDIR%%/QtWebEngineCore/QWebEngineFindTextResult %%QT_INCDIR%%/QtWebEngineCore/QWebEngineFrame @@ -66,6 +69,8 @@ %%QT_INCDIR%%/QtWebEngineCore/qwebenginecookiestore.h %%QT_INCDIR%%/QtWebEngineCore/qwebenginedesktopmediarequest.h %%QT_INCDIR%%/QtWebEngineCore/qwebenginedownloadrequest.h +%%QT_INCDIR%%/QtWebEngineCore/qwebengineextensioninfo.h +%%QT_INCDIR%%/QtWebEngineCore/qwebengineextensionmanager.h %%QT_INCDIR%%/QtWebEngineCore/qwebenginefilesystemaccessrequest.h %%QT_INCDIR%%/QtWebEngineCore/qwebenginefindtextresult.h %%QT_INCDIR%%/QtWebEngineCore/qwebengineframe.h @@ -99,6 +104,7 @@ %%QT_INCDIR%%/QtWebEngineQuick/%%FULLVER%%/QtWebEngineQuick/private/qquickwebenginedialogrequests_p.h %%QT_INCDIR%%/QtWebEngineQuick/%%FULLVER%%/QtWebEngineQuick/private/qquickwebenginefaviconprovider_p_p.h %%QT_INCDIR%%/QtWebEngineQuick/%%FULLVER%%/QtWebEngineQuick/private/qquickwebengineforeigntypes_p.h +%%QT_INCDIR%%/QtWebEngineQuick/%%FULLVER%%/QtWebEngineQuick/private/qquickwebengineframe_p.h %%QT_INCDIR%%/QtWebEngineQuick/%%FULLVER%%/QtWebEngineQuick/private/qquickwebenginenewwindowrequest_p.h %%QT_INCDIR%%/QtWebEngineQuick/%%FULLVER%%/QtWebEngineQuick/private/qquickwebengineprofile_p.h %%QT_INCDIR%%/QtWebEngineQuick/%%FULLVER%%/QtWebEngineQuick/private/qquickwebengineprofileprototype_p.h @@ -208,14 +214,6 @@ lib/cmake/Qt6WebEngineQuickDelegatesQml/Qt6WebEngineQuickDelegatesQmlTargets-%%C lib/cmake/Qt6WebEngineQuickDelegatesQml/Qt6WebEngineQuickDelegatesQmlTargets.cmake lib/cmake/Qt6WebEngineQuickDelegatesQml/Qt6WebEngineQuickDelegatesQmlVersionlessAliasTargets.cmake lib/cmake/Qt6WebEngineQuickDelegatesQml/Qt6WebEngineQuickDelegatesQmlVersionlessTargets.cmake -lib/cmake/Qt6WebEngineQuickDelegatesQmlPrivate/Qt6WebEngineQuickDelegatesQmlPrivateAdditionalTargetInfo.cmake -lib/cmake/Qt6WebEngineQuickDelegatesQmlPrivate/Qt6WebEngineQuickDelegatesQmlPrivateConfig.cmake -lib/cmake/Qt6WebEngineQuickDelegatesQmlPrivate/Qt6WebEngineQuickDelegatesQmlPrivateConfigVersion.cmake -lib/cmake/Qt6WebEngineQuickDelegatesQmlPrivate/Qt6WebEngineQuickDelegatesQmlPrivateConfigVersionImpl.cmake -lib/cmake/Qt6WebEngineQuickDelegatesQmlPrivate/Qt6WebEngineQuickDelegatesQmlPrivateDependencies.cmake -lib/cmake/Qt6WebEngineQuickDelegatesQmlPrivate/Qt6WebEngineQuickDelegatesQmlPrivateTargets.cmake -lib/cmake/Qt6WebEngineQuickDelegatesQmlPrivate/Qt6WebEngineQuickDelegatesQmlPrivateVersionlessAliasTargets.cmake -lib/cmake/Qt6WebEngineQuickDelegatesQmlPrivate/Qt6WebEngineQuickDelegatesQmlPrivateVersionlessTargets.cmake lib/cmake/Qt6WebEngineQuickPrivate/Qt6WebEngineQuickPrivateAdditionalTargetInfo.cmake lib/cmake/Qt6WebEngineQuickPrivate/Qt6WebEngineQuickPrivateConfig.cmake lib/cmake/Qt6WebEngineQuickPrivate/Qt6WebEngineQuickPrivateConfigVersion.cmake @@ -257,16 +255,15 @@ lib/cmake/Qt6WebEngineWidgetsPrivate/Qt6WebEngineWidgetsPrivateVersionlessTarget %%QT_LIBDIR%%/libQt6WebEngineWidgets.so %%QT_LIBDIR%%/libQt6WebEngineWidgets.so.6 %%QT_LIBDIR%%/libQt6WebEngineWidgets.so.%%FULLVER%% -%%QT_LIBDIR%%/metatypes/qt6webenginecore_%%CMAKE_BUILD_TYPE%%_metatypes.json -%%QT_LIBDIR%%/metatypes/qt6webenginequick_%%CMAKE_BUILD_TYPE%%_metatypes.json -%%QT_LIBDIR%%/metatypes/qt6webenginequickdelegatesqml_%%CMAKE_BUILD_TYPE%%_metatypes.json -%%QT_LIBDIR%%/metatypes/qt6webenginewidgets_%%CMAKE_BUILD_TYPE%%_metatypes.json +%%QT_LIBDIR%%/metatypes/qt6webenginecore_metatypes.json +%%QT_LIBDIR%%/metatypes/qt6webenginequick_metatypes.json +%%QT_LIBDIR%%/metatypes/qt6webenginequickdelegatesqml_metatypes.json +%%QT_LIBDIR%%/metatypes/qt6webenginewidgets_metatypes.json %%QT_MKSPECDIR%%/modules/qt_lib_webenginecore.pri %%QT_MKSPECDIR%%/modules/qt_lib_webenginecore_private.pri %%QT_MKSPECDIR%%/modules/qt_lib_webenginequick.pri %%QT_MKSPECDIR%%/modules/qt_lib_webenginequick_private.pri %%QT_MKSPECDIR%%/modules/qt_lib_webenginequickdelegatesqml.pri -%%QT_MKSPECDIR%%/modules/qt_lib_webenginequickdelegatesqml_private.pri %%QT_MKSPECDIR%%/modules/qt_lib_webenginewidgets.pri %%QT_MKSPECDIR%%/modules/qt_lib_webenginewidgets_private.pri %%QT_PLUGINDIR%%/designer/libqwebengineview.so diff --git a/www/qt6-websockets/distinfo b/www/qt6-websockets/distinfo index 3ac1a7dd611e..cd032dbd035a 100644 --- a/www/qt6-websockets/distinfo +++ b/www/qt6-websockets/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1759303944 -SHA256 (KDE/Qt/6.9.3/qtwebsockets-everywhere-src-6.9.3.tar.xz) = e27dda8cf3cb31cc235f92e186340ba70a76c47aed7eb32b239d68feb94282c4 -SIZE (KDE/Qt/6.9.3/qtwebsockets-everywhere-src-6.9.3.tar.xz) = 447376 +TIMESTAMP = 1763964834 +SHA256 (KDE/Qt/6.10.1/qtwebsockets-everywhere-src-6.10.1.tar.xz) = 272ac7e94418e2b13b3384d73ba89dbd6b746d7661b44dce906f8bfc0795bd01 +SIZE (KDE/Qt/6.10.1/qtwebsockets-everywhere-src-6.10.1.tar.xz) = 447384 diff --git a/www/qt6-websockets/pkg-plist b/www/qt6-websockets/pkg-plist index 16f86b891c6c..b7e952877ee1 100644 --- a/www/qt6-websockets/pkg-plist +++ b/www/qt6-websockets/pkg-plist @@ -54,7 +54,7 @@ lib/cmake/Qt6WebSocketsPrivate/Qt6WebSocketsPrivateVersionlessTargets.cmake %%QT_LIBDIR%%/libQt6WebSockets.so %%QT_LIBDIR%%/libQt6WebSockets.so.6 %%QT_LIBDIR%%/libQt6WebSockets.so.%%FULLVER%% -%%QT_LIBDIR%%/metatypes/qt6websockets_%%CMAKE_BUILD_TYPE%%_metatypes.json +%%QT_LIBDIR%%/metatypes/qt6websockets_metatypes.json %%QT_MKSPECDIR%%/modules/qt_lib_websockets.pri %%QT_MKSPECDIR%%/modules/qt_lib_websockets_private.pri %%QT_QMLDIR%%/QtWebSockets/libqmlwebsocketsplugin.so diff --git a/www/qt6-webview/distinfo b/www/qt6-webview/distinfo index 2479f12aee43..f21968c650e0 100644 --- a/www/qt6-webview/distinfo +++ b/www/qt6-webview/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1759303953 -SHA256 (KDE/Qt/6.9.3/qtwebview-everywhere-src-6.9.3.tar.xz) = c65e1fc0b1f1cb80ac05577059d2c294256761ab0686d569ca88010c85c42cc8 -SIZE (KDE/Qt/6.9.3/qtwebview-everywhere-src-6.9.3.tar.xz) = 125580 +TIMESTAMP = 1763964836 +SHA256 (KDE/Qt/6.10.1/qtwebview-everywhere-src-6.10.1.tar.xz) = 421080583d7af564a855013dc336363a65303f31c9045a39963ae6b94ab26f6f +SIZE (KDE/Qt/6.10.1/qtwebview-everywhere-src-6.10.1.tar.xz) = 128672 diff --git a/www/qt6-webview/pkg-plist b/www/qt6-webview/pkg-plist index 857f51140d12..2639dd4d5f6d 100644 --- a/www/qt6-webview/pkg-plist +++ b/www/qt6-webview/pkg-plist @@ -1,5 +1,5 @@ %%QT_INCDIR%%/QtWebView/%%FULLVER%%/QtWebView/private/qabstractwebview_p.h -%%QT_INCDIR%%/QtWebView/%%FULLVER%%/QtWebView/private/qnativeviewcontroller_p.h +%%QT_INCDIR%%/QtWebView/%%FULLVER%%/QtWebView/private/qtwebview-config_p.h %%QT_INCDIR%%/QtWebView/%%FULLVER%%/QtWebView/private/qwebview_p.h %%QT_INCDIR%%/QtWebView/%%FULLVER%%/QtWebView/private/qwebviewfactory_p.h %%QT_INCDIR%%/QtWebView/%%FULLVER%%/QtWebView/private/qwebviewinterface_p.h @@ -8,10 +8,10 @@ %%QT_INCDIR%%/QtWebView/QtWebView %%QT_INCDIR%%/QtWebView/QtWebViewDepends %%QT_INCDIR%%/QtWebView/QtWebViewVersion +%%QT_INCDIR%%/QtWebView/qtwebview-config.h %%QT_INCDIR%%/QtWebView/qtwebviewfunctions.h %%QT_INCDIR%%/QtWebView/qtwebviewversion.h %%QT_INCDIR%%/QtWebView/qwebview_global.h -%%QT_INCDIR%%/QtWebViewQuick/%%FULLVER%%/QtWebViewQuick/private/qquickviewcontroller_p.h %%QT_INCDIR%%/QtWebViewQuick/%%FULLVER%%/QtWebViewQuick/private/qquickwebview_p.h %%QT_INCDIR%%/QtWebViewQuick/%%FULLVER%%/QtWebViewQuick/private/qquickwebviewloadrequest_p.h %%QT_INCDIR%%/QtWebViewQuick/%%FULLVER%%/QtWebViewQuick/private/qquickwebviewsettings_p.h @@ -21,6 +21,7 @@ %%QT_INCDIR%%/QtWebViewQuick/QtWebViewQuickVersion %%QT_INCDIR%%/QtWebViewQuick/qtwebviewquickexports.h %%QT_INCDIR%%/QtWebViewQuick/qtwebviewquickversion.h +lib/cmake/Qt6/FindWebView2.cmake lib/cmake/Qt6BuildInternals/StandaloneTests/QtWebViewTestsConfig.cmake lib/cmake/Qt6Qml/QmlPlugins/Qt6qtwebviewquickpluginAdditionalTargetInfo.cmake lib/cmake/Qt6Qml/QmlPlugins/Qt6qtwebviewquickpluginConfig.cmake @@ -77,8 +78,8 @@ lib/cmake/Qt6WebViewQuickPrivate/Qt6WebViewQuickPrivateVersionlessTargets.cmake %%QT_LIBDIR%%/libQt6WebViewQuick.so %%QT_LIBDIR%%/libQt6WebViewQuick.so.6 %%QT_LIBDIR%%/libQt6WebViewQuick.so.%%FULLVER%% -%%QT_LIBDIR%%/metatypes/qt6webview_%%CMAKE_BUILD_TYPE%%_metatypes.json -%%QT_LIBDIR%%/metatypes/qt6webviewquick_%%CMAKE_BUILD_TYPE%%_metatypes.json +%%QT_LIBDIR%%/metatypes/qt6webview_metatypes.json +%%QT_LIBDIR%%/metatypes/qt6webviewquick_metatypes.json %%QT_MKSPECDIR%%/modules/qt_lib_webview.pri %%QT_MKSPECDIR%%/modules/qt_lib_webview_private.pri %%QT_MKSPECDIR%%/modules/qt_lib_webviewquick.pri diff --git a/www/tor-browser/Makefile b/www/tor-browser/Makefile index 547f18a7bfeb..dc17a4db1534 100644 --- a/www/tor-browser/Makefile +++ b/www/tor-browser/Makefile @@ -1,16 +1,15 @@ PORTNAME= tor-browser -DISTVERSION= 15.0.3 -PORTREVISION= 1 +DISTVERSION= 16.0a1 CATEGORIES= www net security wayland -TAG_BASE= dff70d135408cfc24931c170efa91fbaded19914 -TAG_TOR= ca310e42296a7085ea59fc323592f3dc702123ac +TAG_BASE= d366318349af0977ff23b492fa87e436e8672fdd +TAG_TOR= 45b67d3be52f79e8a4b361fd04ab12f342ab0016 MASTER_SITES= TOR \ LOCAL/vvd \ https://build-sources.tbb.torproject.org/:source1 \ LOCAL/vvd:source1 \ LOCAL/jsm:source2 \ LOCAL/vvd:source2 \ - https://secure.informaction.com/download/releases/:source3 \ + https://dist.torproject.org/torbrowser/noscript/:source3 \ LOCAL/vvd:source3 \ https://gitlab.torproject.org/tpo/translation/-/archive/${TAG_BASE}.tar.gz?dummy=/:source4 \ LOCAL/vvd:source4 \ @@ -18,9 +17,9 @@ MASTER_SITES= TOR \ LOCAL/vvd:source5 MASTER_SITE_SUBDIR= torbrowser/${DISTVERSION}/:DEFAULT \ download/releases/:source3 -DISTNAME= src-firefox-tor-browser-140.6.0esr-15.0-1-build5 +DISTNAME= src-firefox-tor-browser-146.0a1-16.0-2-build2 MANUAL= manual_215922.zip -NOSCRIPT= noscript-13.5.2.xpi +NOSCRIPT= noscript-13.5.4.1984.xpi DISTFILES= ${DISTNAME}.tar.xz \ ${MANUAL}:source1 \ fonts-3--4348e1.tar.zst:source2 \ @@ -57,7 +56,7 @@ USES= compiler:c++11-lib libtool localbase:ldflags perl5 pkgconfig \ python shebangfix tar:xz USE_GECKO= gecko USE_GITHUB= nodefault -TAG_L10N= 412690f1368e37f70af57eecabb93497167eb9ba +TAG_L10N= 4b41b2ae00d50633e5e9d8204b0f45e468920743 GH_TUPLE= mozilla-l10n:firefox-l10n:${TAG_L10N}:ffl10n USE_MOZILLA= -sqlite diff --git a/www/tor-browser/distinfo b/www/tor-browser/distinfo index 8a8a9fa683fd..9dc1dc197464 100644 --- a/www/tor-browser/distinfo +++ b/www/tor-browser/distinfo @@ -1,15 +1,15 @@ -TIMESTAMP = 1765298059 -SHA256 (src-firefox-tor-browser-140.6.0esr-15.0-1-build5.tar.xz) = 5aeaf4ae95002273d5be947c55f0abe6c509305ea676933778b5696dbf17fb06 -SIZE (src-firefox-tor-browser-140.6.0esr-15.0-1-build5.tar.xz) = 693406452 +TIMESTAMP = 1765909794 +SHA256 (src-firefox-tor-browser-146.0a1-16.0-2-build2.tar.xz) = 669e5cc998224f1ba1624cade95d4344615f8cdd21066f1b6ad44c9025e1fb67 +SIZE (src-firefox-tor-browser-146.0a1-16.0-2-build2.tar.xz) = 704013880 SHA256 (manual_215922.zip) = b5ed703f54d52e9f197320f3698e936d585a3fed23cc4f9fbf59edce2869f885 SIZE (manual_215922.zip) = 28305786 SHA256 (fonts-3--4348e1.tar.zst) = 7fbbecece6de777f196982f6eb567970a6d8e7ac2bf5b1ad6b90e1ea36374032 SIZE (fonts-3--4348e1.tar.zst) = 27441580 -SHA256 (noscript-13.5.2.xpi) = 1ba8ee4620b19502e4d95c5a3ea0520856028365ff9a6561882d914aa3968e2a -SIZE (noscript-13.5.2.xpi) = 1049291 -SHA256 (tpo-translation-dff70d135408cfc24931c170efa91fbaded19914_GL0.tar.gz) = caceab3ddbb4b7a0e7b85d0fd8e67023473e746e8d5c5caf18b7f97cd0abb3c5 -SIZE (tpo-translation-dff70d135408cfc24931c170efa91fbaded19914_GL0.tar.gz) = 1022345 -SHA256 (tpo-translation-ca310e42296a7085ea59fc323592f3dc702123ac_GL0.tar.gz) = 0af26f717359fdd1ed951d6376e6e350641acf5ee5f4bf28316108caff3086dd -SIZE (tpo-translation-ca310e42296a7085ea59fc323592f3dc702123ac_GL0.tar.gz) = 2904329 -SHA256 (mozilla-l10n-firefox-l10n-412690f1368e37f70af57eecabb93497167eb9ba_GH0.tar.gz) = f4d29be04a7f29934b772988e0a677f8a15ce7d6c131d6e3232642168742fb4a -SIZE (mozilla-l10n-firefox-l10n-412690f1368e37f70af57eecabb93497167eb9ba_GH0.tar.gz) = 72166951 +SHA256 (noscript-13.5.4.1984.xpi) = ce83b75d2d6c15c3ffbab412dddbb26ddf55977aacd2ba8f99301b9a0b1766f1 +SIZE (noscript-13.5.4.1984.xpi) = 1049081 +SHA256 (tpo-translation-d366318349af0977ff23b492fa87e436e8672fdd_GL0.tar.gz) = 190fe79bc223db676cd6d405adddeb8ef16175e13de806d1daff04ec06aeabce +SIZE (tpo-translation-d366318349af0977ff23b492fa87e436e8672fdd_GL0.tar.gz) = 1024797 +SHA256 (tpo-translation-45b67d3be52f79e8a4b361fd04ab12f342ab0016_GL0.tar.gz) = 1474e0c3bbfdc50cd0930fb941677ee45a35d5bfd84a1876464c194a49b243fa +SIZE (tpo-translation-45b67d3be52f79e8a4b361fd04ab12f342ab0016_GL0.tar.gz) = 2901730 +SHA256 (mozilla-l10n-firefox-l10n-4b41b2ae00d50633e5e9d8204b0f45e468920743_GH0.tar.gz) = cdd9341832325d24067bf752250e52e61035b762066c7cb0b4dde2b6c4b951d2 +SIZE (mozilla-l10n-firefox-l10n-4b41b2ae00d50633e5e9d8204b0f45e468920743_GH0.tar.gz) = 72440248 diff --git a/www/tor-browser/files/patch-bug1876632 b/www/tor-browser/files/patch-bug1876632 deleted file mode 100644 index 3932b1deccc9..000000000000 --- a/www/tor-browser/files/patch-bug1876632 +++ /dev/null @@ -1,35 +0,0 @@ -commit 4f531ca86d24be5d4de673f6e652ed899151d20c -Author: Jesper Schmitz Mouridsen <jesper@schmitz.computer> -Date: Wed Jul 23 22:01:31 2025 +0000 - - Bug 1876632 Fix aslr allocations on FreeBSD r=spidermonkey-reviewers,sfink - - Without the alignment flag the desired address - gets randomized by aslr in a way which causes it to not - be aligned. Furthermore the TryToAlignChunk almost always - fails. With this fix it never gets to TryToAlignChunk - because the flag guarantees upfront alignment. - - Differential Revision: https://phabricator.services.mozilla.com/D257824 - -diff --git js/src/gc/Memory.cpp js/src/gc/Memory.cpp -index e790f1784ede..13639c9a6eb4 100644 ---- js/src/gc/Memory.cpp -+++ js/src/gc/Memory.cpp -@@ -608,7 +608,16 @@ static void* MapAlignedPagesRandom(size_t length, size_t alignment) { - for (size_t i = 1; i <= 1024; ++i) { - if (i & 0xf) { - uint64_t desired = alignment * GetNumberInRange(minNum, maxNum); -+# if defined(__FreeBSD__) && defined(__aarch64__) -+ int flags = MAP_PRIVATE | MAP_ANON | -+ MAP_ALIGNED(mozilla::CeilingLog2Size(alignment)); -+ region = MozTaggedAnonymousMmap((void*)(uintptr_t)desired, length, -+ int(PageAccess::ReadWrite), flags, -1, 0, -+ "js-gc-heap"); -+# else - region = MapMemoryAtFuzzy(reinterpret_cast<void*>(desired), length); -+ -+# endif - if (!region) { - continue; - } diff --git a/www/tor-browser/files/patch-build_gn__processor.py b/www/tor-browser/files/patch-build_gn__processor.py index be5e10347483..08e7f1211613 100644 --- a/www/tor-browser/files/patch-build_gn__processor.py +++ b/www/tor-browser/files/patch-build_gn__processor.py @@ -1,10 +1,10 @@ -commit 0e5bcbefae64b35a5c8df360e3980258a565fa72 -Author: Christoph Moench-Tegeder <cmt@burggraben.net> +commit bcf74d8c7a315c4f8ef70f1a60d4ce957cebac1d +Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> - chase gn_processor.py move + FreeBSD workings for webrtc configure (gn_processor.py) diff --git build/gn_processor.py build/gn_processor.py -index 2ba8b92c2751..91170efb9a5d 100644 +index 36cc6bdfe492..ed0fb2b7aa45 100644 --- build/gn_processor.py +++ build/gn_processor.py @@ -186,6 +186,7 @@ def filter_gn_config(path, gn_result, sandbox_vars, input_vars, gn_target): @@ -15,7 +15,7 @@ index 2ba8b92c2751..91170efb9a5d 100644 "linux": "Linux", "mac": "Darwin", "openbsd": "OpenBSD", -@@ -780,17 +781,17 @@ def main(): +@@ -801,17 +802,17 @@ def main(): vars_set = [] for is_debug in (True, False): @@ -38,12 +38,12 @@ index 2ba8b92c2751..91170efb9a5d 100644 target_cpus.extend(["loong64", "ppc64", "mipsel", "mips64el"]) for target_cpu in target_cpus: vars = { -@@ -799,7 +800,7 @@ def main(): +@@ -820,7 +821,7 @@ def main(): "target_cpu": target_cpu, "target_os": target_os, } - if target_os == "linux": + if target_os in ("freebsd", "linux"): - for use_x11 in (True, False): - vars["use_x11"] = use_x11 + for enable_x11 in (True, False): + vars["ozone_platform_x11"] = enable_x11 vars_set.append(vars.copy()) diff --git a/www/tor-browser/files/patch-dom_media_webrtc_libwebrtc__overrides_moz.build b/www/tor-browser/files/patch-dom_media_webrtc_libwebrtc__overrides_moz.build new file mode 100644 index 000000000000..ac01cff0e211 --- /dev/null +++ b/www/tor-browser/files/patch-dom_media_webrtc_libwebrtc__overrides_moz.build @@ -0,0 +1,25 @@ +commit 18ea032974539d7f4db64d21a87fd174333b9e2c +Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> + + build XErrorTrap for FreeBSD, too + +diff --git dom/media/webrtc/libwebrtc_overrides/moz.build dom/media/webrtc/libwebrtc_overrides/moz.build +index ed9c450e5649..1ac213e48b28 100644 +--- dom/media/webrtc/libwebrtc_overrides/moz.build ++++ dom/media/webrtc/libwebrtc_overrides/moz.build +@@ -49,13 +49,13 @@ + "call/call_basic_stats.cc", + ] + +-if CONFIG["OS_TARGET"] == "OpenBSD": ++if CONFIG["OS_TARGET"] in ("FreeBSD", "OpenBSD"): + CXXFLAGS += CONFIG["MOZ_X11_CFLAGS"] + UNIFIED_SOURCES += [ + "modules/desktop_capture/linux/x11/x_error_trap.cc", + ] + +-if CONFIG["TARGET_CPU"] in ("loongarch64", "ppc64"): ++if CONFIG["TARGET_CPU"] in ("loongarch64"): + UNIFIED_SOURCES += [ + "modules/desktop_capture/linux/x11/x_error_trap.cc", + ] diff --git a/www/tor-browser/files/patch-python_sites_mach.txt b/www/tor-browser/files/patch-python_sites_mach.txt index dc2caf9bdfc6..706f285b0731 100644 --- a/www/tor-browser/files/patch-python_sites_mach.txt +++ b/www/tor-browser/files/patch-python_sites_mach.txt @@ -15,4 +15,4 @@ index 6e3db1c848f7..10ba12c2f13b 100644 # support down to the oldest locally-installed version (5.4.2). -pypi-optional:psutil>=5.4.2,<=5.9.4:telemetry will be missing some data +pypi-optional:psutil>=5.4.2,<=7.0.0:telemetry will be missing some data - pypi-optional:zstandard>=0.11.1,<=0.23.0:zstd archives will not be possible to extract + pypi-optional:zstandard>=0.11.1,<=0.24.0:zstd archives will not be possible to extract diff --git a/www/tor-browser/files/patch-third__party_chromium_build_toolchain_toolchain.gni b/www/tor-browser/files/patch-third__party_chromium_build_toolchain_toolchain.gni new file mode 100644 index 000000000000..7cfd8c79d2da --- /dev/null +++ b/www/tor-browser/files/patch-third__party_chromium_build_toolchain_toolchain.gni @@ -0,0 +1,18 @@ +commit 66fb0f122ef1ddf961b333c8377b84b603d75b27 +Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> + + support FreeBSD as a host platform + +diff --git third_party/chromium/build/toolchain/toolchain.gni third_party/chromium/build/toolchain/toolchain.gni +index 754f0e3bbd7e..238d79631ba8 100644 +--- third_party/chromium/build/toolchain/toolchain.gni ++++ third_party/chromium/build/toolchain/toolchain.gni +@@ -75,7 +75,7 @@ if (host_os == "mac") { + host_shlib_extension = ".dylib" + } else if (host_os == "win") { + host_shlib_extension = ".dll" +-} else if (host_os == "linux" || host_os == "aix" || host_os == "zos") { ++} else if (host_os == "linux" || host_os == "aix" || host_os == "freebsd" || host_os == "zos") { + host_shlib_extension = ".so" + } else { + assert(false, "Host platform not supported") diff --git a/www/tor-browser/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn b/www/tor-browser/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn index e4607283ebcf..7774855c7941 100644 --- a/www/tor-browser/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn +++ b/www/tor-browser/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn @@ -1,13 +1,13 @@ -commit da40b474fba2247ffc07696a2c565d830e900c9c +commit e8a3b91abdc00edd7633aabbe5e63bfc0d0825e4 Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> enable pipewire on bsd diff --git third_party/chromium/build/config/BUILDCONFIG.gn third_party/chromium/build/config/BUILDCONFIG.gn -index 889bdb92354c..ccda96d998c5 100644 +index 4bb38fe31ff2..b10eb19f521a 100644 --- third_party/chromium/build/config/BUILDCONFIG.gn +++ third_party/chromium/build/config/BUILDCONFIG.gn -@@ -132,6 +132,7 @@ declare_args() { +@@ -137,6 +137,7 @@ declare_args() { # Set to true when compiling with the Clang compiler. is_clang = current_os != "linux" || current_os == "openbsd" || @@ -15,7 +15,7 @@ index 889bdb92354c..ccda96d998c5 100644 (current_cpu != "s390x" && current_cpu != "s390" && current_cpu != "ppc64" && current_cpu != "ppc" && current_cpu != "mips" && current_cpu != "mips64" && -@@ -184,7 +185,7 @@ if (host_toolchain == "") { +@@ -206,7 +207,7 @@ if (host_toolchain == "") { # TODO(dpranke): Add some sort of assert here that verifies that # no toolchain omitted host_toolchain from its toolchain_args(). @@ -24,16 +24,16 @@ index 889bdb92354c..ccda96d998c5 100644 if (target_os != "linux") { host_toolchain = "//chromium/build/toolchain/linux:clang_$host_cpu" } else if (is_clang) { -@@ -222,7 +223,7 @@ if (target_os == "android") { - assert(host_os == "linux" || host_os == "mac", - "Android builds are only supported on Linux and Mac hosts.") +@@ -246,7 +247,7 @@ if (target_os == "android") { + # Targeting android on Mac is best-effort and not guaranteed to work. + #assert(host_os == "linux", "Android builds are only supported on Linux.") _default_toolchain = "//chromium/build/toolchain/android:android_clang_$target_cpu" -} else if (target_os == "chromeos" || target_os == "linux" || target_os == "openbsd") { +} else if (target_os == "chromeos" || target_os == "linux" || target_os == "openbsd" || target_os == "freebsd") { # See comments in build/toolchain/cros/BUILD.gn about board compiles. if (is_clang) { _default_toolchain = "//chromium/build/toolchain/linux:clang_$target_cpu" -@@ -288,7 +289,7 @@ is_chromeos = current_os == "chromeos" +@@ -314,7 +315,7 @@ is_chromeos = current_os == "chromeos" is_fuchsia = current_os == "fuchsia" is_ios = current_os == "ios" is_linux = current_os == "linux" @@ -41,12 +41,12 @@ index 889bdb92354c..ccda96d998c5 100644 +is_bsd = current_os == "openbsd" || current_os == "freebsd" is_mac = current_os == "mac" is_nacl = current_os == "nacl" - is_win = current_os == "win" || current_os == "winuwp" + is_wasm = current_os == "emscripten" diff --git third_party/libwebrtc/BUILD.gn third_party/libwebrtc/BUILD.gn -index 397df7b27b24..8a587feed6b9 100644 +index ac8569efaa40..5d6c5953491c 100644 --- third_party/libwebrtc/BUILD.gn +++ third_party/libwebrtc/BUILD.gn -@@ -107,7 +107,7 @@ if (!build_with_chromium && !build_with_mozilla) { +@@ -111,7 +111,7 @@ if (!build_with_chromium && !build_with_mozilla) { "tools_webrtc/perf:webrtc_dashboard_upload", ] } @@ -56,10 +56,10 @@ index 397df7b27b24..8a587feed6b9 100644 } } diff --git third_party/libwebrtc/modules/desktop_capture/BUILD.gn third_party/libwebrtc/modules/desktop_capture/BUILD.gn -index de00f688871c..e32c19d38c8d 100644 +index 5c843cfc2b6a..0ed9f98a964f 100644 --- third_party/libwebrtc/modules/desktop_capture/BUILD.gn +++ third_party/libwebrtc/modules/desktop_capture/BUILD.gn -@@ -74,7 +74,7 @@ if (rtc_include_tests) { +@@ -76,7 +76,7 @@ if (rtc_include_tests) { "window_finder_unittest.cc", ] @@ -68,7 +68,7 @@ index de00f688871c..e32c19d38c8d 100644 configs += [ "../portal:gio" ] } -@@ -86,7 +86,7 @@ if (rtc_include_tests) { +@@ -88,7 +88,7 @@ if (rtc_include_tests) { } } @@ -77,7 +77,7 @@ index de00f688871c..e32c19d38c8d 100644 rtc_test("shared_screencast_stream_test") { testonly = true -@@ -145,7 +145,7 @@ if (rtc_include_tests) { +@@ -148,7 +148,7 @@ if (rtc_include_tests) { "test_utils_unittest.cc", ] @@ -86,6 +86,24 @@ index de00f688871c..e32c19d38c8d 100644 configs += [ "../portal:gio" ] } +@@ -215,7 +215,7 @@ if (rtc_include_tests) { + "screen_drawer.h", + ] + +- if (is_linux || is_chromeos) { ++ if (is_linux || is_chromeos || is_bsd) { + sources += [ "screen_drawer_linux.cc" ] + libs = [ "X11" ] + } +@@ -254,7 +254,7 @@ if (rtc_include_tests) { + "mock_desktop_capturer_callback.h", + ] + +- if ((is_linux || is_chromeos) && rtc_use_pipewire) { ++ if ((is_linux || is_chromeos || us_bsd) && rtc_use_pipewire) { + configs += [ "../portal:gio" ] + } + @@ -267,7 +267,7 @@ if (rtc_include_tests) { } @@ -95,17 +113,8 @@ index de00f688871c..e32c19d38c8d 100644 config("pipewire_config") { configs = [ "../portal:pipewire_config" ] } -@@ -330,7 +330,7 @@ rtc_library("desktop_capture") { - "window_finder.cc", - "window_finder.h", - ] -- if (is_linux && !is_castos && rtc_use_pipewire) { -+ if ((is_linux || is_bsd) && !is_castos && rtc_use_pipewire) { - sources += [ "desktop_capture_metadata.h" ] - } - if (is_mac) { diff --git third_party/libwebrtc/modules/portal/BUILD.gn third_party/libwebrtc/modules/portal/BUILD.gn -index 6828388b31af..7e1857d861c5 100644 +index 70b4739ad0c4..99ab95d441f3 100644 --- third_party/libwebrtc/modules/portal/BUILD.gn +++ third_party/libwebrtc/modules/portal/BUILD.gn @@ -10,7 +10,7 @@ import("//chromium/build/config/linux/pkg_config.gni") @@ -118,10 +127,10 @@ index 6828388b31af..7e1857d861c5 100644 pkg_config("gio") { packages = [ diff --git third_party/libwebrtc/webrtc.gni third_party/libwebrtc/webrtc.gni -index 58b450cbb16e..00b9ca49c71f 100644 +index 1e87de20e545..77a8a55d8659 100644 --- third_party/libwebrtc/webrtc.gni +++ third_party/libwebrtc/webrtc.gni -@@ -154,7 +154,7 @@ declare_args() { +@@ -151,7 +151,7 @@ declare_args() { # By default it's only enabled on desktop Linux (excludes ChromeOS) and # only when using the sysroot as PipeWire is not available in older and # supported Ubuntu and Debian distributions. diff --git a/www/tor-browser/files/patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland__egl__dmabuf.cc b/www/tor-browser/files/patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland__egl__dmabuf.cc index e83c56760a7c..13a23c835960 100644 --- a/www/tor-browser/files/patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland__egl__dmabuf.cc +++ b/www/tor-browser/files/patch-third__party_libwebrtc_modules_desktop__capture_linux_wayland__egl__dmabuf.cc @@ -1,26 +1,19 @@ -commit 3524023ca1d2184ab9a5a7cc61695923e6834cc1 -Author: Christoph Moench-Tegeder <cmt@burggraben.net> +commit f53507857647459d4a48935901f80f27a5ae58a9 +Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> avoid linux-only includes diff --git third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc -index 6a019c64b4b3..18bb43d797dd 100644 +index 821fdfb487b7..e000c1c104fe 100644 --- third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc +++ third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc -@@ -10,12 +10,16 @@ - - #include "modules/desktop_capture/linux/wayland/egl_dmabuf.h" - +@@ -15,7 +15,9 @@ + #include <EGL/eglplatform.h> + #include <GL/gl.h> + #include <GL/glext.h> +#if !defined(__FreeBSD__) #include <asm/ioctl.h> +#endif #include <dlfcn.h> #include <fcntl.h> - #include <gdk/gdk.h> - #include <libdrm/drm_fourcc.h> -+#if !defined(__FreeBSD__) - #include <linux/types.h> -+#endif - #include <spa/param/video/format-utils.h> - #include <unistd.h> - #include <xf86drm.h> + #include <gbm.h> diff --git a/www/tor-browser/files/patch-third__party_libwebrtc_modules_portal_pipewire__utils.h b/www/tor-browser/files/patch-third__party_libwebrtc_modules_portal_pipewire__utils.h new file mode 100644 index 000000000000..14ed30920d6a --- /dev/null +++ b/www/tor-browser/files/patch-third__party_libwebrtc_modules_portal_pipewire__utils.h @@ -0,0 +1,19 @@ +commit 9f34111f6f4e2ebefd878a3c256fc012826e6936 +Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> + + FreeBSD does not know asm-generic/ioctl.h + +diff --git third_party/libwebrtc/modules/portal/pipewire_utils.h third_party/libwebrtc/modules/portal/pipewire_utils.h +index c3d4f347a8cd..14a36260c292 100644 +--- third_party/libwebrtc/modules/portal/pipewire_utils.h ++++ third_party/libwebrtc/modules/portal/pipewire_utils.h +@@ -11,7 +11,9 @@ + #ifndef MODULES_PORTAL_PIPEWIRE_UTILS_H_ + #define MODULES_PORTAL_PIPEWIRE_UTILS_H_ + ++#if !defined(__FreeBSD__) + #include <asm-generic/ioctl.h> ++#endif + #include <sys/ioctl.h> + #include <sys/mman.h> + diff --git a/www/typo3-12/Makefile b/www/typo3-12/Makefile index 21e2b0f87e99..c9360b33bd75 100644 --- a/www/typo3-12/Makefile +++ b/www/typo3-12/Makefile @@ -1,6 +1,5 @@ PORTNAME= typo3 DISTVERSION= ${PORT_V_MAJOR}.${PORT_V_MINOR}.${PORT_V_PATCH} -#PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://cdn.typo3.com/typo3/${DISTVERSION}/ PKGNAMESUFFIX= -${PORT_V_MAJOR}${PHP_PKGNAMESUFFIX} diff --git a/www/typo3-13/Makefile b/www/typo3-13/Makefile index 08263f569d32..ad4f6d0b57ae 100644 --- a/www/typo3-13/Makefile +++ b/www/typo3-13/Makefile @@ -1,6 +1,5 @@ PORTNAME= typo3 DISTVERSION= ${PORT_V_MAJOR}.${PORT_V_MINOR}.${PORT_V_PATCH} -#PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://cdn.typo3.com/typo3/${DISTVERSION}/ PKGNAMESUFFIX= -${PORT_V_MAJOR}${PHP_PKGNAMESUFFIX} diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile index 5fd8e8a3029b..e8b7c37ecaa9 100644 --- a/www/ungoogled-chromium/Makefile +++ b/www/ungoogled-chromium/Makefile @@ -1,6 +1,5 @@ PORTNAME= ungoogled-chromium -PORTVERSION= 143.0.7499.109 -PORTREVISION= 2 +PORTVERSION= 143.0.7499.146 PULSEMV= 16 PULSEV= ${PULSEMV}.1 UGVERSION= ${DISTVERSION}-1 diff --git a/www/ungoogled-chromium/distinfo b/www/ungoogled-chromium/distinfo index a2babacc7321..8971ac611eac 100644 --- a/www/ungoogled-chromium/distinfo +++ b/www/ungoogled-chromium/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1765574950 -SHA256 (chromium-143.0.7499.109-lite.tar.xz) = d3a3f3acbae7c9edc75fcea8c7725f90c6e5b57a21c8e37d3e629f2224184b51 -SIZE (chromium-143.0.7499.109-lite.tar.xz) = 1140751164 +TIMESTAMP = 1766134663 +SHA256 (chromium-143.0.7499.146-lite.tar.xz) = d79916348f34ecb154201ba2908a0c1ffaf8ae9670215c575b76cf95b10fb076 +SIZE (chromium-143.0.7499.146-lite.tar.xz) = 1140736788 SHA256 (pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92 SIZE (pulseaudio-16.1.tar.gz) = 2763111 -SHA256 (chromium-143.0.7499.109-testdata.tar.xz) = 64df31b9d193c71705ec43a3fcd1120f6ec775e1660aa94276b9bc86fef715ce -SIZE (chromium-143.0.7499.109-testdata.tar.xz) = 1155272172 -SHA256 (ungoogled-software-ungoogled-chromium-143.0.7499.109-143.0.7499.109-1_GH0.tar.gz) = d5b8561004cb19ef56d7f0e23e3045f01a5971edb7ec84c5c6e7b2e2335378da -SIZE (ungoogled-software-ungoogled-chromium-143.0.7499.109-143.0.7499.109-1_GH0.tar.gz) = 651168 +SHA256 (chromium-143.0.7499.146-testdata.tar.xz) = 20b86e1557beeb1654005a7793dd796205a3b75fdb05df94ffbedf376485db17 +SIZE (chromium-143.0.7499.146-testdata.tar.xz) = 1155417248 +SHA256 (ungoogled-software-ungoogled-chromium-143.0.7499.146-143.0.7499.146-1_GH0.tar.gz) = 705de8c2619c4d26a796f8425643f0e66b4706ac501cf9dc1f7acdd8a5290173 +SIZE (ungoogled-software-ungoogled-chromium-143.0.7499.146-143.0.7499.146-1_GH0.tar.gz) = 651128 diff --git a/www/ungoogled-chromium/files/patch-BUILD.gn b/www/ungoogled-chromium/files/patch-BUILD.gn index 97a01b4ca623..1f3e53c2b663 100644 --- a/www/ungoogled-chromium/files/patch-BUILD.gn +++ b/www/ungoogled-chromium/files/patch-BUILD.gn @@ -1,6 +1,6 @@ ---- BUILD.gn.orig 2025-12-06 13:30:52 UTC +--- BUILD.gn.orig 2025-12-19 08:56:42 UTC +++ BUILD.gn -@@ -68,7 +68,7 @@ declare_args() { +@@ -67,7 +67,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) -@@ -101,7 +101,6 @@ group("gn_all") { +@@ -100,7 +100,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", -@@ -431,7 +430,7 @@ group("gn_all") { +@@ -430,7 +429,7 @@ group("gn_all") { } } @@ -26,7 +26,7 @@ deps += [ "//third_party/breakpad:breakpad_unittests", "//third_party/breakpad:core-2-minidump", -@@ -590,6 +589,15 @@ group("gn_all") { +@@ -589,6 +588,15 @@ group("gn_all") { } } @@ -42,7 +42,7 @@ if (is_mac) { deps += [ "//third_party/breakpad:dump_syms($host_system_allocator_toolchain)", -@@ -638,7 +646,7 @@ group("gn_all") { +@@ -637,7 +645,7 @@ group("gn_all") { } } @@ -51,7 +51,7 @@ # The official builders use this binary from the default toolchain's # output directory after building in order to upload the symbols of that # binary. They build the binary like `ninja symupload` which requires the -@@ -673,7 +681,7 @@ group("gn_all") { +@@ -672,7 +680,7 @@ group("gn_all") { ] } @@ -60,7 +60,7 @@ deps += [ "//third_party/crashpad/crashpad:crashpad_tests", "//third_party/crashpad/crashpad/handler:crashpad_handler", -@@ -1064,7 +1072,7 @@ if (use_blink && !is_cronet_build) { +@@ -1063,7 +1071,7 @@ if (use_blink && !is_cronet_build) { "//third_party/blink/public:all_blink", ] @@ -69,7 +69,7 @@ deps += [ ":chrome_wpt_tests", ":headless_shell_wpt", -@@ -1217,7 +1225,7 @@ if (use_blink && !is_cronet_build) { +@@ -1216,7 +1224,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ] } @@ -78,7 +78,7 @@ # Using the default toolchain for this tool, as it's run during tests not # during the build. This places a symlink in the root_build_dir for scrips # to use. -@@ -1231,7 +1239,7 @@ if (use_blink && !is_cronet_build) { +@@ -1230,7 +1238,7 @@ if (use_blink && !is_cronet_build) { data_deps += [ "//third_party/breakpad:dump_syms" ] } @@ -87,7 +87,7 @@ # Using the default toolchain for this tool, as it's run during tests not # during the build. This places a symlink in the root_build_dir for scrips # to use. -@@ -1528,7 +1536,7 @@ group("chromium_builder_perf") { +@@ -1527,7 +1535,7 @@ group("chromium_builder_perf") { data_deps += [ "//chrome/test:performance_browser_tests" ] } diff --git a/www/ungoogled-chromium/files/patch-chrome_browser_about__flags.cc b/www/ungoogled-chromium/files/patch-chrome_browser_about__flags.cc index e11bfcb9b08d..149dba70018c 100644 --- a/www/ungoogled-chromium/files/patch-chrome_browser_about__flags.cc +++ b/www/ungoogled-chromium/files/patch-chrome_browser_about__flags.cc @@ -1,4 +1,4 @@ ---- chrome/browser/about_flags.cc.orig 2025-12-12 21:27:37 UTC +--- chrome/browser/about_flags.cc.orig 2025-12-19 08:56:42 UTC +++ chrome/browser/about_flags.cc @@ -333,12 +333,12 @@ #include "components/stylus_handwriting/win/features.h" @@ -42,7 +42,7 @@ const FeatureEntry::FeatureParam kClipboardMaximumAge60Seconds[] = { {"UIClipboardMaximumAge", "60"}}; const FeatureEntry::FeatureParam kClipboardMaximumAge90Seconds[] = { -@@ -1322,7 +1342,7 @@ const FeatureEntry::FeatureVariation kRemotePageMetada +@@ -1337,7 +1357,7 @@ const FeatureEntry::FeatureVariation kRemotePageMetada }; #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -51,7 +51,7 @@ // A limited number of combinations of the rich autocompletion params. const FeatureEntry::FeatureParam kOmniboxRichAutocompletionAggressive1[] = { -@@ -3976,7 +3996,7 @@ const FeatureEntry::FeatureVariation +@@ -3991,7 +4011,7 @@ const FeatureEntry::FeatureVariation #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -60,7 +60,7 @@ const flags_ui::FeatureEntry::FeatureParam kPwaNavigationCapturingDefaultOn[] = {{"link_capturing_state", "on_by_default"}}; const flags_ui::FeatureEntry::FeatureParam kPwaNavigationCapturingDefaultOff[] = -@@ -4006,7 +4026,7 @@ const flags_ui::FeatureEntry::FeatureVariation +@@ -4021,7 +4041,7 @@ const flags_ui::FeatureEntry::FeatureVariation #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || // BUILDFLAG(IS_CHROMEOS) @@ -69,7 +69,7 @@ const FeatureEntry::Choice kReplaceSyncPromosWithSignInPromosChoices[] = { {"Default", "", ""}, {"Disabled", switches::kDisableFeatures, -@@ -4232,7 +4252,7 @@ const FeatureEntry::FeatureVariation kSkiaGraphiteVari +@@ -4247,7 +4267,7 @@ const FeatureEntry::FeatureVariation kSkiaGraphiteVari std::size(kSkiaGraphite_DebugLabelsEnabled), nullptr}, }; @@ -78,7 +78,7 @@ const FeatureEntry::FeatureParam kTranslationAPI_SkipLanguagePackLimit[] = { {"TranslationAPIAcceptLanguagesCheck", "false"}, {"TranslationAPILimitLanguagePackCount", "false"}}; -@@ -4252,7 +4272,7 @@ const FeatureEntry::FeatureVariation kSensitiveContent +@@ -4267,7 +4287,7 @@ const FeatureEntry::FeatureVariation kSensitiveContent }; #endif // BUILDFLAG(IS_ANDROID) @@ -87,7 +87,7 @@ const FeatureEntry::FeatureParam kContextualCueingEnabledNoEngagementCap[] = { {"BackoffTime", "0h"}, {"BackoffMultiplierBase", "0.0"}, -@@ -5021,7 +5041,7 @@ const FeatureEntry::FeatureVariation kMobilePromoOnDes +@@ -5036,7 +5056,7 @@ const FeatureEntry::FeatureVariation kMobilePromoOnDes }; #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -96,7 +96,7 @@ const FeatureEntry::FeatureParam kNtpCustomizeChromeAutoOpenOnEveryNTP[] = { {"max_customize_chrome_auto_shown_count", "5"}, {"max_customize_chrome_auto_shown_session_count", "5"}}; -@@ -5157,7 +5177,7 @@ const FeatureEntry::FeatureVariation kSeamlessSigninVa +@@ -5172,7 +5192,7 @@ const FeatureEntry::FeatureVariation kSeamlessSigninVa nullptr}}; #endif // BUILDFLAG(IS_ANDROID) @@ -105,7 +105,7 @@ const FeatureEntry::FeatureParam kProfilePickerTextVariation1[] = { {"profile-picker-variation", "keep-work-and-life-separate"}}; const FeatureEntry::FeatureParam kProfilePickerTextVariation2[] = { -@@ -5744,7 +5764,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -5759,7 +5779,7 @@ const FeatureEntry kFeatureEntries[] = { }, #endif // BUILDFLAG(IS_WIN) @@ -114,7 +114,7 @@ { "fluent-overlay-scrollbars", flag_descriptions::kFluentOverlayScrollbarsName, -@@ -6042,7 +6062,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -6057,7 +6077,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kEnableIsolatedWebAppDevModeName, flag_descriptions::kEnableIsolatedWebAppDevModeDescription, kOsDesktop, FEATURE_VALUE_TYPE(features::kIsolatedWebAppDevMode)}, @@ -123,7 +123,7 @@ {"enable-iwa-key-distribution-component", flag_descriptions::kEnableIwaKeyDistributionComponentName, flag_descriptions::kEnableIwaKeyDistributionComponentDescription, -@@ -6234,7 +6254,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -6249,7 +6269,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(media::kUseSCContentSharingPicker)}, #endif // BUILDFLAG(IS_MAC) @@ -132,7 +132,7 @@ {"pulseaudio-loopback-for-cast", flag_descriptions::kPulseaudioLoopbackForCastName, flag_descriptions::kPulseaudioLoopbackForCastDescription, kOsLinux, -@@ -6263,6 +6283,16 @@ const FeatureEntry kFeatureEntries[] = { +@@ -6278,6 +6298,16 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kWaylandSessionManagementName, flag_descriptions::kWaylandSessionManagementDescription, kOsLinux, FEATURE_VALUE_TYPE(features::kWaylandSessionManagement)}, @@ -149,7 +149,7 @@ #endif // BUILDFLAG(IS_LINUX) #if BUILDFLAG(ENABLE_VR) -@@ -7133,7 +7163,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -7148,7 +7178,7 @@ const FeatureEntry kFeatureEntries[] = { "MlUrlScoring")}, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -158,7 +158,7 @@ {"contextual-search-box-uses-contextual-search-provider", flag_descriptions::kContextualSearchBoxUsesContextualSearchProviderName, flag_descriptions:: -@@ -7549,7 +7579,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -7564,7 +7594,7 @@ const FeatureEntry kFeatureEntries[] = { kNumSrpZpsRelatedSearches, "PowerTools")}, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -167,7 +167,7 @@ {"history-embeddings", flag_descriptions::kHistoryEmbeddingsName, flag_descriptions::kHistoryEmbeddingsDescription, kOsDesktop, FEATURE_VALUE_TYPE(history_embeddings::kHistoryEmbeddings)}, -@@ -7764,7 +7794,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -7779,7 +7809,7 @@ const FeatureEntry kFeatureEntries[] = { "NtpRealboxNext")}, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -176,7 +176,7 @@ {"ntp-customize-chrome-auto-open", flag_descriptions::kNtpCustomizeChromeAutoOpenName, flag_descriptions::kNtpCustomizeChromeAutoOpenDescription, kOsDesktop, -@@ -8043,7 +8073,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -8058,7 +8088,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(printing::features::kAddPrinterViaPrintscanmgr)}, #endif // BUILDFLAG(IS_CHROMEOS) @@ -185,7 +185,7 @@ {"cups-ipp-printing-backend", flag_descriptions::kCupsIppPrintingBackendName, flag_descriptions::kCupsIppPrintingBackendDescription, kOsDesktop, -@@ -8981,7 +9011,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -8996,7 +9026,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(media::kGlobalMediaControlsUpdatedUI)}, #endif // !BUILDFLAG(IS_CHROMEOS) @@ -194,7 +194,7 @@ {"enable-network-service-sandbox", flag_descriptions::kEnableNetworkServiceSandboxName, flag_descriptions::kEnableNetworkServiceSandboxDescription, -@@ -9552,7 +9582,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -9567,7 +9597,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kGlobalVaapiLockDescription, kOsCrOS | kOsLinux, FEATURE_VALUE_TYPE(media::kGlobalVaapiLock)}, @@ -203,7 +203,7 @@ { "ui-debug-tools", flag_descriptions::kUIDebugToolsName, -@@ -10009,7 +10039,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10024,7 +10054,7 @@ const FeatureEntry kFeatureEntries[] = { #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \ @@ -212,7 +212,7 @@ {"media-session-enter-picture-in-picture", flag_descriptions::kMediaSessionEnterPictureInPictureName, flag_descriptions::kMediaSessionEnterPictureInPictureDescription, -@@ -10206,7 +10236,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10221,7 +10251,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kReduceTransferSizeUpdatedIPCDescription, kOsAll, FEATURE_VALUE_TYPE(network::features::kReduceTransferSizeUpdatedIPC)}, @@ -221,7 +221,7 @@ {"reduce-user-agent-data-linux-platform-version", flag_descriptions::kReduceUserAgentDataLinuxPlatformVersionName, flag_descriptions::kReduceUserAgentDataLinuxPlatformVersionDescription, -@@ -10768,7 +10798,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10783,7 +10813,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kRcapsDynamicProfileCountryDescription, kOsAll, FEATURE_VALUE_TYPE(switches::kDynamicProfileCountry)}, @@ -230,7 +230,7 @@ {"enable-generic-oidc-auth-profile-management", flag_descriptions::kEnableGenericOidcAuthProfileManagementName, flag_descriptions::kEnableGenericOidcAuthProfileManagementDescription, -@@ -10789,7 +10819,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -10804,7 +10834,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -239,7 +239,7 @@ {"enable-user-navigation-capturing-pwa", flag_descriptions::kPwaNavigationCapturingName, flag_descriptions::kPwaNavigationCapturingDescription, -@@ -11303,7 +11333,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11318,7 +11348,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kResponsiveIframesDescription, kOsAll, FEATURE_VALUE_TYPE(blink::features::kResponsiveIframes)}, @@ -248,7 +248,7 @@ {"replace-sync-promos-with-sign-in-promos-desktop", flag_descriptions::kReplaceSyncPromosWithSignInPromosName, flag_descriptions::kReplaceSyncPromosWithSignInPromosDescription, -@@ -11719,7 +11749,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11734,7 +11764,7 @@ const FeatureEntry kFeatureEntries[] = { segmentation_platform::features::kSegmentationSurveyPage)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -257,7 +257,7 @@ {"autofill-enable-buy-now-pay-later", flag_descriptions::kAutofillEnableBuyNowPayLaterName, flag_descriptions::kAutofillEnableBuyNowPayLaterDescription, -@@ -11790,7 +11820,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11805,7 +11835,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE( autofill::features::kAutofillEnableCardInfoRuntimeRetrieval)}, @@ -266,7 +266,7 @@ {"translation-api", flag_descriptions::kTranslationAPIName, flag_descriptions::kTranslationAPIDescription, kOsMac | kOsWin | kOsLinux, FEATURE_WITH_PARAMS_VALUE_TYPE(blink::features::kTranslationAPI, -@@ -11816,7 +11846,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -11831,7 +11861,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE( password_manager::features::kPasswordFormClientsideClassifier)}, @@ -275,7 +275,7 @@ {"contextual-cueing", flag_descriptions::kContextualCueingName, flag_descriptions::kContextualCueingDescription, kOsLinux | kOsMac | kOsWin, -@@ -12192,7 +12222,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12207,7 +12237,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(ui::kUseNewEtc1Encoder)}, #endif // !BUILDFLAG(IS_ANDROID) @@ -284,7 +284,7 @@ {"automatic-usb-detach", flag_descriptions::kAutomaticUsbDetachName, flag_descriptions::kAutomaticUsbDetachDescription, kOsAndroid | kOsLinux, FEATURE_VALUE_TYPE(features::kAutomaticUsbDetach)}, -@@ -12228,7 +12258,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12243,7 +12273,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // !BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -293,7 +293,7 @@ {"autofill-enable-amount-extraction", flag_descriptions::kAutofillEnableAmountExtractionName, flag_descriptions::kAutofillEnableAmountExtractionDescription, -@@ -12373,7 +12403,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12388,7 +12418,7 @@ const FeatureEntry kFeatureEntries[] = { apps::chrome_app_deprecation::kAllowUserInstalledChromeApps)}, #endif // BUILDFLAG(IS_CHROMEOS) @@ -302,7 +302,7 @@ {"chrome-web-store-navigation-throttle", flag_descriptions::kChromeWebStoreNavigationThrottleName, flag_descriptions::kChromeWebStoreNavigationThrottleDescription, -@@ -12402,7 +12432,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12417,7 +12447,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(supervised_user::kSupervisedUserBlockInterstitialV3)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -311,7 +311,7 @@ {"autofill-enable-amount-extraction-testing", flag_descriptions::kAutofillEnableAmountExtractionTestingName, flag_descriptions::kAutofillEnableAmountExtractionTestingDescription, -@@ -12417,7 +12447,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12432,7 +12462,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kEnableWebAppPredictableAppUpdatingDescription, kOsAll, FEATURE_VALUE_TYPE(features::kWebAppPredictableAppUpdating)}, @@ -320,7 +320,7 @@ {"root-scrollbar-follows-browser-theme", flag_descriptions::kRootScrollbarFollowsTheme, flag_descriptions::kRootScrollbarFollowsThemeDescription, -@@ -12694,7 +12724,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12709,7 +12739,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -329,7 +329,7 @@ {"tab-group-home", tabs::flag_descriptions::kTabGroupHomeName, tabs::flag_descriptions::kTabGroupHomeDescription, kOsDesktop, FEATURE_VALUE_TYPE(tabs::kTabGroupHome)}, -@@ -12784,7 +12814,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12799,7 +12829,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -338,7 +338,7 @@ {"enable-site-search-allow-user-override-policy", flag_descriptions::kEnableSiteSearchAllowUserOverridePolicyName, flag_descriptions::kEnableSiteSearchAllowUserOverridePolicyDescription, -@@ -12896,7 +12926,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12911,7 +12941,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_ANDROID) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -347,7 +347,7 @@ {"autofill-enable-buy-now-pay-later-for-klarna", flag_descriptions::kAutofillEnableBuyNowPayLaterForKlarnaName, flag_descriptions::kAutofillEnableBuyNowPayLaterForKlarnaDescription, -@@ -12969,7 +12999,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -12984,7 +13014,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(ENABLE_DICE_SUPPORT) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -356,7 +356,7 @@ {"autofill-enable-buy-now-pay-later-for-externally-linked", flag_descriptions::kAutofillEnableBuyNowPayLaterForExternallyLinkedName, flag_descriptions:: -@@ -13247,7 +13277,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13262,7 +13292,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // !BUILDFLAG(IS_ANDROID), #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || \ @@ -365,7 +365,7 @@ {"enable-ntp-enterprise-shortcuts", flag_descriptions::kEnableNtpEnterpriseShortcutsName, flag_descriptions::kEnableNtpEnterpriseShortcutsDescription, -@@ -13354,7 +13384,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13369,7 +13399,7 @@ const FeatureEntry kFeatureEntries[] = { autofill::features::kAutofillAndPasswordsInSameSurface)}, #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \ @@ -374,7 +374,7 @@ {"contextual-suggestion-ui-improvements", flag_descriptions::kContextualSuggestionsUiImprovementsName, flag_descriptions::kContextualSuggestionsUiImprovementsDescription, -@@ -13382,7 +13412,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13397,7 +13427,7 @@ const FeatureEntry kFeatureEntries[] = { "EnableBlockCanvasReadback")}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -383,7 +383,7 @@ {"autofill-enable-ai-based-amount-extraction", flag_descriptions::kAutofillEnableAiBasedAmountExtractionName, flag_descriptions::kAutofillEnableAiBasedAmountExtractionDescription, -@@ -13432,7 +13462,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13447,7 +13477,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(features::kCryptographyComplianceCnsa)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -392,7 +392,7 @@ {"lens-reinvocation-affordance", flag_descriptions::kLensSearchReinvocationAffordanceName, flag_descriptions::kLensSearchReinvocationAffordanceDescription, -@@ -13490,7 +13520,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13505,7 +13535,7 @@ const FeatureEntry kFeatureEntries[] = { STRING_VALUE_TYPE(variations::switches::kVariationsSeedCorpus, "")}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -401,7 +401,7 @@ {"passkey-unlock-error-ui", flag_descriptions::kPasskeyUnlockErrorUiName, flag_descriptions::kPasskeyUnlockErrorUiDescription, kOsDesktop, FEATURE_VALUE_TYPE(device::kPasskeyUnlockErrorUi)}, -@@ -13527,7 +13557,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13542,7 +13572,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(features::kUserValueDefaultBrowserStrings)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -410,7 +410,7 @@ {"read-anything-read-aloud-ts-text-segmentation", flag_descriptions::kReadAnythingReadAloudTsTextSegmentationName, flag_descriptions::kReadAnythingReadAloudTsTextSegmentationDescription, -@@ -13539,7 +13569,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13554,7 +13584,7 @@ const FeatureEntry kFeatureEntries[] = { flag_descriptions::kHandleMdmErrorsForDasherAccountsDescription, kOsAll, FEATURE_VALUE_TYPE(switches::kHandleMdmErrorsForDasherAccounts)}, @@ -419,7 +419,7 @@ {"profile-creation-decline-signin-cta-experiment", flag_descriptions::kProfileCreationDeclineSigninCTAExperimentName, flag_descriptions::kProfileCreationDeclineSigninCTAExperimentDescription, -@@ -13547,7 +13577,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13562,7 +13592,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(switches::kProfileCreationDeclineSigninCTAExperiment)}, #endif @@ -428,7 +428,7 @@ {"show-profile-picker-to-all-users-experiment", flag_descriptions::kShowProfilePickerToAllUsersExperimentName, flag_descriptions::kShowProfilePickerToAllUsersExperimentDescription, -@@ -13597,7 +13627,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13612,7 +13642,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(features::kAndroidDesktopZoomScaling)}, #endif @@ -437,7 +437,7 @@ {"profile-picker-text-variations", flag_descriptions::kProfilePickerTextVariationsName, flag_descriptions::kProfilePickerTextVariationsDescription, -@@ -13608,7 +13638,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13623,7 +13653,7 @@ const FeatureEntry kFeatureEntries[] = { #endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -446,7 +446,7 @@ {"lens-overlay-optimization-filter", flag_descriptions::kLensOverlayOptimizationFilterName, flag_descriptions::kLensOverlayOptimizationFilterDescription, kOsDesktop, -@@ -13627,7 +13657,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13642,7 +13672,7 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(network::features::kConnectionAllowlists)}, #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ @@ -455,7 +455,7 @@ {"read-anything-with-readability-enabled", flag_descriptions::kReadAnythingWithReadabilityName, flag_descriptions::kReadAnythingWithReadabilityDescription, kOsDesktop, -@@ -13635,7 +13665,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -13650,7 +13680,7 @@ const FeatureEntry kFeatureEntries[] = { #endif #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ |
