SOURCES: mozilla-hack-gcc_4_2.patch - much better workaround inste...
arekm
arekm at pld-linux.org
Wed Apr 11 00:07:45 CEST 2007
Author: arekm Date: Tue Apr 10 22:07:45 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- much better workaround instead of ugly hack; see mozilla bugzilla report
---- Files affected:
SOURCES:
mozilla-hack-gcc_4_2.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/mozilla-hack-gcc_4_2.patch
diff -u SOURCES/mozilla-hack-gcc_4_2.patch:1.1 SOURCES/mozilla-hack-gcc_4_2.patch:1.2
--- SOURCES/mozilla-hack-gcc_4_2.patch:1.1 Mon Feb 26 10:11:43 2007
+++ SOURCES/mozilla-hack-gcc_4_2.patch Wed Apr 11 00:07:40 2007
@@ -1,14 +1,20 @@
-; giant hack, if you feel brave enough you can try to track it down deeper
-; https://bugzilla.mozilla.org/show_bug.cgi?id=362462
---- mozilla/mozilla/netwerk/base/src/nsStandardURL.cpp~ 2007-02-26 09:31:24.171735485 +0100
-+++ mozilla/mozilla/netwerk/base/src/nsStandardURL.cpp 2007-02-26 10:04:35.679481070 +0100
-@@ -2510,6 +2510,9 @@
+diff -puNr mozilla/mozilla.orig/netwerk/base/src/nsStandardURL.h mozilla/mozilla/netwerk/base/src/nsStandardURL.h
+--- mozilla.orig/mozilla/netwerk/base/src/nsStandardURL.h 2006-05-02 20:53:56.000000000 +0200
++++ mozilla/mozilla/netwerk/base/src/nsStandardURL.h 2007-04-10 21:18:23.000000000 +0200
+@@ -262,11 +262,11 @@ private:
+ eEncoding_UTF8
+ };
- InvalidateCache();
+- PRUint32 mHostEncoding : 2; // eEncoding_xxx
+- PRUint32 mSpecEncoding : 2; // eEncoding_xxx
+- PRUint32 mURLType : 2; // nsIStandardURL::URLTYPE_xxx
+- PRUint32 mMutable : 1; // nsIStandardURL::mutable
+- PRUint32 mSupportsFileURL : 1; // QI to nsIFileURL?
++ PRUint32 mHostEncoding; // eEncoding_xxx
++ PRUint32 mSpecEncoding; // eEncoding_xxx
++ PRUint32 mURLType; // nsIStandardURL::URLTYPE_xxx
++ PRUint32 mMutable; // nsIStandardURL::mutable
++ PRUint32 mSupportsFileURL; // QI to nsIFileURL?
-+ if (urlType != URLTYPE_STANDARD && urlType != URLTYPE_AUTHORITY && urlType != URLTYPE_NO_AUTHORITY)
-+ urlType = URLTYPE_STANDARD;
-+
- switch (urlType) {
- case URLTYPE_STANDARD:
- mParser = net_GetStdURLParser();
+ // global objects. don't use COMPtr as its destructor will cause a
+ // coredump if we leak it.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/mozilla-hack-gcc_4_2.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list