Files
pkgsrc-ng/devel/xulrunner192/patches/patch-al
2013-09-26 17:14:40 +02:00

17 lines
568 B
Plaintext

$NetBSD: patch-al,v 1.1.1.1 2011/04/19 11:16:07 tnn Exp $
--- storage/src/mozStorageConnection.cpp.orig 2010-08-24 21:32:09.000000000 +0000
+++ storage/src/mozStorageConnection.cpp
@@ -405,6 +405,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;
}