Skip to content

Commit 9836543

Browse files
committed
chromium: Add patch to provide for std::forward on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 parent 3bb49f7 commit 9836543

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

meta-chromium/recipes-browser/chromium/chromium-gn.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ SRC_URI += " \
2323
file://0001-exception_handler.cc-Match-the-types-for-SIGSTKSZ.patch \
2424
file://chromium-freetype-2.11.patch \
2525
file://0001-Make-Display-and-X11-available-in-the-same-build.patch \
26+
file://0001-include-utility.h.patch \
2627
"
2728

2829
SRC_URI:append:libc-musl = "\
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
cppgc: Fix missing <utility> include
2+
3+
<utility> is needed for std::forward.
4+
5+
Bug: chromium:1237252
6+
Change-Id: I5c0c8c9a16c133bf54c360f32730f08bd2f158b2
7+
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3081602
8+
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
9+
Commit-Queue: Omer Katz <omerkatz@chromium.org>
10+
Auto-Submit: Michael Lippautz <mlippautz@chromium.org>
11+
Reviewed-by: Omer Katz <omerkatz@chromium.org>
12+
Cr-Commit-Position: refs/heads/master@{#76166}
13+
14+
Upstream-Status: Backport [https://chromium.googlesource.com/v8/v8/+/69426180fac5d37643a28887b5e148f844e14ce6]
15+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
16+
--- a/v8/include/cppgc/allocation.h
17+
+++ b/v8/include/cppgc/allocation.h
18+
@@ -10,6 +10,7 @@
19+
#include <cstdint>
20+
#include <new>
21+
#include <type_traits>
22+
+#include <utility> // std::forward
23+
24+
#include "cppgc/custom-space.h"
25+
#include "cppgc/internal/api-constants.h"

0 commit comments

Comments
 (0)