[spatialite-gui] 01/03: Add patch to fix crash when loading shapefiles

Ross Gammon ross-guest at moszumanska.debian.org
Thu Oct 2 20:03:53 UTC 2014


This is an automated email from the git hooks/post-receive script.

ross-guest pushed a commit to branch master
in repository spatialite-gui.

commit 69c853f1163e49fc1dc15c6c4b99e00f38fe3934
Author: Ross Gammon <rossgammon at mail.dk>
Date:   Thu Oct 2 20:16:28 2014 +0200

    Add patch to fix crash when loading shapefiles
    
    Closes: #761629
    Thanks: Alessandro Furieri
---
 debian/patches/05-setlocale.patch | 17 +++++++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/05-setlocale.patch b/debian/patches/05-setlocale.patch
new file mode 100644
index 0000000..fa95442
--- /dev/null
+++ b/debian/patches/05-setlocale.patch
@@ -0,0 +1,17 @@
+From: Alessandro Furieri <a.furieri at lqt.it>
+Subject: Fix crash when using wxWidgets3.0
+
+* Main.cpp: Use setlocale because wxWidgets does not seem to do it anymore
+
+Origin: upstream, email
+Bug-Debian: http://bugs.debian.org/761629
+--- spatialite-gui.orig/Main.cpp
++++ spatialite-gui/Main.cpp
+@@ -104,6 +104,7 @@
+ //
+ // main GUI frame constructor
+ //
++  setlocale(LC_ALL, "");
+   MemoryDatabase = false;
+   AutoSaveInterval = 0;
+   LastTotalChanges = 0;
diff --git a/debian/patches/series b/debian/patches/series
index 1e72a8a..99a735a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+05-setlocale.patch
 00-fix_buildsystem.patch
 01-fix_binary_name.patch
 02-fix_typos.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