diff --git a/wine-fix-faudio.patch b/wine-fix-faudio.patch new file mode 100644 index 0000000..e4e29da --- /dev/null +++ b/wine-fix-faudio.patch @@ -0,0 +1,10 @@ +--- wine-6.20/libs/faudio/src/FAudio_platform_win32.c.xx 2021-10-23 16:09:26.791259433 +0200 ++++ wine-6.20/libs/faudio/src/FAudio_platform_win32.c 2021-10-23 16:09:38.291259232 +0200 +@@ -622,6 +622,7 @@ + { + if (!data) return 0; + FAudio_free(data); ++ return 0; + } + + FAudioIOStream* FAudio_memopen(void *mem, int len) diff --git a/wine.changes b/wine.changes index 7aa5c08..860b737 100644 --- a/wine.changes +++ b/wine.changes @@ -8,6 +8,7 @@ Sat Oct 23 08:22:24 UTC 2021 - Marcus Meissner - Better support for MSVCRT builds in Winelib. - Various bug fixes. - update staging to 6.20 release +- wine-fix-faudio.patch: fix build ------------------------------------------------------------------- Sat Oct 9 07:57:53 UTC 2021 - Marcus Meissner diff --git a/wine.spec b/wine.spec index 6c21a63..856f011 100644 --- a/wine.spec +++ b/wine.spec @@ -143,7 +143,7 @@ Source7: baselibs.conf Source8: wine-rpmlintrc # SUSE specific patches # - currently none, but add them here -#Patch0: susefixes.patch +Patch0: wine-fix-faudio.patch Recommends: wine-gecko >= 2.47.2 Conflicts: wine-gecko < 2.47.2 Recommends: wine-mono >= 6.1.1