freebsd-ports/www/chromium/files/patch-base__security_unittest.cc
Rene Ladan b89b6a49b0 - Update to 29.0.1547.65, which fixes a bug in Google Sync.
- Add an option to run regression test, default off. [1] If this option is
  selected, an extra distribution file containing test data is downloaded
  from an upstream mastersite.
- Rename the CLANG option to GCC and flip the default to off, as clang is
  the default compiler for this port for quite some time now. [2]

Submitted by:	George Liaskos [1,2]
2013-09-03 16:06:13 +00:00

11 lines
542 B
C++

--- base/security_unittest.cc.orig 2013-09-01 01:12:36.000000000 +0300
+++ base/security_unittest.cc 2013-09-01 01:13:35.000000000 +0300
@@ -161,7 +161,7 @@
// FAILS_ is too clunky.
void OverflowTestsSoftExpectTrue(bool overflow_detected) {
if (!overflow_detected) {
-#if defined(OS_LINUX) || defined(OS_ANDROID) || defined(OS_MACOSX)
+#if defined(OS_POSIX) && !defined(OS_NACL)
// Sadly, on Linux, Android, and OSX we don't have a good story yet. Don't
// fail the test, but report.
printf("Platform has overflow: %s\n",