diff --git a/srcpkgs/renderdoc/patches/python-3.13.patch b/srcpkgs/renderdoc/patches/python-3.13.patch new file mode 100644 index 00000000000..6e17cf58902 --- /dev/null +++ b/srcpkgs/renderdoc/patches/python-3.13.patch @@ -0,0 +1,11 @@ +--- a/qrenderdoc/Code/pyrenderdoc/renderdoc.i ++++ b/qrenderdoc/Code/pyrenderdoc/renderdoc.i +@@ -469,7 +469,7 @@ + // for basic types, return the repr directly + if(obj == (PyObject *)&_Py_TrueStruct || + obj == (PyObject *)&_Py_FalseStruct || +- PyObject_IsInstance(obj, (PyObject*)&_PyNone_Type) || ++ obj == (PyObject *)Py_None || + PyObject_IsInstance(obj, (PyObject*)&PyFloat_Type) || + PyObject_IsInstance(obj, (PyObject*)&PyLong_Type) || + PyObject_IsInstance(obj, (PyObject*)&PyBytes_Type) || diff --git a/srcpkgs/renderdoc/template b/srcpkgs/renderdoc/template index 3a283e69335..f40eb3fb879 100644 --- a/srcpkgs/renderdoc/template +++ b/srcpkgs/renderdoc/template @@ -1,7 +1,7 @@ # Template file for 'renderdoc' pkgname=renderdoc version=1.21 -revision=4 +revision=5 _plt_ver=dbadbe14d601913b81a4a7533b284b6ccd7351d8 build_style=cmake configure_args="-DENABLE_GL=ON -DENABLE_GLES=ON -DENABLE_QRENDERDOC=ON