$NetBSD: patch-al,v 1.6 2012/03/10 03:26:05 ryoon Exp $

--- mozilla/storage/src/mozStorageConnection.cpp.orig	2012-03-13 05:33:11.000000000 +0000
+++ mozilla/storage/src/mozStorageConnection.cpp
@@ -681,6 +681,11 @@ Connection::initialize(nsIFile *aDatabas
     (void)::NS_RegisterMemoryReporter(mMemoryReporters[i]);
   }
 
+  // XXX tnn: the configure script demands that sqlite3 is compiled with
+  // SECURE_DELETE on by default. sqlite3 in pkgsrc does not have that,
+  // so instead we enable secure_delete manually here.
+  (void)ExecuteSimpleSQL(NS_LITERAL_CSTRING("PRAGMA secure_delete = 1;"));
+
   return NS_OK;
 }
 
