- Chromium 128.0.6613.36 (current beta release) 
- modified patches:
  * chromium-norar.patch drop most hunks,
    upstream has a config for this now
  * gcc-enable-lto.patch update context
  * chromium-125-compiler.patch update context
  * chromium-127-constexpr.patch update context
- drop patches: (should be obsolete with llvm>17 and libc++)
  chromium-120-emplace.patch
  chromium-125-emplace-struct.patch
- drop patches: (upstream)
  * chromium-121-nullptr_t-without-namespace-std.patch
  * chromium-123-stats-collector.patch
  * chromium-127-paint-layer-header.patch
  * chromium-127-ninja-1.21.1-deps-part0.patch
  * chromium-127-ninja-1.21.1-deps-part1.patch
  * chromium-127-ninja-1.21.1-deps-part2.patch
  * chromium-127-ninja-1.21.1-deps-part3.patch
- disable rpmlint only for factory/tw where it is broken because
  of the large archive size of the source here
- keeplibs add
  third_party/devtools-frontend/src/front_end/third_party/
  puppeteer/package/lib/esm/third_party/parsel-js
  third_party/tflite/src/third_party/xla/xla/tsl/framework
- buildflags add
  safe_browsing_use_unrar=false
OBS-URL: https://build.opensuse.org/request/show/1195041
OBS-URL: https://build.opensuse.org/package/show/network:chromium/chromium-beta?expand=0&rev=50
		
	
		
			
				
	
	
		
			94 lines
		
	
	
		
			4.7 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			94 lines
		
	
	
		
			4.7 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
author: Andres Salomon <dilinger@debian.org>
 | 
						|
 | 
						|
../../services/network/shared_dictionary/simple_url_pattern_matcher.cc:31:34: error: constexpr variable 'kDefaultOptions' must be initialized by a constant expression
 | 
						|
   31 | constexpr liburlpattern::Options kDefaultOptions = {.delimiter_list = "",
 | 
						|
      |                                  ^                 ~~~~~~~~~~~~~~~~~~~~~~
 | 
						|
   32 |                                                     .prefix_list = "",
 | 
						|
      |                                                     ~~~~~~~~~~~~~~~~~~
 | 
						|
   33 |                                                     .sensitive = true,
 | 
						|
      |                                                     ~~~~~~~~~~~~~~~~~~
 | 
						|
   34 |                                                     .strict = true};
 | 
						|
      |                                                     ~~~~~~~~~~~~~~~
 | 
						|
 | 
						|
--- a/services/network/shared_dictionary/simple_url_pattern_matcher.cc
 | 
						|
+++ b/services/network/shared_dictionary/simple_url_pattern_matcher.cc
 | 
						|
@@ -28,17 +28,17 @@ namespace network {
 | 
						|
 namespace {
 | 
						|
 
 | 
						|
 // https://urlpattern.spec.whatwg.org/#default-options
 | 
						|
-constexpr liburlpattern::Options kDefaultOptions = {.delimiter_list = "",
 | 
						|
+const liburlpattern::Options kDefaultOptions = {.delimiter_list = "",
 | 
						|
                                                     .prefix_list = "",
 | 
						|
                                                     .sensitive = true,
 | 
						|
                                                     .strict = true};
 | 
						|
 // https://urlpattern.spec.whatwg.org/#hostname-options
 | 
						|
-constexpr liburlpattern::Options kHostnameOptions = {.delimiter_list = ".",
 | 
						|
+const liburlpattern::Options kHostnameOptions = {.delimiter_list = ".",
 | 
						|
                                                      .prefix_list = "",
 | 
						|
                                                      .sensitive = true,
 | 
						|
                                                      .strict = true};
 | 
						|
 // https://urlpattern.spec.whatwg.org/#pathname-options
 | 
						|
-constexpr liburlpattern::Options kPathnameOptions = {.delimiter_list = "/",
 | 
						|
+const liburlpattern::Options kPathnameOptions = {.delimiter_list = "/",
 | 
						|
                                                      .prefix_list = "/",
 | 
						|
                                                      .sensitive = true,
 | 
						|
                                                      .strict = true};
 | 
						|
--- a/components/autofill/core/browser/data_model/autofill_i18n_api.h
 | 
						|
+++ b/components/autofill/core/browser/data_model/autofill_i18n_api.h
 | 
						|
@@ -16,8 +16,8 @@ namespace autofill::i18n_model_definitio
 | 
						|
 // Country code that represents autofill's legacy address hierarchy model as
 | 
						|
 // stored `kAutofillModelRules`. As a workaround for GCC we declare the
 | 
						|
 // std::string constexpr first.
 | 
						|
-constexpr inline std::string kLegacyHierarchyCountryCodeString{"XX"};
 | 
						|
-constexpr AddressCountryCode kLegacyHierarchyCountryCode =
 | 
						|
+const inline std::string kLegacyHierarchyCountryCodeString{"XX"};
 | 
						|
+const AddressCountryCode kLegacyHierarchyCountryCode =
 | 
						|
     AddressCountryCode(kLegacyHierarchyCountryCodeString);
 | 
						|
 
 | 
						|
 // Creates an instance of the address hierarchy model corresponding to the
 | 
						|
--- a/components/omnibox/browser/on_device_tail_model_service.cc
 | 
						|
+++ b/components/omnibox/browser/on_device_tail_model_service.cc
 | 
						|
@@ -26,7 +26,7 @@
 | 
						|
 
 | 
						|
 namespace {
 | 
						|
 // Constants for TFlite model validation.
 | 
						|
-constexpr std::string kTestPrefix = "google m";
 | 
						|
+const std::string kTestPrefix = "google m";
 | 
						|
 constexpr std::string_view kModelValidationSwitchName =
 | 
						|
     "omnibox-on-device-tail-model-validation";
 | 
						|
 
 | 
						|
--- a/chrome/browser/ui/lens/lens_overlay_url_builder.cc
 | 
						|
+++ b/chrome/browser/ui/lens/lens_overlay_url_builder.cc
 | 
						|
@@ -78,7 +78,7 @@ inline constexpr char kXSRFTokenQueryPar
 | 
						|
 inline constexpr char kSecActQueryParamKey[] = "sec_act";
 | 
						|
 
 | 
						|
 // The list of query parameters to ignore when comparing search URLs.
 | 
						|
-inline constexpr std::string kIgnoredSearchUrlQueryParameters[] = {
 | 
						|
+inline const std::string kIgnoredSearchUrlQueryParameters[] = {
 | 
						|
     kViewportWidthQueryParamKey, kViewportHeightQueryParamKey,
 | 
						|
     kXSRFTokenQueryParamKey, kSecActQueryParamKey};
 | 
						|
 
 | 
						|
--- a/content/public/test/prefetch_test_util.h
 | 
						|
+++ b/content/public/test/prefetch_test_util.h
 | 
						|
@@ -15,7 +15,7 @@ namespace content::test {
 | 
						|
 
 | 
						|
 using PrefetchContainerIdForTesting =
 | 
						|
     base::StrongAlias<class PrefetchContainerIdForTestingTag, std::string>;
 | 
						|
-static constexpr PrefetchContainerIdForTesting
 | 
						|
+static const PrefetchContainerIdForTesting
 | 
						|
     InvalidPrefetchContainerIdForTesting = PrefetchContainerIdForTesting("");
 | 
						|
 
 | 
						|
 class TestPrefetchWatcherImpl;
 | 
						|
--- a/components/history_embeddings/ml_answerer.cc
 | 
						|
+++ b/components/history_embeddings/ml_answerer.cc
 | 
						|
@@ -24,7 +24,7 @@
 | 
						|
 
 | 
						|
 namespace {
 | 
						|
 
 | 
						|
-static constexpr std::string kPassageIdToken = "ID";
 | 
						|
+static const std::string kPassageIdToken = "ID";
 | 
						|
 
 | 
						|
 std::string GetPassageIdStr(size_t id) {
 | 
						|
   return base::StringPrintf("%04d", static_cast<int>(id));
 | 
						|
 |