summaryrefslogtreecommitdiff
path: root/geography/libspatialite/patches
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2015-11-27 14:03:33 +0000
committeradam <adam@pkgsrc.org>2015-11-27 14:03:33 +0000
commit2462d560b9769699da055608b670cb5bc30e3c6b (patch)
treeabe18209218cf82b99fc2f9321a4e97d7fe61ac5 /geography/libspatialite/patches
parentfb5cb490a670f2c3de623f81645a6355751cb0a6 (diff)
downloadpkgsrc-2462d560b9769699da055608b670cb5bc30e3c6b.tar.gz
SpatiaLite is an open source library intended to extend the SQLite core to
support fully fledged Spatial SQL capabilities. SQLite is intrinsically simple and lightweight: * a single lightweight library implementing the full SQL engine * standard SQL implementation: almost complete SQL-92 * no complex client/server architecture * a whole database simply corresponds to a single monolithic file (no size limits) * any DB-file can be safely exchanged across different platforms, because the internal architecture is universally portable * no installation, no configuration SpatiaLite is smoothly integrated into SQLite to provide a complete and powerful Spatial DBMS (mostly OGC-SFS compliant). Using SQLite + SpatiaLite you can effectively deploy an alternative open source Spatial DBMS roughly equivalent to PostgreSQL + PostGIS.
Diffstat (limited to 'geography/libspatialite/patches')
-rw-r--r--geography/libspatialite/patches/patch-configure24
1 files changed, 24 insertions, 0 deletions
diff --git a/geography/libspatialite/patches/patch-configure b/geography/libspatialite/patches/patch-configure
new file mode 100644
index 00000000000..baa9fd3476a
--- /dev/null
+++ b/geography/libspatialite/patches/patch-configure
@@ -0,0 +1,24 @@
+$NetBSD: patch-configure,v 1.1 2015/11/27 14:03:33 adam Exp $
+
+Portability fix.
+
+--- configure.orig 2015-11-26 15:50:52.000000000 +0000
++++ configure
+@@ -17390,7 +17390,7 @@ else
+ enable_geocallbacks=no
+ fi
+
+-if test x"$enable_geocallbacks" == "xyes"; then
++if test x"$enable_geocallbacks" = "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_rtree_geometry_callback in -lsqlite3" >&5
+ $as_echo_n "checking for sqlite3_rtree_geometry_callback in -lsqlite3... " >&6; }
+ if ${ac_cv_lib_sqlite3_sqlite3_rtree_geometry_callback+:} false; then :
+@@ -18544,7 +18544,7 @@ if test x"$enable_geopackage" != "xno";
+ $as_echo "#define ENABLE_GEOPACKAGE 1" >>confdefs.h
+
+ fi
+- if test x"$enable_geopackage" == "xyes"; then
++ if test x"$enable_geopackage" = "xyes"; then
+ ENABLE_GEOPACKAGE_TRUE=
+ ENABLE_GEOPACKAGE_FALSE='#'
+ else