[spatialite-gui] 01/03: Add patch to fix FTBFS with GCC 7. (closes: #853667)
Bas Couwenberg
sebastic at debian.org
Wed Oct 18 17:31:07 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository spatialite-gui.
commit f4e2cc5f0e0ee7f2e198b887c94cd0d7e89d934a
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Wed Oct 18 19:09:18 2017 +0200
Add patch to fix FTBFS with GCC 7. (closes: #853667)
---
debian/changelog | 7 +++++++
debian/patches/gcc-7.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
3 files changed, 24 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 65671b7..c8e911c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+spatialite-gui (2.0.0~devel2-8) UNRELEASED; urgency=medium
+
+ * Add patch to fix FTBFS with GCC 7.
+ (closes: #853667)
+
+ -- Bas Couwenberg <sebastic at debian.org> Wed, 18 Oct 2017 19:08:54 +0200
+
spatialite-gui (2.0.0~devel2-7) unstable; urgency=medium
* Add patch to fix FTBFS with OpenJPEG 2.3.
diff --git a/debian/patches/gcc-7.patch b/debian/patches/gcc-7.patch
new file mode 100644
index 0000000..5351194
--- /dev/null
+++ b/debian/patches/gcc-7.patch
@@ -0,0 +1,16 @@
+Description: Fix FTBFS with GCC 7.
+Author: Alessandro Furieri <a.furieri at lqt.it>
+Origin: https://www.gaia-gis.it/fossil/spatialite_gui/fdiff?v1=78060ac75797c6bb&v2=d7a4a13c171c06f5&sbs=1
+Bug-Debian: https://bugs.debian.org/853667
+
+--- a/ResultSetView.cpp
++++ b/ResultSetView.cpp
+@@ -494,7 +494,7 @@ const char *MyResultSetView::CleanSqlTai
+ {
+ // strips any leading white-space
+ const char *p = dirty;
+- while (p != '\0')
++ while (*p != '\0')
+ {
+ if (*p == ' ')
+ {
diff --git a/debian/patches/series b/debian/patches/series
index f0130d5..c44194e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ install-icons.patch
install-icons2.patch
openjp-2.2.patch
openjp-2.3.patch
+gcc-7.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/spatialite-gui.git
More information about the Pkg-grass-devel
mailing list