diff options
Diffstat (limited to 'patches')
| -rw-r--r-- | patches/newt/001-python-snack.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/patches/newt/001-python-snack.patch b/patches/newt/001-python-snack.patch deleted file mode 100644 index d1a23ba..0000000 --- a/patches/newt/001-python-snack.patch +++ /dev/null @@ -1,39 +0,0 @@ -Update the deprecated functions for python - ---- newt-0.52.23/snack.c.orig 2026-05-27 12:52:32.785944840 +0200 -+++ newt-0.52.23/snack.c 2026-05-27 12:17:34.944987036 +0200 -@@ -456,7 +456,7 @@ static void helpCallbackMarshall(newtCom - PyGILState_STATE _state = PyGILState_Ensure(); - - args = Py_BuildValue("(O)", data); -- result = PyEval_CallObject(helpCallback.cb, args); -+ result = PyObject_CallObject(helpCallback.cb, args); - Py_DECREF (args); - Py_XDECREF(result); - -@@ -473,10 +473,10 @@ static void suspendCallbackMarshall(void - - if (scs->data) { - args = Py_BuildValue("(O)", scs->data); -- result = PyEval_CallObject(scs->cb, args); -+ result = PyObject_CallObject(scs->cb, args); - Py_DECREF (args); - } else -- result = PyEval_CallObject(scs->cb, NULL); -+ result = PyObject_CallObject(scs->cb, NULL); - - if (!result) { - PyErr_Print(); -@@ -498,10 +498,10 @@ static void callbackMarshall(newtCompone - - if (scs->data) { - args = Py_BuildValue("(O)", scs->data); -- result = PyEval_CallObject(scs->cb, args); -+ result = PyObject_CallObject(scs->cb, args); - Py_DECREF (args); - } else -- result = PyEval_CallObject(scs->cb, NULL); -+ result = PyObject_CallObject(scs->cb, NULL); - - if (!result) { - PyErr_Print(); |
