MINGW-packages/mingw-w64-qt5-static/0402-deprecated-ucrt-functions.patch
Raed Rizqie 45cd411474 qt5-static: update to 5.15.14
- simplified PKGBUILD recipe
- build in silent mode
- make sure we link with static zlib and zstd
- fix qmltyperegistrar 'Cannot open foreign types file' error
- fix race condition when building qtactiveqt tools
- fix *.pc & *.prl files further by removing full path to libs
2024-07-11 21:02:38 +08:00

21 lines
494 B
Diff

--- a/qtbase/src/corelib/time/qdatetime.cpp
+++ b/qtbase/src/corelib/time/qdatetime.cpp
@@ -2728,7 +2728,7 @@
#elif defined(Q_OS_INTEGRITY) || defined(Q_OS_RTEMS)
return 0;
#else
- return timezone;
+ return _timezone;
#endif // Q_OS_WIN
}
@@ -2743,7 +2743,7 @@
return QString();
return QString::fromLocal8Bit(name);
#else
- return QString::fromLocal8Bit(tzname[isDst]);
+ return QString::fromLocal8Bit(_tzname[isDst]);
#endif // Q_OS_WIN
}