From 37860b731a185b464776c611e9a106e4db93beca Mon Sep 17 00:00:00 2001 From: Andrew Udvare Date: Mon, 8 May 2023 18:42:17 -0400 Subject: media-tv/kodi: fix build with USE vaapi with GCC 13 Closes: https://bugs.gentoo.org/905644 Signed-off-by: Andrew Udvare Closes: https://github.com/gentoo/gentoo/pull/30943 Signed-off-by: Sam James --- media-tv/kodi/files/kodi-19.5-gcc-13.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'media-tv') 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 #include 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 ++#include + + #if defined(HAS_GL) + // always define GL_GLEXT_PROTOTYPES before include gl headers -- cgit v1.2.3-65-gdbad