diff options
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-Use-_fpstate-instead-of-_libc_fpstate-on-linux.patch')
-rw-r--r-- | recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-Use-_fpstate-instead-of-_libc_fpstate-on-linux.patch | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-Use-_fpstate-instead-of-_libc_fpstate-on-linux.patch b/recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-Use-_fpstate-instead-of-_libc_fpstate-on-linux.patch deleted file mode 100644 index 2be0cb07..00000000 --- a/recipes-qt/qt5/qtwebengine/chromium/0016-chromium-musl-Use-_fpstate-instead-of-_libc_fpstate-on-linux.patch +++ /dev/null | |||
@@ -1,65 +0,0 @@ | |||
1 | From cd92f771ac37ae41d7a1abfd6fcc9d50aa7529d8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 25 Sep 2018 12:35:07 -0700 | ||
4 | Subject: [PATCH] Use _fpstate instead of _libc_fpstate on linux | ||
5 | |||
6 | glibc defines both. musl libc only the former. | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | .../src/client/linux/dump_writer_common/ucontext_reader.cc | 4 ++-- | ||
11 | .../src/client/linux/dump_writer_common/ucontext_reader.h | 2 +- | ||
12 | .../src/client/linux/minidump_writer/minidump_writer.h | 2 +- | ||
13 | 3 files changed, 4 insertions(+), 4 deletions(-) | ||
14 | |||
15 | diff --git a/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc b/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc | ||
16 | index 052ce37cb4..95b0fb44e1 100644 | ||
17 | --- a/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc | ||
18 | +++ b/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc | ||
19 | @@ -49,7 +49,7 @@ uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { | ||
20 | } | ||
21 | |||
22 | void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, | ||
23 | - const struct _libc_fpstate* fp) { | ||
24 | + const struct _fpstate* fp) { | ||
25 | const greg_t* regs = uc->uc_mcontext.gregs; | ||
26 | |||
27 | out->context_flags = MD_CONTEXT_X86_FULL | | ||
28 | @@ -97,7 +97,7 @@ uintptr_t UContextReader::GetInstructionPointer(const ucontext_t* uc) { | ||
29 | } | ||
30 | |||
31 | void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext_t *uc, | ||
32 | - const struct _libc_fpstate* fpregs) { | ||
33 | + const struct _fpstate* fpregs) { | ||
34 | const greg_t* regs = uc->uc_mcontext.gregs; | ||
35 | |||
36 | out->context_flags = MD_CONTEXT_AMD64_FULL; | ||
37 | diff --git a/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h b/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h | ||
38 | index f830618f24..f3dde1f4df 100644 | ||
39 | --- a/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h | ||
40 | +++ b/chromium/third_party/breakpad/breakpad/src/client/linux/dump_writer_common/ucontext_reader.h | ||
41 | @@ -50,7 +50,7 @@ struct UContextReader { | ||
42 | // info: the collection of register structures. | ||
43 | #if defined(__i386__) || defined(__x86_64) | ||
44 | static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc, | ||
45 | - const struct _libc_fpstate* fp); | ||
46 | + const struct _fpstate* fp); | ||
47 | #elif defined(__aarch64__) | ||
48 | static void FillCPUContext(RawContextCPU *out, const ucontext_t *uc, | ||
49 | const struct fpsimd_context* fpregs); | ||
50 | diff --git a/chromium/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h b/chromium/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h | ||
51 | index d1dc331215..d1cc5624cd 100644 | ||
52 | --- a/chromium/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h | ||
53 | +++ b/chromium/third_party/breakpad/breakpad/src/client/linux/minidump_writer/minidump_writer.h | ||
54 | @@ -48,7 +48,7 @@ class ExceptionHandler; | ||
55 | #if defined(__aarch64__) | ||
56 | typedef struct fpsimd_context fpstate_t; | ||
57 | #elif !defined(__ARM_EABI__) && !defined(__mips__) | ||
58 | -typedef struct _libc_fpstate fpstate_t; | ||
59 | +typedef struct _fpstate fpstate_t; | ||
60 | #endif | ||
61 | |||
62 | // These entries store a list of memory regions that the client wants included | ||
63 | -- | ||
64 | 2.19.0 | ||
65 | |||