summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2020-10-05 20:44:09 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-10-05 19:45:08 +0100
commit2244020b124066b5aeb411ab793379b4b2b60458 (patch)
tree98104f2a9a402f84f7e3f38065c60b334e3a4847 /patches
parent94c3522f84c49167132ceeeae8697e1c94af9c21 (diff)
downloadmidipix_build-2244020b124066b5aeb411ab793379b4b2b60458.tar.bz2
midipix_build-2244020b124066b5aeb411ab793379b4b2b60458.tar.xz
patches/sdl2-2.0.8.local.patch: fix build
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'patches')
-rw-r--r--patches/sdl2-2.0.8.local.patch13
1 files changed, 7 insertions, 6 deletions
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 <imm.h>
- #include <oleauto.h>
++++ 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 <imm.h>
+-#include <oleauto.h>
++
+#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