summaryrefslogtreecommitdiff
path: root/mail/thunderbird-esr/files/patch-mail-app-nsMailApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird-esr/files/patch-mail-app-nsMailApp.cpp')
-rw-r--r--mail/thunderbird-esr/files/patch-mail-app-nsMailApp.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/mail/thunderbird-esr/files/patch-mail-app-nsMailApp.cpp b/mail/thunderbird-esr/files/patch-mail-app-nsMailApp.cpp
new file mode 100644
index 000000000000..0d17050c939c
--- /dev/null
+++ b/mail/thunderbird-esr/files/patch-mail-app-nsMailApp.cpp
@@ -0,0 +1,10 @@
+--- mail/app/nsMailApp.cpp~
++++ mail/app/nsMailApp.cpp
+@@ -154,6 +154,7 @@ int main(int argc, char* argv[])
+ TriggerQuirks();
+ #endif
+
++ setenv("MOZ_PLUGIN_PATH", "%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko19:%%LOCALBASE%%/lib/npapi/symlinks/thunderbird", 0);
+ nsresult rv = mozilla::BinaryPath::Get(argv[0], exePath);
+ if (NS_FAILED(rv)) {
+ Output("Couldn't calculate the application directory.\n");