diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-16 22:11:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-16 22:11:01 +0000 |
commit | 6b5dfc0a3625a70e4fade3cd90e4ae31a33664f7 (patch) | |
tree | 82619de76769165bbcfd5c94495b90fd0f6ba065 /media-tv/kodi | |
parent | 788faa321fd43f4cb9f6e5a827df43d64b1bdabf (diff) |
media-tv/kodi : fix build with >=media-libs/mesa-22.3.0 ( https://bugs.gentoo.org/885419 )
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 |