From owner-svn-ports-head@FreeBSD.ORG Sat Jan 12 22:57:00 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B1F3E3D2; Sat, 12 Jan 2013 22:57:00 +0000 (UTC) (envelope-from Cy.Schubert@komquats.com) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id 22986CC2; Sat, 12 Jan 2013 22:56:59 +0000 (UTC) X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=PW5KkOyi2N+7koGLNuH5QW2TYwO584XWNobLzFE45Rc= c=1 sm=1 a=SffPmFh12WwA:10 a=QrugwKR0C_UA:10 a=wAGQQ9Az6v0A:10 a=BLceEmwcHowA:10 a=ICAaq7hcmGcA:10 a=kj9zAlcOel0A:10 a=IbtKDeXwb2+SRU442/pi3A==:17 a=6I5d2MoRAAAA:8 a=qFBk1GSMAAAA:8 a=5089wCahAAAA:8 a=BWvPGDcYAAAA:8 a=l2HGilnqjchS_4zBc4sA:9 a=CjuIK1q_8ugA:10 a=SV7veod9ZcQA:10 a=sQ_i8Rix6u8A:10 a=V7tsTZBp22UA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO spqr.komquats.com) ([96.50.7.119]) by idcmail-mo2no.shaw.ca with ESMTP; 12 Jan 2013 15:56:58 -0700 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 7D4A4E7; Sat, 12 Jan 2013 14:56:58 -0800 (PST) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.14.5/8.14.5) with ESMTP id r0CMuwgZ076289; Sat, 12 Jan 2013 14:56:58 -0800 (PST) (envelope-from Cy.Schubert@komquats.com) Message-Id: <201301122256.r0CMuwgZ076289@slippy.cwsent.com> X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.5 From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.komquats.com/ To: =?ISO-8859-1?Q?Ren=E9_Ladan?= Subject: Re: svn commit: r310215 - in head/www/chromium: . files In-Reply-To: Message from =?ISO-8859-1?Q?Ren=E9_Ladan?= of "Sat, 12 Jan 2013 21:40:06 +0100." <50F1CA26.4050604@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 12 Jan 2013 14:56:58 -0800 Cc: Cy Schubert , svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Cy Schubert List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jan 2013 22:57:00 -0000 In message <50F1CA26.4050604@freebsd.org>, =?ISO-8859-1?Q?Ren=E9_Ladan?= writes : > On 12-01-2013 19:59, Cy Schubert wrote: > > In message <201301110114.r0B1Eq5P003555@svn.freebsd.org>, Rene Ladan writes > : > >> Author: rene > >> Date: Fri Jan 11 01:14:52 2013 > >> New Revision: 310215 > >> URL: http://svnweb.freebsd.org/changeset/ports/310215 > >> > >> Log: > >> Update to 24.0.1312.52, which add support for MathML. > >> > >> FreeBSD-specific improvements: > >> - working WiFi geolocation [1] (can be turned off in preferences) > >> - fix build with clang (use external libvpx) > >> - use SysV SHM model and where possible OS_BSD, which saves some patches > >> - no need to use ZygoteProcess switch > >> > >> HTML5 audio is currently broken. > >> > >> PR: ports/174402 [1] > >> Submitted by: J.R. Oldroyd [1] > >> Security: http://www.vuxml.org/freebsd/46bd747b-5b84-11e2-b06d-00 > 262d5ed8 > >> ee.html > > [...] > > > > Hi Rene, > > > > It doesn't build. I don't have the actual error before me but the the > > following patch resolves the issue. > > > > ===== cut here > > --- media/filters/decrypting_audio_decoder.cc.orig 2013-01-07 > > 18:40:10.000000000 -0800 > > +++ media/filters/decrypting_audio_decoder.cc 2013-01-12 09:05:12.737 > 640582 > > -0800 > > @@ -30,7 +30,7 @@ > > // Out of sync of 100ms would be pretty noticeable and we should keep an > y > > // drift below that. > > const int64 kOutOfSyncThresholdInMicroseconds = 100000; > > - return std::abs(timestamp_1.InMicroseconds() - timestamp_2.InMicrosecond > s > > ()) > > > + return std::labs(timestamp_1.InMicroseconds() - > > timestamp_2.InMicroseconds()) > > > kOutOfSyncThresholdInMicroseconds; > > } > > > > ===== cut here > > > This looks like the error I got when building chromium on 8 or 9 with > clang (from [1]): > > In file included from media/filters/decrypting_audio_decoder.cc:1: > media/filters/decrypting_audio_decoder.cc:33:10: error: call to 'abs' is ambi > guous > return std::abs(timestamp_1.InMicroseconds() - timestamp_2.InMicroseconds() > ) > > ^~~~~~~~ > /usr/include/stdlib.h:83:5: note: candidate function > int abs(int) __attribute__((__const__)); > ^ > /usr/include/c++/4.2/cstdlib:142:3: note: candidate function > abs(long __i) { return labs(__i); } > ^ > 1 error generated. > gmake: *** [out/Release/obj.target/media/media/filters/decrypting_audio_decod > er.o] Error 1 Yes, that's exactly the error I got. > > > I'll rebuild the port in my tinderbox with your patch. Cool, thanks. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.