From 2244020b124066b5aeb411ab793379b4b2b60458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Mon, 5 Oct 2020 20:44:09 +0200 Subject: patches/sdl2-2.0.8.local.patch: fix build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lucio Andrés Illanes Albornoz --- patches/sdl2-2.0.8.local.patch | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'patches') diff --git a/patches/sdl2-2.0.8.local.patch b/patches/sdl2-2.0.8.local.patch index dc030117..cb64946a 100644 --- a/patches/sdl2-2.0.8.local.patch +++ b/patches/sdl2-2.0.8.local.patch @@ -1,17 +1,18 @@ diff -ru SDL2-2.0.8.orig/src/video/windows/SDL_windowskeyboard.c SDL2-2.0.8/src/video/windows/SDL_windowskeyboard.c --- SDL2-2.0.8.orig/src/video/windows/SDL_windowskeyboard.c 2018-03-01 17:34:43.000000000 +0100 -+++ SDL2-2.0.8/src/video/windows/SDL_windowskeyboard.c 2020-10-05 00:37:25.684238476 +0200 -@@ -30,6 +30,10 @@ - #include - #include ++++ SDL2-2.0.8/src/video/windows/SDL_windowskeyboard.c 2020-10-05 20:39:13.169351110 +0200 +@@ -28,7 +28,10 @@ + #include "../../events/scancodes_windows.h" + #include +-#include ++ +#ifndef CFS_FORCE_POSITION +#define CFS_FORCE_POSITION 0x0020 +#endif -+ + #ifndef SDL_DISABLE_WINDOWS_IME static void IME_Init(SDL_VideoData *videodata, HWND hwnd); - static void IME_Enable(SDL_VideoData *videodata, HWND hwnd); diff -ru SDL2-2.0.8.orig/src/video/windows/SDL_msctf.h SDL2-2.0.8/src/video/windows/SDL_msctf.h --- SDL2-2.0.8.orig/src/video/windows/SDL_msctf.h 2018-03-01 17:34:43.000000000 +0100 +++ SDL2-2.0.8/src/video/windows/SDL_msctf.h 2020-10-04 12:38:34.746446128 +0200 -- cgit v1.2.3