mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
media-tv/kodi: mesa 22.3.0 compatibility
Closes: https://bugs.gentoo.org/885419 Closes: https://github.com/gentoo/gentoo/pull/28683 Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -208,6 +208,11 @@ 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
|
||||
|
||||
@@ -209,6 +209,11 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user