From 5b565cf273ac64d186bdec4654f446c7ff8af788 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Fri, 19 Oct 2018 14:37:31 +0200 Subject: [PATCH] mumble: rebuild with libressl-2.8 --- srcpkgs/mumble/patches/std-float.patch | 11 +++++++++++ srcpkgs/mumble/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/mumble/patches/std-float.patch diff --git a/srcpkgs/mumble/patches/std-float.patch b/srcpkgs/mumble/patches/std-float.patch new file mode 100644 index 0000000000..50199c9847 --- /dev/null +++ b/srcpkgs/mumble/patches/std-float.patch @@ -0,0 +1,11 @@ +--- src/mumble/AudioOutput.cpp.orig 2018-10-29 00:43:02.953895662 +0100 ++++ src/mumble/AudioOutput.cpp 2018-10-29 00:43:49.407481605 +0100 +@@ -431,7 +431,7 @@ + top[2] = 0.0f; + } + +- if (std::abs(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; diff --git a/srcpkgs/mumble/template b/srcpkgs/mumble/template index f7b6803190..7ea9ed2675 100644 --- a/srcpkgs/mumble/template +++ b/srcpkgs/mumble/template @@ -1,7 +1,7 @@ # Template file for 'mumble' pkgname=mumble version=1.2.19 -revision=13 +revision=14 hostmakedepends="Ice pkg-config protobuf qt-host-tools qt-qmake" makedepends="Ice-devel MesaLib-devel avahi-compat-libs-devel boost-devel libcap-devel libressl-devel libsndfile-devel opus-devel protobuf-devel