File root6-python3.11-no-code.h.patch of Package root6
Index: root-6.32.00/bindings/pyroot/cppyy/CPyCppyy/src/CPPOverload.cxx =================================================================== --- root-6.32.00.orig/bindings/pyroot/cppyy/CPyCppyy/src/CPPOverload.cxx +++ root-6.32.00/bindings/pyroot/cppyy/CPyCppyy/src/CPPOverload.cxx @@ -5,6 +5,8 @@ #if PY_VERSION_HEX >= 0x02050000 #if PY_VERSION_HEX < 0x030b0000 #include "code.h" // from Python +#else +#include "Python.h" #endif #else #include "compile.h" // from Python