From owner-svn-ports-all@freebsd.org Wed Jan 3 16:18:46 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 584E4E87EF8; Wed, 3 Jan 2018 16:18:46 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 220C679CEF; Wed, 3 Jan 2018 16:18:46 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w03GIj42046613; Wed, 3 Jan 2018 16:18:45 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w03GIjHh046611; Wed, 3 Jan 2018 16:18:45 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201801031618.w03GIjHh046611@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Wed, 3 Jan 2018 16:18:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457971 - in head/audio/mumble: . audio files X-SVN-Group: ports-head X-SVN-Commit-Author: feld X-SVN-Commit-Paths: in head/audio/mumble: . audio files X-SVN-Commit-Revision: 457971 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2018 16:18:46 -0000 Author: feld Date: Wed Jan 3 16:18:44 2018 New Revision: 457971 URL: https://svnweb.freebsd.org/changeset/ports/457971 Log: audio/mumble: Fix disconnected patch from last commit PR: 224086 Added: head/audio/mumble/files/extrapatch-fix-build-boost-1.66 - copied unchanged from r457970, head/audio/mumble/audio/mumble/files/extrapatch-fix-build-boost-1.66 Deleted: head/audio/mumble/audio/ Modified: head/audio/mumble/Makefile Modified: head/audio/mumble/Makefile ============================================================================== --- head/audio/mumble/Makefile Wed Jan 3 15:49:41 2018 (r457970) +++ head/audio/mumble/Makefile Wed Jan 3 16:18:44 2018 (r457971) @@ -3,7 +3,7 @@ PORTNAME= mumble PORTVERSION= 1.2.19 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= audio MAINTAINER= feld@FreeBSD.org @@ -60,6 +60,8 @@ PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio .if ${COMPILER_TYPE} == gcc CONFIG+= no-pch .endif + +EXTRA_PATCHES= ${FILESDIR}/extrapatch-fix-build-boost-1.66:-p1 post-patch: @${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/overlay_gl/overlay_gl.pro Copied: head/audio/mumble/files/extrapatch-fix-build-boost-1.66 (from r457970, 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/files/extrapatch-fix-build-boost-1.66 Wed Jan 3 16:18:44 2018 (r457971, copy of r457970, head/audio/mumble/audio/mumble/files/extrapatch-fix-build-boost-1.66) @@ -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(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 + #include + ++#include ++ + #ifdef Q_OS_WIN + #include + #define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1