f8939f62ba
[ci skip] - Builds for x86_64, x86_64-musl - Fails for i686 (std::bad_alloc), mark as broken - Remove jumbo_build option as upstream has deprecated it: https://chromium.googlesource.com/chromium/src/+/master/docs/jumbo.md
23 lines
613 B
Diff
23 lines
613 B
Diff
--- third_party/crashpad/crashpad/util/linux/ptracer.cc
|
|
+++ third_party/crashpad/crashpad/util/linux/ptracer.cc
|
|
@@ -26,6 +26,7 @@
|
|
|
|
#if defined(ARCH_CPU_X86_FAMILY)
|
|
#include <asm/ldt.h>
|
|
+#include <asm/ptrace-abi.h>
|
|
#endif
|
|
|
|
namespace crashpad {
|
|
|
|
--- third_party/crashpad/crashpad/compat/linux/sys/ptrace.h
|
|
+++ third_party/crashpad/crashpad/compat/linux/sys/ptrace.h
|
|
@@ -17,7 +17,9 @@
|
|
|
|
#include_next <sys/ptrace.h>
|
|
|
|
+#if defined(__GLIBC__)
|
|
#include <sys/cdefs.h>
|
|
+#endif
|
|
|
|
// https://sourceware.org/bugzilla/show_bug.cgi?id=22433
|
|
#if !defined(PTRACE_GET_THREAD_AREA) && !defined(PT_GET_THREAD_AREA) && \
|