[Bug 241385] [PATCH] databases/sqlite3: enable OS features
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Oct 20 23:19:36 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241385
Bug ID: 241385
Summary: [PATCH] databases/sqlite3: enable OS features
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: rozhuk.im at gmail.com
CC: pavelivolkov at gmail.com
Flags: maintainer-feedback?(pavelivolkov at gmail.com)
CC: pavelivolkov at gmail.com
Created attachment 208474
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=208474&action=edit
patch
Make script from sqlite3 a bit outdated and does not detect all OS features
that can be used by sqlite3.
For example it does not detect pread()/pwrite() and sqlite3 use lseek()+read()
instead of pread().
I walk trough all code and collect all HAVE_* switches that available on
FreeBSD.
PS: also
+ -DSQLITE_MAX_MMAP_SIZE=0x7fff0000 \
+ -DSQLITE_DEFAULT_MMAP_SIZE=0x7fff0000 \
can be set to force use mmap() instead of pread()/pwrite() but is not safe.
https://www.sqlite.org/mmap.html
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list