summarylogtreecommitdiffstats
path: root/qt-no-statx.patch
diff options
context:
space:
mode:
authorMichel Zou2018-09-13 11:19:27 +0200
committerMichel Zou2018-09-13 11:19:27 +0200
commit0b96f466b7779771a675e62a9198aaeec7f0662a (patch)
tree677e288370b0713bfc9d07a6552585dcdb6ce015 /qt-no-statx.patch
parent193192745e5d19e1fd9834844b36f8cb7473341c (diff)
downloadaur-0b96f466b7779771a675e62a9198aaeec7f0662a.tar.gz
glibc2.28 / stat
Diffstat (limited to 'qt-no-statx.patch')
-rw-r--r--qt-no-statx.patch25
1 files changed, 4 insertions, 21 deletions
diff --git a/qt-no-statx.patch b/qt-no-statx.patch
index 917f1802e7bd..7c65cc4360af 100644
--- a/qt-no-statx.patch
+++ b/qt-no-statx.patch
@@ -1,24 +1,7 @@
-From b47e6c6fc2f5eaf489458fcf5930015f6baf3281 Mon Sep 17 00:00:00 2001
-From: Martchus <martchus@gmx.net>
-Date: Sat, 9 Dec 2017 00:36:56 +0100
-Subject: [PATCH] Don't use the statx syscall
-
-Otherwise Qt can not be built in a systemd
-container
----
- src/corelib/io/qfilesystemengine_unix.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp
-index 77d154c6b4..6036bae4f1 100644
---- a/src/corelib/io/qfilesystemengine_unix.cpp.orig 2018-05-28 22:38:37.194020915 +0200
-+++ b/src/corelib/io/qfilesystemengine_unix.cpp 2018-05-28 22:39:00.184051210 +0200
-@@ -111,10 +111,10 @@
- { return syscall(SYS_renameat2, oldfd, oldpath, newfd, newpath, flags); }
- # endif
-
--# if !QT_CONFIG(statx) && defined(SYS_statx)
-+# if 0
+--- 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)
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)