summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-12-14 11:20:13 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-12-14 14:29:04 +0100
commitc34f0196ccbd6a0faf6c4a579b0fd43884997fb8 (patch)
treeb3e6c3c2c02566cc2625cfd9adf0565c6143df85 /dev-python/pyside2/files
parentdev-python/shiboken2: patch and enable python3.10 (diff)
downloadgentoo-c34f0196ccbd6a0faf6c4a579b0fd43884997fb8.tar.gz
gentoo-c34f0196ccbd6a0faf6c4a579b0fd43884997fb8.tar.bz2
gentoo-c34f0196ccbd6a0faf6c4a579b0fd43884997fb8.zip
dev-python/pyside2: patch and enable python3.10
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/pyside2/files')
-rw-r--r--dev-python/pyside2/files/pyside2-5.15.2-python310.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-python/pyside2/files/pyside2-5.15.2-python310.patch b/dev-python/pyside2/files/pyside2-5.15.2-python310.patch
new file mode 100644
index 000000000000..cb2af4537cac
--- /dev/null
+++ b/dev-python/pyside2/files/pyside2-5.15.2-python310.patch
@@ -0,0 +1,12 @@
+diff -upr libpyside/feature_select.cpp libpyside/feature_select.cpp
+--- a/libpyside/feature_select.cpp 2020-11-11 14:51:30.000000000 +0200
++++ b/libpyside/feature_select.cpp 2021-12-01 15:39:40.356426568 +0200
+@@ -405,6 +405,8 @@ static inline PyObject *SelectFeatureSet
+ if (!SelectFeatureSetSubtype(sub_type, select_id))
+ break;
+ }
++ // PYSIDE-1436: Clear all caches for the type and subtypes.
++ PyType_Modified(type);
+ }
+ return type->tp_dict;
+ }