summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien ROZO2008-08-02 00:30:57 +0200
committerJulien ROZO2008-08-02 00:30:57 +0200
commit2a3162c6826970af205db22ab08f941c4f972014 (patch)
tree17172b09e80a5fe9fce4fd4f57881a8184de74bf
parentaf16f81d209cc2e74ada8697838d622f665fdd7f (diff)
thunderbird: added enigmail_visibility.patch, applied in PRE_BUILD, to fix a compilation problem when enigmail is enabled. Fixes bug #14516
-rw-r--r--mail/thunderbird/HISTORY4
-rwxr-xr-xmail/thunderbird/PRE_BUILD3
-rw-r--r--mail/thunderbird/enigmail_visibility.patch12
3 files changed, 18 insertions, 1 deletions
diff --git a/mail/thunderbird/HISTORY b/mail/thunderbird/HISTORY
index b268252712..cc16ed6340 100644
--- a/mail/thunderbird/HISTORY
+++ b/mail/thunderbird/HISTORY
@@ -1,3 +1,7 @@
+2008-08-02 Julien "_kaze_" ROZO <julien@rozo.org
+ * PRE_BUILD, enigmail_visibility.patch: fixed compilation problem when
+ enigmail is enabled, fixes bug #14516
+
2008-07-25 Ladislav Hagara <hgr@vabo.cz>
* DETAILS: 2.0.0.16, SECURITY_PATCH=13
diff --git a/mail/thunderbird/PRE_BUILD b/mail/thunderbird/PRE_BUILD
index 9e3013f441..ed5d3b0f3b 100755
--- a/mail/thunderbird/PRE_BUILD
+++ b/mail/thunderbird/PRE_BUILD
@@ -7,5 +7,6 @@ cp mail/config/mozconfig .mozconfig &&
if [ "$BUILD_ENIGMAIL" = "y" ]; then
cd mailnews/extensions &&
- unpack_file 3
+ unpack_file 3 &&
+ patch -p0 < ${SPELL_DIRECTORY}/enigmail_visibility.patch
fi
diff --git a/mail/thunderbird/enigmail_visibility.patch b/mail/thunderbird/enigmail_visibility.patch
new file mode 100644
index 0000000000..1bd5f406ad
--- /dev/null
+++ b/mail/thunderbird/enigmail_visibility.patch
@@ -0,0 +1,12 @@
+--- enigmail/build/nsEnigModule.cpp 2006-05-20 23:47:30.000000000 +0200
++++ enigmail/build/nsEnigModule.cpp~ 2007-09-30 12:35:16.000000000 +0200
+@@ -34,7 +34,9 @@
+ *
+ * ***** END LICENSE BLOCK ***** */
+
++#pragma GCC visibility push(default)
+ #include "nsIGenericFactory.h"
++#pragma GCC visibility pop
+ #include "nsEnigModule.h"
+
+ #include "nsEnigMsgCompose.h"