-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kodi: allow compile with Python3-3.13.0
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
packages/mediacenter/kodi/patches/kodi-995.kodi-995.20-python-3-13-swig.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |