[spatialite-tools] 01/03: Add patch to not require an extact match between the sqlite3 header and source for spatialite to run. (closes: #743999)
Bas Couwenberg
sebastic at xs4all.nl
Wed Apr 9 22:18:32 UTC 2014
This is an automated email from the git hooks/post-receive script.
sebastic-guest pushed a commit to branch master
in repository spatialite-tools.
commit 4cff0de2026a8010094272bdb1ea5583b0d70c07
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Wed Apr 9 23:55:05 2014 +0200
Add patch to not require an extact match between the sqlite3 header and source for spatialite to run. (closes: #743999)
---
debian/changelog | 8 ++++++++
debian/patches/10-no-sqlite-check.patch | 23 +++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 32 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index b1733f8..8cbc7fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+spatialite-tools (4.1.1-4) UNRELEASED; urgency=low
+
+ * Add patch to not require an extact match between the sqlite3 header
+ and source for spatialite to run.
+ (closes: #743999)
+
+ -- Bas Couwenberg <sebastic at xs4all.nl> Wed, 09 Apr 2014 23:50:20 +0200
+
spatialite-tools (4.1.1-3) unstable; urgency=low
* Add gbp.conf to use pristine-tar by default.
diff --git a/debian/patches/10-no-sqlite-check.patch b/debian/patches/10-no-sqlite-check.patch
new file mode 100644
index 0000000..d5c5813
--- /dev/null
+++ b/debian/patches/10-no-sqlite-check.patch
@@ -0,0 +1,23 @@
+Description: Don't require exact sqlite3 version match.
+ SQLite allows cautious programmers to "insure that the application is
+ compiled with matching library and header files."
+ .
+ spatialite shouldn't require this to allow it run.
+Author: Bas Couwenberg <sebastic at xs4all.nl>
+Bug-Debian: https://bugs.debian.org/743999
+--- a/shell.c
++++ b/shell.c
+@@ -4101,11 +4101,13 @@ int main(int argc, char **argv){
+ int i;
+ int rc = 0;
+
++/* Don't require exact sqlite3 version match
+ if( strcmp(sqlite3_sourceid(),SQLITE_SOURCE_ID)!=0 ){
+ fprintf(stderr, "SQLite header and source version mismatch\n%s\n%s\n",
+ sqlite3_sourceid(), SQLITE_SOURCE_ID);
+ exit(1);
+ }
++*/
+ Argv0 = argv[0];
+ main_init(&data);
+ /*
diff --git a/debian/patches/series b/debian/patches/series
index 4755d83..38a1567 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
07-succesfully-typo.patch
08-indifferently-typo.patch
09-default-typo.patch
+10-no-sqlite-check.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/spatialite-tools.git
More information about the Pkg-grass-devel
mailing list