1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-24 18:57:07 +00:00
termux-packages/x11-packages/qt5-qtbase/qtemporaryfile_no_unnamedfile_android.patch
Leonid Pliushch f6e69c60be
fix & enable package: qt5-qtbase
%ci:no-build
2022-04-18 14:48:04 +05:30

12 lines
461 B
Diff

--- src/src/corelib/io/qtemporaryfile_p.h 2021-05-09 10:40:38.972403873 +0100
+++ src.mod/src/corelib/io/qtemporaryfile_p.h 2021-05-09 10:40:32.520423082 +0100
@@ -58,7 +58,7 @@
#include "private/qfile_p.h"
#include "qtemporaryfile.h"
-#if defined(Q_OS_LINUX) && QT_CONFIG(linkat)
+#if defined(Q_OS_LINUX) && !defined(__ANDROID__) && QT_CONFIG(linkat)
# include <fcntl.h>
# ifdef O_TMPFILE
// some early libc support had the wrong values for O_TMPFILE