qt5-webengine: fix more nonsense for ppc64le-musl

This commit is contained in:
q66 2021-03-09 04:18:20 +01:00
parent cde55df955
commit 55272b0245

View file

@ -133,6 +133,22 @@ index 901cd68fb..561958c44 100644
namespace google_breakpad { namespace google_breakpad {
namespace { namespace {
diff --git a/src/3rdparty/chromium/third_party/crashpad/crashpad/snapshot/linux/signal_context.h b/src/3rdparty/chromium/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
index 8e335a09..b2a0f155 100644
--- a/src/3rdparty/chromium/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
+++ b/src/3rdparty/chromium/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
@@ -469,7 +469,11 @@ struct MContext64 {
SignalThreadContext64 gp_regs;
SignalFloatContext64 fp_regs;
SignalVectorContext64 *v_regs;
+#ifdef __GLIBC__
int64_t vmx_reserve[69];
+#else
+ int64_t vmx_reserve[101];
+#endif
};
struct ContextTraits64 : public Traits64 {
diff --git a/src/3rdparty/chromium/third_party/crashpad/crashpad/util/linux/thread_info.h b/src/3rdparty/chromium/third_party/crashpad/crashpad/util/linux/thread_info.h diff --git a/src/3rdparty/chromium/third_party/crashpad/crashpad/util/linux/thread_info.h b/src/3rdparty/chromium/third_party/crashpad/crashpad/util/linux/thread_info.h
index dea0d1f39..b203e5b2f 100644 index dea0d1f39..b203e5b2f 100644
--- a/src/3rdparty/chromium/third_party/crashpad/crashpad/util/linux/thread_info.h --- a/src/3rdparty/chromium/third_party/crashpad/crashpad/util/linux/thread_info.h
@ -145,3 +161,25 @@ index dea0d1f39..b203e5b2f 100644
#endif #endif
namespace crashpad { namespace crashpad {
diff --git a/src/3rdparty/chromium/third_party/lss/linux_syscall_support.h b/src/3rdparty/chromium/third_party/lss/linux_syscall_support.h
index 9955ce44..4c1cc488 100644
--- a/src/3rdparty/chromium/third_party/lss/linux_syscall_support.h
+++ b/src/3rdparty/chromium/third_party/lss/linux_syscall_support.h
@@ -4216,9 +4216,17 @@ struct kernel_statfs {
}
#endif
#if defined(__NR_fstatat64)
+ // musl does #define fstatat64 fstatat
+ #ifndef __GLIBC__
+ #undef fstatat64
+ #endif
LSS_INLINE _syscall4(int, fstatat64, int, d,
const char *, p,
struct kernel_stat64 *, b, int, f)
+ // set it back like it was
+ #ifndef __GLIBC__
+ #define fstatat64 fstatat
+ #endif
#endif
#if defined(__NR_waitpid)
// waitpid is polyfilled below when not available.