From b4c83279968b05a0e30b1ea7e3e7caaf1d3ba8fe Mon Sep 17 00:00:00 2001 From: q66 Date: Mon, 1 Nov 2021 01:36:31 +0100 Subject: [PATCH] qt5-webengine: add missing ppc64le patch to fix build --- .../0092-ppc64le-sandbox-linux-stat.patch | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 srcpkgs/qt5-webengine/patches/0092-ppc64le-sandbox-linux-stat.patch diff --git a/srcpkgs/qt5-webengine/patches/0092-ppc64le-sandbox-linux-stat.patch b/srcpkgs/qt5-webengine/patches/0092-ppc64le-sandbox-linux-stat.patch new file mode 100644 index 00000000000..b3a439a0e16 --- /dev/null +++ b/srcpkgs/qt5-webengine/patches/0092-ppc64le-sandbox-linux-stat.patch @@ -0,0 +1,31 @@ +--- a/src/3rdparty/chromium/sandbox/linux/system_headers/linux_stat.h ++++ b/src/3rdparty/chromium/sandbox/linux/system_headers/linux_stat.h +@@ -155,6 +155,28 @@ struct kernel_stat { + unsigned int __unused4; + unsigned int __unused5; + }; ++#elif defined(__powerpc64__) ++struct kernel_stat { ++ unsigned long st_dev; ++ unsigned long st_ino; ++ unsigned long st_nlink; ++ unsigned int st_mode; ++ unsigned int st_uid; ++ unsigned int st_gid; ++ unsigned long st_rdev; ++ long st_size; ++ unsigned long st_blksize; ++ unsigned long st_blocks; ++ unsigned long st_atime_; ++ unsigned long st_atime_nsec_; ++ unsigned long st_mtime_; ++ unsigned long st_mtime_nsec_; ++ unsigned long st_ctime_; ++ unsigned long st_ctime_nsec_; ++ unsigned long __unused4; ++ unsigned long __unused5; ++ unsigned long __unused6; ++}; + #endif + + // On 32-bit systems, we default to the 64-bit stat struct like libc