aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2013-01-13 18:43:29 +0800
committerrene <rene@FreeBSD.org>2013-01-13 18:43:29 +0800
commit97b2b2dff9329e5ef0ebcad82d73148100d89e7c (patch)
treed41cc85d950938757a85fb86c9eca68524c0c1bb /www
parent741e19b0a7ee6f0da7b819d66a64fbe7e7b77a27 (diff)
downloadfreebsd-ports-gnome-97b2b2dff9329e5ef0ebcad82d73148100d89e7c.tar.gz
freebsd-ports-gnome-97b2b2dff9329e5ef0ebcad82d73148100d89e7c.tar.zst
freebsd-ports-gnome-97b2b2dff9329e5ef0ebcad82d73148100d89e7c.zip
Fix build with clang 3.1
Submitted by: cy@
Diffstat (limited to 'www')
-rw-r--r--www/chromium/files/patch-media__filters__decrypting_audio_decoder.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/www/chromium/files/patch-media__filters__decrypting_audio_decoder.cc b/www/chromium/files/patch-media__filters__decrypting_audio_decoder.cc
new file mode 100644
index 000000000000..12807f0c538d
--- /dev/null
+++ b/www/chromium/files/patch-media__filters__decrypting_audio_decoder.cc
@@ -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;
+ }