Date: Thursday, January 5, 2023 @ 09:26:12 Author: arojas Revision: 465633
upgpkg: pyside2 5.15.8-3: Don't use limited API, for real Modified: pyside2/trunk/PKGBUILD pyside2/trunk/limited-api.patch -------------------+ PKGBUILD | 5 ++--- limited-api.patch | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-01-05 09:09:37 UTC (rev 465632) +++ PKGBUILD 2023-01-05 09:26:12 UTC (rev 465633) @@ -6,7 +6,7 @@ _qtver=5.15.8 _clangver=14.0.6 pkgver=${_qtver/-/} -pkgrel=2 +pkgrel=3 arch=(x86_64) url='https://www.qt.io' license=(LGPL) @@ -35,7 +35,7 @@ limited-api.patch) sha256sums=('23436302c8deb5b4cbc769b205d09604e38ba83b40708efccb7bd8c9af6f6b5d' '4f8815840b5df2e1e3b9f201a3402126821b0d9702920cefdc18050639143ad1' - '433b4fa26203ecabf6ac7d4288467a918a4fba91ef885b0a11c466aae99050cd') + '9d9b0d74b5159dbafd9e3c4cd794d84b671c299edab3cac1660f094e9a8791ea') prepare() { patch -d $_pkgfqn -p1 < fix-build.patch @@ -47,7 +47,6 @@ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=None \ -DBUILD_TESTS=OFF \ - -DFORCE_LIMITED_API=yes \ -DPYTHON_EXECUTABLE=/usr/bin/python cmake --build build } Modified: limited-api.patch =================================================================== --- limited-api.patch 2023-01-05 09:09:37 UTC (rev 465632) +++ limited-api.patch 2023-01-05 09:26:12 UTC (rev 465633) @@ -1,4 +1,3 @@ -diff -ru pyside-setup-opensource-src-5.15.7/sources/shiboken2/libshiboken/pep384impl.cpp pyside-setup-opensource-src-5.15.8/sources/shiboken2/libshiboken/pep384impl.cpp --- pyside-setup-opensource-src-5.15.7/sources/shiboken2/libshiboken/pep384impl.cpp 2022-09-23 08:47:20.000000000 +0200 +++ pyside-setup-opensource-src-5.15.8/sources/shiboken2/libshiboken/pep384impl.cpp 2023-01-04 08:07:17.000000000 +0100 @@ -751,7 +751,7 @@ @@ -6,7 +5,7 @@ Shiboken::AutoDecRef privateobj(PyObject_GetAttr( reinterpret_cast<PyObject *>(Py_TYPE(self)), Shiboken::PyMagicName::name())); -#ifndef Py_LIMITED_API -+#ifndef Py_LIMITED_API && PY_VERSION_HEX < 0x03010000 ++#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.