spack/var/spack/repos/builtin/packages/sqlite/sqlite_b0.patch
Chris Green 7467a46c2c sqlite: add versions; restore old versions; variant resolves security issues. (#11336)
* Add versions 3.27.{0,1,2} and 3.28.0
* Add url_for_version: the URL format includes the year so this
  function maps version ranges to years
* Restore patches for versions removed in 84c547c: this commit
  removed versions before 3.26.0 due to a security issue with FTS
  support. Add a +fts variant (default true) that enables FTS
  support along with a conflict for +fts with earlier versions.
2019-05-11 02:58:23 +09:00

14 lines
397 B
Diff

--- a/shell.c 2017-05-03 10:49:13.266276246 -0700
+++ b/shell.c 2017-05-03 10:51:34.868963321 -0700
@@ -198,6 +198,10 @@
#define getrusage(A,B) memset(B,0,sizeof(*B))
#endif
+#ifdef B0
+#undef B0
+#endif
+
/* Saved resource information for the beginning of an operation */
static struct rusage sBegin; /* CPU time at start */
static sqlite3_int64 iBegin; /* Wall-clock time at start */