aboutsummaryrefslogtreecommitdiff
path: root/devel/electron12/files/patch-v8_src_base_platform_platform-posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron12/files/patch-v8_src_base_platform_platform-posix.cc')
-rw-r--r--devel/electron12/files/patch-v8_src_base_platform_platform-posix.cc24
1 files changed, 0 insertions, 24 deletions
diff --git a/devel/electron12/files/patch-v8_src_base_platform_platform-posix.cc b/devel/electron12/files/patch-v8_src_base_platform_platform-posix.cc
deleted file mode 100644
index b381da8cc43c..000000000000
--- a/devel/electron12/files/patch-v8_src_base_platform_platform-posix.cc
+++ /dev/null
@@ -1,24 +0,0 @@
---- v8/src/base/platform/platform-posix.cc.orig 2021-04-22 07:51:51 UTC
-+++ v8/src/base/platform/platform-posix.cc
-@@ -486,7 +486,7 @@ bool OS::DiscardSystemPages(void* address, size_t size
-
- // static
- bool OS::HasLazyCommits() {
--#if V8_OS_AIX || V8_OS_LINUX || V8_OS_MACOSX
-+#if V8_OS_AIX || V8_OS_LINUX || V8_OS_MACOSX || V8_OS_FREEBSD
- return true;
- #else
- // TODO(bbudge) Return true for all POSIX platforms.
-@@ -617,6 +617,12 @@ int OS::GetCurrentThreadId() {
- return static_cast<int>(syscall(__NR_gettid));
- #elif V8_OS_ANDROID
- return static_cast<int>(gettid());
-+#elif V8_OS_DRAGONFLYBSD || defined(__DragonFly__)
-+ return static_cast<int>(lwp_gettid());
-+#elif V8_OS_FREEBSD
-+ return static_cast<int>(pthread_getthreadid_np());
-+#elif V8_OS_NETBSD
-+ return static_cast<int>(_lwp_self());
- #elif V8_OS_AIX
- return static_cast<int>(thread_self());
- #elif V8_OS_FUCHSIA