Accepting request 501845 from home:alarrosa:branches:games:tools

- Add initialize-soundfile-format.patch to initilalize a variable so
  it's not used later uninitialized.

OBS-URL: https://build.opensuse.org/request/show/501845
OBS-URL: https://build.opensuse.org/package/show/games:tools/mumble?expand=0&rev=95
This commit is contained in:
Matthias Mailänder 2017-06-09 05:28:28 +00:00 committed by Git OBS Bridge
parent 517e499bef
commit 9d607028bc
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,12 @@
Index: mumble-1.2.19/src/mumble/AudioOutputSample.cpp
===================================================================
--- mumble-1.2.19.orig/src/mumble/AudioOutputSample.cpp
+++ mumble-1.2.19/src/mumble/AudioOutputSample.cpp
@@ -41,6 +41,7 @@ SoundFile::SoundFile(const QString &fnam
siInfo.samplerate = 0;
siInfo.sections = 0;
siInfo.seekable = 0;
+ siInfo.format = 0;
sfFile = NULL;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 8 06:30:23 UTC 2017 - alarrosa@suse.com
- Add initialize-soundfile-format.patch to initilalize a variable so
it's not used later uninitialized.
-------------------------------------------------------------------
Wed Feb 1 16:12:50 UTC 2017 - adam.majer@suse.de

View File

@ -67,6 +67,8 @@ Patch0: mumble-1.2.2-buildcompare.diff
Patch1: mumble-1.2.11-desktop_fix.diff
# PATCH-FEATURE-UPSTREAM https://github.com/mumble-voip/mumble/pull/2564
Patch2: appdata.patch
# PATCH-FIX-UPSTREAM initialize-soundfile-format.patch -- Initialize a variable so it's not used uninitialized
Patch3: initialize-soundfile-format.patch
%if 0%{?suse_version} > 1325
BuildRequires: libboost_headers-devel
%else
@ -189,6 +191,7 @@ won't be audible to other players.
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%if !%{with system_celt}
%if 0%{?snapshot:1}
tar -xzf %{SOURCE50}