Date: Sun, 13 Jun 2021 23:18:16 GMT From: Kevin Bowling <kbowling@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: f7e91e1e0fe3 - main - databases/sqlite3: enable OS features Message-ID: <202106132318.15DNIGtu068291@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/ports/commit/?id=f7e91e1e0fe3860f53a83a180b1643fa45ea2c33 commit f7e91e1e0fe3860f53a83a180b1643fa45ea2c33 Author: Rozhuk Ivan <rozhuk.im@gmail.com> AuthorDate: 2021-06-13 21:42:36 +0000 Commit: Kevin Bowling <kbowling@FreeBSD.org> 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 <bsd.port.options.mk> # 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106132318.15DNIGtu068291>