summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2014-08-10 12:52:08 +0000
committerabs <abs@pkgsrc.org>2014-08-10 12:52:08 +0000
commit8ad152b824f4a84eeb5b0badcbae7238e671b040 (patch)
treee76ce6509d215595b8e89b90e76908b2d44d6ee7 /mail
parent270e648e615c060293ded22dda76c21154e3433f (diff)
downloadpkgsrc-8ad152b824f4a84eeb5b0badcbae7238e671b040.tar.gz
Avoid warning storing a size_t in an unsigned int on LP64 - fix
build on at least NetBSD 6.x/amd64
Diffstat (limited to 'mail')
-rw-r--r--mail/thunderbird/Makefile3
-rw-r--r--mail/thunderbird/distinfo3
-rw-r--r--mail/thunderbird/patches/patch-mail_components_shell_nsMailGNOMEIntegration.cpp25
3 files changed, 29 insertions, 2 deletions
diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile
index d704aa29242..ebd02a96beb 100644
--- a/mail/thunderbird/Makefile
+++ b/mail/thunderbird/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.138 2014/07/27 20:04:59 ryoon Exp $
+# $NetBSD: Makefile,v 1.139 2014/08/10 12:52:08 abs Exp $
DISTNAME= # empty
+PKGREVISION= 1
PKGNAME= thunderbird-${TB_VER}
TB_VER= 31.0
#LIGHTNINGVER= 1.9
diff --git a/mail/thunderbird/distinfo b/mail/thunderbird/distinfo
index 3ceb0d4d3ed..fc02d582494 100644
--- a/mail/thunderbird/distinfo
+++ b/mail/thunderbird/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.144 2014/07/27 20:04:59 ryoon Exp $
+$NetBSD: distinfo,v 1.145 2014/08/10 12:52:08 abs Exp $
SHA1 (enigmail-1.7.tar.gz) = 79185762ed502cbbf88e0dbf4704dbfedaf429b5
RMD160 (enigmail-1.7.tar.gz) = c9321d919da53498839bf265acad2dcff94e422a
@@ -28,6 +28,7 @@ SHA1 (patch-ipc_chromium_src_base_sys__info__posix.cc) = f5545ffcee1b5b02d8e130c
SHA1 (patch-ipc_chromium_src_build_build__config.h) = 7e5f6e195884d7fc629c10aefe13dba768001daf
SHA1 (patch-ipc_glue_GeckoChildProcessHost.cpp) = a7385ed3b8a5011651c07a239b2d8a2a99e14624
SHA1 (patch-ldap_sdks_c-sdk_build.mk) = 171d81697d136abb6e02cb81445cd88fd8580de2
+SHA1 (patch-mail_components_shell_nsMailGNOMEIntegration.cpp) = 2b086ad7d3e4efa594ef04aac358e5271993bfcb
SHA1 (patch-mail_installer_package-manifest.in) = 9f79382d6e17a839d3ba90dab4f657a80340141a
SHA1 (patch-mail_installer_removed-files.in) = 26d69b9b8747f25130af75ea057cf2abc615bfff
SHA1 (patch-mb) = 0e2a36a38147f112a3e1bace0ad1ccd295e8265c
diff --git a/mail/thunderbird/patches/patch-mail_components_shell_nsMailGNOMEIntegration.cpp b/mail/thunderbird/patches/patch-mail_components_shell_nsMailGNOMEIntegration.cpp
new file mode 100644
index 00000000000..c5f03eb70c6
--- /dev/null
+++ b/mail/thunderbird/patches/patch-mail_components_shell_nsMailGNOMEIntegration.cpp
@@ -0,0 +1,25 @@
+$NetBSD: patch-mail_components_shell_nsMailGNOMEIntegration.cpp,v 1.1 2014/08/10 12:52:08 abs Exp $
+
+Avoid warning storing a size_t in an unsigned int on LP64
+
+--- mail/components/shell/nsMailGNOMEIntegration.cpp.orig 2014-07-18 00:04:06.000000000 +0000
++++ mail/components/shell/nsMailGNOMEIntegration.cpp
+@@ -50,15 +50,15 @@ struct AppTypeAssociation {
+
+ static const AppTypeAssociation sAppTypes[] = {
+ {
+- nsIShellService::MAIL, sMailProtocols, ArrayLength(sMailProtocols),
++ nsIShellService::MAIL, sMailProtocols, (unsigned int)ArrayLength(sMailProtocols),
+ "message/rfc822", "eml"
+ },
+ {
+- 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"
+ }
+ };