Files
MINGW-packages/mingw-w64-python3/1640-dont-include-consoleapi-h.patch
Christoph Reiter 9757046077 python3: Update to 3.6.1 (#2587)
* python3: Update to 3.6.1

The patches starting with 16 are new to fix the build.
Some no longer relevant patches were dropped, the rest is just refreshed.

* Bump pkgrel of all packages containing Python 3 bytecode/extensions.

The package list was generated using:
    pkgfile.exe -R mingw64 -r "cpython.*\\.(py[cod]|dll)"

* lensfun: Add cmake to makedepends

* numpy: Don't hardcode the Python version

* blender: rebuild for new Python

* boost: Don't hardcode Python versions; rebuild

* pillow: Don't hardcode Python version; rebuild

* python-dateutil: Don't hardcode Python versions

* sip: Don't hardcode Python versions

* pyqt4: Don't hardcode Python versions; rebuild

* pyqt5: Don't hardcode Python versions; rebuild

* opencv: Update Python3 version in patch
2017-06-15 17:40:51 +03:00

12 lines
336 B
Diff

--- Python-3.6.1/Modules/_io/_iomodule.c.orig 2017-06-13 17:05:39.099778400 +0200
+++ Python-3.6.1/Modules/_io/_iomodule.c 2017-06-13 17:05:11.212183300 +0200
@@ -20,7 +20,7 @@
#include <sys/stat.h>
#endif /* HAVE_SYS_STAT_H */
-#ifdef MS_WINDOWS
+#if defined(MS_WINDOWS) && !defined(__MINGW32__)
#include <consoleapi.h>
#endif