summaryrefslogtreecommitdiff
path: root/chromium-125-missing-header-files.patch
diff options
context:
space:
mode:
Diffstat (limited to 'chromium-125-missing-header-files.patch')
-rw-r--r--chromium-125-missing-header-files.patch246
1 files changed, 246 insertions, 0 deletions
diff --git a/chromium-125-missing-header-files.patch b/chromium-125-missing-header-files.patch
new file mode 100644
index 0000000..4a60ac9
--- /dev/null
+++ b/chromium-125-missing-header-files.patch
@@ -0,0 +1,246 @@
+Index: chromium-123.0.6312.46/base/check_op.h
+===================================================================
+--- chromium-123.0.6312.46.orig/base/check_op.h
++++ chromium-123.0.6312.46/base/check_op.h
+@@ -5,6 +5,7 @@
+ #ifndef BASE_CHECK_OP_H_
+ #define BASE_CHECK_OP_H_
+
++#include <cstdint>
+ #include <cstddef>
+ #include <string>
+ #include <string_view>
+Index: chromium-123.0.6312.46/base/containers/flat_map.h
+===================================================================
+--- chromium-123.0.6312.46.orig/base/containers/flat_map.h
++++ chromium-123.0.6312.46/base/containers/flat_map.h
+@@ -5,6 +5,7 @@
+ #ifndef BASE_CONTAINERS_FLAT_MAP_H_
+ #define BASE_CONTAINERS_FLAT_MAP_H_
+
++#include <cstdint>
+ #include <functional>
+ #include <tuple>
+ #include <type_traits>
+Index: chromium-123.0.6312.46/chrome/browser/webauthn/authenticator_request_dialog_model.h
+===================================================================
+--- chromium-123.0.6312.46.orig/chrome/browser/webauthn/authenticator_request_dialog_model.h
++++ chromium-123.0.6312.46/chrome/browser/webauthn/authenticator_request_dialog_model.h
+@@ -10,6 +10,7 @@
+ #include <string>
+ #include <string_view>
+ #include <vector>
++#include <variant>
+
+ #include "base/containers/span.h"
+ #include "base/functional/callback_forward.h"
+Index: chromium-123.0.6312.46/components/feature_engagement/internal/never_event_storage_validator.h
+===================================================================
+--- chromium-123.0.6312.46.orig/components/feature_engagement/internal/never_event_storage_validator.h
++++ chromium-123.0.6312.46/components/feature_engagement/internal/never_event_storage_validator.h
+@@ -5,6 +5,7 @@
+ #ifndef COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_NEVER_EVENT_STORAGE_VALIDATOR_H_
+ #define COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_NEVER_EVENT_STORAGE_VALIDATOR_H_
+
++#include <cstdint>
+ #include <string>
+
+ #include "components/feature_engagement/internal/event_storage_validator.h"
+Index: chromium-123.0.6312.46/gin/time_clamper.h
+===================================================================
+--- chromium-123.0.6312.46.orig/gin/time_clamper.h
++++ chromium-123.0.6312.46/gin/time_clamper.h
+@@ -6,6 +6,7 @@
+ #define GIN_TIME_CLAMPER_H_
+
+ #include <algorithm>
++#include <cstdlib>
+
+ #include "base/rand_util.h"
+ #include "base/time/time.h"
+Index: chromium-123.0.6312.46/net/base/net_export.h
+===================================================================
+--- chromium-123.0.6312.46.orig/net/base/net_export.h
++++ chromium-123.0.6312.46/net/base/net_export.h
+@@ -5,6 +5,8 @@
+ #ifndef NET_BASE_NET_EXPORT_H_
+ #define NET_BASE_NET_EXPORT_H_
+
++#include <cstdint>
++
+ // Defines NET_EXPORT so that functionality implemented by the net module can
+ // be exported to consumers, and NET_EXPORT_PRIVATE that allows unit tests to
+ // access features not intended to be used directly by real consumers.
+Index: chromium-123.0.6312.46/third_party/abseil-cpp/absl/strings/string_view.h
+===================================================================
+--- chromium-123.0.6312.46.orig/third_party/abseil-cpp/absl/strings/string_view.h
++++ chromium-123.0.6312.46/third_party/abseil-cpp/absl/strings/string_view.h
+@@ -27,6 +27,7 @@
+ #ifndef ABSL_STRINGS_STRING_VIEW_H_
+ #define ABSL_STRINGS_STRING_VIEW_H_
+
++#include <cstdint>
+ #include <algorithm>
+ #include <cassert>
+ #include <cstddef>
+Index: chromium-123.0.6312.46/third_party/dawn/src/tint/lang/spirv/reader/ast_parser/namer.h
+===================================================================
+--- chromium-123.0.6312.46.orig/third_party/dawn/src/tint/lang/spirv/reader/ast_parser/namer.h
++++ chromium-123.0.6312.46/third_party/dawn/src/tint/lang/spirv/reader/ast_parser/namer.h
+@@ -28,6 +28,7 @@
+ #ifndef SRC_TINT_LANG_SPIRV_READER_AST_PARSER_NAMER_H_
+ #define SRC_TINT_LANG_SPIRV_READER_AST_PARSER_NAMER_H_
+
++#include <cstdint>
+ #include <string>
+ #include <unordered_map>
+ #include <vector>
+Index: chromium-123.0.6312.46/third_party/material_color_utilities/src/cpp/palettes/tones.cc
+===================================================================
+--- chromium-123.0.6312.46.orig/third_party/material_color_utilities/src/cpp/palettes/tones.cc
++++ chromium-123.0.6312.46/third_party/material_color_utilities/src/cpp/palettes/tones.cc
+@@ -14,6 +14,7 @@
+ * limitations under the License.
+ */
+
++#include <cmath>
+ #include "cpp/palettes/tones.h"
+
+ #include <cmath>
+Index: chromium-123.0.6312.46/third_party/ruy/src/ruy/profiler/instrumentation.h
+===================================================================
+--- chromium-123.0.6312.46.orig/third_party/ruy/src/ruy/profiler/instrumentation.h
++++ chromium-123.0.6312.46/third_party/ruy/src/ruy/profiler/instrumentation.h
+@@ -17,6 +17,7 @@
+ #define RUY_RUY_PROFILER_INSTRUMENTATION_H_
+
+ #ifdef RUY_PROFILER
++#include <string>
+ #include <cstdio>
+ #include <mutex>
+ #include <vector>
+Index: chromium-123.0.6312.46/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/Signals.inc
+===================================================================
+--- chromium-123.0.6312.46.orig/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/Signals.inc
++++ chromium-123.0.6312.46/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-123.0.6312.46/third_party/tflite/src/tensorflow/lite/kernels/internal/spectrogram.h
+===================================================================
+--- chromium-123.0.6312.46.orig/third_party/tflite/src/tensorflow/lite/kernels/internal/spectrogram.h
++++ chromium-123.0.6312.46/third_party/tflite/src/tensorflow/lite/kernels/internal/spectrogram.h
+@@ -31,6 +31,7 @@ limitations under the License.
+ #ifndef TENSORFLOW_LITE_KERNELS_INTERNAL_SPECTROGRAM_H_
+ #define TENSORFLOW_LITE_KERNELS_INTERNAL_SPECTROGRAM_H_
+
++#include <cstdint>
+ #include <complex>
+ #include <deque>
+ #include <vector>
+Index: chromium-123.0.6312.46/third_party/vulkan-deps/vulkan-validation-layers/src/layers/external/vma/vk_mem_alloc.h
+===================================================================
+--- chromium-123.0.6312.46.orig/third_party/vulkan-deps/vulkan-validation-layers/src/layers/external/vma/vk_mem_alloc.h
++++ chromium-123.0.6312.46/third_party/vulkan-deps/vulkan-validation-layers/src/layers/external/vma/vk_mem_alloc.h
+@@ -2884,6 +2884,7 @@ static void vma_aligned_free(void* VMA_N
+
+ // Define this macro to 1 to enable functions: vmaBuildStatsString, vmaFreeStatsString.
+ #if VMA_STATS_STRING_ENABLED
++#include <stdio.h>
+ static inline void VmaUint32ToStr(char* VMA_NOT_NULL outStr, size_t strLen, uint32_t num)
+ {
+ snprintf(outStr, strLen, "%u", static_cast<unsigned int>(num));
+Index: chromium-123.0.6312.46/third_party/webrtc/audio/utility/channel_mixer.cc
+===================================================================
+--- chromium-123.0.6312.46.orig/third_party/webrtc/audio/utility/channel_mixer.cc
++++ chromium-123.0.6312.46/third_party/webrtc/audio/utility/channel_mixer.cc
+@@ -8,6 +8,8 @@
+ * be found in the AUTHORS file in the root of the source tree.
+ */
+
++#include <cstring>
++
+ #include "audio/utility/channel_mixer.h"
+
+ #include "audio/utility/channel_mixing_matrix.h"
+Index: chromium-123.0.6312.46/third_party/webrtc/modules/include/module_common_types_public.h
+===================================================================
+--- chromium-123.0.6312.46.orig/third_party/webrtc/modules/include/module_common_types_public.h
++++ chromium-123.0.6312.46/third_party/webrtc/modules/include/module_common_types_public.h
+@@ -11,6 +11,7 @@
+ #ifndef MODULES_INCLUDE_MODULE_COMMON_TYPES_PUBLIC_H_
+ #define MODULES_INCLUDE_MODULE_COMMON_TYPES_PUBLIC_H_
+
++#include <cstdint>
+ #include <limits>
+
+ #include "absl/types/optional.h"
+Index: chromium-123.0.6312.46/ui/gfx/linux/drm_util_linux.h
+===================================================================
+--- chromium-123.0.6312.46.orig/ui/gfx/linux/drm_util_linux.h
++++ chromium-123.0.6312.46/ui/gfx/linux/drm_util_linux.h
+@@ -9,6 +9,8 @@
+
+ #include "ui/gfx/buffer_types.h"
+
++#include <cstdint>
++
+ namespace ui {
+
+ int GetFourCCFormatFromBufferFormat(gfx::BufferFormat format);
+Index: chromium-123.0.6312.46/third_party/blink/renderer/platform/peerconnection/resolution_monitor.cc
+===================================================================
+--- chromium-123.0.6312.46.orig/third_party/blink/renderer/platform/peerconnection/resolution_monitor.cc
++++ chromium-123.0.6312.46/third_party/blink/renderer/platform/peerconnection/resolution_monitor.cc
+@@ -6,6 +6,8 @@
+
+ #include <bitset>
+
++#include <bitset>
++
+ #include "base/containers/span.h"
+ #include "base/logging.h"
+ #include "base/memory/ptr_util.h"
+Index: chromium-123.0.6312.46/components/search_engines/util.h
+===================================================================
+--- chromium-123.0.6312.46.orig/components/search_engines/util.h
++++ chromium-123.0.6312.46/components/search_engines/util.h
+@@ -8,6 +8,7 @@
+ // This file contains utility functions for search engine functionality.
+
+ #include <memory>
++#include <optional>
+ #include <set>
+ #include <string>
+ #include <vector>
+Index: chromium-123.0.6312.46/content/common/service_worker/race_network_request_write_buffer_manager.h
+===================================================================
+--- chromium-123.0.6312.46.orig/content/common/service_worker/race_network_request_write_buffer_manager.h
++++ chromium-123.0.6312.46/content/common/service_worker/race_network_request_write_buffer_manager.h
+@@ -7,6 +7,8 @@
+
+ #include <optional>
+
++#include <optional>
++
+ #include "base/containers/span.h"
+ #include "content/common/content_export.h"
+ #include "mojo/public/cpp/system/data_pipe.h"
+Index: chromium-123.0.6312.46/third_party/blink/renderer/core/layout/hit_test_request.h
+===================================================================
+--- chromium-123.0.6312.46.orig/third_party/blink/renderer/core/layout/hit_test_request.h
++++ chromium-123.0.6312.46/third_party/blink/renderer/core/layout/hit_test_request.h
+@@ -25,6 +25,8 @@
+
+ #include <optional>
+
++#include <optional>
++
+ #include "base/functional/callback.h"
+ #include "third_party/blink/renderer/platform/heap/garbage_collected.h"
+ #include "third_party/blink/renderer/platform/heap/member.h"