mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Added patch to fix ordinal number of winmm.PlaySoundA.
This commit is contained in:
parent
c4de5ab774
commit
b2341b8d08
@ -433,6 +433,7 @@ patch_enable_all ()
|
||||
enable_wininet_Internet_Settings="$1"
|
||||
enable_wininet_ParseX509EncodedCertificateForListBoxEntry="$1"
|
||||
enable_winmm_Delay_Import_Depends="$1"
|
||||
enable_winmm_PlaySoundA="$1"
|
||||
enable_winmm_mciSendCommandA="$1"
|
||||
enable_wintrust_WinVerifyTrust="$1"
|
||||
enable_wpcap_Dynamic_Linking="$1"
|
||||
@ -1517,6 +1518,9 @@ patch_enable ()
|
||||
winmm-Delay_Import_Depends)
|
||||
enable_winmm_Delay_Import_Depends="$2"
|
||||
;;
|
||||
winmm-PlaySoundA)
|
||||
enable_winmm_PlaySoundA="$2"
|
||||
;;
|
||||
winmm-mciSendCommandA)
|
||||
enable_winmm_mciSendCommandA="$2"
|
||||
;;
|
||||
@ -9041,6 +9045,21 @@ if test "$enable_winmm_Delay_Import_Depends" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset winmm-PlaySoundA
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
# | * [#42257] Fix ordinal number of winmm.PlaySoundA
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/winmm/winmm.spec
|
||||
# |
|
||||
if test "$enable_winmm_PlaySoundA" -eq 1; then
|
||||
patch_apply winmm-PlaySoundA/0001-winmm-Fix-the-ordinal-number-of-PlaySoundA.patch
|
||||
(
|
||||
printf '%s\n' '+ { "Bruno Jesus", "winmm: Fix the ordinal number of PlaySoundA.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset winmm-mciSendCommandA
|
||||
# |
|
||||
# | Modified files:
|
||||
|
@ -0,0 +1,23 @@
|
||||
From ea81f88b5641ff317dbc8c674a70e0c3be373f6f Mon Sep 17 00:00:00 2001
|
||||
From: Bruno Jesus <00cpxxx@gmail.com>
|
||||
Date: Sat, 21 Jan 2017 21:19:20 +0100
|
||||
Subject: winmm: Fix the ordinal number of PlaySoundA.
|
||||
|
||||
---
|
||||
dlls/winmm/winmm.spec | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/winmm/winmm.spec b/dlls/winmm/winmm.spec
|
||||
index a1eaf816a28..87908b3d021 100644
|
||||
--- a/dlls/winmm/winmm.spec
|
||||
+++ b/dlls/winmm/winmm.spec
|
||||
@@ -1,5 +1,5 @@
|
||||
# ordinal exports
|
||||
-1 stdcall @(ptr long long) PlaySoundA
|
||||
+2 stdcall @(ptr long long) PlaySoundA
|
||||
3 stub @
|
||||
4 stub @
|
||||
|
||||
--
|
||||
2.11.0
|
||||
|
1
patches/winmm-PlaySoundA/definition
Normal file
1
patches/winmm-PlaySoundA/definition
Normal file
@ -0,0 +1 @@
|
||||
Fixes: [42257] Fix ordinal number of winmm.PlaySoundA
|
Loading…
Reference in New Issue
Block a user