Hello community,

here is the log from the commit of package mumble for openSUSE:Factory checked 
in at 2018-01-05 01:01:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mumble (Old)
 and      /work/SRC/openSUSE:Factory/.mumble.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mumble"

Fri Jan  5 01:01:50 2018 rev:51 rq:561493 version:1.2.19

Changes:
--------
--- /work/SRC/openSUSE:Factory/mumble/mumble.changes    2017-06-12 
15:33:03.855008202 +0200
+++ /work/SRC/openSUSE:Factory/.mumble.new/mumble.changes       2018-01-05 
01:01:59.808483797 +0100
@@ -1,0 +2,6 @@
+Wed Jan  3 19:22:57 UTC 2018 - [email protected]
+
+- Add 0001-AudioOutput-do-not-use-non-existant-template-version.patch
+  to fix tumbleweed compilation
+
+-------------------------------------------------------------------

New:
----
  0001-AudioOutput-do-not-use-non-existant-template-version.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mumble.spec ++++++
--- /var/tmp/diff_new_pack.ZM6maz/_old  2018-01-05 01:02:03.239342305 +0100
+++ /var/tmp/diff_new_pack.ZM6maz/_new  2018-01-05 01:02:03.263334322 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mumble
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -69,6 +69,7 @@
 Patch2:         appdata.patch
 # PATCH-FIX-UPSTREAM initialize-soundfile-format.patch -- Initialize a 
variable so it's not used uninitialized
 Patch3:         initialize-soundfile-format.patch
+Patch4:         0001-AudioOutput-do-not-use-non-existant-template-version.patch
 %if 0%{?suse_version} > 1325
 BuildRequires:  libboost_headers-devel
 %else
@@ -192,6 +193,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 %if !%{with system_celt}
 %if 0%{?snapshot:1}
 tar -xzf %{SOURCE50}

++++++ 0001-AudioOutput-do-not-use-non-existant-template-version.patch ++++++
>From ea861fe86743c8402bbad77d8d1dd9de8dce447e Mon Sep 17 00:00:00 2001
From: Mikkel Krautz <[email protected]>
Date: Fri, 29 Dec 2017 14:47:25 +0100
Subject: [PATCH] AudioOutput: do not use non-existant template version of
 std::abs.

This change fixes AudioOutput to use the float overload of std::abs:

    float std::abs(float);

instead of a non-existant template version.

Fixes mumble-voip/mumble#3281

Needs-Backport: 1.2.x
---
 src/mumble/AudioOutput.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mumble/AudioOutput.cpp b/src/mumble/AudioOutput.cpp
index cbe0c0e2..7a0a5e2a 100644
--- a/src/mumble/AudioOutput.cpp
+++ b/src/mumble/AudioOutput.cpp
@@ -437,7 +437,7 @@ bool AudioOutput::mix(void *outbuff, unsigned int nsamp) {
                                        top[2] = 0.0f;
                                }
 
-                               if (std::abs<float>(front[0] * top[0] + 
front[1] * top[1] + front[2] * top[2]) > 0.01f) {
+                               if (std::abs(front[0] * top[0] + front[1] * 
top[1] + front[2] * top[2]) > 0.01f) {
                                        // Not perpendicular. Assume Y up and 
rotate 90 degrees.
 
                                        float azimuth = 0.0f;
-- 
2.15.1




Reply via email to