diff options
author | Jonathon Fernyhough | 2021-03-07 00:33:48 +0000 |
---|---|---|
committer | Jonathon Fernyhough | 2021-03-07 00:33:48 +0000 |
commit | 15c98bff7c7a7806120070ac49e3fb0976aa37e9 (patch) | |
tree | 5ff29429e4eaea5b9082f5db2395a654c506eb2c /include-memory-header-to-get-the-definition-of-std-u.patch | |
download | aur-15c98bff7c7a7806120070ac49e3fb0976aa37e9.tar.gz |
Import to AUR
Diffstat (limited to 'include-memory-header-to-get-the-definition-of-std-u.patch')
-rw-r--r-- | include-memory-header-to-get-the-definition-of-std-u.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include-memory-header-to-get-the-definition-of-std-u.patch b/include-memory-header-to-get-the-definition-of-std-u.patch new file mode 100644 index 000000000000..eb30ad2437f1 --- /dev/null +++ b/include-memory-header-to-get-the-definition-of-std-u.patch @@ -0,0 +1,32 @@ +From 40d994e4aa2e4d5077c1810e4623549618a19c05 Mon Sep 17 00:00:00 2001 +From: Piotr Tworek <ptworek@vewd.com> +Date: Mon, 27 Apr 2020 16:31:46 +0000 +Subject: [PATCH] Include "memory" header to get the definition of + std::unique_ptr. + +Right now the code im the affected fails to build when using libstdc++ +instead of bundled libcxx. Apparently libcxx pulls the necessary header +indirectly. + +Change-Id: Ie5e86f228434ab16d622ae7a912d9ce607258931 +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2164645 +Reviewed-by: Jochen Eisinger <jochen@chromium.org> +Commit-Queue: Jochen Eisinger <jochen@chromium.org> +Cr-Commit-Position: refs/heads/master@{#762881} +--- + .../blink/renderer/core/html/trust_token_attribute_parsing.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/third_party/blink/renderer/core/html/trust_token_attribute_parsing.h b/third_party/blink/renderer/core/html/trust_token_attribute_parsing.h +index f5a7ab03892..ef19cfaf680 100644 +--- a/third_party/blink/renderer/core/html/trust_token_attribute_parsing.h ++++ b/third_party/blink/renderer/core/html/trust_token_attribute_parsing.h +@@ -5,6 +5,8 @@ + #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_HTML_TRUST_TOKEN_ATTRIBUTE_PARSING_H_ + #define THIRD_PARTY_BLINK_RENDERER_CORE_HTML_TRUST_TOKEN_ATTRIBUTE_PARSING_H_ + ++#include <memory> ++ + #include "base/optional.h" + #include "services/network/public/mojom/trust_tokens.mojom-blink-forward.h" + #include "third_party/blink/renderer/core/core_export.h" |