1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-14 03:39:53 +03:00
aports/testing/flutter/libstdc++13.patch.engine
2023-08-18 11:20:34 +00:00

143 lines
3.6 KiB
Text

missing libstdc++13 includes
--
--- a/third_party/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/Signals.h
+++ b/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 {
--- 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>
--- ./third_party/vulkan_memory_allocator/include/vk_mem_alloc.h.orig
+++ ./third_party/vulkan_memory_allocator/include/vk_mem_alloc.h
@@ -2566,6 +2566,7 @@
#undef VMA_IMPLEMENTATION
#include <cstdint>
+#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <utility>
--- ./flutter/third_party/tonic/filesystem/filesystem/file.h.orig
+++ ./flutter/third_party/tonic/filesystem/filesystem/file.h
@@ -5,6 +5,7 @@
#ifndef FILESYSTEM_FILE_H_
#define FILESYSTEM_FILE_H_
+#include <stdint.h>
#include <string>
#include <vector>
--- ./flutter/impeller/geometry/point.h.orig
+++ ./flutter/impeller/geometry/point.h
@@ -6,6 +6,7 @@
#include <algorithm>
#include <cmath>
+#include <cstdint>
#include <ostream>
#include <string>
#include <type_traits>
--- ./flutter/impeller/geometry/size.h.orig
+++ ./flutter/impeller/geometry/size.h
@@ -6,6 +6,7 @@
#include <algorithm>
#include <cmath>
+#include <cstdint>
#include <limits>
#include <ostream>
#include <string>
--- ./flutter/fml/hex_codec.cc.orig
+++ ./flutter/fml/hex_codec.cc
@@ -4,6 +4,7 @@
#include "flutter/fml/base32.h"
+#include <cstdint>
#include <string>
namespace fml {
--- ./flutter/fml/base32.cc.orig
+++ ./flutter/fml/base32.cc
@@ -4,6 +4,7 @@
#include "flutter/fml/base32.h"
+#include <cstdint>
#include <limits>
#include <string>
--- ./flutter/runtime/dart_service_isolate.h.orig
+++ ./flutter/runtime/dart_service_isolate.h
@@ -6,6 +6,7 @@
#define FLUTTER_RUNTIME_DART_SERVICE_ISOLATE_H_
#include <functional>
+#include <memory>
#include <mutex>
#include <set>
#include <string>
--- ./flutter/flow/paint_region.h.orig
+++ ./flutter/flow/paint_region.h
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <memory>
#include <vector>
#include "flutter/fml/logging.h"
#include "third_party/skia/include/core/SkRect.h"
--- ./flutter/vulkan/vulkan_surface.h.orig
+++ ./flutter/vulkan/vulkan_surface.h
@@ -5,6 +5,8 @@
#ifndef FLUTTER_VULKAN_VULKAN_SURFACE_H_
#define FLUTTER_VULKAN_VULKAN_SURFACE_H_
+#include <memory>
+
#include "flutter/fml/macros.h"
#include "flutter/vulkan/procs/vulkan_handle.h"
#include "third_party/skia/include/core/SkSize.h"
--- ./flutter/shell/platform/glfw/flutter_glfw.cc.orig
+++ ./flutter/shell/platform/glfw/flutter_glfw.cc
@@ -7,6 +7,7 @@
#include <GLFW/glfw3.h>
#include <algorithm>
+#include <atomic>
#include <cassert>
#include <chrono>
#include <cstdlib>
--- ./third_party/perfetto/include/perfetto/ext/base/uuid.h.orig
+++ ./third_party/perfetto/include/perfetto/ext/base/uuid.h
@@ -18,6 +18,7 @@
#define INCLUDE_PERFETTO_EXT_BASE_UUID_H_
#include <array>
+#include <cstdint>
#include <string>
#include "perfetto/ext/base/optional.h"
--- ./flutter/impeller/renderer/backend/vulkan/descriptor_pool_vk.h.orig
+++ ./flutter/impeller/renderer/backend/vulkan/descriptor_pool_vk.h
@@ -4,6 +4,7 @@
#pragma once
+#include <memory>
#include <optional>
#include <queue>