diff options
author | Matthias Wolf <freebsd@rheinwolf.de> | 2022-02-01 18:38:49 +0100 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2022-02-01 18:45:40 +0100 |
commit | aa70a996eae7376396a5dd8a9e5105bebb6bc72c (patch) | |
tree | ee91e0564101803a57091d4df8e4f3892eb8d0fc /www/chromium/files/patch-v8_src_d8_d8.cc | |
parent | www/firefox-esr: update to 91.6.0 (rc1) (diff) |
www/chromium: update to 97.0.4692.99
Note that the port is currently broken on i386 as it does not compile there.
Security: https://vuxml.freebsd.org/freebsd/51496cbc-7a0e-11ec-a323-3065ec8fd3ec.html
Security: https://vuxml.freebsd.org/freebsd/9eeccbf3-6e26-11ec-bb10-3065ec8fd3ec.html
Security: https://vuxml.freebsd.org/freebsd/fb9ba490-5cc4-11ec-aac7-3065ec8fd3ec.html
Security: https://vuxml.freebsd.org/freebsd/18ac074c-579f-11ec-aac7-3065ec8fd3ec.html
Security: https://vuxml.freebsd.org/freebsd/b8c0cbca-472d-11ec-83dc-3065ec8fd3ec.html
Security: https://vuxml.freebsd.org/freebsd/976d7bf9-38ea-11ec-b3b0-3065ec8fd3ec.html
Security: https://vuxml.freebsd.org/freebsd/bdaecfad-3117-11ec-b3b0-3065ec8fd3ec.html
Diffstat (limited to 'www/chromium/files/patch-v8_src_d8_d8.cc')
-rw-r--r-- | www/chromium/files/patch-v8_src_d8_d8.cc | 55 |
1 files changed, 2 insertions, 53 deletions
diff --git a/www/chromium/files/patch-v8_src_d8_d8.cc b/www/chromium/files/patch-v8_src_d8_d8.cc index af5151445cc9..a6fce03fa3fd 100644 --- a/www/chromium/files/patch-v8_src_d8_d8.cc +++ b/www/chromium/files/patch-v8_src_d8_d8.cc @@ -1,6 +1,6 @@ ---- v8/src/d8/d8.cc.orig 2021-09-24 04:28:22 UTC +--- v8/src/d8/d8.cc.orig 2021-12-14 11:47:21 UTC +++ v8/src/d8/d8.cc -@@ -74,7 +74,7 @@ +@@ -78,7 +78,7 @@ #include "unicode/locid.h" #endif // V8_INTL_SUPPORT @@ -9,54 +9,3 @@ #include <sys/mman.h> // For MultiMappedAllocator. #endif -@@ -236,7 +236,7 @@ class MockArrayBufferAllocatiorWithLimit : public Mock - std::atomic<size_t> space_left_; - }; - --#ifdef V8_OS_LINUX -+#if defined(V8_OS_LINUX) || defined(V8_OS_FREEBSD) - - // This is a mock allocator variant that provides a huge virtual allocation - // backed by a small real allocation that is repeatedly mapped. If you create an -@@ -329,7 +329,7 @@ class MultiMappedAllocator : public ArrayBufferAllocat - base::Mutex regions_mutex_; - }; - --#endif // V8_OS_LINUX -+#endif // V8_OS_LINUX || V8_OS_FREEBSD - - v8::Platform* g_default_platform; - std::unique_ptr<v8::Platform> g_platform; -@@ -4404,7 +4404,7 @@ bool Shell::SetOptions(int argc, char* argv[]) { - options.mock_arraybuffer_allocator = i::FLAG_mock_arraybuffer_allocator; - options.mock_arraybuffer_allocator_limit = - i::FLAG_mock_arraybuffer_allocator_limit; --#if V8_OS_LINUX -+#if defined(V8_OS_LINUX) || defined(V8_OS_FREEBSD) - options.multi_mapped_mock_allocator = i::FLAG_multi_mapped_mock_allocator; - #endif - -@@ -5053,19 +5053,19 @@ int Shell::Main(int argc, char* argv[]) { - memory_limit >= options.mock_arraybuffer_allocator_limit - ? memory_limit - : std::numeric_limits<size_t>::max()); --#if V8_OS_LINUX -+#if defined(V8_OS_LINUX) || defined(V8_OS_FREEBSD) - MultiMappedAllocator multi_mapped_mock_allocator; --#endif // V8_OS_LINUX -+#endif // V8_OS_LINUX || V8_OS_FREEBSD - if (options.mock_arraybuffer_allocator) { - if (memory_limit) { - Shell::array_buffer_allocator = &mock_arraybuffer_allocator_with_limit; - } else { - Shell::array_buffer_allocator = &mock_arraybuffer_allocator; - } --#if V8_OS_LINUX -+#if defined(V8_OS_LINUX) || defined(V8_OS_FREEBSD) - } else if (options.multi_mapped_mock_allocator) { - Shell::array_buffer_allocator = &multi_mapped_mock_allocator; --#endif // V8_OS_LINUX -+#endif // V8_OS_LINUX || V8_OS_FREEBSD - } else { - Shell::array_buffer_allocator = &shell_array_buffer_allocator; - } |