Accepting request 875832 from home:geekositalia:branches:Emulators

VERY IMPORTANT PATCH FOR 6.3
I have added this patch, which fixes a serious bug in wine version 6.3.
According to: https://bugs.winehq.org/attachment.cgi?id=69488&action=diff

The bug does not allow to load absolutely any kind of audio server for the vst bridge. It probably involves other version inusabilities

OBS-URL: https://build.opensuse.org/request/show/875832
OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=799
This commit is contained in:
Marcus Meissner 2021-03-01 06:02:59 +00:00 committed by Git OBS Bridge
parent 268012040e
commit e9a0caf766
2 changed files with 15 additions and 2 deletions

13
6.3_fix.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c
index 644eee1e9d7c..c21c62c10b0d 100644
--- a/dlls/ntdll/loader.c
+++ b/dlls/ntdll/loader.c
@@ -2325,7 +2325,7 @@ static NTSTATUS load_so_dll( LPCWSTR load_path, const UNICODE_STRING *nt_name,
SECTION_IMAGE_INFORMATION image_info = { 0 };
image_info.u.s.WineBuiltin = 1;
- if ((status = build_module( load_path, &win_name, &module, &image_info, NULL, flags, pwm )))
+ if ((status = build_module( load_path, &win_name, &module, &image_info, NULL, flags, &wm )))
{
if (module) unix_funcs->unload_builtin_dll( module );
return status;

View File

@ -139,7 +139,7 @@ Source7: baselibs.conf
Source8: wine-rpmlintrc Source8: wine-rpmlintrc
# SUSE specific patches # SUSE specific patches
# - currently none, but add them here # - currently none, but add them here
#Patch0: patch.txt Patch0: 6.3_fix.patch
Recommends: wine-gecko >= 2.47.2 Recommends: wine-gecko >= 2.47.2
Conflicts: wine-gecko < 2.47.2 Conflicts: wine-gecko < 2.47.2
Recommends: wine-mono >= 5.1.1 Recommends: wine-mono >= 5.1.1
@ -216,7 +216,7 @@ libraries.
%prep %prep
%setup -q -n wine-%{realver} %setup -q -n wine-%{realver}
#patch0 -p1 %patch0 -p1
# #
cp %{S:3} . cp %{S:3} .
# #