From 9a77cb47700373faf17a1f629879767360cd4dfc Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Tue, 8 Oct 2024 13:45:18 +0000 Subject: [PATCH] kodi: allow compile with Python3-3.13.0 --- .../kodi-995.kodi-995.20-python-3-13-swig.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/mediacenter/kodi/patches/kodi-995.kodi-995.20-python-3-13-swig.patch diff --git a/packages/mediacenter/kodi/patches/kodi-995.kodi-995.20-python-3-13-swig.patch b/packages/mediacenter/kodi/patches/kodi-995.kodi-995.20-python-3-13-swig.patch new file mode 100644 index 00000000000..efe0d969651 --- /dev/null +++ b/packages/mediacenter/kodi/patches/kodi-995.kodi-995.20-python-3-13-swig.patch @@ -0,0 +1,12 @@ +--- a/xbmc/interfaces/python/swig.cpp 2024-10-08 13:40:42.546823816 +0000 ++++ b/xbmc/interfaces/python/swig.cpp 2024-10-08 13:40:42.546823816 +0000 +@@ -75,6 +75,9 @@ + #if PY_VERSION_HEX >= 0x030C00A1 + 0, + #endif ++#if PY_VERSION_HEX >= 0x030D0000 ++ 0, ++#endif + }; + + static int size = (long*)&(py_type_object_header.tp_name) - (long*)&py_type_object_header;