File kodi-libdrm.patch of Package kodi-20

diff -rup xbmc-18.0rc4-Leia.orig/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.cpp xbmc-18.0rc4-Leia/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.cpp
--- xbmc-18.0rc4-Leia.orig/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.cpp	2018-12-28 16:55:25.000000000 +0100
+++ xbmc-18.0rc4-Leia/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.cpp	2019-01-06 12:27:49.219830548 +0100
@@ -11,6 +11,9 @@
 #include "cores/VideoPlayer/DVDCodecs/Video/VAAPI.h"
 #include <va/va_drmcommon.h>
 #include <drm_fourcc.h>
+#ifndef DRM_FORMAT_GR1616
+#define DRM_FORMAT_GR1616	fourcc_code('G', 'R', '3', '2')	/* [31:0] R:G 16:16 little endian */
+#endif
 #include "utils/log.h"
 #include "utils/EGLUtils.h"
 
openSUSE Build Service is sponsored by