diff options
author | Maxin B. John <maxin.john@intel.com> | 2016-05-04 11:20:23 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-11 10:33:39 +0100 |
commit | cc5e1294922da1969d9f108d45a19f02162af71e (patch) | |
tree | e1777d97a90747349948b9ae1dc8e341b84150cd /meta | |
parent | cb3b214c4b4f9d967a1adb8f4e6a11faad2f04d9 (diff) | |
download | poky-cc5e1294922da1969d9f108d45a19f02162af71e.tar.gz |
sqlite3: upgrade to 3.12.2
3.11.0 -> 3.12.2
Remove upstreamed patch:
1. fix-disable-static-shell.patch
(From OE-Core rev: 1b0628f86aaebcd786f1646a8f6f41de7fb80acc)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/sqlite/sqlite3/fix-disable-static-shell.patch | 61 | ||||
-rw-r--r-- | meta/recipes-support/sqlite/sqlite3_3.11.0.bb | 11 | ||||
-rw-r--r-- | meta/recipes-support/sqlite/sqlite3_3.12.2.bb | 9 |
3 files changed, 9 insertions, 72 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3/fix-disable-static-shell.patch b/meta/recipes-support/sqlite/sqlite3/fix-disable-static-shell.patch deleted file mode 100644 index 6f39ae2663..0000000000 --- a/meta/recipes-support/sqlite/sqlite3/fix-disable-static-shell.patch +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | From ede5db83e38cc8ad8c9be291cd8985f7ad99f291 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andre McCurdy <armccurdy@gmail.com> | ||
3 | Date: Tue, 16 Feb 2016 14:00:00 -0800 | ||
4 | Subject: [PATCH] fix --disable-static-shell | ||
5 | |||
6 | Upstream sqlite seems to be moving further and further away from | ||
7 | allowing the sqlite3 command line tool to be dynamically linked with | ||
8 | sqlite. | ||
9 | |||
10 | The --disable-static-shell configure option added in 3.10.0 no longer | ||
11 | has any effect in 3.11.0. For now patch things up and make it work. | ||
12 | |||
13 | Upstream-Status: Pending | ||
14 | |||
15 | Signed-off-by: Andre McCurdy <armccurdy@gmail.com> | ||
16 | --- | ||
17 | Makefile.am | 13 +++++++++++-- | ||
18 | configure.ac | 2 +- | ||
19 | 2 files changed, 12 insertions(+), 3 deletions(-) | ||
20 | |||
21 | diff --git a/Makefile.am b/Makefile.am | ||
22 | index 0e09cfc..608c0fd 100644 | ||
23 | --- a/Makefile.am | ||
24 | +++ b/Makefile.am | ||
25 | @@ -6,9 +6,18 @@ libsqlite3_la_SOURCES = sqlite3.c | ||
26 | libsqlite3_la_LDFLAGS = -no-undefined -version-info 8:6:8 | ||
27 | |||
28 | bin_PROGRAMS = sqlite3 | ||
29 | -sqlite3_SOURCES = shell.c sqlite3.c sqlite3.h | ||
30 | -sqlite3_LDADD = @READLINE_LIBS@ | ||
31 | +sqlite3_SOURCES = shell.c sqlite3.h | ||
32 | +EXTRA_sqlite3_SOURCES = sqlite3.c | ||
33 | +sqlite3_LDADD = @EXTRA_SHELL_OBJ@ @READLINE_LIBS@ | ||
34 | sqlite3_DEPENDENCIES = @EXTRA_SHELL_OBJ@ | ||
35 | + | ||
36 | +# Warning: Adding SQLITE_ENABLE_EXPLAIN_COMMENTS to sqlite3_CFLAGS doesn't | ||
37 | +# actually have any effect if we link the sqlite3 command line tool with the | ||
38 | +# libsqlite3.so shared library (which will contain a version of sqlite3.c | ||
39 | +# compiled with the default AM_CFLAGS above). If SQLITE_ENABLE_EXPLAIN_COMMENTS | ||
40 | +# debug is required, then sqlite3 must not be configured with | ||
41 | +# --disable-static-shell | ||
42 | + | ||
43 | sqlite3_CFLAGS = $(AM_CFLAGS) -DSQLITE_ENABLE_EXPLAIN_COMMENTS | ||
44 | |||
45 | include_HEADERS = sqlite3.h sqlite3ext.h | ||
46 | diff --git a/configure.ac b/configure.ac | ||
47 | index 8e7fd69..ada559e 100644 | ||
48 | --- a/configure.ac | ||
49 | +++ b/configure.ac | ||
50 | @@ -130,7 +130,7 @@ AC_ARG_ENABLE(static-shell, [AS_HELP_STRING( | ||
51 | [statically link libsqlite3 into shell tool [default=yes]])], | ||
52 | [], [enable_static_shell=yes]) | ||
53 | if test x"$enable_static_shell" == "xyes"; then | ||
54 | - EXTRA_SHELL_OBJ=sqlite3.$OBJEXT | ||
55 | + EXTRA_SHELL_OBJ=sqlite3-sqlite3.$OBJEXT | ||
56 | else | ||
57 | EXTRA_SHELL_OBJ=libsqlite3.la | ||
58 | fi | ||
59 | -- | ||
60 | 1.9.1 | ||
61 | |||
diff --git a/meta/recipes-support/sqlite/sqlite3_3.11.0.bb b/meta/recipes-support/sqlite/sqlite3_3.11.0.bb deleted file mode 100644 index 992d20cd5b..0000000000 --- a/meta/recipes-support/sqlite/sqlite3_3.11.0.bb +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | require sqlite3.inc | ||
2 | |||
3 | LICENSE = "PD" | ||
4 | LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0" | ||
5 | |||
6 | SRC_URI = "http://www.sqlite.org/2016/sqlite-autoconf-${SQLITE_PV}.tar.gz \ | ||
7 | file://fix-disable-static-shell.patch \ | ||
8 | " | ||
9 | |||
10 | SRC_URI[md5sum] = "a6cdc3e0a6e5087d620037ae0c48720d" | ||
11 | SRC_URI[sha256sum] = "508d4dcbcf7a7181e95c717a1dc4ae3c0880b3d593be0c4b40abb6c3a0e201fb" | ||
diff --git a/meta/recipes-support/sqlite/sqlite3_3.12.2.bb b/meta/recipes-support/sqlite/sqlite3_3.12.2.bb new file mode 100644 index 0000000000..9c073b3f31 --- /dev/null +++ b/meta/recipes-support/sqlite/sqlite3_3.12.2.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | require sqlite3.inc | ||
2 | |||
3 | LICENSE = "PD" | ||
4 | LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0" | ||
5 | |||
6 | SRC_URI = "http://www.sqlite.org/2016/sqlite-autoconf-${SQLITE_PV}.tar.gz" | ||
7 | |||
8 | SRC_URI[md5sum] = "c552a133aca1ce1d647163d9e43bbcb1" | ||
9 | SRC_URI[sha256sum] = "fd00770c9afd39db555c78400e52f55e8bd6568c78be23561abb472a22d09abb" | ||