diff options
Diffstat (limited to 'media-tv/kodi')
-rw-r--r-- | media-tv/kodi/files/kodi-19.4-fix-mesa-22.3.0-build.patch | 12 | ||||
-rw-r--r-- | media-tv/kodi/kodi-19.4-r6.ebuild (renamed from media-tv/kodi/kodi-19.4-r5.ebuild) | 4 |
2 files changed, 16 insertions, 0 deletions
diff --git a/media-tv/kodi/files/kodi-19.4-fix-mesa-22.3.0-build.patch b/media-tv/kodi/files/kodi-19.4-fix-mesa-22.3.0-build.patch new file mode 100644 index 00000000..e9ff90df --- /dev/null +++ b/media-tv/kodi/files/kodi-19.4-fix-mesa-22.3.0-build.patch @@ -0,0 +1,12 @@ +--- xbmc/xbmc/windowing/X11/GLContextEGL.h ++++ xbmc/xbmc/windowing/X11/GLContextEGL.h +@@ -13,7 +13,7 @@ + #include "threads/CriticalSection.h" + + #include <EGL/eglext.h> +-#include <EGL/eglextchromium.h> ++#include <EGL/eglext_angle.h> + #include <X11/Xutil.h> + + class CGLContextEGL : public CGLContext + diff --git a/media-tv/kodi/kodi-19.4-r5.ebuild b/media-tv/kodi/kodi-19.4-r6.ebuild index f9b12fcd..f84e0a1b 100644 --- a/media-tv/kodi/kodi-19.4-r5.ebuild +++ b/media-tv/kodi/kodi-19.4-r6.ebuild @@ -209,6 +209,10 @@ src_unpack() { } src_prepare() { + # https://bugs.gentoo.org/885419 + if has_version ">=media-libs/mesa-22.3.0"; then + PATCHES+=( "${FILESDIR}/${P}-fix-mesa-22.3.0-build.patch" ) + fi cmake_src_prepare # avoid long delays when powerkit isn't running #348580 |