From: Mike Hommey Date: Mon, 5 Apr 2010 15:58:23 +0000 (+0200) Subject: Don't error-out when run-time libsqlite is older than build-time libsqlite X-Git-Tag: archive/raspbian/1%60.7.0-1+rpi1^2~35 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6b3ab3009d4b87c17a1a6add9acf71bd54de3d10;p=thunderbird.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 2cbeb20dcc..701bdf8490 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.