diff --git a/srcpkgs/python/patches/fix-pr-21.patch b/srcpkgs/python/patches/fix-pr-21.patch new file mode 100644 index 00000000000..e1e5b771e79 --- /dev/null +++ b/srcpkgs/python/patches/fix-pr-21.patch @@ -0,0 +1,17 @@ +--- a/Include/pyport.h ++++ b/Include/pyport.h +@@ -947,7 +947,6 @@ + #define Py_ULL(x) Py_LL(x##U) + #endif + +-#ifdef Py_BUILD_CORE + /* + * Macros to protect CRT calls against instant termination when passed an + * invalid parameter (issue23524). +@@ -965,6 +964,5 @@ + #define _Py_END_SUPPRESS_IPH + + #endif /* _MSC_VER >= 1900 */ +-#endif /* Py_BUILD_CORE */ + + #endif /* Py_PYPORT_H */ diff --git a/srcpkgs/python/template b/srcpkgs/python/template index db697723351..21566f3e973 100644 --- a/srcpkgs/python/template +++ b/srcpkgs/python/template @@ -4,7 +4,7 @@ # pkgname=python version=2.7.18.7 -revision=1 +revision=2 pycompile_dirs="usr/lib/python2.7" hostmakedepends="pkg-config" makedepends="libffi-devel readline-devel gdbm-devel openssl-devel expat-devel