diff options
author | Luca Pizzamiglio <pizzamig@FreeBSD.org> | 2019-05-28 09:12:02 +0000 |
---|---|---|
committer | Luca Pizzamiglio <pizzamig@FreeBSD.org> | 2019-05-28 09:12:02 +0000 |
commit | 2f40d531c47e10a5998de80b1f52bb55de8d2ab4 (patch) | |
tree | 87d1f6c788349dd9b131ece89b98605c06dde65e /devel/electron4/files/patch-base_security__unittest.cc | |
parent | e6fadf8e610059fa2b5ebbc3a069051d928af95a (diff) | |
download | ports-2f40d531c47e10a5998de80b1f52bb55de8d2ab4.tar.gz ports-2f40d531c47e10a5998de80b1f52bb55de8d2ab4.zip |
Notes
Diffstat (limited to 'devel/electron4/files/patch-base_security__unittest.cc')
-rw-r--r-- | devel/electron4/files/patch-base_security__unittest.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron4/files/patch-base_security__unittest.cc b/devel/electron4/files/patch-base_security__unittest.cc new file mode 100644 index 000000000000..61247d3901a4 --- /dev/null +++ b/devel/electron4/files/patch-base_security__unittest.cc @@ -0,0 +1,11 @@ +--- base/security_unittest.cc.orig 2019-03-15 06:36:56 UTC ++++ base/security_unittest.cc +@@ -59,7 +59,7 @@ NOINLINE Type HideValueFromCompiler(volatile Type valu + // 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", |