summaryrefslogtreecommitdiff
path: root/mail/thunderbird/patches/patch-al
blob: fca255cdddfa57a7a513b74e79b3f3b1e461b30f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-al,v 1.8 2011/08/19 14:39:09 tnn Exp $

--- mozilla/storage/src/mozStorageConnection.cpp.orig	2011-06-15 21:57:54.000000000 +0000
+++ mozilla/storage/src/mozStorageConnection.cpp
@@ -595,6 +595,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;
 }