vp-build/srcpkgs/qt5/patches/0032-musl-cross-no-asm_ptrace_h.patch
Jürgen Buchmüller 737855c251 qt5: fix cross *-musl builds
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-11-22 01:05:17 +01:00

25 lines
1.0 KiB
Diff

--- 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,9 @@
#include "client/linux/minidump_writer/linux_ptrace_dumper.h"
+#if defined(__GLIBC__)
#include <asm/ptrace.h>
+#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,9 @@
#include "client/linux/minidump_writer/linux_core_dumper.h"
+#if defined(__GLIBC__)
#include <asm/ptrace.h>
+#endif
#include <assert.h>
#include <elf.h>
#include <stdio.h>