python: fix building _io.so
This commit is contained in:
parent
cf11e18a02
commit
e4daf64345
17
srcpkgs/python/patches/fix-pr-21.patch
Normal file
17
srcpkgs/python/patches/fix-pr-21.patch
Normal file
@ -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 */
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user