summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2010-01-22 11:33:30 +0000
committerBen de Groot <yngwin@gentoo.org>2010-01-22 11:33:30 +0000
commit9906e219d106ab6f7dbde7d162304f960d181eaa (patch)
tree48fc1e3892b9bb9e8f99311ddd0e5966d890c987 /dev-db/sqlite/files
parentRemove old. (diff)
downloadgentoo-2-9906e219d106ab6f7dbde7d162304f960d181eaa.tar.gz
gentoo-2-9906e219d106ab6f7dbde7d162304f960d181eaa.tar.bz2
gentoo-2-9906e219d106ab6f7dbde7d162304f960d181eaa.zip
Adding dlopen.patch from Alexandre Rostovtsev in bug 300836 to fix link failure with extensions enabled.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/sqlite/files')
-rw-r--r--dev-db/sqlite/files/sqlite-3.6.22-dlopen.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-db/sqlite/files/sqlite-3.6.22-dlopen.patch b/dev-db/sqlite/files/sqlite-3.6.22-dlopen.patch
new file mode 100644
index 000000000000..01375bf85c57
--- /dev/null
+++ b/dev-db/sqlite/files/sqlite-3.6.22-dlopen.patch
@@ -0,0 +1,11 @@
+diff -ru sqlite-3.6.22/configure.ac sqlite-3.6.22.new/configure.ac
+--- sqlite-3.6.22/configure.ac 2009-11-16 13:27:54.000000000 -0500
++++ sqlite-3.6.22.new/configure.ac 2010-01-13 12:21:27.092738446 -0500
+@@ -637,6 +637,7 @@
+ [use_loadextension=$enableval],[use_loadextension=no])
+ if test "${use_loadextension}" = "yes" ; then
+ OPT_FEATURE_FLAGS=""
++ AC_SEARCH_LIBS(dlopen, dl)
+ else
+ OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
+ fi