diff --git a/ports/sqlite3/add-config-include.patch b/ports/sqlite3/add-config-include.patch index df4b817213..7942c9cf36 100644 --- a/ports/sqlite3/add-config-include.patch +++ b/ports/sqlite3/add-config-include.patch @@ -1,17 +1,17 @@ diff --git a/sqlite3.c b/sqlite3.c -index 1884b08..0d191be 100644 +index a1fbd60..68a4e21 100644 --- a/sqlite3.c +++ b/sqlite3.c -@@ -20,6 +20,7 @@ - ** The content in this amalgamation comes from Fossil check-in - ** d3a40c05c49e1a49264912b1a05bc2143ac. +@@ -22,6 +22,7 @@ */ -+#include "sqlite3-vcpkg-config.h" #define SQLITE_CORE 1 #define SQLITE_AMALGAMATION 1 ++#include "sqlite3-vcpkg-config.h" #ifndef SQLITE_PRIVATE + # define SQLITE_PRIVATE static + #endif diff --git a/sqlite3.h b/sqlite3.h -index b9d0692..698c410 100644 +index 0376113..271cf53 100644 --- a/sqlite3.h +++ b/sqlite3.h @@ -32,6 +32,7 @@ diff --git a/ports/sqlite3/portfile.cmake b/ports/sqlite3/portfile.cmake index 5d4a6f987a..18375f3ee0 100644 --- a/ports/sqlite3/portfile.cmake +++ b/ports/sqlite3/portfile.cmake @@ -4,7 +4,7 @@ string(REGEX REPLACE "^([0-9]+),0*([0-9][0-9]),0*([0-9][0-9]),0*([0-9][0-9])," " vcpkg_download_distfile(ARCHIVE URLS "https://sqlite.org/2023/sqlite-amalgamation-${SQLITE_VERSION}.zip" FILENAME "sqlite-amalgamation-${SQLITE_VERSION}.zip" - SHA512 f17810f3b68b7f77a174503a863385a17bac0e9c819b9813cb75597cbd229ae8ad0b545410fc320669f377e79ab8412bbff8863f197d0f804c3a05b573df57e9 + SHA512 5ef0e65ee92a088187376fa82ccb182dffa35391dd4dbcb3fafeb0a6f1602ced1e212753837079a9cad007d73d3f5b8a67ca1a6596eba6cf0c695052fa307392 ) vcpkg_extract_source_archive( @@ -70,6 +70,9 @@ vcpkg_cmake_configure( -DPKGCONFIG_VERSION=${VERSION} OPTIONS_DEBUG -DSQLITE3_SKIP_TOOLS=ON + MAYBE_UNUSED_VARIABLES + SQLITE_ENABLE_FTS5 + SQLITE_ENABLE_MATH_FUNCTIONS ) vcpkg_cmake_install() diff --git a/ports/sqlite3/vcpkg.json b/ports/sqlite3/vcpkg.json index 31540cdf33..c1ae47d06d 100644 --- a/ports/sqlite3/vcpkg.json +++ b/ports/sqlite3/vcpkg.json @@ -1,6 +1,6 @@ { "name": "sqlite3", - "version": "3.43.1", + "version": "3.43.2", "description": "SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.", "homepage": "https://sqlite.org/", "license": "blessing", diff --git a/versions/baseline.json b/versions/baseline.json index b8c4eeaa55..d9c0d33380 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -8081,7 +8081,7 @@ "port-version": 0 }, "sqlite3": { - "baseline": "3.43.1", + "baseline": "3.43.2", "port-version": 0 }, "sqlitecpp": { diff --git a/versions/s-/sqlite3.json b/versions/s-/sqlite3.json index ef71f41ebc..64334b9ce5 100644 --- a/versions/s-/sqlite3.json +++ b/versions/s-/sqlite3.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "45ea1b638c4911a25f145365f06a11802b12c81e", + "version": "3.43.2", + "port-version": 0 + }, { "git-tree": "6497ccc9668ca1e0b17a080b01e8585b33660336", "version": "3.43.1",