sqlite: update to 3.49.1

This commit is contained in:
Rudi Heitbaum 2025-02-07 05:00:45 +00:00
parent 48f2e75607
commit d817abb24c
2 changed files with 5 additions and 7 deletions

View File

@ -3,9 +3,9 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="sqlite"
PKG_VERSION="3.48.0"
PKG_VERSION="3.49.1"
PKG_VERSION_SQLITE="${PKG_VERSION/./}00"
PKG_SHA256="ac992f7fca3989de7ed1fe99c16363f848794c8c32a158dafd4eb927a2e02fd5"
PKG_SHA256="106642d8ccb36c5f7323b64e4152e9b719f7c0215acf5bfeac3d5e7f97b59254"
PKG_LICENSE="PublicDomain"
PKG_SITE="https://www.sqlite.org/"
PKG_URL="https://www.sqlite.org/2025/${PKG_NAME}-autoconf-${PKG_VERSION_SQLITE/./0}.tar.gz"
@ -18,9 +18,7 @@ PKG_BUILD_FLAGS="+pic +pic:host -parallel"
PKG_CONFIGURE_OPTS_TARGET="--disable-static \
--enable-shared \
--disable-readline \
--enable-threadsafe \
--enable-dynamic-extensions \
--with-gnu-ld"
--enable-threadsafe"
pre_configure_target() {
# sqlite fails to compile with fast-math link time optimization.

View File

@ -2,7 +2,7 @@ diff --git a/sqlite3.c b/sqlite3.c
index d0057a6..63b80c7 100644
--- a/sqlite3.c
+++ b/sqlite3.c
@@ -28278,7 +28278,7 @@ static void unixRemapfile(
@@ -43925,7 +43925,7 @@ static void unixRemapfile(
pNew = osMremap(pOrig, nReuse, nNew, MREMAP_MAYMOVE);
zErr = "mremap";
#else
@ -11,7 +11,7 @@ index d0057a6..63b80c7 100644
if( pNew!=MAP_FAILED ){
if( pNew!=pReq ){
osMunmap(pNew, nNew - nReuse);
@@ -28297,7 +28297,7 @@ static void unixRemapfile(
@@ -43944,7 +43944,7 @@ static void unixRemapfile(
/* If pNew is still NULL, try to create an entirely new mapping. */
if( pNew==0 ){