[SCM] spatialite-tools branch, master, updated. debian/4.0.0-1-13-g56f5286
Bas Couwenberg
sebastic at xs4all.nl
Mon Sep 30 01:49:08 UTC 2013
The following commit has been merged in the master branch:
commit 56f5286163c3b41ab65e846046b89b22f5513b0e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Mon Sep 30 03:21:06 2013 +0200
Properly link to sqlite3.
diff --git a/debian/changelog b/debian/changelog
index bac68d0..6639242 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ spatialite-tools (4.1.1-1) UNRELEASED; urgency=low
* Use canonical URLs for Vcs-* fields.
* Update Homepage URL.
* Update copyright file.
+ * Properly link sqlite3. (closes: #713644)
-- Bas Couwenberg <sebastic at xs4all.nl> Mon, 30 Sep 2013 02:35:52 +0200
diff --git a/debian/patches/06-link-sqlite3.patch b/debian/patches/06-link-sqlite3.patch
new file mode 100644
index 0000000..6733a99
--- /dev/null
+++ b/debian/patches/06-link-sqlite3.patch
@@ -0,0 +1,25 @@
+Description: Link to sqlite3 library.
+Author: Bas Couwenberg <sebastic at xs4all.nl>
+Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713644
+Last-Update: 2013-09-30
+--- a/configure.ac
++++ b/configure.ac
+@@ -65,6 +65,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 programs.
+ AC_PROG_CXX
+@@ -92,6 +94,9 @@ 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_CONFIG_FILES([Makefile])
+
+ #-----------------------------------------------------------------------
diff --git a/debian/patches/series b/debian/patches/series
index 2308cf9..903308e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
00-add_automake_foreign.patch
03-fix_typos.patch
#05-dont_relink.patch
+06-link-sqlite3.patch
--
Spatialite Tools
More information about the Pkg-grass-devel
mailing list