termux-packages/x11-packages/qt5-base/qt-everywhere-src-5.11.2_qtbase_mkspecs_termux_qplatformdefs.h.patch
Leonid Pliushch 2c97a9b3f5
qt5-base: keep host-build tools, use a separate spec for cross-compilation
Makes cross-compilation of Qt-enabled programs possible.
2022-04-18 14:08:13 +05:30

9 lines
484 B
Diff

diff -uNr qt-everywhere-src-5.11.2/qtbase/mkspecs/termux/qplatformdefs.h qt-everywhere-src-5.11.2.mod/qtbase/mkspecs/termux/qplatformdefs.h
--- qt-everywhere-src-5.11.2/qtbase/mkspecs/termux/qplatformdefs.h 1970-01-01 03:00:00.000000000 +0300
+++ qt-everywhere-src-5.11.2.mod/qtbase/mkspecs/termux/qplatformdefs.h 2018-09-21 16:25:01.055329471 +0300
@@ -0,0 +1,4 @@
+#include "../android-clang/qplatformdefs.h"
+#define fseeko64 fseeko
+#define ftello64 ftello
+#define fopen64 fopen