* 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
25 lines
769 B
Diff
25 lines
769 B
Diff
--- Python-3.6.1/Include/pyport.h.orig 2017-06-13 17:39:57.300500800 +0200
|
|
+++ Python-3.6.1/Include/pyport.h 2017-06-13 17:40:55.502829700 +0200
|
|
@@ -5,6 +5,21 @@
|
|
|
|
#include <inttypes.h>
|
|
|
|
+#ifdef __MINGW32__
|
|
+/* Translate GCC[mingw*] platform specific defines to those
|
|
+ * used in python code.
|
|
+ */
|
|
+#if !defined(MS_WIN64) && defined(_WIN64)
|
|
+# define MS_WIN64
|
|
+#endif
|
|
+#if !defined(MS_WIN32) && defined(_WIN32)
|
|
+# define MS_WIN32
|
|
+#endif
|
|
+#if !defined(MS_WINDOWS) && defined(MS_WIN32)
|
|
+# define MS_WINDOWS
|
|
+#endif
|
|
+#endif /*def __MINGW32__*/
|
|
+
|
|
/**************************************************************************
|
|
Symbols and macros to supply platform-independent interfaces to basic
|
|
C language & library operations whose spellings vary across platforms.
|