SQLite allows the use of dynamically loadable extension modules. See http://www.sqlite.org/cvstrac/wiki?p=LoadableExtensions The feature can be a potential security risk and is in the somewhat experimental stage right now, but can be enabled by adding TCC += -DSQLITE_OMIT_LOAD_EXTENSION=1 to Makefile.in I suggest it be made a package-specific USE flag to allow those who wish to use this feature to compile it in. Reproducible: Always Steps to Reproduce:
Created attachment 214339 [details, diff] Patch for sqlite 3.6.21 ebuild.
I have added "extensions" USE flag.