File python-3.9.10-lib-fixes.patch of Package mingw64-python3
diff -ur Python-3.9.10.orig/Lib/distutils/ccompiler.py Python-3.9.10/Lib/distutils/ccompiler.py --- a/Python-3.9.10.orig/Lib/distutils/ccompiler.py 2022-01-13 22:21:23.000000000 +0100 +++ n/Python-3.9.10/Lib/distutils/ccompiler.py 2022-10-25 11:33:59.300883369 +0200 @@ -930,7 +930,7 @@ # OS name mappings ('posix', 'unix'), - ('nt', 'msvc'), + ('nt', 'unix'), )