diff options
Diffstat (limited to 'recipes-qt/qt5/qtbase/0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch')
-rw-r--r-- | recipes-qt/qt5/qtbase/0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/recipes-qt/qt5/qtbase/0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch b/recipes-qt/qt5/qtbase/0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch index 0f1e1b30..b1684e3c 100644 --- a/recipes-qt/qt5/qtbase/0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch +++ b/recipes-qt/qt5/qtbase/0014-Check-glibc-version-for-renameat2-statx-on-non-boots.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From f63242fbcac990839eff2ce9f970377d6350fd8a Mon Sep 17 00:00:00 2001 | 1 | From cd9a12017597d9233b529be24434225da6db614e Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
3 | Date: Tue, 21 Aug 2018 00:29:06 +0200 | 3 | Date: Tue, 21 Aug 2018 00:29:06 +0200 |
4 | Subject: [PATCH] Check glibc version for renameat2/statx on non bootstrapped | 4 | Subject: [PATCH] Check glibc version for renameat2/statx on non bootstrapped |
@@ -15,13 +15,14 @@ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | |||
15 | 1 file changed, 11 insertions(+) | 15 | 1 file changed, 11 insertions(+) |
16 | 16 | ||
17 | diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp | 17 | diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp |
18 | index deb4a9f220..ecf23168e7 100644 | 18 | index 964dceb..c09eb01 100644 |
19 | --- a/src/corelib/io/qfilesystemengine_unix.cpp | 19 | --- a/src/corelib/io/qfilesystemengine_unix.cpp |
20 | +++ b/src/corelib/io/qfilesystemengine_unix.cpp | 20 | +++ b/src/corelib/io/qfilesystemengine_unix.cpp |
21 | @@ -97,6 +97,17 @@ extern "C" NSString *NSTemporaryDirectory(); | 21 | @@ -95,6 +95,17 @@ extern "C" NSString *NSTemporaryDirectory(); |
22 | #ifndef FICLONE | ||
22 | # define FICLONE _IOW(0x94, 9, int) | 23 | # define FICLONE _IOW(0x94, 9, int) |
23 | #endif | 24 | #endif |
24 | 25 | + | |
25 | +// renameat2/statx features for non bootstrapped build | 26 | +// renameat2/statx features for non bootstrapped build |
26 | +#ifndef QT_BOOTSTRAPPED | 27 | +#ifndef QT_BOOTSTRAPPED |
27 | +#ifdef __GLIBC_PREREQ | 28 | +#ifdef __GLIBC_PREREQ |
@@ -32,7 +33,6 @@ index deb4a9f220..ecf23168e7 100644 | |||
32 | +# define QT_FEATURE_statx -1 | 33 | +# define QT_FEATURE_statx -1 |
33 | +#endif | 34 | +#endif |
34 | +#endif | 35 | +#endif |
35 | + | 36 | #endif |
36 | # if defined(Q_OS_ANDROID) | 37 | |
37 | // renameat2() and statx() are disabled on Android because quite a few systems | 38 | #if defined(Q_OS_ANDROID) |
38 | // come with sandboxes that kill applications that make system calls outside a | ||