summaryrefslogtreecommitdiffstats
path: root/abs/core/qt5-doc/qt-no-statx.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/qt5-doc/qt-no-statx.patch')
-rw-r--r--abs/core/qt5-doc/qt-no-statx.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/qt5-doc/qt-no-statx.patch b/abs/core/qt5-doc/qt-no-statx.patch
new file mode 100644
index 0000000..56150f7
--- /dev/null
+++ b/abs/core/qt5-doc/qt-no-statx.patch
@@ -0,0 +1,11 @@
+--- qtbase-everywhere-src-5.10.0-beta4/src/corelib/io/qfilesystemengine_unix.cpp.orig 2017-11-14 12:10:28.156094557 +0000
++++ qtbase-everywhere-src-5.10.0-beta4/src/corelib/io/qfilesystemengine_unix.cpp 2017-11-14 12:10:46.156136206 +0000
+@@ -95,7 +95,7 @@
+ { return syscall(SYS_renameat2, oldfd, oldpath, newfd, newpath, flags); }
+ # endif
+
+-# if !QT_CONFIG(statx) && defined(SYS_statx) && QT_HAS_INCLUDE(<linux/stat.h>)
++# 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); }