commit b8921582b367f65a1ef77ad82e96ee98a9edffe9
Author: Michael Cronenworth <mike(a)cchtml.com>
Date: Tue Nov 1 10:50:47 2016 -0500
Patch for EGL support to fix ARM build
kodi-17b5-egl.patch | 10 ++++++++++
kodi.spec | 5 +++++
2 files changed, 15 insertions(+)
---
diff --git a/kodi-17b5-egl.patch b/kodi-17b5-egl.patch
new file mode 100644
index 0000000..38d1c40
--- /dev/null
+++ b/kodi-17b5-egl.patch
@@ -0,0 +1,10 @@
+--- a/xbmc/windowing/egl/EGLWrapper.cpp 2016-10-28 10:04:22.000000000 -0500
++++ b/xbmc/windowing/egl/EGLWrapper.cpp 2016-11-01 10:38:25.327585325 -0500
+@@ -36,6 +36,8 @@
+ #endif
+ #if defined(TARGET_LINUX) && defined(HAS_LIBAMCODEC)
+ #include "EGLNativeTypeAmlogic.h"
++#elif defined(TARGET_LINUX)
++#include "EGLNativeType.h"
+ #endif
+ #include "EGLWrapper.h"
diff --git a/kodi.spec b/kodi.spec
index e6f29c8..8f5afc7 100644
--- a/kodi.spec
+++ b/kodi.spec
@@ -42,6 +42,9 @@ Patch2: kodi-17a2-libdvd.patch
#
https://github.com/popcornmix/xbmc/commit/e2e1ba73de53e0f64baa2edc6a45263...
Patch3: kodi-17b5-libcec4.patch
+# EGL support broke with upstream commit 4733383b8f1c1dd0b95e9e5358425d8a0b7ba8fc
+Patch4: kodi-17b5-egl.patch
+
# Optional deps (not in EPEL)
%if 0%{?fedora}
# (libbluray in EPEL 6 is too old.)
@@ -262,6 +265,7 @@ library.
%if 0%{?fedora} > 25
%patch3 -p1 -b.libcec4
%endif
+%patch4 -p1 -b.egl
%if 0%{?_with_dvd}
cp -p %{SOURCE2} tools/depends/target/libdvdnav/libdvdnav-master.tar.gz
cp -p %{SOURCE3} tools/depends/target/libdvdread/libdvdread-master.tar.gz
@@ -418,6 +422,7 @@ fi
* Mon Oct 31 2016 Michael Cronenworth <mike(a)cchtml.com> - 17.0-0.8
- Kodi 17 beta 5
- Include patch for libcec 4.0 support
+- Patch EGL support
* Mon Oct 10 2016 Michael Cronenworth <mike(a)cchtml.com> - 17.0-0.7
- Kodi 17 beta 3