Skip to content

Commit

Permalink
Try pin sqlite3 to latest (3.42 -> 3.44)
Browse files Browse the repository at this point in the history
  • Loading branch information
olsen232 committed Nov 8, 2023
1 parent f32736d commit ea3183b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ index 1884b08..0d191be 100644
+++ b/sqlite3.c
@@ -20,6 +20,7 @@
** The content in this amalgamation comes from Fossil check-in
** d3a40c05c49e1a49264912b1a05bc2143ac.
** 17129ba1ff7f0daf37100ee82d507aef7827.
*/
+#include "sqlite3-vcpkg-config.h"
#define SQLITE_CORE 1
Expand Down
3 changes: 2 additions & 1 deletion vcpkg-vendor/vcpkg-overlay-ports/sqlite3/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
set(VERSION 3.44.0)
string(REGEX REPLACE "^([0-9]+)[.]([0-9]+)[.]([0-9]+)[.]([0-9]+)" "\\1,0\\2,0\\3,0\\4," SQLITE_VERSION "${VERSION}.0")
string(REGEX REPLACE "^([0-9]+),0*([0-9][0-9]),0*([0-9][0-9]),0*([0-9][0-9])," "\\1\\2\\3\\4" SQLITE_VERSION "${SQLITE_VERSION}")

vcpkg_download_distfile(ARCHIVE
URLS "https://sqlite.org/2023/sqlite-amalgamation-${SQLITE_VERSION}.zip"
FILENAME "sqlite-amalgamation-${SQLITE_VERSION}.zip"
SHA512 f17810f3b68b7f77a174503a863385a17bac0e9c819b9813cb75597cbd229ae8ad0b545410fc320669f377e79ab8412bbff8863f197d0f804c3a05b573df57e9
SHA512 b24d3862885818d3409967ff434f4b84133531bc87dd26bc1af941ae721baa9b4ad1d527014e63f03e59c34ffdc204a1a28a83d7a9517080531059eaac45668c
)

vcpkg_extract_source_archive(
Expand Down

0 comments on commit ea3183b

Please sign in to comment.