libprelude/libprelude-5.1.0-fix_py38.patch
2019-11-09 15:47:25 +01:00

12 lines
394 B
Diff

--- ./bindings/python/_prelude.cxx 2019-07-12 07:19:49.365476420 +0200
+++ ./bindings/python/_prelude.cxx 2019-07-12 07:20:02.458213034 +0200
@@ -3132,7 +3132,7 @@
SWIGINTERN void
SwigPyStaticVar_dealloc(PyDescrObject *descr) {
- _PyObject_GC_UNTRACK(descr);
+ PyObject_GC_UnTrack(descr);
Py_XDECREF(PyDescr_TYPE(descr));
Py_XDECREF(PyDescr_NAME(descr));
PyObject_GC_Del(descr);