Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2014 05:42:09 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354910 - head/www/chromium/files
Message-ID:  <201405230542.s4N5g91u032081@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Fri May 23 05:42:08 2014
New Revision: 354910
URL: http://svnweb.freebsd.org/changeset/ports/354910
QAT: https://qat.redports.org/buildarchive/r354910/

Log:
  Fix build with GCC on i386
  
  Submitted by:	Lena <lena@lenakiev.ua> (independently)
  MFH:		2014Q2

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

Added: head/www/chromium/files/patch-media__cast__rtcp__rtcp.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/chromium/files/patch-media__cast__rtcp__rtcp.cc	Fri May 23 05:42:08 2014	(r354910)
@@ -0,0 +1,11 @@
+--- media/cast/rtcp/rtcp.cc.orig	2014-05-14 21:23:34.000000000 +0200
++++ media/cast/rtcp/rtcp.cc	2014-05-22 09:51:16.000000000 +0200
+@@ -362,7 +362,7 @@
+   int64 rtp_time_diff_ms = rtp_timestamp_diff / frequency_khz;
+ 
+   // Sanity check.
+-  if (std::abs(rtp_time_diff_ms) > kMaxDiffSinceReceivedRtcpMs)
++  if (std::labs(rtp_time_diff_ms) > kMaxDiffSinceReceivedRtcpMs)
+     return false;
+ 
+   *rtp_timestamp_in_ticks = ConvertNtpToTimeTicks(last_received_ntp_seconds_,

Added: head/www/chromium/files/patch-net__quic__congestion_control__rtt_stats.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/chromium/files/patch-net__quic__congestion_control__rtt_stats.cc	Fri May 23 05:42:08 2014	(r354910)
@@ -0,0 +1,11 @@
+--- net/quic/congestion_control/rtt_stats.cc.orig	2014-05-14 21:22:13.000000000 +0200
++++ net/quic/congestion_control/rtt_stats.cc	2014-05-21 23:32:04.000000000 +0200
+@@ -63,7 +63,7 @@
+   } else {
+     mean_deviation_ = QuicTime::Delta::FromMicroseconds(
+         kOneMinusBeta * mean_deviation_.ToMicroseconds() +
+-        kBeta * std::abs(smoothed_rtt_.Subtract(rtt_sample).ToMicroseconds()));
++        kBeta * std::labs(smoothed_rtt_.Subtract(rtt_sample).ToMicroseconds()));
+     smoothed_rtt_ = smoothed_rtt_.Multiply(kOneMinusAlpha).Add(
+         rtt_sample.Multiply(kAlpha));
+     DVLOG(1) << "Cubic; smoothed_rtt(us):" << smoothed_rtt_.ToMicroseconds()

Added: head/www/chromium/files/patch-third_party__webrtc__modules__video_coding__main__source__receiver.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/chromium/files/patch-third_party__webrtc__modules__video_coding__main__source__receiver.cc	Fri May 23 05:42:08 2014	(r354910)
@@ -0,0 +1,17 @@
+--- third_party/webrtc/modules/video_coding/main/source/receiver.cc.orig	2014-05-14 21:24:36.000000000 +0200
++++ third_party/webrtc/modules/video_coding/main/source/receiver.cc	2014-05-21 23:46:49.000000000 +0200
+@@ -158,12 +158,12 @@
+   // Assume that render timing errors are due to changes in the video stream.
+   if (next_render_time_ms < 0) {
+     timing_error = true;
+-  } else if (std::abs(next_render_time_ms - now_ms) > max_video_delay_ms_) {
++  } else if (std::labs(next_render_time_ms - now_ms) > max_video_delay_ms_) {
+     WEBRTC_TRACE(webrtc::kTraceWarning, webrtc::kTraceVideoCoding,
+                  VCMId(vcm_id_, receiver_id_),
+                  "This frame is out of our delay bounds, resetting jitter "
+                  "buffer: %d > %d",
+-                 static_cast<int>(std::abs(next_render_time_ms - now_ms)),
++                 static_cast<int>(std::labs(next_render_time_ms - now_ms)),
+                  max_video_delay_ms_);
+     timing_error = true;
+   } else if (static_cast<int>(timing_->TargetVideoDelay()) >



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405230542.s4N5g91u032081>