forked from Unvanquished/updater
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Linux updater work with older libc
With this change it requires 2.25 instead of 2.28. This was achieved by overwriting the results of 2 feature tests (for statx and renameat2), and patching a file which used statx regardless of the test.
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- qtbase/src/corelib/io/qfilesystemengine_unix.cpp 2020-03-27 04:49:31.000000000 -0500 | ||
+++ qtbase/src/corelib/io/qfilesystemengine_unix.cpp 2021-02-05 14:22:53.044477900 -0600 | ||
@@ -95,12 +95,10 @@ | ||
#endif | ||
#endif | ||
|
||
-#if defined(Q_OS_ANDROID) | ||
// statx() is disabled on Android because quite a few systems | ||
// come with sandboxes that kill applications that make system calls outside a | ||
// whitelist and several Android vendors can't be bothered to update the list. | ||
# undef STATX_BASIC_STATS | ||
-#endif | ||
|
||
#ifndef STATX_ALL | ||
struct statx { mode_t stx_mode; }; // dummy |