From owner-svn-ports-all@freebsd.org Wed Nov 9 10:51:24 2016 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 D8CCBC37908; Wed, 9 Nov 2016 10:51:24 +0000 (UTC) (envelope-from jbeich@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 A80BAAFF; Wed, 9 Nov 2016 10:51:24 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uA9ApNqP022111; Wed, 9 Nov 2016 10:51:23 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uA9ApN8r022110; Wed, 9 Nov 2016 10:51:23 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201611091051.uA9ApN8r022110@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 9 Nov 2016 10:51:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r425788 - head/multimedia/plexhometheater/files X-SVN-Group: ports-head 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.23 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, 09 Nov 2016 10:51:24 -0000 Author: jbeich Date: Wed Nov 9 10:51:23 2016 New Revision: 425788 URL: https://svnweb.freebsd.org/changeset/ports/425788 Log: multimedia/plexhometheater: unbreak build after r425442 xbmc/cores/dvdplayer/DVDPlayerAudioResampler.cpp:77:12: error: cannot initialize a variable of type 'float *' with an lvalue of type 'const float *' float* outputptr = m_converterdata.data_in; ^ ~~~~~~~~~~~~~~~~~~~~~~~ Reported by: pkg-fallout Pointy hat to: @bapt (and upstream) Approved by: portmgr blanket Added: head/multimedia/plexhometheater/files/patch-xbmc_cores_dvdplayer_DVDPlayerAudioResampler.cpp (contents, props changed) Added: head/multimedia/plexhometheater/files/patch-xbmc_cores_dvdplayer_DVDPlayerAudioResampler.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/plexhometheater/files/patch-xbmc_cores_dvdplayer_DVDPlayerAudioResampler.cpp Wed Nov 9 10:51:23 2016 (r425788) @@ -0,0 +1,11 @@ +--- xbmc/cores/dvdplayer/DVDPlayerAudioResampler.cpp.orig 2015-05-11 07:54:22 UTC ++++ xbmc/cores/dvdplayer/DVDPlayerAudioResampler.cpp +@@ -74,7 +74,7 @@ void CDVDPlayerResampler::Add(DVDAudioFr + + //add samples to the resample input buffer + int16_t* inputptr = (int16_t*)audioframe.data; +- float* outputptr = m_converterdata.data_in; ++ float* outputptr = (float*)m_converterdata.data_in; + + for (int i = 0; i < nrframes * m_nrchannels; i++) + *outputptr++ = (float)*inputptr++ / scale;