projects/aports·blob master · refs

127 lines · 4.1 KiB

1missing libstdc++13 includes
2--
3--- ./engine/src/flutter/third_party/vulkan_memory_allocator/include/vk_mem_alloc.h.orig
4+++ ./engine/src/flutter/third_party/vulkan_memory_allocator/include/vk_mem_alloc.h
5@@ -2566,6 +2566,7 @@
6 #undef VMA_IMPLEMENTATION
7
8 #include <cstdint>
9+#include <cstdio>
10 #include <cstdlib>
11 #include <cstring>
12 #include <utility>
13--- ./engine/src/flutter/third_party/swiftshader/third_party/llvm-subzero/include/llvm/ADT/STLExtras.h.orig
14+++ ./engine/src/flutter/third_party/swiftshader/third_party/llvm-subzero/include/llvm/ADT/STLExtras.h
15@@ -21,6 +21,7 @@
16 #include <cassert>
17 #include <cstddef> // for std::size_t
18 #include <cstdlib> // for qsort
19+#include <cstdint>
20 #include <functional>
21 #include <iterator>
22 #include <memory>
23--- ./engine/src/flutter/fml/synchronization/semaphore.h.orig
24+++ ./engine/src/flutter/fml/synchronization/semaphore.h
25@@ -5,6 +5,7 @@
26 #ifndef FLUTTER_FML_SYNCHRONIZATION_SEMAPHORE_H_
27 #define FLUTTER_FML_SYNCHRONIZATION_SEMAPHORE_H_
28
29+#include <cstdint>
30 #include <memory>
31
32 #include "flutter/fml/macros.h"
33--- ./engine/src/flutter/impeller/typographer/font.h.orig
34+++ ./engine/src/flutter/impeller/typographer/font.h
35@@ -5,6 +5,7 @@
36 #ifndef FLUTTER_IMPELLER_TYPOGRAPHER_FONT_H_
37 #define FLUTTER_IMPELLER_TYPOGRAPHER_FONT_H_
38
39+#include <cstdint>
40 #include <memory>
41
42 #include "fml/hash_combine.h"
43--- ./engine/src/flutter/impeller/renderer/backend/gles/handle_gles.h.orig
44+++ ./engine/src/flutter/impeller/renderer/backend/gles/handle_gles.h
45@@ -5,6 +5,7 @@
46 #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_HANDLE_GLES_H_
47 #define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_HANDLE_GLES_H_
48
49+#include <cstdint>
50 #include <optional>
51 #include <sstream>
52 #include <string>
53--- ./engine/src/flutter/display_list/dl_storage.h.orig
54+++ ./engine/src/flutter/display_list/dl_storage.h
55@@ -5,6 +5,7 @@
56 #ifndef FLUTTER_DISPLAY_LIST_DL_STORAGE_H_
57 #define FLUTTER_DISPLAY_LIST_DL_STORAGE_H_
58
59+#include <cstdint>
60 #include <memory>
61
62 #include "flutter/fml/logging.h"
63--- ./engine/src/flutter/tools/licenses_cpp/src/filter.cc.orig
64+++ ./engine/src/flutter/tools/licenses_cpp/src/filter.cc
65@@ -5,7 +5,7 @@
66 #include "flutter/tools/licenses_cpp/src/filter.h"
67 #include <fstream>
68
69-absl::StatusOr<Filter> Filter::Open(std::string_view path) {
70+absl::StatusOr<Filter> Filter::Open(std::string path) {
71 std::ifstream input;
72 input.open(path);
73 absl::StatusOr<Filter> result = Open(input);
74--- ./engine/src/flutter/tools/licenses_cpp/src/filter.h.orig
75+++ ./engine/src/flutter/tools/licenses_cpp/src/filter.h
76@@ -16,7 +16,7 @@
77 /// This is used for things like the include.txt and exclude.txt.
78 class Filter {
79 public:
80- static absl::StatusOr<Filter> Open(std::string_view path);
81+ static absl::StatusOr<Filter> Open(std::string path);
82
83 static absl::StatusOr<Filter> Open(std::istream& input);
84
85--- ./engine/src/flutter/shell/platform/common/client_wrapper/include/flutter/binary_messenger.h.orig
86+++ ./engine/src/flutter/shell/platform/common/client_wrapper/include/flutter/binary_messenger.h
87@@ -6,6 +6,7 @@
88 #define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_BINARY_MESSENGER_H_
89
90 #include <functional>
91+#include <cstdint>
92 #include <string>
93
94 namespace flutter {
95--- ./engine/src/flutter/display_list/dl_text.h.orig
96+++ ./engine/src/flutter/display_list/dl_text.h
97@@ -5,6 +5,8 @@
98 #ifndef FLUTTER_DISPLAY_LIST_DL_TEXT_H_
99 #define FLUTTER_DISPLAY_LIST_DL_TEXT_H_
100
101+#include <memory>
102+
103 #include "flutter/display_list/geometry/dl_geometry_types.h"
104
105 namespace impeller {
106--- ./engine/src/flutter/third_party/glfw/src/posix_time.c.orig
107+++ ./engine/src/flutter/third_party/glfw/src/posix_time.c
108@@ -31,8 +31,8 @@
109
110 #if defined(GLFW_BUILD_POSIX_TIMER)
111
112+#include <time.h>
113 #include <unistd.h>
114-#include <sys/time.h>
115
116
117 //////////////////////////////////////////////////////////////////////////
118--- ./engine/src/flutter/build/secondary/flutter/third_party/glfw/BUILD.gn.orig
119+++ ./engine/src/flutter/build/secondary/flutter/third_party/glfw/BUILD.gn
120@@ -81,6 +81,7 @@
121 defines = [
122 "_GLFW_X11",
123 "_GLFW_HAS_XF86VM",
124+ "_POSIX_SOURCE",
125 ]
126
127 libs = [