Skip to content

Commit ab736af

Browse files
committed
Revert "Bump SQLite from 3.48.0 to 3.49.0"
This reverts commit 79f644d. There is an issue where DB4S does not build with this version, so we are temporarily reverting it until the issue is resolved.
1 parent 63b7ce3 commit ab736af

File tree

2 files changed

+11
-243
lines changed

2 files changed

+11
-243
lines changed

Formula/sqlb-sqlite.rb

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
class SqlbSqlite < Formula
22
desc "Command-line interface for SQLite"
33
homepage "https://sqlite.org/index.html"
4-
url "https://www.sqlite.org/2025/sqlite-autoconf-3490000.tar.gz"
5-
version "3.49.0"
6-
sha256 "4d8bfa0b55e36951f6e5a9fb8c99f3b58990ab785c57b4f84f37d163a0672759"
4+
url "https://www.sqlite.org/2025/sqlite-autoconf-3480000.tar.gz"
5+
version "3.48.0"
6+
sha256 "ac992f7fca3989de7ed1fe99c16363f848794c8c32a158dafd4eb927a2e02fd5"
77
license "blessing"
88
env :std
99

1010
bottle do
1111
root_url "https://nightlies.sqlitebrowser.org/homebrew_bottles"
1212
rebuild 1
13-
sha256 cellar: :any, arm64_sonoma: "9436a0ca1e59bc451ae5dcb682947d1c009f8203443b99d5eb4882cf798ae4c2"
13+
sha256 cellar: :any, arm64_sonoma: "e6b03a12f5d0392595b99b1564dbbc027f4517fcc578517be2b0641985f4a9e9"
1414
end
1515

1616
livecheck do
@@ -25,13 +25,6 @@ class SqlbSqlite < Formula
2525

2626
depends_on arch: :arm64
2727

28-
# Fix bugs occuring in SQLite version 3.9.0
29-
# Upstream discussion: https://sqlite.org/forum/forumpost/a179331cbb
30-
patch do
31-
url "https://raw.githubusercontent.com/sqlitebrowser/homebrew-tap/refs/heads/main/Patches/sqlb-sqlite_3.9.0_autoconf-fix.patch"
32-
sha256 "88186f292c2739ba1905d6493ec3ef0211f63760dcbade37a14d6112899ba9cf"
33-
end
34-
3528
def install
3629
# Determine the minimum macOS version.
3730
# Match the required version of the DB Browser for SQLite app.
@@ -64,15 +57,15 @@ def install
6457
-DSQLITE_USE_URI=1
6558
].join(" ")
6659

67-
args = [
68-
"--disable-readline",
69-
"--disable-editline",
70-
"--enable-session",
71-
"--with-readline-cflags=-I#{Formula["readline"].opt_include}",
72-
"--with-readline-ldflags=-L#{Formula["readline"].opt_lib} -lreadline",
60+
args = %W[
61+
--prefix=#{prefix}
62+
--disable-dependency-tracking
63+
--enable-dynamic-extensions
64+
--disable-readline
65+
--disable-editline
7366
]
7467

75-
system "./configure", *args, *std_configure_args
68+
system "./configure", *args
7669
system "make", "install"
7770

7871
# Avoid rebuilds of dependants that hardcode this path.

Patches/sqlb-sqlite_3.9.0_autoconf-fix.patch

Lines changed: 0 additions & 225 deletions
This file was deleted.

0 commit comments

Comments
 (0)