Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,18 @@
$NetBSD: patch-mozilla_storage_mozStorageConnection.cpp,v 1.1 2015/10/02 22:49:36 ryoon Exp $
--- mozilla/storage/mozStorageConnection.cpp.orig 2015-09-25 07:34:55.000000000 +0000
+++ mozilla/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;
}