mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
python: fix building _io.so
This commit is contained in:
parent
cf11e18a02
commit
e4daf64345
2 changed files with 18 additions and 1 deletions
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
|
pkgname=python
|
||||||
version=2.7.18.7
|
version=2.7.18.7
|
||||||
revision=1
|
revision=2
|
||||||
pycompile_dirs="usr/lib/python2.7"
|
pycompile_dirs="usr/lib/python2.7"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libffi-devel readline-devel gdbm-devel openssl-devel expat-devel
|
makedepends="libffi-devel readline-devel gdbm-devel openssl-devel expat-devel
|
||||||
|
|
Loading…
Add table
Reference in a new issue