git: 48df5fd0d9e3 - main - databases/sqlite3: disable SQLITE_MMAP_READWRITE

Kevin Bowling kbowling at FreeBSD.org
Mon Jun 14 07:08:50 UTC 2021


The branch main has been updated by kbowling:

URL: https://cgit.FreeBSD.org/ports/commit/?id=48df5fd0d9e307f159634df6d72dadc57568a563

commit 48df5fd0d9e307f159634df6d72dadc57568a563
Author:     Kevin Bowling <kbowling at FreeBSD.org>
AuthorDate: 2021-06-14 07:04:08 +0000
Commit:     Kevin Bowling <kbowling at FreeBSD.org>
CommitDate: 2021-06-14 07:08:14 +0000

    databases/sqlite3: disable SQLITE_MMAP_READWRITE
    
    Although mmap is not in use by default, this option is too specific to
    enable in the system sqlite3. There are cases where the
    application/developer may wish to use mmap for reads (to minimize the
    sqlite pagecache), but go through the well tested (p)write routines.
---
 databases/sqlite3/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index b076d5ab0505..d5335e4c0841 100644
--- a/databases/sqlite3/Makefile
+++ b/databases/sqlite3/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	sqlite3
 DISTVERSION=	3.35.5
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH=	1
 CATEGORIES=	databases
 MASTER_SITES=	https://www.sqlite.org/${%Y:L:gmtime}/ https://www2.sqlite.org/${%Y:L:gmtime}/ https://www3.sqlite.org/${%Y:L:gmtime}/
@@ -202,7 +202,6 @@ CPPFLAGS+=	-DHAVE_FCHOWN=1 \
 		-DHAVE_STRCHRNUL=1 \
 		-DHAVE_STRERROR_R=1 \
 		-DHAVE_READLINK=1 \
-		-DSQLITE_MMAP_READWRITE=1 \
 		-DSQLITE_OS_UNIX=1
 CFLAGS_powerpc64le=	-DSQLITE_BYTEORDER=1234
 


More information about the dev-commits-ports-main mailing list