From 4d3b8f8b38eda2e6cfa39c2efcf4f9c4055c2d7d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 12 Jan 2023 17:46:56 +0000 Subject: gentoo auto-resync : 12:01:2023 - 17:46:56 --- .../shiboken2/files/shiboken2-5.15.8-py-limited-api.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 dev-python/shiboken2/files/shiboken2-5.15.8-py-limited-api.patch (limited to 'dev-python/shiboken2/files') 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(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. -- cgit v1.2.3