svn commit: r313011 - in head/www/chromium: . files

Koop Mast kwm at FreeBSD.org
Tue Feb 26 23:12:04 UTC 2013


Author: kwm
Date: Tue Feb 26 23:12:03 2013
New Revision: 313011
URL: http://svnweb.freebsd.org/changeset/ports/313011

Log:
  Build fix for FreeBSD 8 and 9 on i386.
  
  Submitted by:	rene@ (maintainer)

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

Modified: head/www/chromium/Makefile
==============================================================================
--- head/www/chromium/Makefile	Tue Feb 26 23:11:52 2013	(r313010)
+++ head/www/chromium/Makefile	Tue Feb 26 23:12:03 2013	(r313011)
@@ -15,7 +15,7 @@ COMMENT=	Mostly BSD-licensed web browser
 LICENSE=	BSD LGPL21 MPL
 LICENSE_COMB=	multi
 
-CFLAGS+=	-Wno-error
+CFLAGS+=	-Wno-error -fno-stack-protector
 
 BUILD_DEPENDS=	${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \
 		bash:${PORTSDIR}/shells/bash \

Added: head/www/chromium/files/patch-media__base__audio_splicer.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/chromium/files/patch-media__base__audio_splicer.cc	Tue Feb 26 23:12:03 2013	(r313011)
@@ -0,0 +1,20 @@
+--- media/base/audio_splicer.cc.orig	2013-02-21 04:24:13.000000000 +0100
++++ media/base/audio_splicer.cc	2013-02-26 12:33:35.000000000 +0100
+@@ -60,7 +60,7 @@
+   base::TimeDelta expected_timestamp = output_timestamp_helper_.GetTimestamp();
+   base::TimeDelta delta = timestamp - expected_timestamp;
+ 
+-  if (std::abs(delta.InMilliseconds()) > kMaxTimeDeltaInMilliseconds) {
++  if (std::labs(delta.InMilliseconds()) > kMaxTimeDeltaInMilliseconds) {
+     DVLOG(1) << "Timestamp delta too large: " << delta.InMicroseconds() << "us";
+     return false;
+   }
+@@ -69,7 +69,7 @@
+   if (delta != base::TimeDelta())
+     bytes_to_fill = output_timestamp_helper_.GetBytesToTarget(timestamp);
+ 
+-  if (bytes_to_fill == 0 || std::abs(bytes_to_fill) < min_gap_size_) {
++  if (bytes_to_fill == 0 || std::labs(bytes_to_fill) < min_gap_size_) {
+     AddOutputBuffer(input);
+     return true;
+   }


More information about the svn-ports-head mailing list