From owner-dev-commits-ports-main@freebsd.org Mon Jun 14 07:08:50 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2F15D657775; Mon, 14 Jun 2021 07:08:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G3MxZ0fcGz4STw; Mon, 14 Jun 2021 07:08:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F2D671071A; Mon, 14 Jun 2021 07:08:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15E78nXS094700; Mon, 14 Jun 2021 07:08:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15E78nhF094699; Mon, 14 Jun 2021 07:08:49 GMT (envelope-from git) Date: Mon, 14 Jun 2021 07:08:49 GMT Message-Id: <202106140708.15E78nhF094699@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kevin Bowling Subject: git: 48df5fd0d9e3 - main - databases/sqlite3: disable SQLITE_MMAP_READWRITE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 48df5fd0d9e307f159634df6d72dadc57568a563 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2021 07:08:50 -0000 The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/ports/commit/?id=48df5fd0d9e307f159634df6d72dadc57568a563 commit 48df5fd0d9e307f159634df6d72dadc57568a563 Author: Kevin Bowling AuthorDate: 2021-06-14 07:04:08 +0000 Commit: Kevin Bowling 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