deno 2.2.0 wants the session extension (https://sqlite.org/sessionintro.html)
enabled in sqlite3. Probably there's a way to disable that in deno if need be,
but the extension seems innocent enough to enable it in the sqlite3 port.

Opinions? Builds and works on arm64 and amd64...
Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/sqlite3/Makefile,v
diff -u -p -r1.134 Makefile
--- Makefile    30 Jan 2025 08:16:03 -0000      1.134
+++ Makefile    19 Feb 2025 18:08:05 -0000
@@ -2,10 +2,10 @@ COMMENT=      embedded SQL implementation
 
 DISTNAME =     sqlite-autoconf-3480000
 PKGNAME=       sqlite3-3.48.0
-REVISION=      0
+REVISION=      1
 
 # XXX needs bumps every time :-
-SHARED_LIBS +=  sqlite3                   37.30 # 8.6
+SHARED_LIBS +=  sqlite3                   38.00 # 8.6
 # sqlite suggests that users might like to assert() that library and header
 # versions match, so bumps are needed even if function signatures don't change.
 # ... at the current time the only one noticed is a < check (in subversion)
@@ -35,7 +35,9 @@ CONFIGURE_ARGS +=     --enable-fts5
 CFLAGS+=       -DSQLITE_ENABLE_UNLOCK_NOTIFY \
                -DSQLITE_ENABLE_FTS3 \
                -DSQLITE_ENABLE_DBSTAT_VTAB \
-               -DSQLITE_ENABLE_COLUMN_METADATA=1
+               -DSQLITE_ENABLE_COLUMN_METADATA=1 \
+               -DSQLITE_ENABLE_SESSION \
+               -DSQLITE_ENABLE_PREUPDATE_HOOK
 
 BUILD_DEPENDS =        converters/sqlite2mdoc
 post-install:

Reply via email to