- patch.txt: fix for wineserver crash (https://bugs.winehq.org/show_bug.cgi?id=49011)
OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=723
This commit is contained in:
parent
bfe1c18c1f
commit
ac8636ef6a
13
patch.txt
Normal file
13
patch.txt
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/server/thread.c b/server/thread.c
|
||||
index cfdf42c756..e5b670649a 100644
|
||||
--- a/server/thread.c
|
||||
+++ b/server/thread.c
|
||||
@@ -1848,7 +1848,7 @@ DECL_HANDLER(get_thread_context)
|
||||
{
|
||||
assert( reply->self );
|
||||
memset( context, 0, sizeof(context_t) );
|
||||
- context->cpu = thread_context->regs.cpu;
|
||||
+ context->cpu = current->process->cpu;
|
||||
if (req->flags & system_flags)
|
||||
{
|
||||
get_thread_context( thread, context, req->flags & system_flags );
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 29 13:36:55 UTC 2020 - Marcus Meissner <meissner@suse.com>
|
||||
|
||||
- patch.txt: fix for wineserver crash (https://bugs.winehq.org/show_bug.cgi?id=49011)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 29 07:54:01 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
|
@ -138,7 +138,7 @@ Source7: baselibs.conf
|
||||
Source8: wine-rpmlintrc
|
||||
# SUSE specific patches
|
||||
# - currently none, but add them here
|
||||
#Patch0: susepatches.patch
|
||||
Patch0: patch.txt
|
||||
Recommends: wine-gecko >= 2.47.1
|
||||
Conflicts: wine-gecko < 2.47.1
|
||||
Recommends: wine-mono >= 4.9.2
|
||||
@ -215,7 +215,7 @@ libraries.
|
||||
|
||||
%prep
|
||||
%setup -q -n wine-%{realver}
|
||||
#patch0 -p1
|
||||
%patch0 -p1
|
||||
#
|
||||
cp %{S:3} .
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user