dash/depends/patches/qt/glibc_compatibility.patch
2022-04-26 20:37:31 +05:30

18 lines
538 B
Diff

Avoid statx@GLIBC_2.28 symbol.
--- old/qtbase/src/corelib/io/qfilesystemengine_unix.cpp
+++ new/qtbase/src/corelib/io/qfilesystemengine_unix.cpp
@@ -95,12 +95,7 @@
#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