void-packages/srcpkgs/chromium/files/musl-patches/musl-crashpad.patch
Peter Bui f8939f62ba chromium: update to 80.0.3987.116.
[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
2020-02-21 21:29:11 +01:00

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) && \