summaryrefslogtreecommitdiff
path: root/dev-python/shiboken2/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-12 17:46:56 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-12 17:46:56 +0000
commit4d3b8f8b38eda2e6cfa39c2efcf4f9c4055c2d7d (patch)
treec7fe3434d83b59f7b0f67d7a15c69817aba9ea0b /dev-python/shiboken2/files
parentaf42afeb201514cfc34a8a056def3389af35a54b (diff)
gentoo auto-resync : 12:01:2023 - 17:46:56
Diffstat (limited to 'dev-python/shiboken2/files')
-rw-r--r--dev-python/shiboken2/files/shiboken2-5.15.8-py-limited-api.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-python/shiboken2/files/shiboken2-5.15.8-py-limited-api.patch b/dev-python/shiboken2/files/shiboken2-5.15.8-py-limited-api.patch
new file mode 100644
index 000000000000..143eb24a103a
--- /dev/null
+++ b/dev-python/shiboken2/files/shiboken2-5.15.8-py-limited-api.patch
@@ -0,0 +1,11 @@
+--- a/libshiboken/pep384impl.cpp 2022-09-23 08:47:20.000000000 +0200
++++ b/libshiboken/pep384impl.cpp 2023-01-04 08:07:17.000000000 +0100
+@@ -751,7 +751,7 @@
+ #endif // IS_PY2
+ Shiboken::AutoDecRef privateobj(PyObject_GetAttr(
+ reinterpret_cast<PyObject *>(Py_TYPE(self)), Shiboken::PyMagicName::name()));
+-#ifndef Py_LIMITED_API
++#if !defined(Py_LIMITED_API) && PY_VERSION_HEX < 0x03010000
+ return _Py_Mangle(privateobj, name);
+ #else
+ // PYSIDE-1436: _Py_Mangle is no longer exposed; implement it always.