I tried to built RPi (1st gen) of libreelec from GitHub - lrusak/LibreELEC.tv at retroplayer-kodi-17 and it failed with:
error: while searching for:
#include "peripherals/devices/Peripheral.h"
#include "utils/log.h"
using namespace JOYSTICK;
#define LEFT_STICK_NAME "leftstick"
error: patch failed: build.LibreELEC-RPi.arm-7.90.003/kodi-17.0-alpha3-fc46cf2/xbmc/input/joysticks/DeadzoneFilter.cpp:24
error: build.LibreELEC-RPi.arm-7.90.003/kodi-17.0-alpha3-fc46cf2/xbmc/input/joysticks/DeadzoneFilter.cpp: patch does not apply
It seems that the kodi_garbear-retroplayer-17.0.patch did not apply corrently. Did I somehow use incorrect kodi version ?