summaryrefslogtreecommitdiff
path: root/user/doxygen/time64.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-19 22:33:46 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-19 22:33:46 +0000
commitc0cea500d5cb9e44c40c9f142b5cc006a132d32b (patch)
tree1016227f649c4b37968d4fe7089e89e97b5a1c5d /user/doxygen/time64.patch
parentcec067d7103ff582a7e0f618791e820af750de99 (diff)
downloadpackages-c0cea500d5cb9e44c40c9f142b5cc006a132d32b.tar.gz
packages-c0cea500d5cb9e44c40c9f142b5cc006a132d32b.tar.bz2
packages-c0cea500d5cb9e44c40c9f142b5cc006a132d32b.tar.xz
packages-c0cea500d5cb9e44c40c9f142b5cc006a132d32b.zip
user/doxygen: Fix Qt 2.x code for time64 compatibility
Diffstat (limited to 'user/doxygen/time64.patch')
-rw-r--r--user/doxygen/time64.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/user/doxygen/time64.patch b/user/doxygen/time64.patch
new file mode 100644
index 000000000..ee06d6e03
--- /dev/null
+++ b/user/doxygen/time64.patch
@@ -0,0 +1,19 @@
+--- doxygen-Release_1_8_16/qtools/qdatetime.cpp.old 2019-08-08 13:36:52.000000000 +0000
++++ doxygen-Release_1_8_16/qtools/qdatetime.cpp 2020-01-19 19:14:24.204239898 +0000
+@@ -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