summaryrefslogtreecommitdiff
path: root/security/tor-browser/patches/patch-js_src_util_NativeStack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'security/tor-browser/patches/patch-js_src_util_NativeStack.cpp')
-rw-r--r--security/tor-browser/patches/patch-js_src_util_NativeStack.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/tor-browser/patches/patch-js_src_util_NativeStack.cpp b/security/tor-browser/patches/patch-js_src_util_NativeStack.cpp
index 67a3ce4ac49..b69ac4c6622 100644
--- a/security/tor-browser/patches/patch-js_src_util_NativeStack.cpp
+++ b/security/tor-browser/patches/patch-js_src_util_NativeStack.cpp
@@ -1,8 +1,8 @@
-$NetBSD: patch-js_src_util_NativeStack.cpp,v 1.4 2020/03/13 17:59:27 wiz Exp $
+$NetBSD: patch-js_src_util_NativeStack.cpp,v 1.4.6.1 2020/10/23 17:27:13 bsiegert Exp $
Support SunOS.
---- js/src/util/NativeStack.cpp.orig 2019-03-07 16:53:39.000000000 +0000
+--- js/src/util/NativeStack.cpp.orig 2020-04-03 19:34:51.000000000 +0000
+++ js/src/util/NativeStack.cpp
@@ -13,7 +13,7 @@
# if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
@@ -20,7 +20,7 @@ Support SunOS.
-#elif defined(SOLARIS)
+#elif defined(__sun)
- JS_STATIC_ASSERT(JS_STACK_GROWTH_DIRECTION < 0);
+ static_assert(JS_STACK_GROWTH_DIRECTION < 0);
@@ -128,6 +128,7 @@ void* js::GetNativeStackBaseImpl() {
# elif defined(PTHREAD_NP_H) || defined(_PTHREAD_NP_H_) || defined(NETBSD)