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:
parent
55f3dc9725
commit
471ef89448
1 changed files with 14 additions and 0 deletions
14
srcpkgs/qt5/patches/no-linux_stat_h.patch
Normal file
14
srcpkgs/qt5/patches/no-linux_stat_h.patch
Normal 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
|
Loading…
Reference in a new issue