From 969d777291e754c83b4f6a9ac38356a5a6ba32d4 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 22 Apr 2019 17:30:19 +0200 Subject: [PATCH] Sqlite3: enable column meta data Signed-off-by: David Oberhollenzer --- pkg/sqlite3/0001.patch | 12 ++++++++++++ pkg/sqlite3/build | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 pkg/sqlite3/0001.patch diff --git a/pkg/sqlite3/0001.patch b/pkg/sqlite3/0001.patch new file mode 100644 index 0000000..21e009a --- /dev/null +++ b/pkg/sqlite3/0001.patch @@ -0,0 +1,12 @@ +diff --git a/sqlite3.c b/sqlite3.c.new +index 4729f45..d09425e 100644 +--- a/sqlite3.c ++++ b/sqlite3.c +@@ -17,6 +17,7 @@ + ** language. The code for the "sqlite3" command-line shell is also in a + ** separate file. This file contains only code for the core SQLite library. + */ ++#define SQLITE_ENABLE_COLUMN_METADATA 1 + #define SQLITE_CORE 1 + #define SQLITE_AMALGAMATION 1 + #ifndef SQLITE_PRIVATE diff --git a/pkg/sqlite3/build b/pkg/sqlite3/build index 92b761c..70662a8 100755 --- a/pkg/sqlite3/build +++ b/pkg/sqlite3/build @@ -7,7 +7,7 @@ DEPENDS="readline-dev zlib-dev toolchain" SUBPKG="sqlite3 sqlite3-dev sqlite3-shell" prepare() { - return + apply_patches } build() {