summarylogtreecommitdiffstats
path: root/qt-no-statx.patch
diff options
context:
space:
mode:
Diffstat (limited to 'qt-no-statx.patch')
-rw-r--r--qt-no-statx.patch13
1 files changed, 9 insertions, 4 deletions
diff --git a/qt-no-statx.patch b/qt-no-statx.patch
index 7c65cc4360af..7f50a59dffd4 100644
--- a/qt-no-statx.patch
+++ b/qt-no-statx.patch
@@ -1,7 +1,12 @@
---- a/src/corelib/io/qfilesystemengine_unix.cpp.orig 2018-09-13 11:11:30.601508754 +0200
-+++ b/src/corelib/io/qfilesystemengine_unix.cpp 2018-09-13 11:06:56.148478543 +0200
-@@ -118,7 +118,7 @@
- # if 0 && !QT_CONFIG(statx) && defined(SYS_statx)
+--- a/src/corelib/io/qfilesystemengine_unix.cpp 2018-09-25 20:41:17.721173332 +0200
++++ b/src/corelib/io/qfilesystemengine_unix.cpp 2018-09-25 20:45:38.611149986 +0200
+@@ -110,11 +110,11 @@
+ { return syscall(SYS_renameat2, oldfd, oldpath, newfd, newpath, flags); }
+ # endif
+
+-# if !QT_CONFIG(statx) && defined(SYS_statx)
++# if 0
+ # 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); }
-# elif !QT_CONFIG(statx) && !defined(SYS_statx)