File kodi-disable-wayland.patch of Package kodi

--- ./cmake/scripts/common/Platform.cmake.orig	2021-02-18 23:17:59.000000000 +0100
+++ ./cmake/scripts/common/Platform.cmake	2021-03-08 11:22:35.830254146 +0100
@@ -3,9 +3,9 @@ if(NOT CORE_SYSTEM_NAME)
 endif()
 
 if(CORE_SYSTEM_NAME STREQUAL linux OR CORE_SYSTEM_NAME STREQUAL freebsd)
-  # Set default CORE_PLATFORM_NAME to X11 WAYLAND GBM
+  # Set default CORE_PLATFORM_NAME to X11 GBM
   # This is overridden by user setting -DCORE_PLATFORM_NAME=<platform>
-  set(_DEFAULT_PLATFORM X11 WAYLAND GBM)
+  set(_DEFAULT_PLATFORM X11 GBM)
 
   if(NOT APP_RENDER_SYSTEM)
     message(SEND_ERROR "You need to decide whether you want to use GL- or GLES-based rendering. Please set APP_RENDER_SYSTEM to either \"gl\" or \"gles\". For normal desktop systems, you will usually want to use \"gl\".")