0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/qt6-qtbase/src-corelib-io-qtemporaryfile_p.h.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
381 B
Plaintext

--- a/src/corelib/io/qtemporaryfile_p.h
+++ b/src/corelib/io/qtemporaryfile_p.h
@@ -22,7 +22,7 @@
#include "private/qfile_p.h"
#include "qtemporaryfile.h"
-#if defined(Q_OS_LINUX) && QT_CONFIG(linkat)
+#if defined(Q_OS_LINUX) && QT_CONFIG(linkat) && !defined(__ANDROID__)
# include <fcntl.h>
# ifdef O_TMPFILE
// some early libc support had the wrong values for O_TMPFILE