summaryrefslogtreecommitdiff
path: root/mail/thunderbird/patches
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-07-31 14:05:00 +0000
committertron <tron@pkgsrc.org>2006-07-31 14:05:00 +0000
commit3da2aa848fbef7ef966f6d3962b5678e7504ea69 (patch)
tree7cad3526122f00ae50c0b8c53ecb5f39e69b3cb1 /mail/thunderbird/patches
parent75bc87b1319b5fc7e09bcd7c0bcc0860fc226e54 (diff)
downloadpkgsrc-3da2aa848fbef7ef966f6d3962b5678e7504ea69.tar.gz
Make this build with GCC 4.1.x.
Diffstat (limited to 'mail/thunderbird/patches')
-rw-r--r--mail/thunderbird/patches/patch-as18
1 files changed, 18 insertions, 0 deletions
diff --git a/mail/thunderbird/patches/patch-as b/mail/thunderbird/patches/patch-as
new file mode 100644
index 00000000000..4f84c3d9fb7
--- /dev/null
+++ b/mail/thunderbird/patches/patch-as
@@ -0,0 +1,18 @@
+$NetBSD: patch-as,v 1.1 2006/07/31 14:05:00 tron Exp $
+
+--- mailnews/mime/src/mimeeobj.h.orig 2004-04-17 19:33:13.000000000 +0100
++++ mailnews/mime/src/mimeeobj.h 2006-07-31 14:51:25.000000000 +0100
+@@ -54,7 +54,13 @@
+ MimeLeafClass leaf;
+ };
+
++#ifdef __cplusplus
++extern "C" {
++#endif
+ extern MimeExternalObjectClass mimeExternalObjectClass;
++#ifdef __cplusplus
++}
++#endif
+
+ struct MimeExternalObject {
+ MimeLeaf leaf;