void-packages/srcpkgs/qt5/patches/no-linux_stat_h.patch
Jürgen Buchmüller 471ef89448
qt5: fix build with kernel-libc-headers-4.19.0
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-11-11 15:15:37 +01:00

14 lines
554 B
Diff

--- 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