mirror of
https://github.com/openwrt/packages.git
synced 2026-06-13 17:11:32 +08:00
python3: bump to version 3.14.4
Also add no-mips16 to PKG_BUILD_FLAGS. Should fix mipsel_24kc_24kf builds. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
committed by
Alexandru Ardelean
parent
8d3c004213
commit
72aa700b23
@@ -1,6 +1,6 @@
|
||||
--- a/Python/initconfig.c
|
||||
+++ b/Python/initconfig.c
|
||||
@@ -474,7 +474,7 @@ int Py_NoSiteFlag = 0; /* Suppress 'impo
|
||||
@@ -475,7 +475,7 @@ int Py_NoSiteFlag = 0; /* Suppress 'impo
|
||||
int Py_BytesWarningFlag = 0; /* Warn on str(bytes) and str(buffer) */
|
||||
int Py_FrozenFlag = 0; /* Needed by getpath.c */
|
||||
int Py_IgnoreEnvironmentFlag = 0; /* e.g. PYTHONPATH, PYTHONHOME */
|
||||
|
||||
@@ -5,7 +5,7 @@ https://git.alpinelinux.org/aports/tree/main/python2/musl-find_library.patch
|
||||
|
||||
--- a/Lib/ctypes/util.py
|
||||
+++ b/Lib/ctypes/util.py
|
||||
@@ -195,6 +195,8 @@ elif sys.platform == "emscripten":
|
||||
@@ -201,6 +201,8 @@ elif sys.platform == "emscripten":
|
||||
elif os.name == "posix":
|
||||
# Andreas Degert's find functions, using gcc, /sbin/ldconfig, objdump
|
||||
import re, tempfile
|
||||
@@ -14,7 +14,7 @@ https://git.alpinelinux.org/aports/tree/main/python2/musl-find_library.patch
|
||||
|
||||
def _is_elf(filename):
|
||||
"Return True if the given file is an ELF file"
|
||||
@@ -371,6 +373,57 @@ elif os.name == "posix":
|
||||
@@ -377,6 +379,57 @@ elif os.name == "posix":
|
||||
def find_library(name, is64 = False):
|
||||
return _get_soname(_findLib_crle(name, is64) or _findLib_gcc(name))
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
struct py_ssl_error_code {
|
||||
const char *mnemonic;
|
||||
@@ -4896,7 +4899,11 @@ _ssl__SSLContext_cert_store_stats_impl(P
|
||||
@@ -4898,7 +4901,11 @@ _ssl__SSLContext_cert_store_stats_impl(P
|
||||
int x509 = 0, crl = 0, ca = 0, i;
|
||||
|
||||
store = SSL_CTX_get_cert_store(self->ctx);
|
||||
@@ -24,7 +24,7 @@
|
||||
if (objs == NULL) {
|
||||
PyErr_SetString(PyExc_MemoryError, "failed to query cert store");
|
||||
return NULL;
|
||||
@@ -4952,7 +4959,11 @@ _ssl__SSLContext_get_ca_certs_impl(PySSL
|
||||
@@ -4954,7 +4961,11 @@ _ssl__SSLContext_get_ca_certs_impl(PySSL
|
||||
}
|
||||
|
||||
store = SSL_CTX_get_cert_store(self->ctx);
|
||||
|
||||
Reference in New Issue
Block a user