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 <rossgam...@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.furi...@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

_______________________________________________
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