diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index 06030316..766e5699 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -6465,7 +6465,8 @@ fi # | combobox.c, dlls/uxtheme/gtk-edit.c, dlls/uxtheme/gtk-header.c, dlls/uxtheme/gtk-listbox.c, dlls/uxtheme/gtk-listview.c, # | dlls/uxtheme/gtk-menu.c, dlls/uxtheme/gtk-rebar.c, dlls/uxtheme/gtk-status.c, dlls/uxtheme/gtk-tab.c, dlls/uxtheme/gtk- # | toolbar.c, dlls/uxtheme/gtk-trackbar.c, dlls/uxtheme/gtk-window.c, dlls/uxtheme/gtk.c, dlls/uxtheme/metric.c, -# | dlls/uxtheme/property.c, dlls/uxtheme/system.c, dlls/uxtheme/uxthemedll.h, dlls/uxtheme/uxthemegtk.h +# | dlls/uxtheme/msstyles.c, dlls/uxtheme/property.c, dlls/uxtheme/system.c, dlls/uxtheme/uxthemedll.h, +# | dlls/uxtheme/uxthemegtk.h # | if test "$enable_uxtheme_GTK_Theming" -eq 1; then patch_apply uxtheme-GTK_Theming/0001-uxtheme-Initial-implementation-of-GTK-backend.patch @@ -6473,12 +6474,14 @@ if test "$enable_uxtheme_GTK_Theming" -eq 1; then patch_apply uxtheme-GTK_Theming/0004-uxtheme-Reset-FPU-flags-before-calling-GTK3-function.patch patch_apply uxtheme-GTK_Theming/0005-uxtheme-Fix-some-incorrect-error-codes.patch patch_apply uxtheme-GTK_Theming/0006-uxtheme-Dont-build-with-msvcrt.patch + patch_apply uxtheme-GTK_Theming/0007-Added-wine-unicode.patch ( printf '%s\n' '+ { "Ivan Akulinchev", "uxtheme: Initial implementation of GTK backend.", 1 },'; printf '%s\n' '+ { "Sebastian Lackner", "uxtheme: Correctly render buttons with GTK >= 3.14.0.", 1 },'; printf '%s\n' '+ { "Michael Müller", "uxtheme: Reset FPU flags before calling GTK3 functions.", 1 },'; printf '%s\n' '+ { "Sebastian Lackner", "uxtheme: Fix some incorrect error codes.", 1 },'; printf '%s\n' '+ { "Alistair Leslie-Hughes", "uxtheme: Dont build with msvcrt.", 1 },'; + printf '%s\n' '+ { "Alistair Leslie-Hughes", "Added wine/unicode.", 1 },'; ) >> "$patchlist" fi diff --git a/patches/uxtheme-GTK_Theming/0007-Added-wine-unicode.patch b/patches/uxtheme-GTK_Theming/0007-Added-wine-unicode.patch new file mode 100644 index 00000000..fdf71efe --- /dev/null +++ b/patches/uxtheme-GTK_Theming/0007-Added-wine-unicode.patch @@ -0,0 +1,24 @@ +From c6bb50c511a23de00e0a5975c30e3d01415fc612 Mon Sep 17 00:00:00 2001 +From: Alistair Leslie-Hughes +Date: Mon, 19 Aug 2019 09:35:43 +1000 +Subject: [PATCH] Added wine/unicode + +--- + dlls/uxtheme/msstyles.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/dlls/uxtheme/msstyles.c b/dlls/uxtheme/msstyles.c +index 5030e52a597..456256216a4 100644 +--- a/dlls/uxtheme/msstyles.c ++++ b/dlls/uxtheme/msstyles.c +@@ -32,6 +32,7 @@ + + #include "msstyles.h" + ++#include "wine/unicode.h" + #include "wine/exception.h" + #include "wine/debug.h" + #include "wine/heap.h" +-- +2.17.1 +