aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPhilipp Kerling <pkerling@casix.org>2018-12-19 10:06:37 +0100
committerPhilipp Kerling <pkerling@casix.org>2018-12-19 10:06:37 +0100
commit74cd46690ed423ba768431aa4c046f45a4f300f9 (patch)
treeed02943b2219b9435e76581a50dac3d23dfd43ee /tools
parentedc90911528c137ec00e568ebb920180e0c01b82 (diff)
[depends] Update sqlite to 3.26.0
The "Magellan" RCE vulnerability for Sqlite was recently announced, albeit without any further details. It is not currently clear whether Kodi is affected, but it is better to be safe in any case. fix-32bits-on-64bits.patch is fixed upstream and therefore removed.
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/target/sqlite3/Makefile10
-rw-r--r--tools/depends/target/sqlite3/fix-32bits-on-64bits.patch11
2 files changed, 3 insertions, 18 deletions
diff --git a/tools/depends/target/sqlite3/Makefile b/tools/depends/target/sqlite3/Makefile
index 2838a89f61..39e5334645 100644
--- a/tools/depends/target/sqlite3/Makefile
+++ b/tools/depends/target/sqlite3/Makefile
@@ -1,19 +1,18 @@
include ../../Makefile.include
-DEPS= ../../Makefile.include Makefile fix-32bits-on-64bits.patch sqlite3.c.patch
+DEPS= ../../Makefile.include Makefile sqlite3.c.patch
# lib name, version
LIBNAME=sqlite
-VERSION=3140200
+VERSION=3260000
SOURCE=$(LIBNAME)-autoconf-$(VERSION)
ARCHIVE=$(SOURCE).tar.gz
# configuration settings
export CXXFLAGS+=-DSQLITE_ENABLE_COLUMN_METADATA=1
export CFLAGS+=-DSQLITE_TEMP_STORE=3 -DSQLITE_DEFAULT_MMAP_SIZE=0x10000000
-export TCLLIBDIR=/dev/null
CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; \
./configure --prefix=$(PREFIX) --disable-shared \
- --enable-threadsafe --disable-tcl --disable-readline \
+ --enable-threadsafe --disable-readline \
LIBDYLIB=$(PLATFORM)/.libs/lib$(LIBNAME)3.a
@@ -25,9 +24,6 @@ $(TARBALLS_LOCATION)/$(ARCHIVE):
$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
-ifeq ($(OS),android)
- cd $(PLATFORM); patch -p0 < ../fix-32bits-on-64bits.patch
-endif
# seems MAP_POPULATE is broken on aarch64
ifneq ($(OS),android)
cd $(PLATFORM); patch -p1 < ../sqlite3.c.patch
diff --git a/tools/depends/target/sqlite3/fix-32bits-on-64bits.patch b/tools/depends/target/sqlite3/fix-32bits-on-64bits.patch
deleted file mode 100644
index cf4d75be1b..0000000000
--- a/tools/depends/target/sqlite3/fix-32bits-on-64bits.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- sqlite3.c.orig 2014-11-19 13:14:16.633721369 +0100
-+++ sqlite3.c 2014-11-19 13:23:23.733711563 +0100
-@@ -25301,7 +25301,7 @@
- #if OS_VXWORKS
- struct vxworksFileId *pId; /* Unique file ID for vxworks. */
- #else
-- ino_t ino; /* Inode number */
-+ unsigned long long ino; /* Inode number */
- #endif
- };
-