head 1.2; access; symbols pkgsrc-2024Q1:1.1.0.10 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.8 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.6 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.4 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.2 pkgsrc-2023Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2024.06.05.06.41.01; author nia; state dead; branches; next 1.1; commitid 9HDU644QOLsEeLcF; 1.1 date 2023.02.05.08.32.24; author he; state Exp; branches; next ; commitid re70Utp56FtmsjcE; desc @@ 1.2 log @gc old unbuildable thunderbirds @ text @$NetBSD: patch-js_src_util_NativeStack.cpp,v 1.1 2023/02/05 08:32:24 he 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; @ 1.1 log @mail/thunderbird78: be extra careful and "archive" the older thunderbird. This version does not build with newer versions of rust, probably because rust has moved too far and this version is too old. This is therefore a precursor to to upgrading the thunderbird package proper to a newer version. @ text @d1 1 a1 1 $NetBSD: patch-js_src_util_NativeStack.cpp,v 1.4 2020/09/03 15:26:22 ryoon Exp $ @