doxygen: fix time64 support and cross build (wizard)

This commit is contained in:
Jürgen Buchmüller 2021-02-15 11:54:06 +01:00
parent 301cc2bb83
commit 1c5af7e3af
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,19 @@
--- qtools/qdatetime.cpp 2020-01-03 23:51:18.000000000 +0100
+++ qtools/qdatetime.cpp 2020-12-02 10:48:03.245635836 +0100
@@ -35,7 +35,6 @@
**
**********************************************************************/
-#define gettimeofday __hide_gettimeofday
#include "qdatetime.h"
#include "qdatastream.h"
#include <stdio.h>
@@ -55,8 +54,6 @@
#elif defined(_OS_UNIX_) || defined(_OS_MAC_)
#include <sys/time.h>
#include <unistd.h>
-#undef gettimeofday
-extern "C" int gettimeofday( struct timeval *, struct timezone * );
#endif
static const uint FIRST_DAY = 2361222; // Julian day for 1752/09/14

View file

@ -18,6 +18,7 @@ desc_option_wizard="build Qt5 GUI configuration tool, doxywizard"
if [ "$build_option_wizard" ]; then
configure_args+=" -Dbuild_wizard=1"
hostmakedepends+=" qt5-host-tools qt5-qmake"
makedepends+=" qt5-devel"
fi