File gcc13-fix.patch of Package chromium
Index: chromium-113.0.5672.53/base/debug/profiler.h
===================================================================
--- chromium-113.0.5672.53.orig/base/debug/profiler.h
+++ chromium-113.0.5672.53/base/debug/profiler.h
@@ -6,6 +6,7 @@
#define BASE_DEBUG_PROFILER_H_
#include <stddef.h>
+#include <cstdint>
#include <string>
Index: chromium-113.0.5672.53/cc/trees/target_property.cc
===================================================================
--- chromium-113.0.5672.53.orig/cc/trees/target_property.cc
+++ chromium-113.0.5672.53/cc/trees/target_property.cc
@@ -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 <cstdint>
+
#include "cc/trees/target_property.h"
#include "ui/gfx/animation/keyframe/target_property.h"
Index: chromium-113.0.5672.53/chrome/browser/privacy_budget/encountered_surface_tracker.h
===================================================================
--- chromium-113.0.5672.53.orig/chrome/browser/privacy_budget/encountered_surface_tracker.h
+++ chromium-113.0.5672.53/chrome/browser/privacy_budget/encountered_surface_tracker.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_PRIVACY_BUDGET_ENCOUNTERED_SURFACE_TRACKER_H_
#include <map>
+#include <cstdint>
#include "base/containers/flat_set.h"
Index: chromium-113.0.5672.53/components/autofill/core/browser/autofill_ablation_study.h
===================================================================
--- chromium-113.0.5672.53.orig/components/autofill/core/browser/autofill_ablation_study.h
+++ chromium-113.0.5672.53/components/autofill/core/browser/autofill_ablation_study.h
@@ -6,6 +6,7 @@
#define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_ABLATION_STUDY_H_
#include <string>
+#include <cstdint>
class GURL;
namespace base {
Index: chromium-113.0.5672.53/components/crash/core/app/crash_reporter_client.h
===================================================================
--- chromium-113.0.5672.53.orig/components/crash/core/app/crash_reporter_client.h
+++ chromium-113.0.5672.53/components/crash/core/app/crash_reporter_client.h
@@ -6,6 +6,7 @@
#define COMPONENTS_CRASH_CORE_APP_CRASH_REPORTER_CLIENT_H_
#include <string>
+#include <cstdint>
#include "build/build_config.h"
Index: chromium-113.0.5672.53/components/feature_engagement/internal/event_storage_validator.h
===================================================================
--- chromium-113.0.5672.53.orig/components/feature_engagement/internal/event_storage_validator.h
+++ chromium-113.0.5672.53/components/feature_engagement/internal/event_storage_validator.h
@@ -6,6 +6,7 @@
#define COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_EVENT_STORAGE_VALIDATOR_H_
#include <string>
+#include <cstdint>
namespace feature_engagement {
Index: chromium-113.0.5672.53/components/metrics/psi_memory_parser.h
===================================================================
--- chromium-113.0.5672.53.orig/components/metrics/psi_memory_parser.h
+++ chromium-113.0.5672.53/components/metrics/psi_memory_parser.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_METRICS_PSI_MEMORY_PARSER_H_
#define COMPONENTS_METRICS_PSI_MEMORY_PARSER_H_
+#include <cstdint>
+
#include <string>
#include "base/gtest_prod_util.h"
Index: chromium-113.0.5672.53/components/omnibox/browser/on_device_head_model.h
===================================================================
--- chromium-113.0.5672.53.orig/components/omnibox/browser/on_device_head_model.h
+++ chromium-113.0.5672.53/components/omnibox/browser/on_device_head_model.h
@@ -8,6 +8,7 @@
#include <string>
#include <utility>
#include <vector>
+#include <cstdint>
// On device head suggest feature uses an on device model which encodes some
// top queries into a radix tree (https://en.wikipedia.org/wiki/Radix_tree), to
Index: chromium-113.0.5672.53/components/password_manager/core/browser/generation/password_generator.h
===================================================================
--- chromium-113.0.5672.53.orig/components/password_manager/core/browser/generation/password_generator.h
+++ chromium-113.0.5672.53/components/password_manager/core/browser/generation/password_generator.h
@@ -6,6 +6,7 @@
#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_GENERATION_PASSWORD_GENERATOR_H_
#include <string>
+#include <cstdint>
namespace autofill {
Index: chromium-113.0.5672.53/components/payments/content/utility/fingerprint_parser.h
===================================================================
--- chromium-113.0.5672.53.orig/components/payments/content/utility/fingerprint_parser.h
+++ chromium-113.0.5672.53/components/payments/content/utility/fingerprint_parser.h
@@ -9,6 +9,7 @@
#include <string>
#include <vector>
+#include <cstdint>
namespace payments {
Index: chromium-113.0.5672.53/components/viz/common/view_transition_element_resource_id.h
===================================================================
--- chromium-113.0.5672.53.orig/components/viz/common/view_transition_element_resource_id.h
+++ chromium-113.0.5672.53/components/viz/common/view_transition_element_resource_id.h
@@ -7,6 +7,7 @@
#include <string>
#include <vector>
+#include <cstdint>
#include "components/viz/common/viz_common_export.h"
Index: chromium-113.0.5672.53/content/public/browser/browsing_data_remover_delegate.h
===================================================================
--- chromium-113.0.5672.53.orig/content/public/browser/browsing_data_remover_delegate.h
+++ chromium-113.0.5672.53/content/public/browser/browsing_data_remover_delegate.h
@@ -5,6 +5,7 @@
#ifndef CONTENT_PUBLIC_BROWSER_BROWSING_DATA_REMOVER_DELEGATE_H_
#define CONTENT_PUBLIC_BROWSER_BROWSING_DATA_REMOVER_DELEGATE_H_
+#include <cstdint>
#include <string>
#include <vector>
#include "base/functional/callback_forward.h"
Index: chromium-113.0.5672.53/device/base/synchronization/one_writer_seqlock.h
===================================================================
--- chromium-113.0.5672.53.orig/device/base/synchronization/one_writer_seqlock.h
+++ chromium-113.0.5672.53/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"
Index: chromium-113.0.5672.53/device/bluetooth/public/cpp/bluetooth_uuid.h
===================================================================
--- chromium-113.0.5672.53.orig/device/bluetooth/public/cpp/bluetooth_uuid.h
+++ chromium-113.0.5672.53/device/bluetooth/public/cpp/bluetooth_uuid.h
@@ -5,6 +5,7 @@
#ifndef DEVICE_BLUETOOTH_PUBLIC_CPP_BLUETOOTH_UUID_H_
#define DEVICE_BLUETOOTH_PUBLIC_CPP_BLUETOOTH_UUID_H_
+#include <cstdint>
#include <ostream>
#include <string>
#include <vector>
Index: chromium-113.0.5672.53/extensions/common/constants.h
===================================================================
--- chromium-113.0.5672.53.orig/extensions/common/constants.h
+++ chromium-113.0.5672.53/extensions/common/constants.h
@@ -5,6 +5,8 @@
#ifndef EXTENSIONS_COMMON_CONSTANTS_H_
#define EXTENSIONS_COMMON_CONSTANTS_H_
+#include <cstdint>
+
#include "base/files/file_path.h"
#include "base/strings/string_piece_forward.h"
#include "build/chromeos_buildflags.h"
Index: chromium-113.0.5672.53/extensions/renderer/bindings/api_invocation_errors.h
===================================================================
--- chromium-113.0.5672.53.orig/extensions/renderer/bindings/api_invocation_errors.h
+++ chromium-113.0.5672.53/extensions/renderer/bindings/api_invocation_errors.h
@@ -5,6 +5,7 @@
#ifndef EXTENSIONS_RENDERER_BINDINGS_API_INVOCATION_ERRORS_H_
#define EXTENSIONS_RENDERER_BINDINGS_API_INVOCATION_ERRORS_H_
+#include <cstdint>
#include <set>
#include <string>
Index: chromium-113.0.5672.53/gpu/config/gpu_feature_info.h
===================================================================
--- chromium-113.0.5672.53.orig/gpu/config/gpu_feature_info.h
+++ chromium-113.0.5672.53/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>
Index: chromium-113.0.5672.53/net/base/parse_number.h
===================================================================
--- chromium-113.0.5672.53.orig/net/base/parse_number.h
+++ chromium-113.0.5672.53/net/base/parse_number.h
@@ -5,6 +5,8 @@
#ifndef NET_BASE_PARSE_NUMBER_H_
#define NET_BASE_PARSE_NUMBER_H_
+#include <cstdint>
+
#include "base/strings/string_piece.h"
#include "net/base/net_export.h"
Index: chromium-113.0.5672.53/net/cert/pki/string_util.h
===================================================================
--- chromium-113.0.5672.53.orig/net/cert/pki/string_util.h
+++ chromium-113.0.5672.53/net/cert/pki/string_util.h
@@ -9,6 +9,7 @@
#include <string_view>
#include <vector>
+#include <cstdint>
namespace net::string_util {
Index: chromium-113.0.5672.53/net/cookies/cookie_inclusion_status.h
===================================================================
--- chromium-113.0.5672.53.orig/net/cookies/cookie_inclusion_status.h
+++ chromium-113.0.5672.53/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>
Index: chromium-113.0.5672.53/pdf/document_attachment_info.h
===================================================================
--- chromium-113.0.5672.53.orig/pdf/document_attachment_info.h
+++ chromium-113.0.5672.53/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>
Index: chromium-113.0.5672.53/sandbox/linux/syscall_broker/broker_file_permission.h
===================================================================
--- chromium-113.0.5672.53.orig/sandbox/linux/syscall_broker/broker_file_permission.h
+++ chromium-113.0.5672.53/sandbox/linux/syscall_broker/broker_file_permission.h
@@ -6,6 +6,7 @@
#define SANDBOX_LINUX_SYSCALL_BROKER_BROKER_FILE_PERMISSION_H_
#include <bitset>
+#include <cstdint>
#include <string>
#include "base/strings/string_piece.h"
Index: chromium-113.0.5672.53/third_party/blink/public/common/bluetooth/web_bluetooth_device_id.h
===================================================================
--- chromium-113.0.5672.53.orig/third_party/blink/public/common/bluetooth/web_bluetooth_device_id.h
+++ chromium-113.0.5672.53/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"
Index: chromium-113.0.5672.53/third_party/blink/public/common/interest_group/auction_config.h
===================================================================
--- chromium-113.0.5672.53.orig/third_party/blink/public/common/interest_group/auction_config.h
+++ chromium-113.0.5672.53/third_party/blink/public/common/interest_group/auction_config.h
@@ -7,6 +7,7 @@
#include <stdint.h>
+#include <cstdint>
#include <limits>
#include <string>
#include <vector>
Index: chromium-113.0.5672.53/third_party/blink/public/common/origin_trials/origin_trial_public_key.h
===================================================================
--- chromium-113.0.5672.53.orig/third_party/blink/public/common/origin_trials/origin_trial_public_key.h
+++ chromium-113.0.5672.53/third_party/blink/public/common/origin_trials/origin_trial_public_key.h
@@ -6,6 +6,7 @@
#define THIRD_PARTY_BLINK_PUBLIC_COMMON_ORIGIN_TRIALS_ORIGIN_TRIAL_PUBLIC_KEY_H_
#include <array>
+#include <cstdint>
namespace blink {
Index: chromium-113.0.5672.53/third_party/dawn/src/dawn/native/stream/ByteVectorSink.h
===================================================================
--- chromium-113.0.5672.53.orig/third_party/dawn/src/dawn/native/stream/ByteVectorSink.h
+++ chromium-113.0.5672.53/third_party/dawn/src/dawn/native/stream/ByteVectorSink.h
@@ -17,6 +17,7 @@
#include <ostream>
#include <vector>
+#include <cstdint>
#include "dawn/native/stream/Sink.h"
Index: chromium-113.0.5672.53/third_party/maldoca/src/maldoca/ole/header.h
===================================================================
--- chromium-113.0.5672.53.orig/third_party/maldoca/src/maldoca/ole/header.h
+++ chromium-113.0.5672.53/third_party/maldoca/src/maldoca/ole/header.h
@@ -43,6 +43,8 @@
#ifndef MALDOCA_OLE_HEADER_H_
#define MALDOCA_OLE_HEADER_H_
+#include <cstdint>
+
#include "absl/strings/string_view.h"
namespace maldoca {
Index: chromium-113.0.5672.53/third_party/openscreen/src/discovery/dnssd/public/dns_sd_txt_record.h
===================================================================
--- chromium-113.0.5672.53.orig/third_party/openscreen/src/discovery/dnssd/public/dns_sd_txt_record.h
+++ chromium-113.0.5672.53/third_party/openscreen/src/discovery/dnssd/public/dns_sd_txt_record.h
@@ -10,6 +10,7 @@
#include <set>
#include <string>
#include <vector>
+#include <cstdint>
#include "platform/base/error.h"
Index: chromium-113.0.5672.53/third_party/openscreen/src/util/base64.h
===================================================================
--- chromium-113.0.5672.53.orig/third_party/openscreen/src/util/base64.h
+++ chromium-113.0.5672.53/third_party/openscreen/src/util/base64.h
@@ -7,6 +7,7 @@
#include <string>
#include <vector>
+#include <cstdint>
#include "absl/strings/string_view.h"
#include "absl/types/span.h"
Index: chromium-113.0.5672.53/third_party/pdfium/constants/annotation_flags.h
===================================================================
--- chromium-113.0.5672.53.orig/third_party/pdfium/constants/annotation_flags.h
+++ chromium-113.0.5672.53/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 {
Index: chromium-113.0.5672.53/third_party/ruy/src/ruy/profiler/instrumentation.h
===================================================================
--- chromium-113.0.5672.53.orig/third_party/ruy/src/ruy/profiler/instrumentation.h
+++ chromium-113.0.5672.53/third_party/ruy/src/ruy/profiler/instrumentation.h
@@ -20,6 +20,7 @@ limitations under the License.
#include <cstdio>
#include <mutex>
#include <vector>
+#include <string>
#endif
namespace ruy {
Index: chromium-113.0.5672.53/third_party/s2cellid/src/s2/util/math/vector.h
===================================================================
--- chromium-113.0.5672.53.orig/third_party/s2cellid/src/s2/util/math/vector.h
+++ chromium-113.0.5672.53/third_party/s2cellid/src/s2/util/math/vector.h
@@ -27,6 +27,7 @@
#include <iostream> // NOLINT(readability/streams)
#include <limits>
#include <type_traits>
+#include <cstdint>
#include "base/check_op.h"
Index: chromium-113.0.5672.53/third_party/swiftshader/src/System/LRUCache.hpp
===================================================================
--- chromium-113.0.5672.53.orig/third_party/swiftshader/src/System/LRUCache.hpp
+++ chromium-113.0.5672.53/third_party/swiftshader/src/System/LRUCache.hpp
@@ -21,6 +21,7 @@
#include <functional>
#include <unordered_set>
#include <vector>
+#include <cstdint>
namespace sw {
Index: chromium-113.0.5672.53/third_party/tflite/src/tensorflow/lite/kernels/internal/spectrogram.cc
===================================================================
--- chromium-113.0.5672.53.orig/third_party/tflite/src/tensorflow/lite/kernels/internal/spectrogram.cc
+++ chromium-113.0.5672.53/third_party/tflite/src/tensorflow/lite/kernels/internal/spectrogram.cc
@@ -17,6 +17,7 @@ limitations under the License.
#include <assert.h>
#include <math.h>
+#include <cstdint>
#include "third_party/fft2d/fft.h"
Index: chromium-113.0.5672.53/ui/base/prediction/kalman_filter.h
===================================================================
--- chromium-113.0.5672.53.orig/ui/base/prediction/kalman_filter.h
+++ chromium-113.0.5672.53/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"
Index: chromium-113.0.5672.53/ui/events/types/scroll_types.h
===================================================================
--- chromium-113.0.5672.53.orig/ui/events/types/scroll_types.h
+++ chromium-113.0.5672.53/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 {
Index: chromium-113.0.5672.53/ui/gfx/geometry/linear_gradient.h
===================================================================
--- chromium-113.0.5672.53.orig/ui/gfx/geometry/linear_gradient.h
+++ chromium-113.0.5672.53/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"
Index: chromium-113.0.5672.53/third_party/vulkan_memory_allocator/include/vk_mem_alloc.h
===================================================================
--- chromium-113.0.5672.53.orig/third_party/vulkan_memory_allocator/include/vk_mem_alloc.h
+++ chromium-113.0.5672.53/third_party/vulkan_memory_allocator/include/vk_mem_alloc.h
@@ -2392,6 +2392,7 @@ VMA_CALL_PRE void VMA_CALL_POST vmaFreeV
#include <cstdlib>
#include <cstring>
#include <utility>
+#include <cstdio>
#if VMA_RECORDING_ENABLED
#include <chrono>
Index: chromium-113.0.5672.53/third_party/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/Signals.h
===================================================================
--- chromium-113.0.5672.53.orig/third_party/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/Signals.h
+++ chromium-113.0.5672.53/third_party/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/Signals.h
@@ -14,6 +14,7 @@
#ifndef LLVM_SUPPORT_SIGNALS_H
#define LLVM_SUPPORT_SIGNALS_H
+#include <cstdint>
#include <string>
namespace llvm {
Index: chromium-113.0.5672.53/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/Signals.inc
===================================================================
--- chromium-113.0.5672.53.orig/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/Signals.inc
+++ chromium-113.0.5672.53/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/Signals.inc
@@ -45,6 +45,7 @@
#include "llvm/Support/SaveAndRestore.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
+#include <cstdint>
#include <string>
#include <sysexits.h>
#ifdef HAVE_BACKTRACE
Index: chromium-113.0.5672.53/base/cpu.h
===================================================================
--- chromium-113.0.5672.53.orig/base/cpu.h
+++ chromium-113.0.5672.53/base/cpu.h
@@ -5,6 +5,7 @@
#ifndef BASE_CPU_H_
#define BASE_CPU_H_
+#include <cstdint>
#include <string>
#include "base/base_export.h"
Index: chromium-113.0.5672.53/third_party/vulkan-deps/vulkan-validation-layers/src/layers/external/vma/vk_mem_alloc.h
===================================================================
--- chromium-113.0.5672.53.orig/third_party/vulkan-deps/vulkan-validation-layers/src/layers/external/vma/vk_mem_alloc.h
+++ chromium-113.0.5672.53/third_party/vulkan-deps/vulkan-validation-layers/src/layers/external/vma/vk_mem_alloc.h
@@ -2580,6 +2580,7 @@ VMA_CALL_PRE void VMA_CALL_POST vmaFreeS
#include <cstdint>
#include <cstdlib>
+#include <cstdio>
#include <cstring>
#include <utility>
#include <type_traits>
Index: chromium-113.0.5672.53/base/strings/string_piece.h
===================================================================
--- chromium-113.0.5672.53.orig/base/strings/string_piece.h
+++ chromium-113.0.5672.53/base/strings/string_piece.h
@@ -23,6 +23,7 @@
#include <stddef.h>
+#include <cstdint>
#include <algorithm>
#include <iosfwd>
#include <limits>