diff --git a/MozillaThunderbird.changes b/MozillaThunderbird.changes index b3a6ca5..26a5a1a 100644 --- a/MozillaThunderbird.changes +++ b/MozillaThunderbird.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Mar 25 08:50:30 UTC 2011 - idoenmez@novell.com + +- Add mozilla-gcc46.patch: fix compilation with gcc 4.6 + See the following bug reports: + https://bugzilla.mozilla.org/show_bug.cgi?id=623116 + https://bugzilla.mozilla.org/show_bug.cgi?id=623123 + https://bugzilla.mozilla.org/show_bug.cgi?id=623126 + https://bugzilla.mozilla.org/show_bug.cgi?id=628371 + ------------------------------------------------------------------- Tue Feb 22 08:51:12 UTC 2011 - wr@rosenauer.org diff --git a/MozillaThunderbird.spec b/MozillaThunderbird.spec index 26e36cb..139a2ba 100644 --- a/MozillaThunderbird.spec +++ b/MozillaThunderbird.spec @@ -52,6 +52,7 @@ Patch9: mozilla-shared-nss-db.patch Patch10: mozilla-gdk-pixbuf.patch Patch11: thunderbird-shared-nss-db.patch Patch13: mozilla-xsmp.patch +Patch14: mozilla-gcc46.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: coreutils fileutils textutils /bin/sh ### build options @@ -166,6 +167,7 @@ pushd mozilla %patch9 -p1 %patch10 -p1 %patch13 -p1 +%patch14 -p1 popd # comm-central patches %patch2 -p1 diff --git a/mozilla-gcc46.patch b/mozilla-gcc46.patch new file mode 100644 index 0000000..425dfb7 --- /dev/null +++ b/mozilla-gcc46.patch @@ -0,0 +1,105 @@ +See the following bug reports; + +https://bugzilla.mozilla.org/show_bug.cgi?id=623116 +https://bugzilla.mozilla.org/show_bug.cgi?id=623123 +https://bugzilla.mozilla.org/show_bug.cgi?id=623126 +https://bugzilla.mozilla.org/show_bug.cgi?id=628371 + +diff --git a/xpcom/base/nsDebugImpl.h b/xpcom/base/nsDebugImpl.h +--- a/xpcom/base/nsDebugImpl.h ++++ b/xpcom/base/nsDebugImpl.h +@@ -40,6 +40,7 @@ + class nsDebugImpl : public nsIDebug2 + { + public: ++ nsDebugImpl() {} + NS_DECL_ISUPPORTS + NS_DECL_NSIDEBUG + NS_DECL_NSIDEBUG2 +diff --git a/xpcom/base/nsTraceRefcntImpl.h b/xpcom/base/nsTraceRefcntImpl.h +--- a/xpcom/base/nsTraceRefcntImpl.h ++++ b/xpcom/base/nsTraceRefcntImpl.h +@@ -44,6 +44,7 @@ + class nsTraceRefcntImpl : public nsITraceRefcnt + { + public: ++ nsTraceRefcntImpl() {} + NS_DECL_ISUPPORTS + NS_DECL_NSITRACEREFCNT + +diff --git a/xpcom/glue/nsEnumeratorUtils.cpp b/xpcom/glue/nsEnumeratorUtils.cpp +--- a/xpcom/glue/nsEnumeratorUtils.cpp ++++ b/xpcom/glue/nsEnumeratorUtils.cpp +@@ -52,6 +52,7 @@ class EmptyEnumeratorImpl : public nsISi + public nsIStringEnumerator + { + public: ++ EmptyEnumeratorImpl() {} + // nsISupports interface + NS_DECL_ISUPPORTS_INHERITED // not really inherited, but no mRefCnt + +diff --git a/xpcom/io/nsUnicharInputStream.h b/xpcom/io/nsUnicharInputStream.h +--- a/xpcom/io/nsUnicharInputStream.h ++++ b/xpcom/io/nsUnicharInputStream.h +@@ -51,6 +51,7 @@ class nsSimpleUnicharStreamFactory : + private nsISimpleUnicharStreamFactory + { + public: ++ nsSimpleUnicharStreamFactory() {} + NS_DECL_ISUPPORTS_INHERITED + NS_DECL_NSIFACTORY + NS_DECL_NSISIMPLEUNICHARSTREAMFACTORY +diff --git a/intl/unicharutil/util/nsUnicharUtils.h b/intl/unicharutil/util/nsUnicharUtils.h +--- a/intl/unicharutil/util/nsUnicharUtils.h ++++ b/intl/unicharutil/util/nsUnicharUtils.h +@@ -103,6 +103,7 @@ public: + class nsCaseInsensitiveStringComparator : public nsStringComparator + { + public: ++ nsCaseInsensitiveStringComparator() {} + virtual int operator() (const PRUnichar*, + const PRUnichar*, + PRUint32 aLength) const; +diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp +--- a/toolkit/xre/nsAppRunner.cpp ++++ b/toolkit/xre/nsAppRunner.cpp +@@ -616,6 +616,7 @@ class nsXULAppInfo : public nsIXULAppInf + + { + public: ++ nsXULAppInfo() {} + NS_DECL_ISUPPORTS_INHERITED + NS_DECL_NSIXULAPPINFO + NS_DECL_NSIXULRUNTIME +diff --git a/embedding/browser/gtk/src/EmbedPrivate.cpp b/embedding/browser/gtk/src/EmbedPrivate.cpp +index 57fd9b1..0052ca7 100644 +--- a/embedding/browser/gtk/src/EmbedPrivate.cpp ++++ b/embedding/browser/gtk/src/EmbedPrivate.cpp +@@ -99,6 +99,7 @@ nsIDirectoryServiceProvider *EmbedPrivate::sAppFileLocProvider = nsnull; + class GTKEmbedDirectoryProvider : public nsIDirectoryServiceProvider2 + { + public: ++ GTKEmbedDirectoryProvider() {} + NS_DECL_ISUPPORTS_INHERITED + NS_DECL_NSIDIRECTORYSERVICEPROVIDER + NS_DECL_NSIDIRECTORYSERVICEPROVIDER2 +--- a/gfx/ots/src/os2.cc 2011-02-22 09:34:58.000000000 +0100 ++++ b/gfx/ots/src/os2.cc 2011-03-25 10:08:02.183485823 +0100 +@@ -5,6 +5,7 @@ + #include "os2.h" + + #include "head.h" ++#include + + // OS/2 - OS/2 and Windows Metrics + // http://www.microsoft.com/opentype/otspec/os2.htm +--- a/toolkit/crashreporter/google-breakpad/src/common/linux/language.cc 2011-02-22 09:35:48.000000000 +0100 ++++ b/toolkit/crashreporter/google-breakpad/src/common/linux/language.cc 2011-03-25 10:33:34.367485573 +0100 +@@ -39,6 +39,7 @@ + // C++ language-specific operations. + class CPPLanguage: public Language { + public: ++ CPPLanguage() {}; + string MakeQualifiedName(const string &parent_name, + const string &name) const { + if (parent_name.empty())