The following commit has been merged in the master branch:
commit eba84485bfed56c9acf77cd05bb207aa133a4e9b
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Mon Sep 30 22:36:19 2013 +0200

    Add patch to link properly link sqlite3.

diff --git a/debian/changelog b/debian/changelog
index 11a75ff..726312a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ spatialite-gui (1.7.1-1) UNRELEASED; urgency=low
   * Update minimum libspatialite version to 4.1.0.
   * Update minimum libgaiagraphics version to 0.5.
   * Add build dependency on libxml2-dev.
+  * Add patch to link properly link sqlite3.
 
  -- Bas Couwenberg <sebas...@xs4all.nl>  Mon, 30 Sep 2013 19:30:46 +0200
 
diff --git a/debian/patches/03-link-sqlite3.patch 
b/debian/patches/03-link-sqlite3.patch
new file mode 100644
index 0000000..93db6ce
--- /dev/null
+++ b/debian/patches/03-link-sqlite3.patch
@@ -0,0 +1,24 @@
+Description: Link to sqlite3 library.
+Author: Bas Couwenberg <sebas...@xs4all.nl>
+Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713644
+Last-Update: 2013-09-30
+--- a/configure.ac
++++ b/configure.ac
+@@ -70,6 +70,8 @@ AC_CHECK_HEADERS(stddef.h,, [AC_MSG_ERRO
+ AC_CHECK_HEADERS(stdint.h,, [AC_MSG_ERROR([cannot find stdint.h, bailing 
out])])
+ AC_CHECK_HEADERS(sys/time.h,, [AC_MSG_ERROR([cannot find sys/time.h, bailing 
out])])
+ AC_CHECK_HEADERS(unistd.h,, [AC_MSG_ERROR([cannot find unistd.h, bailing 
out])])
++AC_CHECK_HEADERS(sqlite3.h,, [AC_MSG_ERROR([cannot find sqlite3.h, bailing 
out])])
++AC_CHECK_HEADERS(sqlite3ext.h,, [AC_MSG_ERROR([cannot find sqlite3ext.h, 
bailing out])])
+ 
+ # Checks for typedefs, structures, and compiler characteristics.
+ AC_C_CONST
+@@ -87,6 +89,8 @@ AC_FUNC_STAT
+ AC_FUNC_STRFTIME
+ AC_CHECK_FUNCS([memset sqrt strcasecmp strerror strncasecmp strstr fdatasync 
ftruncate getcwd gettimeofday localtime_r memmove strerror])
+ 
++# Checks for installed libraries
++AC_CHECK_LIB(sqlite3,sqlite3_prepare_v2,,AC_MSG_ERROR(['libsqlite3' is 
required but it doesn't seem to be installed on this system.]),-lm)
+ AC_CHECK_LIB(proj,pj_init_plus,,AC_MSG_ERROR(['libproj' is required but it 
doesn't seem to be installed on this system.]),-lm)
+ 
+ #-----------------------------------------------------------------------
diff --git a/debian/patches/series b/debian/patches/series
index c798e5e..b8c0f86 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 00-fix_buildsystem.patch
 01-fix_binary_name.patch
 02-fix_typos.patch
+03-link-sqlite3.patch

-- 
user-friendly graphical user interface for spatialite

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to