summaryrefslogtreecommitdiff
path: root/mail/thunderbird45/patches/patch-mail_components_shell_nsMailGNOMEIntegration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird45/patches/patch-mail_components_shell_nsMailGNOMEIntegration.cpp')
-rw-r--r--mail/thunderbird45/patches/patch-mail_components_shell_nsMailGNOMEIntegration.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/mail/thunderbird45/patches/patch-mail_components_shell_nsMailGNOMEIntegration.cpp b/mail/thunderbird45/patches/patch-mail_components_shell_nsMailGNOMEIntegration.cpp
new file mode 100644
index 00000000000..ca464ccf469
--- /dev/null
+++ b/mail/thunderbird45/patches/patch-mail_components_shell_nsMailGNOMEIntegration.cpp
@@ -0,0 +1,24 @@
+$NetBSD: patch-mail_components_shell_nsMailGNOMEIntegration.cpp,v 1.1 2017/04/27 13:38:18 ryoon Exp $
+
+--- mail/components/shell/nsMailGNOMEIntegration.cpp.orig 2016-04-07 21:14:23.000000000 +0000
++++ mail/components/shell/nsMailGNOMEIntegration.cpp
+@@ -50,16 +50,16 @@ struct AppTypeAssociation {
+
+ static const AppTypeAssociation sAppTypes[] = {
+ {
+- nsIShellService::MAIL, sMailProtocols, ArrayLength(sMailProtocols),
++ nsIShellService::MAIL, sMailProtocols, (unsigned int)ArrayLength(sMailProtocols),
+ "message/rfc822",
+ nullptr // don't associate .eml extension, as that breaks printing those
+ },
+ {
+- nsIShellService::NEWS, sNewsProtocols, ArrayLength(sNewsProtocols),
++ nsIShellService::NEWS, sNewsProtocols, (unsigned int)ArrayLength(sNewsProtocols),
+ nullptr, nullptr
+ },
+ {
+- nsIShellService::RSS, sFeedProtocols, ArrayLength(sFeedProtocols),
++ nsIShellService::RSS, sFeedProtocols, (unsigned int)ArrayLength(sFeedProtocols),
+ "application/rss+xml", "rss"
+ }
+ };