diff options
Diffstat (limited to 'meta-oe/recipes-devtools/perfetto/files/0001-fix-musl-build.patch')
-rw-r--r-- | meta-oe/recipes-devtools/perfetto/files/0001-fix-musl-build.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/perfetto/files/0001-fix-musl-build.patch b/meta-oe/recipes-devtools/perfetto/files/0001-fix-musl-build.patch new file mode 100644 index 0000000000..3b7ca951ae --- /dev/null +++ b/meta-oe/recipes-devtools/perfetto/files/0001-fix-musl-build.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From 485c21940eb0100a33b7efea40a83e7f79e765f8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Etienne Cordonnier <ecordonnier@snap.com> | ||
3 | Date: Sun, 22 Sep 2024 20:17:52 +0200 | ||
4 | Subject: [PATCH] fix musl build | ||
5 | |||
6 | Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> | ||
7 | --- | ||
8 | Upstream-Status: Pending | ||
9 | |||
10 | sdk/perfetto.cc | 1 - | ||
11 | src/base/utils.cc | 1 - | ||
12 | 2 files changed, 2 deletions(-) | ||
13 | |||
14 | diff --git a/sdk/perfetto.cc b/sdk/perfetto.cc | ||
15 | index b10dd5aa92..2eb90f0d15 100644 | ||
16 | --- a/sdk/perfetto.cc | ||
17 | +++ b/sdk/perfetto.cc | ||
18 | @@ -6558,7 +6558,6 @@ std::optional<int32_t> GetTimezoneOffsetMins() { | ||
19 | |||
20 | #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ | ||
21 | PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) | ||
22 | -#include <linux/prctl.h> | ||
23 | #include <sys/prctl.h> | ||
24 | |||
25 | #ifndef PR_GET_TAGGED_ADDR_CTRL | ||
26 | diff --git a/src/base/utils.cc b/src/base/utils.cc | ||
27 | index 0d9318c136..419c7dbc1a 100644 | ||
28 | --- a/src/base/utils.cc | ||
29 | +++ b/src/base/utils.cc | ||
30 | @@ -40,7 +40,6 @@ | ||
31 | |||
32 | #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ | ||
33 | PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) | ||
34 | -#include <linux/prctl.h> | ||
35 | #include <sys/prctl.h> | ||
36 | |||
37 | #ifndef PR_GET_TAGGED_ADDR_CTRL | ||
38 | -- | ||
39 | 2.43.0 | ||
40 | |||