diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2023-06-11 11:09:57 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2023-06-11 11:09:57 +0800 |
commit | 88b2f8cc505e8c038a7145eb18951dbadd9c72ca (patch) | |
tree | d190b9f67ceffd4e15a645b9ec3e47e9d0914b87 | |
parent | 0967be90ebf4469d84a74aef378cbd023d323be8 (diff) | |
download | copr-rpm-spec-88b2f8cc505e8c038a7145eb18951dbadd9c72ca.tar copr-rpm-spec-88b2f8cc505e8c038a7145eb18951dbadd9c72ca.tar.gz copr-rpm-spec-88b2f8cc505e8c038a7145eb18951dbadd9c72ca.tar.bz2 copr-rpm-spec-88b2f8cc505e8c038a7145eb18951dbadd9c72ca.tar.lz copr-rpm-spec-88b2f8cc505e8c038a7145eb18951dbadd9c72ca.tar.xz copr-rpm-spec-88b2f8cc505e8c038a7145eb18951dbadd9c72ca.tar.zst copr-rpm-spec-88b2f8cc505e8c038a7145eb18951dbadd9c72ca.zip |
chromium: Chromium 113.0.5672.126 -> 114.0.5735.106
31 files changed, 140 insertions, 629 deletions
diff --git a/chromium/chromium/chromium-autofill-cstdint.patch b/chromium/chromium/chromium-autofill-cstdint.patch deleted file mode 100644 index 13a1a6c..0000000 --- a/chromium/chromium/chromium-autofill-cstdint.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/components/autofill/core/browser/autofill_ablation_study.h b/components/autofill/core/browser/autofill_ablation_study.h -index ada8121982ecc..35cce67d5c284 100644 ---- a/components/autofill/core/browser/autofill_ablation_study.h -+++ b/components/autofill/core/browser/autofill_ablation_study.h -@@ -5,6 +5,7 @@ - #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_ABLATION_STUDY_H_ - #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_ABLATION_STUDY_H_ - -+#include <cstdint> - #include <string> - - class GURL; diff --git a/chromium/chromium/chromium-blink-cstdint.patch b/chromium/chromium/chromium-blink-cstdint.patch deleted file mode 100644 index f31e9eb..0000000 --- a/chromium/chromium/chromium-blink-cstdint.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/third_party/blink/public/common/bluetooth/web_bluetooth_device_id.h b/third_party/blink/public/common/bluetooth/web_bluetooth_device_id.h -index 7a74887af9662..058870eef35e1 100644 ---- a/third_party/blink/public/common/bluetooth/web_bluetooth_device_id.h -+++ b/third_party/blink/public/common/bluetooth/web_bluetooth_device_id.h -@@ -6,6 +6,7 @@ - #define THIRD_PARTY_BLINK_PUBLIC_COMMON_BLUETOOTH_WEB_BLUETOOTH_DEVICE_ID_H_ - - #include <array> -+#include <cstdint> - #include <string> - - #include "third_party/blink/public/common/common_export.h" diff --git a/chromium/chromium/chromium-cc-cstdint.patch b/chromium/chromium/chromium-cc-cstdint.patch deleted file mode 100644 index ba23e73..0000000 --- a/chromium/chromium/chromium-cc-cstdint.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/cc/trees/target_property.cc b/cc/trees/target_property.cc -index f6e873a01a10a..c36c71a240b98 100644 ---- a/cc/trees/target_property.cc -+++ b/cc/trees/target_property.cc -@@ -4,6 +4,8 @@ - - #include "cc/trees/target_property.h" - -+#include <cstdint> -+ - #include "ui/gfx/animation/keyframe/target_property.h" - - namespace cc { diff --git a/chromium/chromium/chromium-chrome-cstdint.patch b/chromium/chromium/chromium-chrome-cstdint.patch deleted file mode 100644 index ff98682..0000000 --- a/chromium/chromium/chromium-chrome-cstdint.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/chrome/browser/privacy_budget/encountered_surface_tracker.h b/chrome/browser/privacy_budget/encountered_surface_tracker.h -index 012ca2c5952de..d7d9eb6ec4913 100644 ---- a/chrome/browser/privacy_budget/encountered_surface_tracker.h -+++ b/chrome/browser/privacy_budget/encountered_surface_tracker.h -@@ -5,6 +5,7 @@ - #ifndef CHROME_BROWSER_PRIVACY_BUDGET_ENCOUNTERED_SURFACE_TRACKER_H_ - #define CHROME_BROWSER_PRIVACY_BUDGET_ENCOUNTERED_SURFACE_TRACKER_H_ - -+#include <cstdint> - #include <map> - - #include "base/containers/flat_set.h" diff --git a/chromium/chromium/chromium-crash-cstdint.patch b/chromium/chromium/chromium-crash-cstdint.patch deleted file mode 100644 index 055d8ea..0000000 --- a/chromium/chromium/chromium-crash-cstdint.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/components/crash/core/app/crash_reporter_client.h b/components/crash/core/app/crash_reporter_client.h -index 9f8f20dfa6506..ea7ad43ffb552 100644 ---- a/components/crash/core/app/crash_reporter_client.h -+++ b/components/crash/core/app/crash_reporter_client.h -@@ -5,6 +5,7 @@ - #ifndef COMPONENTS_CRASH_CORE_APP_CRASH_REPORTER_CLIENT_H_ - #define COMPONENTS_CRASH_CORE_APP_CRASH_REPORTER_CLIENT_H_ - -+#include <cstdint> - #include <string> - - #include "build/build_config.h" diff --git a/chromium/chromium/chromium-dawn-cstdint.patch b/chromium/chromium/chromium-dawn-cstdint.patch deleted file mode 100644 index c66efad..0000000 --- a/chromium/chromium/chromium-dawn-cstdint.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/src/dawn/native/stream/ByteVectorSink.h b/src/dawn/native/stream/ByteVectorSink.h -index 3b6016c082..5537820b1a 100644 ---- a/third_party/dawn/src/dawn/native/stream/ByteVectorSink.h -+++ b/third_party/dawn/src/dawn/native/stream/ByteVectorSink.h -@@ -15,6 +15,7 @@ - #ifndef SRC_DAWN_NATIVE_STREAM_BYTEVECTORSINK_H_ - #define SRC_DAWN_NATIVE_STREAM_BYTEVECTORSINK_H_ - -+#include <cstdint> - #include <ostream> - #include <vector> - -diff --git a/src/tint/reader/spirv/namer.h b/src/tint/reader/spirv/namer.h -index 7a20e8738b..655f69ce36 100644 ---- a/third_party/dawn/src/tint/reader/spirv/namer.h -+++ b/third_party/dawn/src/tint/reader/spirv/namer.h -@@ -15,6 +15,7 @@ - #ifndef SRC_TINT_READER_SPIRV_NAMER_H_ - #define SRC_TINT_READER_SPIRV_NAMER_H_ - -+#include <cstdint> - #include <string> - #include <unordered_map> - #include <vector> diff --git a/chromium/chromium/chromium-device-cstdint.patch b/chromium/chromium/chromium-device-cstdint.patch deleted file mode 100644 index dcfb41a..0000000 --- a/chromium/chromium/chromium-device-cstdint.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/device/base/synchronization/one_writer_seqlock.h b/device/base/synchronization/one_writer_seqlock.h -index 528b6683ca270..e37a16b81be89 100644 ---- a/device/base/synchronization/one_writer_seqlock.h -+++ b/device/base/synchronization/one_writer_seqlock.h -@@ -6,6 +6,7 @@ - #define DEVICE_BASE_SYNCHRONIZATION_ONE_WRITER_SEQLOCK_H_ - - #include <atomic> -+#include <cstdint> - #include <type_traits> - - #include "base/atomicops.h" diff --git a/chromium/chromium/chromium-feature_engagement-cstdint.patch b/chromium/chromium/chromium-feature_engagement-cstdint.patch deleted file mode 100644 index 16e0264..0000000 --- a/chromium/chromium/chromium-feature_engagement-cstdint.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/components/feature_engagement/internal/event_storage_validator.h b/components/feature_engagement/internal/event_storage_validator.h -index 647a359ee2477..ed85a276be934 100644 ---- a/components/feature_engagement/internal/event_storage_validator.h -+++ b/components/feature_engagement/internal/event_storage_validator.h -@@ -5,6 +5,7 @@ - #ifndef COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_EVENT_STORAGE_VALIDATOR_H_ - #define COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_EVENT_STORAGE_VALIDATOR_H_ - -+#include <cstdint> - #include <string> - - namespace feature_engagement { diff --git a/chromium/chromium/chromium-gcc-12-r1122463.patch b/chromium/chromium/chromium-gcc-12-r1122463.patch deleted file mode 100644 index 813b00a..0000000 --- a/chromium/chromium/chromium-gcc-12-r1122463.patch +++ /dev/null @@ -1,44 +0,0 @@ -From e55c0bf35f4c54610c3bb40fcdc1b961bfd9f763 Mon Sep 17 00:00:00 2001 -From: Jose Dapena Paz <jdapena@igalia.com> -Date: Mon, 27 Mar 2023 16:38:29 +0000 -Subject: [PATCH] Do not use std::monospace for absl::variant -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -authenticator_request_dialog_model.h introduced usage of -std::monospace, though no include was added for it. But in this file -it is using absl::variant. For uniformity, keep using absl::monospace -before all the file moves to use std variants. - -This fixes a break in libstdc++ build. - -Bug: 957519 -Change-Id: I16adf924e935d2517916969000f8e94efc118c53 -Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4372590 -Commit-Queue: José Dapena Paz <jdapena@igalia.com> -Reviewed-by: Nina Satragno <nsatragno@chromium.org> -Cr-Commit-Position: refs/heads/main@{#1122463} ---- - chrome/browser/webauthn/authenticator_request_dialog_model.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/chrome/browser/webauthn/authenticator_request_dialog_model.h b/chrome/browser/webauthn/authenticator_request_dialog_model.h -index f4992a74bd66b..6a4bcf68bcdf6 100644 ---- a/chrome/browser/webauthn/authenticator_request_dialog_model.h -+++ b/chrome/browser/webauthn/authenticator_request_dialog_model.h -@@ -181,9 +181,9 @@ class AuthenticatorRequestDialogModel { - // These types describe the type of Mechanism. - using Transport = - base::StrongAlias<class TransportTag, AuthenticatorTransport>; -- using WindowsAPI = base::StrongAlias<class WindowsAPITag, std::monostate>; -+ using WindowsAPI = base::StrongAlias<class WindowsAPITag, absl::monostate>; - using Phone = base::StrongAlias<class PhoneTag, std::string>; -- using AddPhone = base::StrongAlias<class AddPhoneTag, std::monostate>; -+ using AddPhone = base::StrongAlias<class AddPhoneTag, absl::monostate>; - using Type = absl::variant<Transport, WindowsAPI, Phone, AddPhone>; - - Mechanism(Type type, --- -2.40.1 - diff --git a/chromium/chromium/chromium-gcc-12-r1123011.patch b/chromium/chromium/chromium-gcc-12-r1123011.patch deleted file mode 100644 index 4c3b95c..0000000 --- a/chromium/chromium/chromium-gcc-12-r1123011.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 2e14a3ac178ee87aa9154e5a15dcd986af1b6059 Mon Sep 17 00:00:00 2001 -From: Stephan Hartmann <stha09@googlemail.com> -Date: Tue, 28 Mar 2023 14:34:55 +0000 -Subject: [PATCH] IWYU: add cstring for std::strlen in web_view_impl.cc - -Bug: 957519 -Change-Id: I15ad1e905eda3d96bbf164f5df8f3cf8e02bc370 -Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4376772 -Reviewed-by: Alex Ilin <alexilin@chromium.org> -Commit-Queue: Alex Ilin <alexilin@chromium.org> -Cr-Commit-Position: refs/heads/main@{#1123011} ---- - chrome/test/chromedriver/chrome/web_view_impl.cc | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/chrome/test/chromedriver/chrome/web_view_impl.cc b/chrome/test/chromedriver/chrome/web_view_impl.cc -index f726627e88def..d96d481d0bc40 100644 ---- a/chrome/test/chromedriver/chrome/web_view_impl.cc -+++ b/chrome/test/chromedriver/chrome/web_view_impl.cc -@@ -6,6 +6,7 @@ - - #include <stddef.h> - #include <algorithm> -+#include <cstring> - #include <memory> - #include <queue> - #include <utility> --- -2.40.1 - diff --git a/chromium/chromium/chromium-gcc-12-r1127041.patch b/chromium/chromium/chromium-gcc-12-r1127041.patch deleted file mode 100644 index 12ba461..0000000 --- a/chromium/chromium/chromium-gcc-12-r1127041.patch +++ /dev/null @@ -1,47 +0,0 @@ -From c8b965be5b61c2412df938e1feb380b69bd92ee9 Mon Sep 17 00:00:00 2001 -From: Stephan Hartmann <stha09@googlemail.com> -Date: Thu, 6 Apr 2023 07:15:03 +0000 -Subject: [PATCH] [unbundle] do not use ZipAnalyzer traits header - -It is enough to include chrome/common/safe_browsing/archive_analyzer_results.h. - -Bug: None -Change-Id: Ia63a66b77c073fa4fdb8470db34b4c24722293cc -Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4373706 -Reviewed-by: Daniel Rubery <drubery@chromium.org> -Commit-Queue: Stephan Hartmann <stha09@googlemail.com> -Cr-Commit-Position: refs/heads/main@{#1127041} ---- - chrome/services/file_util/public/mojom/BUILD.gn | 3 ++- - chrome/services/file_util/safe_archive_analyzer.h | 1 + - 2 files changed, 3 insertions(+), 1 deletion(-) - -diff --git a/chrome/services/file_util/public/mojom/BUILD.gn b/chrome/services/file_util/public/mojom/BUILD.gn -index b9e80cc748e8f..461d2d00b5e51 100644 ---- a/chrome/services/file_util/public/mojom/BUILD.gn -+++ b/chrome/services/file_util/public/mojom/BUILD.gn -@@ -55,7 +55,8 @@ mojom("mojom") { - cpp = "::safe_browsing::ArchiveAnalyzerResults" - }, - ] -- traits_headers = [ "//chrome/common/safe_browsing/zip_analyzer.h" ] -+ traits_headers = -+ [ "//chrome/common/safe_browsing/archive_analyzer_results.h" ] - traits_private_headers = [ "safe_archive_analyzer_param_traits.h" ] - traits_public_deps = [ - "//chrome/common/safe_browsing:proto", -diff --git a/chrome/services/file_util/safe_archive_analyzer.h b/chrome/services/file_util/safe_archive_analyzer.h -index 62307b87839a2..0231205377c7f 100644 ---- a/chrome/services/file_util/safe_archive_analyzer.h -+++ b/chrome/services/file_util/safe_archive_analyzer.h -@@ -7,6 +7,7 @@ - - #include "chrome/common/safe_browsing/archive_analyzer_results.h" - #include "chrome/common/safe_browsing/rar_analyzer.h" -+#include "chrome/common/safe_browsing/zip_analyzer.h" - #include "chrome/services/file_util/public/mojom/safe_archive_analyzer.mojom.h" - #include "mojo/public/cpp/bindings/remote.h" - --- -2.40.1 - diff --git a/chromium/chromium/chromium-gcc-12-r1147184.patch b/chromium/chromium/chromium-gcc-12-r1147184.patch new file mode 100644 index 0000000..0ab6661 --- /dev/null +++ b/chromium/chromium/chromium-gcc-12-r1147184.patch @@ -0,0 +1,87 @@ +From 2af2d08972d14d5bdd91e0515eb5b15b4444aee9 Mon Sep 17 00:00:00 2001 +From: git-bruh <prathamIN@proton.me> +Date: Mon, 22 May 2023 13:26:57 +0000 +Subject: [PATCH] blink::HTMLMediaElement::ShouldReusePlayer: avoid + dereferencing a potentally NULL domWindow +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The domWindow() method of the Document class can potentially return nullptr +as noted in renderer/core/dom/document.h + +> // A document may or may not have a browsing context +> // (https://html.spec.whatwg.org/#browsing-context). A document with a browsing +> // context is created by navigation, and has a non-null domWindow(), GetFrame(), +> // Loader(), etc., and is visible to the user. It will have a valid +> // GetExecutionContext(), which will be equal to domWindow(). If the Document +> // constructor receives a DocumentInit created WithDocumentLoader(), it will +> // have a browsing context. +> // Documents created by all other APIs do not have a browsing context. These +> // Documents still have a valid GetExecutionContext() (i.e., the domWindow() of +> // the Document in which they were created), so they can still access +> // script, but return null for domWindow(), GetFrame() and Loader(). Generally, +> // they should not downcast the ExecutionContext to a LocalDOMWindow and access +> // the properties of the window directly. + +Upon checking further, the offending document returns null for GetFrame() and +Loader() aswell so this was likely just an oversight and no invariants are being +violated + +Introduced in https://chromium-review.googlesource.com/c/chromium/src/+/4202152 + +More details https://bugs.chromium.org/p/chromium/issues/detail?id=1447388 + +Fixed: 1447388 +Change-Id: I85a6ef52baaac0ec7f5ec188d5d5bb2c518a8ecd +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4546610 +Reviewed-by: Fredrik Söderquist <fs@opera.com> +Commit-Queue: Fredrik Söderquist <fs@opera.com> +Cr-Commit-Position: refs/heads/main@{#1147184} +--- + AUTHORS | 1 + + .../blink/renderer/core/html/media/html_media_element.cc | 9 +++++---- + 2 files changed, 6 insertions(+), 4 deletions(-) + +diff --git a/AUTHORS b/AUTHORS +index 2244e6755a69d..9cc81a4b26ce0 100644 +--- a/AUTHORS ++++ b/AUTHORS +@@ -1012,6 +1012,7 @@ Pranjal Jumde <pranjal@brave.com> + Prashant Hiremath <prashhir@cisco.com> + Prashant Nevase <prashant.n@samsung.com> + Prashant Patil <prashant.patil@imgtec.com> ++Pratham <prathamIN@proton.me> + Praveen Akkiraju <praveen.anp@samsung.com> + Preeti Nayak <preeti.nayak@samsung.com> + Pritam Nikam <pritam.nikam@samsung.com> +diff --git a/third_party/blink/renderer/core/html/media/html_media_element.cc b/third_party/blink/renderer/core/html/media/html_media_element.cc +index e2348c37d2b86..b6c83c32cf8a8 100644 +--- a/third_party/blink/renderer/core/html/media/html_media_element.cc ++++ b/third_party/blink/renderer/core/html/media/html_media_element.cc +@@ -648,6 +648,11 @@ void HTMLMediaElement::DidMoveToNewDocument(Document& old_document) { + + bool HTMLMediaElement::ShouldReusePlayer(Document& old_document, + Document& new_document) const { ++ // A NULL frame implies a NULL domWindow, so just check one of them ++ if (!old_document.GetFrame() || !new_document.GetFrame()) { ++ return false; ++ } ++ + // Don't reuse player if the Document Picture-in-Picture API is disabled for + // both documents. + if (!RuntimeEnabledFeatures::DocumentPictureInPictureAPIEnabled( +@@ -657,10 +662,6 @@ bool HTMLMediaElement::ShouldReusePlayer(Document& old_document, + return false; + } + +- if (!old_document.GetFrame() || !new_document.GetFrame()) { +- return false; +- } +- + auto* new_origin = new_document.GetFrame() + ->LocalFrameRoot() + .GetSecurityContext() +-- +2.40.1 + diff --git a/chromium/chromium/chromium-gcc-12-r1149296.patch b/chromium/chromium/chromium-gcc-12-r1149296.patch new file mode 100644 index 0000000..7ab34ea --- /dev/null +++ b/chromium/chromium/chromium-gcc-12-r1149296.patch @@ -0,0 +1,42 @@ +From a1fec6273f3ad7c73b35bb420a5540355df35b74 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ovidio=20Ruiz-Henr=C3=ADquez?= <odejesush@chromium.org> +Date: Thu, 25 May 2023 19:27:54 +0000 +Subject: [PATCH] controlledframe: Fix start up crash +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +This commit applies a fix from mail@maciej.szmigiero.name to prevent a +null reference error in GetControlledFrameFeatureList(). The fix is to +add static to `feature_list` so that the object lives past this +function. + +BUG=1447422 + +Change-Id: I22879831ec879ce7d6a178760540f88106b3ded4 +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4555985 +Commit-Queue: Ovidio Ruiz-Henríquez <odejesush@chromium.org> +Reviewed-by: David Roger <droger@chromium.org> +Reviewed-by: Chase Phillips <cmp@chromium.org> +Auto-Submit: Ovidio Ruiz-Henríquez <odejesush@chromium.org> +Cr-Commit-Position: refs/heads/main@{#1149296} +--- + chrome/common/initialize_extensions_client.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/chrome/common/initialize_extensions_client.cc b/chrome/common/initialize_extensions_client.cc +index f3623635c32a5..79ce2c2b62818 100644 +--- a/chrome/common/initialize_extensions_client.cc ++++ b/chrome/common/initialize_extensions_client.cc +@@ -19,7 +19,7 @@ + + // This list should stay in sync with GetExpectedDelegatedFeaturesForTest(). + base::span<const char* const> GetControlledFrameFeatureList() { +- constexpr const char* feature_list[] = { ++ static constexpr const char* feature_list[] = { + "controlledFrameInternal", "chromeWebViewInternal", "guestViewInternal", + "webRequestInternal", "webViewInternal", + }; +-- +2.40.1 + diff --git a/chromium/chromium/chromium-gcc-13-r1125558.patch b/chromium/chromium/chromium-gcc-13-r1125558.patch deleted file mode 100644 index 5b72850..0000000 --- a/chromium/chromium/chromium-gcc-13-r1125558.patch +++ /dev/null @@ -1,43 +0,0 @@ -From afbe6c6ee713519263305d7e2d91cc9f1379afe2 Mon Sep 17 00:00:00 2001 -From: Stephan Hartmann <stha09@googlemail.com> -Date: Mon, 3 Apr 2023 20:41:40 +0000 -Subject: [PATCH] IWYU: add stdint.h for various int types in //base - -Bug: 957519 -Change-Id: I750de80f0d27d93ef3383052ddb4eefd5ee13abe -Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4394430 -Reviewed-by: Daniel Cheng <dcheng@chromium.org> -Commit-Queue: Stephan Hartmann <stha09@googlemail.com> -Cr-Commit-Position: refs/heads/main@{#1125558} ---- - base/debug/profiler.h | 1 + - base/strings/string_piece.h | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/base/debug/profiler.h b/base/debug/profiler.h -index 5f0deadd5d301..035affc7c4d9d 100644 ---- a/base/debug/profiler.h -+++ b/base/debug/profiler.h -@@ -6,6 +6,7 @@ - #define BASE_DEBUG_PROFILER_H_ - - #include <stddef.h> -+#include <stdint.h> - - #include <string> - -diff --git a/base/strings/string_piece.h b/base/strings/string_piece.h -index 899b654cbe8e6..9dde6ec29bbf0 100644 ---- a/base/strings/string_piece.h -+++ b/base/strings/string_piece.h -@@ -22,6 +22,7 @@ - #define BASE_STRINGS_STRING_PIECE_H_ - - #include <stddef.h> -+#include <stdint.h> - - #include <algorithm> - #include <iosfwd> --- -2.40.1 - diff --git a/chromium/chromium/chromium-gcc-13-r1126024.patch b/chromium/chromium/chromium-gcc-13-r1126024.patch deleted file mode 100644 index df71109..0000000 --- a/chromium/chromium/chromium-gcc-13-r1126024.patch +++ /dev/null @@ -1,34 +0,0 @@ -From b969f3cc2482f118819919900d0d42fe81c947e2 Mon Sep 17 00:00:00 2001 -From: Stephan Hartmann <stha09@googlemail.com> -Date: Tue, 4 Apr 2023 16:10:52 +0000 -Subject: [PATCH] GCC: fix copy-list-initialization in net::HostCache - -absl::optional has an explicit constructor and therefore all -constructors are considered on copy-list-initialization (CWG1228). - -Bug: 819294 -Change-Id: Ifce659f6a3ed072e0336b5655f2237c0613bddbe -Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4395935 -Reviewed-by: Adam Langley <agl@chromium.org> -Commit-Queue: Stephan Hartmann <stha09@googlemail.com> -Cr-Commit-Position: refs/heads/main@{#1126024} ---- - net/dns/host_cache.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/net/dns/host_cache.cc b/net/dns/host_cache.cc -index 94d2a9ed203c8..bbdae25656042 100644 ---- a/net/dns/host_cache.cc -+++ b/net/dns/host_cache.cc -@@ -389,7 +389,7 @@ HostCache::Entry::Entry( - - // Even if otherwise empty, having the metadata result object signifies - // receiving a compatible HTTPS record. -- https_record_compatibility_ = {true}; -+ https_record_compatibility_ = std::vector<bool>{true}; - - if (endpoint_metadatas_.value().empty()) - error_ = ERR_NAME_NOT_RESOLVED; --- -2.39.2 - diff --git a/chromium/chromium/chromium-gpu-cstdint.patch b/chromium/chromium/chromium-gpu-cstdint.patch deleted file mode 100644 index 0ea56a5..0000000 --- a/chromium/chromium/chromium-gpu-cstdint.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/gpu/config/gpu_feature_info.h b/gpu/config/gpu_feature_info.h -index 1a7028e471704..b9e951c0a4fe2 100644 ---- a/gpu/config/gpu_feature_info.h -+++ b/gpu/config/gpu_feature_info.h -@@ -5,6 +5,7 @@ - #ifndef GPU_CONFIG_GPU_FEATURE_INFO_H_ - #define GPU_CONFIG_GPU_FEATURE_INFO_H_ - -+#include <cstdint> - #include <string> - #include <vector> - diff --git a/chromium/chromium/chromium-media-mojo-services-opus.patch b/chromium/chromium/chromium-media-mojo-services-opus.patch deleted file mode 100644 index bc6e085..0000000 --- a/chromium/chromium/chromium-media-mojo-services-opus.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/media/mojo/services/BUILD.gn b/media/mojo/services/BUILD.gn -index 327accd3871a9..14616898e218b 100644 ---- a/media/mojo/services/BUILD.gn -+++ b/media/mojo/services/BUILD.gn -@@ -100,6 +100,7 @@ component("services") { - "//services/metrics/public/cpp:metrics_cpp", - "//services/metrics/public/cpp:ukm_builders", - "//services/service_manager/public/mojom", -+ "//third_party/opus", - ] - - if (is_android) { diff --git a/chromium/chromium/chromium-net-cstdint.patch b/chromium/chromium/chromium-net-cstdint.patch deleted file mode 100644 index 5d21215..0000000 --- a/chromium/chromium/chromium-net-cstdint.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/net/cert/pki/string_util.h b/net/cert/pki/string_util.h -index 1687b088606ee..429f926f2ef93 100644 ---- a/net/cert/pki/string_util.h -+++ b/net/cert/pki/string_util.h -@@ -7,6 +7,7 @@ - - #include "net/base/net_export.h" - -+#include <cstdint> - #include <string_view> - #include <vector> - -diff --git a/net/cookies/cookie_inclusion_status.h b/net/cookies/cookie_inclusion_status.h -index 51fb970be72b5..e8dd6d8d9faea 100644 ---- a/net/cookies/cookie_inclusion_status.h -+++ b/net/cookies/cookie_inclusion_status.h -@@ -6,6 +6,7 @@ - #define NET_COOKIES_COOKIE_INCLUSION_STATUS_H_ - - #include <bitset> -+#include <cstdint> - #include <ostream> - #include <string> - #include <vector> diff --git a/chromium/chromium/chromium-omnibox-cstdint.patch b/chromium/chromium/chromium-omnibox-cstdint.patch deleted file mode 100644 index e7cf404..0000000 --- a/chromium/chromium/chromium-omnibox-cstdint.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/components/omnibox/browser/on_device_head_model.h b/components/omnibox/browser/on_device_head_model.h -index d51277918cf1e..754e9cda41b7f 100644 ---- a/components/omnibox/browser/on_device_head_model.h -+++ b/components/omnibox/browser/on_device_head_model.h -@@ -5,6 +5,7 @@ - #ifndef COMPONENTS_OMNIBOX_BROWSER_ON_DEVICE_HEAD_MODEL_H_ - #define COMPONENTS_OMNIBOX_BROWSER_ON_DEVICE_HEAD_MODEL_H_ - -+#include <cstdint> - #include <string> - #include <utility> - #include <vector> diff --git a/chromium/chromium/chromium-openscreen-cstdint.patch b/chromium/chromium/chromium-openscreen-cstdint.patch deleted file mode 100644 index 613948b..0000000 --- a/chromium/chromium/chromium-openscreen-cstdint.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/discovery/dnssd/public/dns_sd_txt_record.h b/discovery/dnssd/public/dns_sd_txt_record.h -index edf2c782..c23a9274 100644 ---- a/third_party/openscreen/src/discovery/dnssd/public/dns_sd_txt_record.h -+++ b/third_party/openscreen/src/discovery/dnssd/public/dns_sd_txt_record.h -@@ -5,6 +5,7 @@ - #ifndef DISCOVERY_DNSSD_PUBLIC_DNS_SD_TXT_RECORD_H_ - #define DISCOVERY_DNSSD_PUBLIC_DNS_SD_TXT_RECORD_H_ - -+#include <cstdint> - #include <functional> - #include <map> - #include <set> -diff --git a/util/base64.h b/util/base64.h -index a7af9eca..ad009a44 100644 ---- a/third_party/openscreen/src/util/base64.h -+++ b/third_party/openscreen/src/util/base64.h -@@ -5,6 +5,7 @@ - #ifndef UTIL_BASE64_H_ - #define UTIL_BASE64_H_ - -+#include <cstdint> - #include <string> - #include <vector> - diff --git a/chromium/chromium/chromium-password_manager-cstdint.patch b/chromium/chromium/chromium-password_manager-cstdint.patch deleted file mode 100644 index a19f94c..0000000 --- a/chromium/chromium/chromium-password_manager-cstdint.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/components/password_manager/core/browser/generation/password_generator.h b/components/password_manager/core/browser/generation/password_generator.h -index b0d621ce35fcb..aa674d47798f7 100644 ---- a/components/password_manager/core/browser/generation/password_generator.h -+++ b/components/password_manager/core/browser/generation/password_generator.h -@@ -5,6 +5,7 @@ - #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_GENERATION_PASSWORD_GENERATOR_H_ - #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_GENERATION_PASSWORD_GENERATOR_H_ - -+#include <cstdint> - #include <string> - - diff --git a/chromium/chromium/chromium-payments-cstdint.patch b/chromium/chromium/chromium-payments-cstdint.patch deleted file mode 100644 index cb86d7e..0000000 --- a/chromium/chromium/chromium-payments-cstdint.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/components/payments/content/utility/fingerprint_parser.h b/components/payments/content/utility/fingerprint_parser.h -index e7983056517e8..5bdde01abc7c6 100644 ---- a/components/payments/content/utility/fingerprint_parser.h -+++ b/components/payments/content/utility/fingerprint_parser.h -@@ -7,6 +7,7 @@ - - #include <stddef.h> - -+#include <cstdint> - #include <string> - #include <vector> - diff --git a/chromium/chromium/chromium-pdf-cstdint.patch b/chromium/chromium/chromium-pdf-cstdint.patch deleted file mode 100644 index 779b3da..0000000 --- a/chromium/chromium/chromium-pdf-cstdint.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/pdf/document_attachment_info.h b/pdf/document_attachment_info.h -index e0fffc2ca4e52..095463fcb5b04 100644 ---- a/pdf/document_attachment_info.h -+++ b/pdf/document_attachment_info.h -@@ -5,6 +5,7 @@ - #ifndef PDF_DOCUMENT_ATTACHMENT_INFO_H_ - #define PDF_DOCUMENT_ATTACHMENT_INFO_H_ - -+#include <cstdint> - #include <string> - - diff --git a/chromium/chromium/chromium-pdfium-cstdint.patch b/chromium/chromium/chromium-pdfium-cstdint.patch deleted file mode 100644 index c570d83..0000000 --- a/chromium/chromium/chromium-pdfium-cstdint.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/constants/annotation_flags.h b/constants/annotation_flags.h -index 2ac244e06..fa121de64 100644 ---- a/third_party/pdfium/constants/annotation_flags.h -+++ b/third_party/pdfium/constants/annotation_flags.h -@@ -5,6 +5,8 @@ - #ifndef CONSTANTS_ANNOTATION_FLAGS_H_ - #define CONSTANTS_ANNOTATION_FLAGS_H_ - -+#include <cstdint> -+ - namespace pdfium { - namespace annotation_flags { - diff --git a/chromium/chromium/chromium-s2cellid-cstdint.patch b/chromium/chromium/chromium-s2cellid-cstdint.patch deleted file mode 100644 index 3087335..0000000 --- a/chromium/chromium/chromium-s2cellid-cstdint.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/third_party/s2cellid/src/s2/util/math/vector.h b/third_party/s2cellid/src/s2/util/math/vector.h -index ded669c1d7145..487edc3f93b3e 100644 ---- a/third_party/s2cellid/src/s2/util/math/vector.h -+++ b/third_party/s2cellid/src/s2/util/math/vector.h -@@ -22,6 +22,7 @@ - - #include <algorithm> - #include <cmath> -+#include <cstdint> - #include <cstdlib> - #include <iosfwd> - #include <iostream> // NOLINT(readability/streams) diff --git a/chromium/chromium/chromium-swiftshader-cstdint.patch b/chromium/chromium/chromium-swiftshader-cstdint.patch deleted file mode 100644 index 8298d52..0000000 --- a/chromium/chromium/chromium-swiftshader-cstdint.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/src/System/LRUCache.hpp b/src/System/LRUCache.hpp -index 1c2449064..a04cdfafb 100644 ---- a/third_party/swiftshader/src/System/LRUCache.hpp -+++ b/third_party/swiftshader/src/System/LRUCache.hpp -@@ -18,6 +18,7 @@ - #include "System/Debug.hpp" - - #include <cstddef> -+#include <cstdint> - #include <functional> - #include <unordered_set> - #include <vector> diff --git a/chromium/chromium/chromium-ui-cstdint.patch b/chromium/chromium/chromium-ui-cstdint.patch deleted file mode 100644 index fccbaed..0000000 --- a/chromium/chromium/chromium-ui-cstdint.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff --git a/ui/base/prediction/kalman_filter.h b/ui/base/prediction/kalman_filter.h -index bee3f946e9c96..f7c8716ca3332 100644 ---- a/ui/base/prediction/kalman_filter.h -+++ b/ui/base/prediction/kalman_filter.h -@@ -5,6 +5,8 @@ - #ifndef UI_BASE_PREDICTION_KALMAN_FILTER_H_ - #define UI_BASE_PREDICTION_KALMAN_FILTER_H_ - -+#include <cstdint> -+ - #include "base/component_export.h" - #include "ui/gfx/geometry/matrix3_f.h" - -diff --git a/ui/events/types/scroll_types.h b/ui/events/types/scroll_types.h -index be6b2779f41ba..dbe2e5cf746f5 100644 ---- a/ui/events/types/scroll_types.h -+++ b/ui/events/types/scroll_types.h -@@ -5,6 +5,8 @@ - #ifndef UI_EVENTS_TYPES_SCROLL_TYPES_H_ - #define UI_EVENTS_TYPES_SCROLL_TYPES_H_ - -+#include <cstdint> -+ - namespace ui { - - enum class ScrollGranularity : uint8_t { -diff --git a/ui/gfx/geometry/linear_gradient.h b/ui/gfx/geometry/linear_gradient.h -index 65cd4cb07c7c2..ab0ce5808c39b 100644 ---- a/ui/gfx/geometry/linear_gradient.h -+++ b/ui/gfx/geometry/linear_gradient.h -@@ -6,6 +6,7 @@ - #define UI_GFX_LINEAR_GRADIENT_H_ - - #include <array> -+#include <cstdint> - #include <string> - - #include "ui/gfx/geometry/geometry_skia_export.h" diff --git a/chromium/chromium/chromium-v8-WasmArray-incomplete-type.patch b/chromium/chromium/chromium-v8-WasmArray-incomplete-type.patch deleted file mode 100644 index 6fb2f81..0000000 --- a/chromium/chromium/chromium-v8-WasmArray-incomplete-type.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/src/codegen/code-stub-assembler.h b/src/codegen/code-stub-assembler.h -index d4d6e12baef..1f4940541c3 100644 ---- a/v8/src/codegen/code-stub-assembler.h -+++ b/v8/src/codegen/code-stub-assembler.h -@@ -7,6 +7,10 @@ - - #include <functional> - -+#if V8_ENABLE_WEBASSEMBLY -+#include "src/wasm/wasm-objects.h" -+#endif // V8_ENABLE_WEBASSEMBLY -+ - #include "src/base/macros.h" - #include "src/codegen/bailout-reason.h" - #include "src/codegen/code-factory.h" -@@ -33,10 +37,6 @@ - #include "src/roots/roots.h" - #include "torque-generated/exported-macros-assembler.h" - --#if V8_ENABLE_WEBASSEMBLY --#include "src/wasm/wasm-objects.h" --#endif // V8_ENABLE_WEBASSEMBLY -- - namespace v8 { - namespace internal { - diff --git a/chromium/chromium/chromium-viz-cstdint.patch b/chromium/chromium/chromium-viz-cstdint.patch deleted file mode 100644 index ee950b0..0000000 --- a/chromium/chromium/chromium-viz-cstdint.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/components/viz/common/view_transition_element_resource_id.h b/components/viz/common/view_transition_element_resource_id.h -index fd0d06b16d6a0..1e7b6a07be50a 100644 ---- a/components/viz/common/view_transition_element_resource_id.h -+++ b/components/viz/common/view_transition_element_resource_id.h -@@ -5,6 +5,7 @@ - #ifndef COMPONENTS_VIZ_COMMON_VIEW_TRANSITION_ELEMENT_RESOURCE_ID_H_ - #define COMPONENTS_VIZ_COMMON_VIEW_TRANSITION_ELEMENT_RESOURCE_ID_H_ - -+#include <cstdint> - #include <string> - #include <vector> - diff --git a/chromium/chromium/chromium-vulkan-validation-layers-gcc-13.patch b/chromium/chromium/chromium-vulkan-validation-layers-gcc-13.patch deleted file mode 100644 index 4072b76..0000000 --- a/chromium/chromium/chromium-vulkan-validation-layers-gcc-13.patch +++ /dev/null @@ -1,50 +0,0 @@ -From c0c44a6452c9594ed1d36f28b7d1f7dfbda4ca03 Mon Sep 17 00:00:00 2001 -From: Nathaniel Cesario <nathaniel@lunarg.com> -Date: Wed, 19 Apr 2023 10:03:44 -0600 -Subject: [PATCH] build: Fixes for GCC 13 - -- Update VMA to ff37e927 -- Update googletest v1.13.0 ---- - layers/external/vma/vk_mem_alloc.h | 807 ++++++++++++++++------------- - layers/stateless/parameter_name.h | 1 + - scripts/known_good.json | 2 +- - 3 files changed, 435 insertions(+), 375 deletions(-) - -diff --git a/layers/external/vma/vk_mem_alloc.h b/layers/external/vma/vk_mem_alloc.h -index b47bd730c..823cef8ad 100644 ---- a/third_party/vulkan-deps/vulkan-validation-layers/src/layers/external/vma/vk_mem_alloc.h -+++ b/third_party/vulkan-deps/vulkan-validation-layers/src/layers/external/vma/vk_mem_alloc.h -@@ -2591,27 +2614,10 @@ VMA_CALL_PRE void VMA_CALL_POST vmaFreeStatsString( - #include <bit> // For std::popcount - #endif - --#if defined(__GNUC__) --#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) --#pragma GCC diagnostic push --#pragma GCC diagnostic ignored "-Wtype-limits" --#pragma GCC diagnostic ignored "-Wunused-variable" --#pragma GCC diagnostic ignored "-Wimplicit-fallthrough" --#if defined(__clang__) --#pragma clang diagnostic push --#pragma clang diagnostic ignored "-Wtautological-compare" --#pragma clang diagnostic ignored "-Wnullability-completeness" --#pragma clang diagnostic ignored "-Wimplicit-fallthrough" --#endif --#if GCC_VERSION >= 80000 --#pragma GCC diagnostic ignored "-Wclass-memaccess" --#endif --#if defined(ANDROID) --#pragma GCC diagnostic ignored "-Wunused-private-field" --#endif -+#if VMA_STATS_STRING_ENABLED -+ #include <cstdio> // For snprintf - #endif - -- - /******************************************************************************* - CONFIGURATION SECTION - --- -2.40.1 - diff --git a/chromium/chromium/chromium.spec b/chromium/chromium/chromium.spec index 37510eb..2a3b5cc 100644 --- a/chromium/chromium/chromium.spec +++ b/chromium/chromium/chromium.spec @@ -70,7 +70,7 @@ %bcond_with fedora_compilation_flags Name: chromium -Version: 113.0.5672.126 +Version: 114.0.5735.106 Release: 100%{?dist} Summary: A WebKit (Blink) powered web browser @@ -117,45 +117,15 @@ Patch1: chromium-gn-no-static-libstdc++-allow-warnings.patch # https://src.fedoraproject.org/rpms/chromium/c/cb0be2c990fc724e Patch2: chromium-python3.patch -# Fix missing opus dependency for media/mojo/services/gpu_mojo_media_client.cc -Patch3: chromium-media-mojo-services-opus.patch - -# Fix incomplete type error for v8/src/codegen/tnode.h -Patch4: chromium-v8-WasmArray-incomplete-type.patch - # Pull upstream patches -Patch10: chromium-gcc-12-r1122463.patch -Patch11: chromium-gcc-12-r1123011.patch -Patch12: chromium-gcc-12-r1127041.patch -Patch13: chromium-gcc-13-r1125558.patch -Patch14: chromium-gcc-13-r1126024.patch -Patch15: chromium-vulkan_memory_allocator-gcc-13.patch -Patch16: chromium-vulkan-validation-layers-gcc-13.patch +Patch10: chromium-gcc-12-r1147184.patch +Patch11: chromium-gcc-12-r1149296.patch +Patch12: chromium-vulkan_memory_allocator-gcc-13.patch # Fix missing includes -Patch20: chromium-autofill-cstdint.patch -Patch22: chromium-blink-cstdint.patch -Patch23: chromium-cc-cstdint.patch -Patch24: chromium-chrome-cstdint.patch -Patch25: chromium-crash-cstdint.patch -Patch26: chromium-dawn-cstdint.patch -Patch27: chromium-device-cstdint.patch -Patch28: chromium-feature_engagement-cstdint.patch -Patch29: chromium-gpu-cstdint.patch -Patch30: chromium-maldoca-cstdint.patch -Patch31: chromium-net-cstdint.patch -Patch32: chromium-omnibox-cstdint.patch -Patch33: chromium-openscreen-cstdint.patch -Patch34: chromium-password_manager-cstdint.patch -Patch35: chromium-payments-cstdint.patch -Patch36: chromium-pdf-cstdint.patch -Patch37: chromium-pdfium-cstdint.patch -Patch38: chromium-ruy-string.patch -Patch39: chromium-s2cellid-cstdint.patch -Patch40: chromium-swiftshader-cstdint.patch -Patch41: chromium-tflite-cstdint.patch -Patch42: chromium-ui-cstdint.patch -Patch43: chromium-viz-cstdint.patch +Patch20: chromium-maldoca-cstdint.patch +Patch21: chromium-ruy-string.patch +Patch22: chromium-tflite-cstdint.patch # I don't have time to test whether it work on other architectures ExclusiveArch: x86_64 @@ -180,7 +150,7 @@ BuildRequires: mesa-libGL-devel, mesa-libEGL-devel, mesa-libgbm-devel BuildRequires: pkgconfig(gtk+-2.0), pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libffi), pkgconfig(nss), pkgconfig(libexif) BuildRequires: pkgconfig(xtst), pkgconfig(xscrnsaver), pkgconfig(xshmfence) -BuildRequires: pkgconfig(dbus-1), pkgconfig(libudev) +BuildRequires: pkgconfig(dbus-1), pkgconfig(libudev), pkgconfig(libevdev) BuildRequires: pkgconfig(libva), pkgconfig(gnome-keyring-1) # replace_gn_files.py --system-libraries BuildRequires: flac-devel @@ -505,7 +475,6 @@ find -type f -exec \ third_party/utf \ third_party/vulkan \ third_party/wayland \ - third_party/web-animations-js \ third_party/webdriver \ third_party/webgpu-cts \ third_party/webrtc \ @@ -800,6 +769,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Sun Jun 11 2023 - Ting-Wei Lan <lantw44@gmail.com> - 114.0.5735.106-100 +- Update to 114.0.5735.106 + * Wed May 17 2023 - Ting-Wei Lan <lantw44@gmail.com> - 113.0.5672.126-100 - Update to 113.0.5672.126 |