diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index 0dc76929..dcee59e5 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -289,6 +289,7 @@ patch_enable_all () enable_user32_FlashWindowEx="$1" enable_user32_GetSystemMetrics="$1" enable_user32_Implement_CascadeWindows="$1" + enable_user32_InternalGetWindowIcon="$1" enable_user32_LR_LOADFROMFILE="$1" enable_user32_ListBox_Size="$1" enable_user32_LoadKeyboardLayoutEx="$1" @@ -990,6 +991,9 @@ patch_enable () user32-Implement-CascadeWindows) enable_user32_Implement_CascadeWindows="$2" ;; + user32-InternalGetWindowIcon) + enable_user32_InternalGetWindowIcon="$2" + ;; user32-LR_LOADFROMFILE) enable_user32_LR_LOADFROMFILE="$2" ;; @@ -6165,6 +6169,21 @@ if test "$enable_user32_Implement_CascadeWindows" -eq 1; then ) >> "$patchlist" fi +# Patchset user32-InternalGetWindowIcon +# | +# | This patchset fixes the following Wine bugs: +# | * [#47915] user32: AddInternalGetWindowIcon stub. +# | +# | Modified files: +# | * dlls/user32/user32.spec, dlls/user32/win.c +# | +if test "$enable_user32_InternalGetWindowIcon" -eq 1; then + patch_apply user32-InternalGetWindowIcon/0001-user32-AddInternalGetWindowIcon-stub.patch + ( + printf '%s\n' '+ { "David Torok", "user32: AddInternalGetWindowIcon stub.", 1 },'; + ) >> "$patchlist" +fi + # Patchset user32-LR_LOADFROMFILE # | # | This patchset fixes the following Wine bugs: diff --git a/patches/user32-InternalGetWindowIcon/0001-user32-AddInternalGetWindowIcon-stub.patch b/patches/user32-InternalGetWindowIcon/0001-user32-AddInternalGetWindowIcon-stub.patch new file mode 100644 index 00000000..3de291dd --- /dev/null +++ b/patches/user32-InternalGetWindowIcon/0001-user32-AddInternalGetWindowIcon-stub.patch @@ -0,0 +1,43 @@ +From 58ef0f2b6938fbec5add8bb671afe1d81ab534fc Mon Sep 17 00:00:00 2001 +From: David Torok