mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
Added include-LdrData patchset
This commit is contained in:
parent
b788fe9549
commit
088d7f9ddf
@ -0,0 +1,25 @@
|
||||
From 4a62c326b24ecb2f7c19b2fbc25ff1d20e362db7 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Gofman <gofmanp@gmail.com>
|
||||
Date: Wed, 18 Dec 2019 02:54:18 +0300
|
||||
Subject: [PATCH] include/winternl.h: Add Vista+ PEB_LDR_DATA structure fields.
|
||||
|
||||
---
|
||||
include/winternl.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/include/winternl.h b/include/winternl.h
|
||||
index 9e7e2bad93..33b1260323 100644
|
||||
--- a/include/winternl.h
|
||||
+++ b/include/winternl.h
|
||||
@@ -213,6 +213,8 @@ typedef struct _PEB_LDR_DATA
|
||||
LIST_ENTRY InMemoryOrderModuleList;
|
||||
LIST_ENTRY InInitializationOrderModuleList;
|
||||
PVOID EntryInProgress;
|
||||
+ BOOLEAN ShutdownInProgress;
|
||||
+ HANDLE ShutdownThreadId;
|
||||
} PEB_LDR_DATA, *PPEB_LDR_DATA;
|
||||
|
||||
typedef struct _GDI_TEB_BATCH
|
||||
--
|
||||
2.23.0
|
||||
|
2
patches/include-LdrData/definition
Normal file
2
patches/include-LdrData/definition
Normal file
@ -0,0 +1,2 @@
|
||||
Fixes: [48289] Grand Theft Auto 5 crashes after loading.
|
||||
|
@ -152,6 +152,7 @@ patch_enable_all ()
|
||||
enable_gdiplus_Performance_Improvements="$1"
|
||||
enable_imagehlp_BindImageEx="$1"
|
||||
enable_imm32_message_on_focus="$1"
|
||||
enable_include_LdrData="$1"
|
||||
enable_include_winsock="$1"
|
||||
enable_inseng_Implementation="$1"
|
||||
enable_iphlpapi_System_Ping="$1"
|
||||
@ -583,6 +584,9 @@ patch_enable ()
|
||||
imm32-message_on_focus)
|
||||
enable_imm32_message_on_focus="$2"
|
||||
;;
|
||||
include-LdrData)
|
||||
enable_include_LdrData="$2"
|
||||
;;
|
||||
include-winsock)
|
||||
enable_include_winsock="$2"
|
||||
;;
|
||||
@ -4120,6 +4124,21 @@ if test "$enable_imm32_message_on_focus" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset include-LdrData
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
# | * [#48289] Grand Theft Auto 5 crashes after loading.
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * include/winternl.h
|
||||
# |
|
||||
if test "$enable_include_LdrData" -eq 1; then
|
||||
patch_apply include-LdrData/0001-include-winternl.h-Add-Vista-PEB_LDR_DATA-structure-.patch
|
||||
(
|
||||
printf '%s\n' '+ { "Paul Gofman", "include/winternl.h: Add Vista+ PEB_LDR_DATA structure fields.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset include-winsock
|
||||
# |
|
||||
# | Modified files:
|
||||
|
Loading…
x
Reference in New Issue
Block a user