qt5: fix build with kernel-libc-headers-4.19.0

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-11-11 15:14:13 +01:00
parent 55f3dc9725
commit 471ef89448
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
1 changed files with 14 additions and 0 deletions

View File

@ -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(<linux/stat.h>)
-# include <linux/stat.h>
-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