Don't error-out when run-time libsqlite is older than build-time libsqlite
authorMike Hommey <glandium@debian.org>
Mon, 5 Apr 2010 15:58:23 +0000 (17:58 +0200)
committerCarsten Schoenert <c.schoenert@t-online.de>
Fri, 22 May 2020 17:04:20 +0000 (18:04 +0100)
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

storage/mozStorageService.cpp

index 5b3e6ed1aec95200a935a7ace52e6c69ceff6c24..aafd5aa5b9ed2f2412b45e677d5fc58585f7a305 100644 (file)
@@ -184,6 +184,7 @@ already_AddRefed<Service> 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.
@@ -208,6 +209,7 @@ already_AddRefed<Service> Service::getSingleton() {
     }
     MOZ_CRASH("SQLite Version Error");
   }
+#endif
 
   // The first reference to the storage service must be obtained on the
   // main thread.