From: Mike Hommey Date: Mon, 22 Mar 2010 10:45:42 +0000 (+0100) Subject: Don't error-out when run-time libsqlite is older than build-time libsqlite X-Git-Tag: archive/raspbian/60.4.0esr-1+rpi1~1^2~12 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=01572cad7543841fefbba8f8f048617177679808;p=firefox-esr.git Don't error-out when run-time libsqlite is older than build-time libsqlite In Debian, we have shlibs to handle this. Gbp-Pq: Topic debian-hacks Gbp-Pq: Name Don-t-error-out-when-run-time-libsqlite-is-older-tha.patch --- diff --git a/storage/mozStorageService.cpp b/storage/mozStorageService.cpp index d4e52ff7117..0e1b26dd1e0 100644 --- a/storage/mozStorageService.cpp +++ b/storage/mozStorageService.cpp @@ -197,6 +197,7 @@ Service::getSingleton() return do_AddRef(gService); } +#if 0 // Ensure that we are using the same version of SQLite that we compiled with // or newer. Our configure check ensures we are using a new enough version // at compile time. @@ -214,6 +215,7 @@ Service::getSingleton() } MOZ_CRASH("SQLite Version Error"); } +#endif // The first reference to the storage service must be obtained on the // main thread.