summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Udvare <audvare@gmail.com>2023-05-08 18:42:17 -0400
committerSam James <sam@gentoo.org>2023-05-10 02:26:24 +0100
commit37860b731a185b464776c611e9a106e4db93beca (patch)
treec125623a07050915d372054ae54026978f194e4c /media-tv
parentwww-apps/prowlarr: drop 1.4.1.3258 (diff)
downloadgentoo-37860b731a185b464776c611e9a106e4db93beca.tar.gz
gentoo-37860b731a185b464776c611e9a106e4db93beca.tar.bz2
gentoo-37860b731a185b464776c611e9a106e4db93beca.zip
media-tv/kodi: fix build with USE vaapi with GCC 13
Closes: https://bugs.gentoo.org/905644 Signed-off-by: Andrew Udvare <audvare@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/30943 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/kodi/files/kodi-19.5-gcc-13.patch12
1 files changed, 12 insertions, 0 deletions
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