[OE-core] [PATCH] sqlite3: upgrade to 3.8.10

rongqing.li at windriver.com rongqing.li at windriver.com
Fri May 8 08:03:14 UTC 2015


From: Roy Li <rongqing.li at windriver.com>

Signed-off-by: Roy Li <rongqing.li at windriver.com>
---
 .../sqlite/files/0001-Add-the-dependence.patch     | 24 ++++++++++++++++++++++
 .../{sqlite3_3.8.7.4.bb => sqlite3_3.8.10.0.bb}    |  8 +++++---
 2 files changed, 29 insertions(+), 3 deletions(-)
 create mode 100644 meta/recipes-support/sqlite/files/0001-Add-the-dependence.patch
 rename meta/recipes-support/sqlite/{sqlite3_3.8.7.4.bb => sqlite3_3.8.10.0.bb} (65%)

diff --git a/meta/recipes-support/sqlite/files/0001-Add-the-dependence.patch b/meta/recipes-support/sqlite/files/0001-Add-the-dependence.patch
new file mode 100644
index 0000000..dc86a3f
--- /dev/null
+++ b/meta/recipes-support/sqlite/files/0001-Add-the-dependence.patch
@@ -0,0 +1,24 @@
+[PATCH] Add the dependence for sqlite3 on libsqlite3
+
+Upstream-Status: Pending
+
+Signed-off-by: Roy Li <rongqing.li at windriver.com>
+---
+ Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.am b/Makefile.am
+index 88bc23d..a1cdb2a 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -8,6 +8,7 @@ libsqlite3_la_LDFLAGS = -no-undefined -version-info 8:6:8
+ bin_PROGRAMS = sqlite3
+ sqlite3_SOURCES = shell.c sqlite3.h
+ sqlite3_LDADD = sqlite3.$(OBJEXT) @READLINE_LIBS@
++sqlite3_DEPENDENCIES = $(top_builddir)/libsqlite3.la
+ 
+ include_HEADERS = sqlite3.h sqlite3ext.h
+ 
+-- 
+1.9.1
+
diff --git a/meta/recipes-support/sqlite/sqlite3_3.8.7.4.bb b/meta/recipes-support/sqlite/sqlite3_3.8.10.0.bb
similarity index 65%
rename from meta/recipes-support/sqlite/sqlite3_3.8.7.4.bb
rename to meta/recipes-support/sqlite/sqlite3_3.8.10.0.bb
index 4c73d30..51f41ea 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.8.7.4.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.8.10.0.bb
@@ -8,10 +8,12 @@ def sqlite_download_version(d):
 
 PE = "3"
 SQLITE_PV = "${@sqlite_download_version(d)}"
-SRC_URI = "http://www.sqlite.org/2014/sqlite-autoconf-${SQLITE_PV}.tar.gz"
+SRC_URI = "http://www.sqlite.org/2015/sqlite-autoconf-${SQLITE_PV}.tar.gz \
+           file://0001-Add-the-dependence.patch \
+"
 
-SRC_URI[md5sum] = "33bb8db0038317ce1b0480ca1185c7ba"
-SRC_URI[sha256sum] = "86370f139405fdfe03334fd618171a74e50f589f17ccbe5933361ed1f58359ec"
+SRC_URI[md5sum] = "04d0311ef70818e8d914c1dc383eddff"
+SRC_URI[sha256sum] = "c4b8f9eefbdf0b9bef2044bdc3510c8a3f3b0ddb0489661fb433034187f5a428"
 
 S = "${WORKDIR}/sqlite-autoconf-${SQLITE_PV}"
 
-- 
1.9.1




More information about the Openembedded-core mailing list