summaryrefslogtreecommitdiff
path: root/www-client/chromium/files/chromium-84-gcc-include.patch
blob: 1c6d96cb9c4fc2e5b0bbdb0e8950d5a665204a21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
From 60e856c553f4532c2035b087dbdbdde42dbb5f09 Mon Sep 17 00:00:00 2001
From: Stephan Hartmann <stha09@googlemail.com>
Date: Sat, 9 May 2020 11:33:04 +0000
Subject: [PATCH] IWYU: memcpy is defined in cstring

---
 cc/base/list_container_helper.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cc/base/list_container_helper.cc b/cc/base/list_container_helper.cc
index afd386e..7b594b4 100644
--- a/cc/base/list_container_helper.cc
+++ b/cc/base/list_container_helper.cc
@@ -7,6 +7,7 @@
 #include <stddef.h>
 
 #include <algorithm>
+#include <cstring>
 #include <vector>
 
 #include "base/check_op.h"
-- 
2.26.2

From 5e20370e4bc1fd3beaa9af62fe27aaedb903bacf Mon Sep 17 00:00:00 2001
From: Piotr Tworek <ptworek@vewd.com>
Date: Tue, 05 May 2020 06:06:35 +0000
Subject: [PATCH] Add missing bitset include in web_touch_event.cc.

The code uses std::bitset, but does not include header declaring it. It
works when using bundled copy of libcxx, but fails when using system
libstdc++ on Linux.

Change-Id: I8a88078e110b27623b3cdea38c94012ba4050ee7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2179123
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Piotr Tworek <ptworek@vewd.com>
Cr-Commit-Position: refs/heads/master@{#765415}
---

diff --git a/third_party/blink/common/input/web_touch_event.cc b/third_party/blink/common/input/web_touch_event.cc
index 7ef37fec..aa054f9 100644
--- a/third_party/blink/common/input/web_touch_event.cc
+++ b/third_party/blink/common/input/web_touch_event.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 <bitset>
+
 #include "third_party/blink/public/common/input/web_touch_event.h"
 
 namespace blink {

From effd506ce070d58e731bd6086681b9cded8573ed Mon Sep 17 00:00:00 2001
From: Stephan Hartmann <stha09@googlemail.com>
Date: Sun, 10 May 2020 07:24:38 +0000
Subject: [PATCH] IWYU: add a bunch of missing cstring includes

---
 .../crashpad/snapshot/minidump/minidump_context_converter.cc    | 2 ++
 third_party/crashpad/crashpad/util/linux/ptrace_client.cc       | 1 +
 .../crashpad/crashpad/util/net/http_multipart_builder.cc        | 1 +
 third_party/crashpad/crashpad/util/net/http_transport_socket.cc | 2 ++
 third_party/crashpad/crashpad/util/process/process_memory.cc    | 1 +
 third_party/crashpad/crashpad/util/stream/log_output_stream.cc  | 1 +
 6 files changed, 8 insertions(+)

diff --git a/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc b/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc
index 0c840deac..1d163b42f 100644
--- a/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc
+++ b/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc
@@ -14,6 +14,8 @@
 
 #include "snapshot/minidump/minidump_context_converter.h"
 
+#include <cstring>
+
 #include "base/stl_util.h"
 #include "minidump/minidump_context.h"
 
diff --git a/third_party/crashpad/crashpad/util/linux/ptrace_client.cc b/third_party/crashpad/crashpad/util/linux/ptrace_client.cc
index f097ad985..e91ce2eca 100644
--- a/third_party/crashpad/crashpad/util/linux/ptrace_client.cc
+++ b/third_party/crashpad/crashpad/util/linux/ptrace_client.cc
@@ -17,6 +17,7 @@
 #include <errno.h>
 #include <stdio.h>
 
+#include <cstring>
 #include <string>
 
 #include "base/logging.h"
diff --git a/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc b/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc
index 267960b27..8ed7edc2f 100644
--- a/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc
+++ b/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc
@@ -16,6 +16,7 @@
 
 #include <sys/types.h>
 
+#include <cstring>
 #include <utility>
 #include <vector>
 
diff --git a/third_party/crashpad/crashpad/util/net/http_transport_socket.cc b/third_party/crashpad/crashpad/util/net/http_transport_socket.cc
index 4dd01b6e7..60cd60c17 100644
--- a/third_party/crashpad/crashpad/util/net/http_transport_socket.cc
+++ b/third_party/crashpad/crashpad/util/net/http_transport_socket.cc
@@ -19,6 +19,8 @@
 #include <poll.h>
 #include <sys/socket.h>
 
+#include <cstring>
+
 #include "base/logging.h"
 #include "base/macros.h"
 #include "base/numerics/safe_conversions.h"
diff --git a/third_party/crashpad/crashpad/util/process/process_memory.cc b/third_party/crashpad/crashpad/util/process/process_memory.cc
index ab87b940f..e02bcea81 100644
--- a/third_party/crashpad/crashpad/util/process/process_memory.cc
+++ b/third_party/crashpad/crashpad/util/process/process_memory.cc
@@ -15,6 +15,7 @@
 #include "util/process/process_memory.h"
 
 #include <algorithm>
+#include <cstring>
 
 #include "base/logging.h"
 #include "util/numeric/safe_assignment.h"
diff --git a/third_party/crashpad/crashpad/util/stream/log_output_stream.cc b/third_party/crashpad/crashpad/util/stream/log_output_stream.cc
index 03c0a5a02..45d823aa4 100644
--- a/third_party/crashpad/crashpad/util/stream/log_output_stream.cc
+++ b/third_party/crashpad/crashpad/util/stream/log_output_stream.cc
@@ -15,6 +15,7 @@
 #include "util/stream/log_output_stream.h"
 
 #include <algorithm>
+#include <cstring>
 
 #include "base/logging.h"
 
-- 
2.26.2