diff options
Diffstat (limited to 'dev-qt/qtwebengine/files/musl/0032-musl-cross-no-asm_ptrace_h.patch')
-rw-r--r-- | dev-qt/qtwebengine/files/musl/0032-musl-cross-no-asm_ptrace_h.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-qt/qtwebengine/files/musl/0032-musl-cross-no-asm_ptrace_h.patch b/dev-qt/qtwebengine/files/musl/0032-musl-cross-no-asm_ptrace_h.patch new file mode 100644 index 00000000..140742f7 --- /dev/null +++ b/dev-qt/qtwebengine/files/musl/0032-musl-cross-no-asm_ptrace_h.patch @@ -0,0 +1,30 @@ +--- qtwebengine/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc 2018-08-27 10:21:31.000000000 +0200 ++++ qtwebengine/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc 2018-11-22 00:41:58.522477559 +0100 +@@ -38,7 +38,12 @@ + + #include "client/linux/minidump_writer/linux_ptrace_dumper.h" + ++#if defined(__GLIBC__) + #include <asm/ptrace.h> ++#else ++/* For arm*-musl this definition is missing */ ++#define ARM_sp uregs[13] ++#endif + #include <assert.h> + #include <errno.h> + #include <fcntl.h> +--- qtwebengine/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc 2018-08-27 10:21:31.000000000 +0200 ++++ qtwebengine/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc 2018-11-22 00:49:39.533492245 +0100 +@@ -32,7 +32,12 @@ + + #include "client/linux/minidump_writer/linux_core_dumper.h" + ++#if defined(__GLIBC__) + #include <asm/ptrace.h> ++#else ++/* For arm*-musl this definition is missing */ ++#define ARM_sp uregs[13] ++#endif + #include <assert.h> + #include <elf.h> + #include <stdio.h> |