Fail to apply aarch64 kodi patches

  • While trying to build from sources the process stops at applying aarch64 kodi patches (kodi-0003-EGLNativeTypeAmlogic-Enable-GUI-free_scale-when-framebuffer-size-is-less-than-output.patch)

    patching file xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp
    Reversed (or previously applied) patch detected! Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    3 out of 3 hunks ignored -- saving rejects to file xbmc/windowing/egl/EGLNativeTypeAmlogic.cpp.rej
    patching file xbmc/windowing/egl/EGLNativeTypeAmlogic.h
    Hunk #1 FAILED at 53.
    1 out of 1 hunk FAILED -- saving rejects to file xbmc/windowing/egl/EGLNativeTypeAmlogic.h.rej

    I tried already to reset git to master but the problem remains.

    Any ideas?