Date: Tue, 2 Jan 2018 20:30:39 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457922 - in head/audio/mumble: . audio audio/mumble audio/mumble/files Message-ID: <201801022030.w02KUdKc045258@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: feld Date: Tue Jan 2 20:30:39 2018 New Revision: 457922 URL: https://svnweb.freebsd.org/changeset/ports/457922 Log: audio/mumble: add patch to fix build against boost 1.66 PR: 224086 Added: head/audio/mumble/audio/ head/audio/mumble/audio/mumble/ head/audio/mumble/audio/mumble/files/ head/audio/mumble/audio/mumble/files/extrapatch-fix-build-boost-1.66 (contents, props changed) Modified: head/audio/mumble/Makefile Modified: head/audio/mumble/Makefile ============================================================================== --- head/audio/mumble/Makefile Tue Jan 2 20:21:34 2018 (r457921) +++ head/audio/mumble/Makefile Tue Jan 2 20:30:39 2018 (r457922) @@ -3,7 +3,7 @@ PORTNAME= mumble PORTVERSION= 1.2.19 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= audio MAINTAINER= feld@FreeBSD.org Added: head/audio/mumble/audio/mumble/files/extrapatch-fix-build-boost-1.66 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/mumble/audio/mumble/files/extrapatch-fix-build-boost-1.66 Tue Jan 2 20:30:39 2018 (r457922) @@ -0,0 +1,26 @@ +diff --git a/src/mumble/AudioOutput.cpp b/src/mumble/AudioOutput.cpp +index cbe0c0e2b..7a0a5e2ab 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; +diff --git a/src/mumble/mumble_pch.hpp b/src/mumble/mumble_pch.hpp +index ba87eab3b..dac5ba629 100644 +--- a/src/mumble/mumble_pch.hpp ++++ b/src/mumble/mumble_pch.hpp +@@ -37,6 +37,8 @@ + #include <QtSql/QtSql> + #include <QtXml/QtXml> + ++#include <cmath> ++ + #ifdef Q_OS_WIN + #include <windows.h> + #define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801022030.w02KUdKc045258>