Date: Sun, 20 Oct 2019 23:19:35 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 241385] [PATCH] databases/sqlite3: enable OS features Message-ID: <bug-241385-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241385 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@FreeBSD.org Reporter: rozhuk.im@gmail.com CC: pavelivolkov@gmail.com Flags: maintainer-feedback?(pavelivolkov@gmail.com) CC: pavelivolkov@gmail.com Created attachment 208474 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D208474&action= =3Dedit 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()+rea= d() instead of pread(). I walk trough all code and collect all HAVE_* switches that available on FreeBSD. PS: also + -DSQLITE_MAX_MMAP_SIZE=3D0x7fff0000 \ + -DSQLITE_DEFAULT_MMAP_SIZE=3D0x7fff0000 \ can be set to force use mmap() instead of pread()/pwrite() but is not safe. https://www.sqlite.org/mmap.html --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241385-7788>