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.7.2esr-1+rpi1^2~12 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9fbb4b7805f8ac05222a3459379e82accf041fc4;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 2cbeb20dcca..701bdf8490c 100644 --- a/storage/mozStorageService.cpp +++ b/storage/mozStorageService.cpp @@ -184,6 +184,7 @@ already_AddRefed 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. @@ -202,6 +203,7 @@ already_AddRefed Service::getSingleton() { } MOZ_CRASH("SQLite Version Error"); } +#endif // The first reference to the storage service must be obtained on the // main thread.