0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 16:06:16 +00:00
termux-packages/x11-packages/qt6-qtbase/src-corelib-io-qstorageinfo_linux.cpp.patch.beforehostbuild
Jia Yuan Lo 6770207180 bump(x11/qt6-qtbase): 6.7.2
Split patch to per-file patches and enable auto update
2024-06-29 11:47:02 +08:00

12 lines
480 B
Plaintext

--- a/src/corelib/io/qstorageinfo_linux.cpp
+++ b/src/corelib/io/qstorageinfo_linux.cpp
@@ -29,7 +29,7 @@
# define ST_RDONLY 0x0001 /* mount read-only */
#endif
-#if defined(Q_OS_ANDROID)
+#if defined(Q_OS_ANDROID) || defined(__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.