Fix bug 489882 - Building with "NECKO_DISK_CACHE=" fails with unresolved external symbol: "nsDiskCache::Hash(char const *,unsigned int)" referenced in function "DCacheHash(char const *)" (nsDiskCacheDeviceSQL). r=mschroeder
authorPhilipp Kewisch <mozilla@kewis.ch>
Tue, 22 Dec 2009 21:10:03 +0100
changeset 4586 45c6417d76886d5a30e05280eb3e2b0b9d9a5cee
parent 4585 d1fa0f378721ea616effc70123ef262500ef5ab6
child 4587 9911eaa87f34d48a79b0be2d7102024f5fdbc9be
push idunknown
push userunknown
push dateunknown
reviewersmschroeder
bugs489882
Fix bug 489882 - Building with "NECKO_DISK_CACHE=" fails with unresolved external symbol: "nsDiskCache::Hash(char const *,unsigned int)" referenced in function "DCacheHash(char const *)" (nsDiskCacheDeviceSQL). r=mschroeder
calendar/confvars.sh
calendar/sunbird/app/profile/sunbird.js
--- a/calendar/confvars.sh
+++ b/calendar/confvars.sh
@@ -45,17 +45,16 @@ MOZ_SUNBIRD=1
 MOZ_CALENDAR=1
 MOZ_APP_VERSION=$SUNBIRD_VERSION
 MOZ_PLAINTEXT_EDITOR_ONLY=1
 NECKO_PROTOCOLS_DEFAULT="about data file ftp http res viewsource"
 MOZ_NO_ACTIVEX_SUPPORT=1
 MOZ_ACTIVEX_SCRIPTING_SUPPORT=
 MOZ_INSTALLER=
 MOZ_MATHML=
-NECKO_DISK_CACHE=
 # MOZ_OJI is only required to be cleared for MOZILLA_1_9_2_BRANCH (OS X).
 MOZ_OJI=
 NECKO_COOKIES=
 MOZ_NO_XPCOM_OBSOLETE=1
 MOZ_EXTENSIONS_DEFAULT=
 MOZ_UNIVERSALCHARDET=
 MOZ_APP_VERSION=`cat $topsrcdir/$MOZ_BUILD_APP/sunbird/config/version.txt`
 SUNBIRD_VERSION=$MOZ_APP_VERSION
--- a/calendar/sunbird/app/profile/sunbird.js
+++ b/calendar/sunbird/app/profile/sunbird.js
@@ -296,8 +296,12 @@ pref("browser.preferences.animateFadeIn"
 pref("accessibility.typeaheadfind.flashBar", 1);
 pref("view_source.editor.path", "");
 pref("view_source.editor.external", false);
 pref("view_source.syntax_highlight", true);
 pref("view_source.wrap_long_lines", false);
 
 // The breakpad report server to link to in about:crashes
 pref("breakpad.reportURL", "http://crash-stats.mozilla.com/report/index/");
+
+// The Necko Disk Cache. Disable the cache until Sunbird makes correct use of it
+// and offers UI preferences to control it.
+pref("browser.cache.disk.enable", false);