From owner-freebsd-bugs@FreeBSD.ORG Fri May 2 01:40:00 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9CC44603 for ; Fri, 2 May 2014 01:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (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 77E9316F6 for ; Fri, 2 May 2014 01:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s421e0Ep034204 for ; Fri, 2 May 2014 01:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s421e0Bn034203; Fri, 2 May 2014 01:40:00 GMT (envelope-from gnats) Resent-Date: Fri, 2 May 2014 01:40:00 GMT Resent-Message-Id: <201405020140.s421e0Bn034203@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, sergio lenzi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 51A9E2D7 for ; Fri, 2 May 2014 01:31:13 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3EFC7163E for ; Fri, 2 May 2014 01:31:13 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s421VDoT080123 for ; Fri, 2 May 2014 01:31:13 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s421VCO4080112; Fri, 2 May 2014 01:31:12 GMT (envelope-from nobody) Message-Id: <201405020131.s421VCO4080112@cgiserv.freebsd.org> Date: Fri, 2 May 2014 01:31:12 GMT From: sergio lenzi To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/189217: firefox does not compile on FreeBSD 9.2 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2014 01:40:00 -0000 >Number: 189217 >Category: misc >Synopsis: firefox does not compile on FreeBSD 9.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 02 01:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: sergio lenzi >Release: 9.2 stable >Organization: k1 sistemas >Environment: FreeBSD xbmc10.xbmc 10.0-STABLE FreeBSD 10.0-STABLE #0 r265197: Thu May 1 18:39:01 BRT 2014 lzt@xbmc10.xbmc:/usr/obj/usr/src/sys/VTserver amd64 >Description: >How-To-Repeat: >Fix: patch to put in the files directory Patch attached with submission follows: --- content/media/AudioStream.cpp.orig 2014-04-22 02:27:39.000000000 -0300 +++ content/media/AudioStream.cpp 2014-05-01 22:05:42.521305612 -0300 @@ -698,7 +697,7 @@ // other than 1.0. uint32_t flushedFrames = 0; if (mTimeStretcher && mTimeStretcher->numSamples()) { - flushedFrames = mTimeStretcher->receiveSamples(reinterpret_cast(wpos), aFrames); + flushedFrames = mTimeStretcher->receiveSamples((soundtouch::SAMPLETYPE*)reinterpret_cast(wpos), aFrames); wpos += FramesToBytes(flushedFrames); } uint32_t toPopBytes = FramesToBytes(aFrames - flushedFrames); @@ -772,10 +771,10 @@ &input[1], &input_size[1]); mReadPoint += BytesToFrames(available); for(uint32_t i = 0; i < 2; i++) { - mTimeStretcher->putSamples(reinterpret_cast(input[i]), BytesToFrames(input_size[i])); + mTimeStretcher->putSamples((soundtouch::SAMPLETYPE*)reinterpret_cast(input[i]), BytesToFrames(input_size[i])); } } - uint32_t receivedFrames = mTimeStretcher->receiveSamples(reinterpret_cast(wpos), aFrames - processedFrames); + uint32_t receivedFrames = mTimeStretcher->receiveSamples((soundtouch::SAMPLETYPE*)reinterpret_cast(wpos), aFrames - processedFrames); wpos += FramesToBytes(receivedFrames); processedFrames += receivedFrames; } while (processedFrames < aFrames && !lowOnBufferedData); >Release-Note: >Audit-Trail: >Unformatted: