Files
pkgsrc-ng/mail/thunderbird38/patches/patch-al
2016-11-18 22:39:22 +01:00

17 lines
599 B
Plaintext

$NetBSD: patch-al,v 1.1 2016/04/17 18:22:21 ryoon Exp $
--- mozilla/storage/src/mozStorageConnection.cpp.orig 2014-07-18 00:05:51.000000000 +0000
+++ mozilla/storage/src/mozStorageConnection.cpp
@@ -600,6 +600,11 @@ Connection::initialize(nsIFile *aDatabas
mDatabaseFile = aDatabaseFile;
+ // 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;
}