mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 00:01:52 -04:00
Note that chromium is currently broken on 9.X due to some obscure compiler error caused possibly caused by Ports GCC. Submitted by: LeFroid Obtained from: https://github.com/gliaskos/freebsd-chromium/pull/25 MFH: 2015Q3 Security: http://vuxml.freebsd.org/freebsd/9d732078-32c7-11e5-b263-00262d5ed8ee.html
23 lines
1.1 KiB
C++
23 lines
1.1 KiB
C++
--- base/process/memory_unittest.cc.orig 2015-07-15 16:29:55.000000000 -0400
|
|
+++ base/process/memory_unittest.cc 2015-07-21 19:03:40.407090000 -0400
|
|
@@ -127,11 +127,11 @@
|
|
#endif // defined(OS_MACOSX)
|
|
|
|
// Android doesn't implement set_new_handler, so we can't use the
|
|
-// OutOfMemoryTest cases. OpenBSD does not support these tests either.
|
|
+// OutOfMemoryTest cases. OpenBSD and FreeBSD do not support these tests either.
|
|
// Don't test these on ASan/TSan/MSan configurations: only test the real
|
|
// allocator.
|
|
// TODO(vandebo) make this work on Windows too.
|
|
-#if !defined(OS_ANDROID) && !defined(OS_OPENBSD) && !defined(OS_WIN) && \
|
|
+#if !defined(OS_ANDROID) && !defined(OS_BSD) && !defined(OS_WIN) && \
|
|
!defined(MEMORY_TOOL_REPLACES_ALLOCATOR)
|
|
|
|
#if defined(USE_TCMALLOC)
|
|
@@ -415,5 +415,5 @@
|
|
EXPECT_TRUE(value_ == NULL);
|
|
}
|
|
#endif // !defined(MEMORY_TOOL_REPLACES_ALLOCATOR)
|
|
-#endif // !defined(OS_ANDROID) && !defined(OS_OPENBSD) && !defined(OS_WIN) &&
|
|
+#endif // !defined(OS_ANDROID) && !defined(OS_BSD) && !defined(OS_WIN)
|
|
// !defined(ADDRESS_SANITIZER)
|