From a62e3e64229b1f531f062bea9a59f70470b0c6b0 Mon Sep 17 00:00:00 2001 From: pine Date: Wed, 30 Oct 2024 15:41:37 +0800 Subject: [PATCH] Add sip-siplib patch --- patches/sip-siplib.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/sip-siplib.patch diff --git a/patches/sip-siplib.patch b/patches/sip-siplib.patch new file mode 100644 index 0000000..9c00bfd --- /dev/null +++ b/patches/sip-siplib.patch @@ -0,0 +1,13 @@ +diff --git a/depends/sip-4.19.25/siplib/siplib.c b/depends/sip-4.19.25/siplib/siplib.c +index db52b68..8019e97 100644 +--- a/depends/sip-4.19.25/siplib/siplib.c ++++ b/depends/sip-4.19.25/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; + } +