svn commit: r310313 - head/www/chromium/files

Rene Ladan rene at FreeBSD.org
Sun Jan 13 10:43:29 UTC 2013


Author: rene
Date: Sun Jan 13 10:43:29 2013
New Revision: 310313
URL: http://svnweb.freebsd.org/changeset/ports/310313

Log:
  Fix build with clang 3.1
  
  Submitted by:	cy@

Added:
  head/www/chromium/files/patch-media__filters__decrypting_audio_decoder.cc   (contents, props changed)

Added: head/www/chromium/files/patch-media__filters__decrypting_audio_decoder.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/chromium/files/patch-media__filters__decrypting_audio_decoder.cc	Sun Jan 13 10:43:29 2013	(r310313)
@@ -0,0 +1,10 @@
+--- 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.737640582 -0800
+@@ -30,7 +30,7 @@
+   // Out of sync of 100ms would be pretty noticeable and we should keep any
+   // drift below that.
+   const int64 kOutOfSyncThresholdInMicroseconds = 100000;
+-  return std::abs(timestamp_1.InMicroseconds() - timestamp_2.InMicroseconds()) >
++  return std::labs(timestamp_1.InMicroseconds() - timestamp_2.InMicroseconds()) >
+          kOutOfSyncThresholdInMicroseconds;
+ }


More information about the svn-ports-all mailing list