commit: 37860b731a185b464776c611e9a106e4db93beca Author: Andrew Udvare <audvare <AT> gmail <DOT> com> AuthorDate: Mon May 8 22:42:17 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 10 01:26:24 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37860b73
media-tv/kodi: fix build with USE vaapi with GCC 13 Closes: https://bugs.gentoo.org/905644 Signed-off-by: Andrew Udvare <audvare <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/30943 Signed-off-by: Sam James <sam <AT> gentoo.org> media-tv/kodi/files/kodi-19.5-gcc-13.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/media-tv/kodi/files/kodi-19.5-gcc-13.patch b/media-tv/kodi/files/kodi-19.5-gcc-13.patch index 130c3c225486..268ebc2737f7 100644 --- a/media-tv/kodi/files/kodi-19.5-gcc-13.patch +++ b/media-tv/kodi/files/kodi-19.5-gcc-13.patch @@ -56,3 +56,15 @@ Bug: https://bugs.gentoo.org/892503 #include <string> #include <system_error> namespace KODI +diff --git a/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.h b/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.h +index 66d1bf0200..dcd60698d6 100644 +--- a/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.h ++++ b/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.h +@@ -9,6 +9,7 @@ + #pragma once + + #include <array> ++#include <cstdint> + + #if defined(HAS_GL) + // always define GL_GLEXT_PROTOTYPES before include gl headers
