Created attachment 393972 [details, diff] sdl2.patch XBMC switched to libsdl2 recently. Additionally it is only required for USE="joystick". Patch attached.
Pardon, s/XBMC/KODI/g ;)
Comment on attachment 393972 [details, diff] sdl2.patch please use unified diffs. no one can read context diffs. ;)
should be all set now in the tree; thanks for the report! Commit message: Switch to libsdl2 to match upstream http://sources.gentoo.org/media-tv/xbmc/xbmc-9999.ebuild?r1=1.170&r2=1.171