From owner-dev-commits-ports-all@freebsd.org Sun Jun 13 23:18:16 2021 Return-Path: Delivered-To: dev-commits-ports-all@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 9AF27654CF1; Sun, 13 Jun 2021 23:18:16 +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 4G39Vc3jGxz3M3k; Sun, 13 Jun 2021 23:18:16 +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 638581F57; Sun, 13 Jun 2021 23:18:16 +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 15DNIGFG068292; Sun, 13 Jun 2021 23:18:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15DNIGtu068291; Sun, 13 Jun 2021 23:18:16 GMT (envelope-from git) Date: Sun, 13 Jun 2021 23:18:16 GMT Message-Id: <202106132318.15DNIGtu068291@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: f7e91e1e0fe3 - main - databases/sqlite3: enable OS features 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: f7e91e1e0fe3860f53a83a180b1643fa45ea2c33 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jun 2021 23:18:16 -0000 The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/ports/commit/?id=f7e91e1e0fe3860f53a83a180b1643fa45ea2c33 commit f7e91e1e0fe3860f53a83a180b1643fa45ea2c33 Author: Rozhuk Ivan AuthorDate: 2021-06-13 21:42:36 +0000 Commit: Kevin Bowling CommitDate: 2021-06-13 23:17:44 +0000 databases/sqlite3: enable OS features Enable various FreeBSD API options and go-fasters The only one of these that raised concern is related to mmap, but this compile time flag will not enable mmap usage on its own. There is a test failure on ZFS with posix_fallocate(), leave that off for now. PR: 241385 Tested by: kbowling (test harness https://www.sqlite.org/testing.html) Approved by: maintainer timeout --- databases/sqlite3/Makefile | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile index d0d346518849..b076d5ab0505 100644 --- a/databases/sqlite3/Makefile +++ b/databases/sqlite3/Makefile @@ -2,7 +2,7 @@ PORTNAME= sqlite3 DISTVERSION= 3.35.5 -PORTREVISION= 1 +PORTREVISION= 2 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}/ @@ -188,7 +188,22 @@ URI_AUTHORITY_CPPFLAGS= -DSQLITE_ALLOW_URI_AUTHORITY=1 .include # Platform Configuration -CPPFLAGS+= -DHAVE_ISNAN=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_USLEEP=1 -DHAVE_STRCHRNUL=1 +# -DHAVE_POSIX_FALLOCATE=1 not yet, chunksize.test ZFS failure chunksize-1.2 expected: [32768] got: [2048] +CPPFLAGS+= -DHAVE_FCHOWN=1 \ + -DHAVE_FDATASYNC=1 \ + -DHAVE_ISNAN=1 \ + -DHAVE_GMTIME_R=1 \ + -DHAVE_LOCALTIME_R=1 \ + -DHAVE_LSTAT=1 \ + -DHAVE_MALLOC_USABLE_SIZE=1 \ + -DHAVE_PREAD=1 \ + -DHAVE_PWRITE=1 \ + -DHAVE_USLEEP=1 \ + -DHAVE_STRCHRNUL=1 \ + -DHAVE_STRERROR_R=1 \ + -DHAVE_READLINK=1 \ + -DSQLITE_MMAP_READWRITE=1 \ + -DSQLITE_OS_UNIX=1 CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234 # For compare with checksum from of the site. Now, this is a NIST SHA3-256 hash. sha256 not suitable for compare.