1
0

Accepting request 65215 from home:namtrac:branches:mozilla:Factory

OBS-URL: https://build.opensuse.org/request/show/65215
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=110
This commit is contained in:
Wolfgang Rosenauer 2011-03-25 13:45:20 +00:00 committed by Git OBS Bridge
parent 165caed61a
commit e4ef6db23e
3 changed files with 117 additions and 0 deletions

View File

@ -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

View File

@ -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

105
mozilla-gcc46.patch Normal file
View File

@ -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 <stddef.h>
// 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())