diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-12 17:46:56 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-12 17:46:56 +0000 |
commit | 4d3b8f8b38eda2e6cfa39c2efcf4f9c4055c2d7d (patch) | |
tree | c7fe3434d83b59f7b0f67d7a15c69817aba9ea0b /dev-python/shiboken2/files/shiboken2-5.15.8-py-limited-api.patch | |
parent | af42afeb201514cfc34a8a056def3389af35a54b (diff) |
gentoo auto-resync : 12:01:2023 - 17:46:56
Diffstat (limited to 'dev-python/shiboken2/files/shiboken2-5.15.8-py-limited-api.patch')
-rw-r--r-- | dev-python/shiboken2/files/shiboken2-5.15.8-py-limited-api.patch | 11 |
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. |