Import of pkgsrc-2015Q3

This commit is contained in:
2015-10-03 03:37:01 -07:00
committed by Lionel Sambuc
parent f641581404
commit 9d819b6d54
7578 changed files with 228314 additions and 80018 deletions

View File

@@ -0,0 +1,18 @@
$NetBSD: patch-storage_mozStorageConnection.cpp,v 1.1 2015/09/23 06:44:42 ryoon Exp $
--- storage/mozStorageConnection.cpp.orig 2015-08-24 21:53:07.000000000 +0000
+++ storage/mozStorageConnection.cpp
@@ -671,6 +671,13 @@ Connection::initialize(nsIFile *aDatabas
rv = initializeInternal();
NS_ENSURE_SUCCESS(rv, rv);
+ 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;
}