libs/sqlite3: Update to 3.16.0 and add optimizations
authorDaniel Engberg <redacted>
Tue, 3 Jan 2017 08:33:45 +0000 (02:33 -0600)
committerDaniel Engberg <redacted>
Thu, 5 Jan 2017 07:30:09 +0000 (01:30 -0600)
Update to 3.16.0

Add following optimizations:

HAVE_ISNAN
HAVE_MALLOC_USABLE_SIZE

Link: https://www.sqlite.org/compile.html
Signed-off-by: Daniel Engberg <redacted>
libs/sqlite3/Makefile

index f9bd2c794ec73967a6ffe45f5bf5678e80589f04..7f9b1b34ce940b8ba5b36c635d32f56a51457249 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=sqlite
-PKG_VERSION:=3130000
-PKG_RELEASE:=2
+PKG_VERSION:=3160000
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-autoconf-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://www.sqlite.org/2016/
-PKG_MD5SUM:=4e83f39fa2ffb610ac5ecd36865da6a2
+PKG_SOURCE_URL:=http://www.sqlite.org/2017/
+PKG_MD5SUM:=5102404047054b2cec2f43463293f94dea39425d42bf386d24596ab4fac7c7ff
 
 PKG_LICENSE:=PUBLICDOMAIN
 PKG_LICENSE_FILES:=
@@ -69,7 +69,9 @@ $(call Package/sqlite3/Default/description)
 endef
 
 TARGET_CFLAGS += $(FPIC) \
-       -DSQLITE_ENABLE_UNLOCK_NOTIFY \
+       -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
+       -DHAVE_ISNAN=1 \
+       -DHAVE_MALLOC_USABLE_SIZE=1
 
 CONFIGURE_ARGS += \
        --enable-shared \
git clone https://git.99rst.org/PROJECT