sdl2: add patch for SDL_egl.c
sdl2: add patch for tests
sdl2: change makefile to improve compile