File 0018-set-have-decl-tzname.patch of Package mingw64-python3
--- a/cmake/config-mingw/pyconfig.h 2022-10-18 21:53:20.119470981 +0000 +++ b/cmake/config-mingw/pyconfig.h 2022-10-18 21:54:42.107788142 +0000 @@ -287,6 +287,10 @@ /* Define to 1 if you have the <direct.h> header file. */ #define HAVE_DIRECT_H 1 +/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't. + */ +#define HAVE_DECL_TZNAME 1 + /* Define if you have dirent.h. */ #define HAVE_DIRENT_H 1