Added kernel32-Disable-GetQueuedCompletionStatusEx patchset

This commit is contained in:
Alistair Leslie-Hughes 2018-10-13 18:01:42 +11:00
parent 652a39caf1
commit b56e74f39d
3 changed files with 49 additions and 1 deletions

View File

@ -0,0 +1,28 @@
From 759be4301daf53d4746e3444f285bbcec5dc5eb3 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Date: Fri, 12 Oct 2018 13:27:00 +1100
Subject: [PATCH] kernel32: Disable export GetQueuedCompletionStatusEx
This is causing a regression with steam not being able to login.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45948
---
dlls/kernel32/kernel32.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index e17ee97..0716854 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -804,7 +804,7 @@
@ stdcall GetProfileStringA(str str str ptr long)
@ stdcall GetProfileStringW(wstr wstr wstr ptr long)
@ stdcall GetQueuedCompletionStatus(long ptr ptr ptr long)
-@ stdcall GetQueuedCompletionStatusEx(ptr ptr long ptr long long)
+#@ stdcall GetQueuedCompletionStatusEx(ptr ptr long ptr long long)
@ stub -i386 GetSLCallbackTarget
@ stub -i386 GetSLCallbackTemplate
@ stdcall GetShortPathNameA(str ptr long)
--
1.9.1

View File

@ -0,0 +1 @@
Fixes: [45948] Disbale export GetQueuedCompletionStatusEx to stop regression with Steam.

View File

@ -52,7 +52,7 @@ usage()
# Get the upstream commit sha
upstream_commit()
{
echo "b0c5a77e26c51f60b7d5e4df557f969a044b7fd4"
echo "3f4455c0f043650151873d899e6f7526b994fa93"
}
# Show version information
@ -159,6 +159,7 @@ patch_enable_all ()
enable_iphlpapi_TCP_Table="$1"
enable_kernel32_CopyFileEx="$1"
enable_kernel32_Debugger="$1"
enable_kernel32_Disable_GetQueuedCompletionStatusEx="$1"
enable_kernel32_FindFirstFile="$1"
enable_kernel32_GetShortPathName="$1"
enable_kernel32_Job_Tests="$1"
@ -642,6 +643,9 @@ patch_enable ()
kernel32-Debugger)
enable_kernel32_Debugger="$2"
;;
kernel32-Disable-GetQueuedCompletionStatusEx)
enable_kernel32_Disable_GetQueuedCompletionStatusEx="$2"
;;
kernel32-FindFirstFile)
enable_kernel32_FindFirstFile="$2"
;;
@ -3903,6 +3907,21 @@ if test "$enable_kernel32_Debugger" -eq 1; then
) >> "$patchlist"
fi
# Patchset kernel32-Disable-GetQueuedCompletionStatusEx
# |
# | This patchset fixes the following Wine bugs:
# | * [#45948] Disbale export GetQueuedCompletionStatusEx to stop regression with Steam.
# |
# | Modified files:
# | * dlls/kernel32/kernel32.spec
# |
if test "$enable_kernel32_Disable_GetQueuedCompletionStatusEx" -eq 1; then
patch_apply kernel32-Disable-GetQueuedCompletionStatusEx/0001-kernel32-Disable-export-GetQueuedCompletionStatusEx.patch
(
printf '%s\n' '+ { "Alistair Leslie-Hughes", "kernel32: Disable export GetQueuedCompletionStatusEx.", 1 },';
) >> "$patchlist"
fi
# Patchset kernel32-FindFirstFile
# |
# | This patchset fixes the following Wine bugs: