pkgsrc/devel/xulrunner17/patches/patch-al
ryoon 27af90c8a6 Import xulrunner17-17.0.2 as devel/xulrunner17.
XULRunner is a runtime environment for applications using the
XML User Interface Language, XUL. It is the successor of the "Gecko"
runtime environment.

This package tracks 17.0.x extended support release.
2013-01-10 16:17:09 +00:00

16 lines
566 B
Text

$NetBSD: patch-al,v 1.1 2013/01/10 16:17:10 ryoon Exp $
--- storage/src/mozStorageConnection.cpp.orig 2012-08-24 22:56:03.000000000 +0000
+++ storage/src/mozStorageConnection.cpp
@@ -680,6 +680,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;
}