From daf6a4074dacdd559839a8a20cd1972723661418 Mon Sep 17 00:00:00 2001
From: "Erlend E. Aasland" <erlend.aasland@protonmail.com>
Date: Fri, 10 Feb 2023 08:25:02 +0100
Subject: [PATCH] gh-101759: Update macOS installer to SQLite 3.40.1
 (GH-101761) (cherry picked from commit
 d40a23c0a11060ba7fa076d50980c18a11a13a40)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
---
 Mac/BuildScript/build-installer.py                          | 6 +++---
 .../macOS/2023-02-09-22-07-17.gh-issue-101759.B0JP2H.rst    | 1 +
 2 files changed, 4 insertions(+), 3 deletions(-)
 create mode 100644 Misc/NEWS.d/next/macOS/2023-02-09-22-07-17.gh-issue-101759.B0JP2H.rst

diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index 91089864dc248b..01e06013f3d171 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -358,9 +358,9 @@ def library_recipes():
                   ),
           ),
           dict(
-              name="SQLite 3.39.4",
-              url="https://sqlite.org/2022/sqlite-autoconf-3390400.tar.gz",
-              checksum="44b7e6691b0954086f717a6c43b622a5",
+              name="SQLite 3.40.1",
+              url="https://sqlite.org/2022/sqlite-autoconf-3400100.tar.gz",
+              checksum="5498af3a357753d473ee713e363fa5b7",
               extra_cflags=('-Os '
                             '-DSQLITE_ENABLE_FTS5 '
                             '-DSQLITE_ENABLE_FTS4 '
diff --git a/Misc/NEWS.d/next/macOS/2023-02-09-22-07-17.gh-issue-101759.B0JP2H.rst b/Misc/NEWS.d/next/macOS/2023-02-09-22-07-17.gh-issue-101759.B0JP2H.rst
new file mode 100644
index 00000000000000..fc53d08bffc4fd
--- /dev/null
+++ b/Misc/NEWS.d/next/macOS/2023-02-09-22-07-17.gh-issue-101759.B0JP2H.rst
@@ -0,0 +1 @@
+Update macOS installer to SQLite 3.40.1.