Files
MINGW-packages/mingw-w64-python3/1600-fix-disable-blake2-sse.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
488 B
Diff

--- Python-3.6.1/setup.py.orig 2017-06-13 16:41:16.611128800 +0200
+++ Python-3.6.1/setup.py 2017-06-13 16:42:21.729853400 +0200
@@ -942,7 +942,7 @@
blake2_deps.append('hashlib.h')
blake2_macros = []
- if not cross_compiling and os.uname().machine == "x86_64":
+ if not cross_compiling and not host_platform.startswith(('mingw', 'win')):
# Every x86_64 machine has at least SSE2.
blake2_macros.append(('BLAKE2_USE_SSE', '1'))