summaryrefslogtreecommitdiff
path: root/mail/thunderbird
diff options
context:
space:
mode:
authorryoon <ryoon>2012-03-23 19:35:05 +0000
committerryoon <ryoon>2012-03-23 19:35:05 +0000
commit24537fbf2e0e712844c4e4d9bf3521eea5b54d7c (patch)
tree9ac17e83de994ac95ab090e3c4e7f888fb78b3e7 /mail/thunderbird
parent79860ba3c68ff795c2bab16611e59f8a3eb70bd5 (diff)
downloadpkgsrc-24537fbf2e0e712844c4e4d9bf3521eea5b54d7c.tar.gz
Fix build with gcc<4.5.
For example, fix build on DragonFly 3.0.1. See https://bugzilla.mozilla.org/show_bug.cgi?id=621446
Diffstat (limited to 'mail/thunderbird')
-rw-r--r--mail/thunderbird/distinfo6
-rw-r--r--mail/thunderbird/patches/patch-mozilla_netwerk_protocol_http_HttpChannelParent.cpp24
2 files changed, 26 insertions, 4 deletions
diff --git a/mail/thunderbird/distinfo b/mail/thunderbird/distinfo
index fafaa26cb52..9e9711a6e10 100644
--- a/mail/thunderbird/distinfo
+++ b/mail/thunderbird/distinfo
@@ -1,11 +1,8 @@
-$NetBSD: distinfo,v 1.91 2012/03/17 01:59:08 wiz Exp $
+$NetBSD: distinfo,v 1.92 2012/03/23 19:35:05 ryoon Exp $
SHA1 (comm-release-f60c071e187b.tar.bz2) = 7b3770d918a7662688d6641bc367c1c375bc7200
RMD160 (comm-release-f60c071e187b.tar.bz2) = e1efa6624eaf565b95f7e9d68ca04a3cbbe47f05
Size (comm-release-f60c071e187b.tar.bz2) = 2261054 bytes
-SHA1 (enigmail-1.4.tar.gz) = 1ee4bcd8d38685af44c1aeeea4fbba7bf30513e4
-RMD160 (enigmail-1.4.tar.gz) = b3c717e150c826faae1daa09806e07dd16619c51
-Size (enigmail-1.4.tar.gz) = 1323467 bytes
SHA1 (thunderbird-11.0.source.tar.bz2) = dce279de31e66940afc0d85756a7fd6da21a1dc1
RMD160 (thunderbird-11.0.source.tar.bz2) = 2220b88d901a8ade3d52045275ced5f368c2716d
Size (thunderbird-11.0.source.tar.bz2) = 101442328 bytes
@@ -84,6 +81,7 @@ SHA1 (patch-mozilla_js_src_methodjit_MethodJIT.cpp) = c27d2e4105ea47a0fe2bec42ed
SHA1 (patch-mozilla_js_src_yarr_pcre_pcre.h) = 7d450964eba9c64cad932075c714087047fc8642
SHA1 (patch-mozilla_media_libvpx_vpx__config.h) = cb7bb829ea120f6d295de7807b13e4c720b3f88f
SHA1 (patch-mozilla_media_libvpx_vpx__config__c.c) = 0e04badaf5ff4b04a313cf9bb40727d87202051f
+SHA1 (patch-mozilla_netwerk_protocol_http_HttpChannelParent.cpp) = 3c245b1c3b61a4244c47760a0b9d4158f4abe13a
SHA1 (patch-mozilla_nsprpub_pr_include_md___dragonfly.cfg) = 1496442dfa274cab6622db350c138635e6cf7376
SHA1 (patch-mozilla_nsprpub_pr_include_md___pth.h) = b8aab2979a289512b93e04bc3bbc38845029719d
SHA1 (patch-mozilla_nsprpub_pr_include_md_prosdep.h) = 576fc831d79e9594c1f90907d53e4fbc17f4644a
diff --git a/mail/thunderbird/patches/patch-mozilla_netwerk_protocol_http_HttpChannelParent.cpp b/mail/thunderbird/patches/patch-mozilla_netwerk_protocol_http_HttpChannelParent.cpp
new file mode 100644
index 00000000000..6b5160d93dd
--- /dev/null
+++ b/mail/thunderbird/patches/patch-mozilla_netwerk_protocol_http_HttpChannelParent.cpp
@@ -0,0 +1,24 @@
+$NetBSD: patch-mozilla_netwerk_protocol_http_HttpChannelParent.cpp,v 1.1 2012/03/23 19:35:06 ryoon Exp $
+
+* Fix build with gcc<4.5, for example, DragonFly 3.0.1.
+ See https://bugzilla.mozilla.org/show_bug.cgi?id=621446
+
+--- mozilla/netwerk/protocol/http/HttpChannelParent.cpp.orig 2012-03-13 02:43:37.000000000 +0000
++++ mozilla/netwerk/protocol/http/HttpChannelParent.cpp
+@@ -333,10 +333,15 @@ HttpChannelParent::RecvUpdateAssociatedC
+ return true;
+ }
+
+-// Bug 621446 investigation, we don't want conditional PR_Aborts bellow to be
++// Bug 621446 investigation, we don't want conditional PR_Aborts below to be
+ // merged to a single address.
+ #pragma warning(disable : 4068)
++// Compiling with a version of GCC <= 4.4 fails with an internal compiler
++// error.
++#if !defined(__GNUC__) || \
++ (__GNUC__ >= 5) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
+ #pragma GCC optimize ("O0")
++#endif
+
+ bool
+ HttpChannelParent::RecvRedirect2Verify(const nsresult& result,