diff --git a/mingw-w64-python-pillow/PKGBUILD b/mingw-w64-python-pillow/PKGBUILD index d618932c5c..d7361097bc 100644 --- a/mingw-w64-python-pillow/PKGBUILD +++ b/mingw-w64-python-pillow/PKGBUILD @@ -3,8 +3,8 @@ _realname=Pillow pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python2-pillow" "${MINGW_PACKAGE_PREFIX}-python3-pillow") -pkgver=4.0.0 -pkgrel=3 +pkgver=4.1.1 +pkgrel=1 arch=('any') license=('custom') url="https://github.com/python-pillow/Pillow/" @@ -21,8 +21,8 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python2-setuptools" options=('staticlibs') source=(${_realname}-${pkgver}.tar.gz::https://github.com/python-pillow/Pillow/archive/${pkgver}.tar.gz freeze-support.patch) -sha256sums=('ece687f83a78db7ac608aaa9469fc4d5dbc22757c5bc814cee75f457382d26bc' - '81719ede14f64371ad2ed155424666049c137e4eef6dd7d1fc4af64405015eee') +sha256sums=('606eca4a0801461e34d3bb4eb94df28fab5b3f6702eac8d1840d2da6a6d5d970' + 'af0a908e71feb05bf0b4998caaae461fabb4d779236731e4472f594a36366684') prepare() { cd ${srcdir}/${_realname}-${pkgver} diff --git a/mingw-w64-python-pillow/freeze-support.patch b/mingw-w64-python-pillow/freeze-support.patch index 530689445e..25919f199b 100644 --- a/mingw-w64-python-pillow/freeze-support.patch +++ b/mingw-w64-python-pillow/freeze-support.patch @@ -12,7 +12,7 @@ @@ -72,8 +72,10 @@ try: # bug, only enable if we can make a Pool. see issue #790 and - # http://stackoverflow.com/questions/6033599/oserror-38-errno-38-with-multiprocessing + # https://stackoverflow.com/questions/6033599/oserror-38-errno-38-with-multiprocessing - pool = Pool(2) - CCompiler.compile = _mp_compile + if __name__ == '__main__':