File mozilla-gcc43.patch of Package mozilla-xulrunner190

From: Wolfgang Rosenauer <wr@rosenauer.org>
Subject: fixes needed to build successfully with gcc 4.3

gcc 4.3 added -Wconversions which finds warning all over the place
in mozilla code w/o being a problem in most cases. Shut up the 
hard errors at least.

Index: netwerk/cookie/src/Makefile.in
===================================================================
RCS file: /cvsroot/mozilla/netwerk/cookie/src/Makefile.in,v
retrieving revision 1.7
diff -u -p -6 -r1.7 Makefile.in
--- netwerk/cookie/src/Makefile.in	28 Aug 2007 16:02:43 -0000	1.7
+++ netwerk/cookie/src/Makefile.in	23 Nov 2007 15:08:51 -0000
@@ -57,8 +57,8 @@ CPPSRCS		= \
 		nsCookie.cpp \
 		nsCookieService.cpp \
 		$(NULL)
 
 include $(topsrcdir)/config/rules.mk
 
-CXXFLAGS += $(WARNINGS_AS_ERRORS)
+#CXXFLAGS += $(WARNINGS_AS_ERRORS)
 DEFINES += -DIMPL_NS_NET
openSUSE Build Service is sponsored by