dash/depends/patches/qt/glibc_compatibility.patch

18 lines
538 B
Diff
Raw Normal View History

2022-02-20 23:59:29 +01:00
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