From 471ef89448928d98f27a5c2ba246aa6b0bd7008b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 11 Nov 2018 15:14:13 +0100 Subject: [PATCH] qt5: fix build with kernel-libc-headers-4.19.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/qt5/patches/no-linux_stat_h.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/qt5/patches/no-linux_stat_h.patch diff --git a/srcpkgs/qt5/patches/no-linux_stat_h.patch b/srcpkgs/qt5/patches/no-linux_stat_h.patch new file mode 100644 index 00000000000..ec9d2423600 --- /dev/null +++ b/srcpkgs/qt5/patches/no-linux_stat_h.patch @@ -0,0 +1,14 @@ +--- qtbase/src/corelib/io/qfilesystemengine_unix.cpp.orig 2018-11-11 14:00:30.431950676 +0100 ++++ qtbase/src/corelib/io/qfilesystemengine_unix.cpp 2018-11-11 14:02:57.134958244 +0100 +@@ -104,11 +104,6 @@ + # endif + # endif + +-# if !QT_CONFIG(statx) && defined(SYS_statx) && QT_HAS_INCLUDE() +-# include +-static int statx(int dirfd, const char *pathname, int flag, unsigned mask, struct statx *statxbuf) +-{ return syscall(SYS_statx, dirfd, pathname, flag, mask, statxbuf); } +-# endif + #endif + + #ifndef STATX_BASIC_STATS