Workaround for:

https://bugzilla.mozilla.org/show_bug.cgi?id=1450912

GCC libstdc++ should be fixed to support locales on Solaris so that
std::regex functionality works.

--- thunderbird-132.0/comm/mail/app/nsMailApp.cpp.old	2024-10-30 14:20:58.360153467 -0400
+++ thunderbird-132.0/comm/mail/app/nsMailApp.cpp	2024-10-30 14:21:53.737436238 -0400
@@ -254,6 +254,10 @@
 #endif
 
 int main(int argc, char* argv[], char* envp[]) {
+
+// Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1450912
+setenv("LC_ALL", "C", 1);
+
 #ifdef MOZ_BROWSER_CAN_BE_CONTENTPROC
   if (argc > 1 && IsArg(argv[1], "contentproc")) {
     // Set the process type and gecko child id.