diff --git a/src/sdl2-2-dxgi.patch b/src/sdl2-2-dxgi.patch new file mode 100644 index 00000000..9b1b924a --- /dev/null +++ b/src/sdl2-2-dxgi.patch @@ -0,0 +1,18 @@ +This file is part of MXE. +See index.html for further information. + +This patch has been taken from: +https://bugzilla.libsdl.org/show_bug.cgi?id=2440 + +diff -u tmp-sdl2/SDL2-2.0.2/src/video/windows/SDL_windowsvideo.c SDL2-2.0.2/src/video/windows/SDL_windowsvideo.c +--- a/src/video/windows/SDL_windowsvideo.c 2014-03-09 09:20:03.133800102 +0100 ++++ b/src/video/windows/SDL_windowsvideo.c 2014-03-08 05:36:50.000000000 +0100 +@@ -247,7 +247,7 @@ + + #define CINTERFACE + #define COBJMACROS +-#include ++#include + + SDL_bool + DXGI_LoadDLL( void **pDXGIDLL , IDXGIFactory **pDXGIFactory ) diff --git a/src/sdl2.mk b/src/sdl2.mk index 918839fa..3d0aebac 100644 --- a/src/sdl2.mk +++ b/src/sdl2.mk @@ -3,8 +3,8 @@ PKG := sdl2 $(PKG)_IGNORE := -$(PKG)_VERSION := 2.0.1 -$(PKG)_CHECKSUM := e40051311b648e4e60ed1683f62a948d93a0a49f +$(PKG)_VERSION := 2.0.2 +$(PKG)_CHECKSUM := 304c7cd3dddca98724a3e162f232a8a8f6e1ceb3 $(PKG)_SUBDIR := SDL2-$($(PKG)_VERSION) $(PKG)_FILE := SDL2-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://www.libsdl.org/release/$($(PKG)_FILE)