summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-02-22 20:24:26 +0100
committerAlfredo Tupone <tupone@gentoo.org>2023-02-22 20:24:51 +0100
commit6aed43d4bb7560153603c6254b967ee8e3e74b71 (patch)
tree5074baac5894defde8c7db93dc490656668c9210 /dev-ada/gnatcoll-bindings/files
parentdev-python/raet: PEP517, py3.11, pypi.eclass (diff)
downloadgentoo-6aed43d4bb7560153603c6254b967ee8e3e74b71.tar.gz
gentoo-6aed43d4bb7560153603c6254b967ee8e3e74b71.tar.bz2
gentoo-6aed43d4bb7560153603c6254b967ee8e3e74b71.zip
dev-ada/gnatcoll-bindings: support python 3.11
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada/gnatcoll-bindings/files')
-rw-r--r--dev-ada/gnatcoll-bindings/files/gnatcoll-bindings-23.0.0-py_3_11.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-ada/gnatcoll-bindings/files/gnatcoll-bindings-23.0.0-py_3_11.patch b/dev-ada/gnatcoll-bindings/files/gnatcoll-bindings-23.0.0-py_3_11.patch
new file mode 100644
index 000000000000..e4c3960c236f
--- /dev/null
+++ b/dev-ada/gnatcoll-bindings/files/gnatcoll-bindings-23.0.0-py_3_11.patch
@@ -0,0 +1,18 @@
+--- a/python/python_support.c 2023-02-22 20:16:04.746476700 +0100
++++ b/python/python_support.c 2023-02-22 20:18:46.762891565 +0100
+@@ -814,13 +814,13 @@
+ PyCodeObject*
+ ada_pyframe_get_code (PyFrameObject* obj)
+ {
+- return obj->f_code;
++ return PyFrame_GetCode(obj);
+ }
+
+ PyFrameObject*
+ ada_pyframe_get_back (PyFrameObject* obj)
+ {
+- return obj->f_back;
++ return PyFrame_GetBack(obj);
+ }
+
+ PyObject*