summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-al
blob: d5c3a93dc04680cbe938e6c3755fe2aa82cd2e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-al,v 1.9 2013/05/23 13:12:13 ryoon Exp $

--- storage/src/mozStorageConnection.cpp.orig	2013-01-04 23:44:44.000000000 +0000
+++ storage/src/mozStorageConnection.cpp
@@ -584,6 +584,11 @@ Connection::initialize(nsIFile *aDatabas
       break;
   }
 
+  // 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;
 }