forked from pool/python-sip4
Benjamin Greiner
cf657aa705
- Enable python311, libArcus does not support SIP > 4. Add python311_frame.patch OBS-URL: https://build.opensuse.org/request/show/1096220 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip4?expand=0&rev=7
16 lines
408 B
Diff
16 lines
408 B
Diff
Taken from https://bugzilla.redhat.com/show_bug.cgi?id=2062144
|
|
|
|
diff --git a/siplib/siplib.c b/siplib/siplib.c
|
|
index db52b68..8019e97 100644
|
|
--- a/siplib/siplib.c
|
|
+++ b/siplib/siplib.c
|
|
@@ -13747,7 +13747,7 @@ static struct _frame *sip_api_get_frame(int depth)
|
|
|
|
while (frame != NULL && depth > 0)
|
|
{
|
|
- frame = frame->f_back;
|
|
+ frame = PyFrame_GetBack(frame);
|
|
--depth;
|
|
}
|
|
|