aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/chromium-clang-r3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/chromium/chromium-clang-r3.patch')
-rw-r--r--community/chromium/chromium-clang-r3.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/community/chromium/chromium-clang-r3.patch b/community/chromium/chromium-clang-r3.patch
new file mode 100644
index 0000000000..0010932b3e
--- /dev/null
+++ b/community/chromium/chromium-clang-r3.patch
@@ -0,0 +1,19 @@
+# Taken from gentoo:
+# https://gitweb.gentoo.org/repo/gentoo.git/plain/www-client/chromium/files/chromium-clang-r3.patch
+#
+# Prevents this error:
+# ../../device/u2f/u2f_ble_transaction.cc:134:27: error: no viable overloaded '='
+# request_cont_fragments_ = {};
+# ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
+
+--- ./device/fido/u2f_ble_transaction.cc
++++ ./device/fido/u2f_ble_transaction.cc
+@@ -131,7 +131,7 @@
+
+ void U2fBleTransaction::OnError() {
+ request_frame_.reset();
+- request_cont_fragments_ = {};
++ request_cont_fragments_ = base::queue<U2fBleFrameContinuationFragment>();
+ response_frame_assembler_.reset();
+ std::move(callback_).Run(base::nullopt);
+ }