summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2020-01-13 20:08:37 +0100
committerMichel Zou2020-01-13 20:08:37 +0100
commit32a019c238b2bc45c399c5a816db33f5d7c4c7d8 (patch)
treebd2bb5e2bead920e1db1186a355b7fecf237ff0d
parent7e1a53a32aa58eb6427554b3a74b5ba1d5372482 (diff)
downloadaur-32a019c238b2bc45c399c5a816db33f5d7c4c7d8.tar.gz
bpo36020
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 524c1fe7697..59979bc329e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mingw-w64-python36-bin
pkgdesc = Next generation of the python high-level scripting language (native MSVC version) (mingw-w64)
pkgver = 3.6.8
- pkgrel = 1
+ pkgrel = 2
url = http://www.python.org/
arch = any
license = PSF
diff --git a/PKGBUILD b/PKGBUILD
index cde9a234d04..ecf756f1296 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
pkgname=mingw-w64-python36-bin
pkgver=3.6.8
_pybasever=36
-pkgrel=1
+pkgrel=2
pkgdesc="Next generation of the python high-level scripting language (native MSVC version) (mingw-w64)"
arch=('any')
license=('PSF')
@@ -28,6 +28,8 @@ prepare () {
cd "${srcdir}/Python-${pkgver}"
# https://bugs.python.org/issue11566
patch -p1 -i "${srcdir}"/bpo-11566.patch
+ # https://bugs.python.org/issue36020
+ sed -i 's|#if defined(MS_WIN32) \&\& !defined(HAVE_SNPRINTF)|#if defined(_MSC_VER) \&\& !defined(HAVE_SNPRINTF)|g' Include/pyerrors.h
}
build() {