head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.12 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.10 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.8 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.6 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.4 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.2 pkgsrc-2024Q4-base:1.1; locks; strict; comment @// @; 1.1 date 2024.10.01.14.21.37; author ryoon; state Exp; branches; next ; commitid RGhC54FXa7FyZXrF; desc @@ 1.1 log @mail/thunderbird115: import thunderbird115-115.15.0 Thunderbird is a free email, news, and chat application with support for add-ons, derived from the Mozilla Firefox web browser. This package tracks 115 ESR release branch. @ text @$NetBSD: patch-js_src_util_NativeStack.cpp,v 1.4 2020/09/03 15:26:22 ryoon Exp $ --- js/src/util/NativeStack.cpp.orig 2020-08-28 21:32:56.000000000 +0000 +++ js/src/util/NativeStack.cpp @@@@ -13,7 +13,7 @@@@ # if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) # include # endif -# if defined(SOLARIS) || defined(AIX) +# if defined(__sun) || defined(AIX) # include # endif # if defined(ANDROID) && !defined(__aarch64__) @@@@ -40,7 +40,7 @@@@ void* js::GetNativeStackBaseImpl() { return static_cast(pTib->StackBase); } -#elif defined(SOLARIS) +#elif defined(__sun) 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) /* e.g. on FreeBSD 4.8 or newer, neundorf@@kde.org */ pthread_attr_get_np(thread, &sattr); +# elif defined(__sun) # else /* * FIXME: this function is non-portable; @