summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2016-04-02 02:50:48 +0200
committerMike Gilbert <floppym@gentoo.org>2016-04-02 17:30:40 -0400
commit21f0466c6373876309a6c6164659482d9dffe063 (patch)
treee341d737b95c3fe49bbea7ee3446f3d485625e48 /dev-db/sqlite/files/sqlite-3.12.0-nonfull_tarball-build.patch
parentdev-cpp/gccxml: add -std=gnu89 to CFLAGS to restore pre-GCC5 semantics (diff)
downloadgentoo-21f0466c6373876309a6c6164659482d9dffe063.tar.gz
gentoo-21f0466c6373876309a6c6164659482d9dffe063.tar.bz2
gentoo-21f0466c6373876309a6c6164659482d9dffe063.zip
dev-db/sqlite: Version bump (3.12.0).
Diffstat (limited to 'dev-db/sqlite/files/sqlite-3.12.0-nonfull_tarball-build.patch')
-rw-r--r--dev-db/sqlite/files/sqlite-3.12.0-nonfull_tarball-build.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-db/sqlite/files/sqlite-3.12.0-nonfull_tarball-build.patch b/dev-db/sqlite/files/sqlite-3.12.0-nonfull_tarball-build.patch
new file mode 100644
index 00000000000..fe9f70ac007
--- /dev/null
+++ b/dev-db/sqlite/files/sqlite-3.12.0-nonfull_tarball-build.patch
@@ -0,0 +1,14 @@
+Fix building with dlopen() not available.
+
+--- configure.ac
++++ configure.ac
+@@ -89,6 +89,9 @@
+ [], [enable_dynamic_extensions=yes])
+ if test x"$enable_dynamic_extensions" != "xno"; then
+ AC_SEARCH_LIBS(dlopen, dl)
++ if test "${ac_cv_search_dlopen}" = "no" ; then
++ DYNAMIC_EXTENSION_FLAGS=-DSQLITE_OMIT_LOAD_EXTENSION=1
++ fi
+ else
+ DYNAMIC_EXTENSION_FLAGS=-DSQLITE_OMIT_LOAD_EXTENSION=1
+ fi