File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
meta-chromium/recipes-browser/chromium Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ SRC_URI += " \
21
21
file://0001-link-atomic-for-target-only.patch \
22
22
file://0001-Fix-use-of-DCHECK-with-std-unique_ptr.patch \
23
23
file://0001-IWYU-add-ctime-for-std-time.patch \
24
+ file://0001-mojo-Include-string.h-for-strncpy-declaration.patch \
24
25
"
25
26
26
27
SRC_URI_append_libc -musl = "\
Original file line number Diff line number Diff line change
1
+ From 6e37708d7e219cf53b3c2b5d3835d48c00b4ed63 Mon Sep 17 00:00:00 2001
2
+ From: Khem Raj <raj.khem@gmail.com>
3
+ Date: Wed, 10 Mar 2021 10:57:35 -0800
4
+ Subject: [PATCH] mojo: Include string.h for strncpy declaration
5
+
6
+ Fixes
7
+ named_platform_channel_posix.cc:53:3: error: use of undeclared identifier 'strncpy'
8
+ ---
9
+ Upstream-Status: Submitted [https://chromium-review.googlesource.com/c/chromium/src/+/2749538]
10
+ mojo/public/cpp/platform/named_platform_channel_posix.cc | 1 +
11
+ 1 file changed, 1 insertion(+)
12
+
13
+ diff --git a/mojo/public/cpp/platform/named_platform_channel_posix.cc b/mojo/public/cpp/platform/named_platform_channel_posix.cc
14
+ index 9082ac4da597..cbedae6c3c61 100644
15
+ --- a/mojo/public/cpp/platform/named_platform_channel_posix.cc
16
+ +++ b/mojo/public/cpp/platform/named_platform_channel_posix.cc
17
+ @@ -5,6 +5,7 @@
18
+ #include "mojo/public/cpp/platform/named_platform_channel.h"
19
+
20
+ #include <errno.h>
21
+ + #include <string.h>
22
+ #include <sys/socket.h>
23
+ #include <sys/un.h>
24
+ #include <unistd.h>
25
+ - -
26
+ 2.30.2
27
+
You can’t perform that action at this time.
0 commit comments