sqlite: bump to version 3.7.17
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 28 May 2013 02:17:32 +0000 (02:17 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 28 May 2013 21:26:58 +0000 (23:26 +0200)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/sqlite/sqlite-dont-force-posix-fallocate.patch [new file with mode: 0644]
package/sqlite/sqlite.mk

diff --git a/package/sqlite/sqlite-dont-force-posix-fallocate.patch b/package/sqlite/sqlite-dont-force-posix-fallocate.patch
new file mode 100644 (file)
index 0000000..118001b
--- /dev/null
@@ -0,0 +1,23 @@
+This is checked by configure and passed as a define directive when building.
+There's no need to check again and potentially override a failed check
+(uClibc <= 0.9.33.2 for example lacks posix_fallocate).
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura sqlite-autoconf-3071700.orig/sqlite3.c sqlite-autoconf-3071700/sqlite3.c
+--- sqlite-autoconf-3071700.orig/sqlite3.c     2013-05-23 03:17:27.170459400 -0300
++++ sqlite-autoconf-3071700/sqlite3.c  2013-05-23 03:25:01.839227616 -0300
+@@ -22931,13 +22931,6 @@
+ */
+ #if SQLITE_OS_UNIX              /* This file is used on unix only */
+
+-/* Use posix_fallocate() if it is available
+-*/
+-#if !defined(HAVE_POSIX_FALLOCATE) \
+-      && (_XOPEN_SOURCE >= 600 || _POSIX_C_SOURCE >= 200112L)
+-# define HAVE_POSIX_FALLOCATE 1
+-#endif
+-
+ /*
+ ** There are various methods for file locking used for concurrency
+ ** control:
index 8eb6b2f76c0ec10f4cbfc57ab300e50272e7a2ad..39a39d0c547cb53eb40fb8ad5d051335ab2a42a9 100644 (file)
@@ -4,9 +4,9 @@
 #
 #############################################################
 
-SQLITE_VERSION = 3071401
+SQLITE_VERSION = 3071700
 SQLITE_SOURCE = sqlite-autoconf-$(SQLITE_VERSION).tar.gz
-SQLITE_SITE = http://www.sqlite.org
+SQLITE_SITE = http://www.sqlite.org/2013
 SQLITE_LICENSE = Public domain
 SQLITE_INSTALL_STAGING = YES