Author: beathovn-guest
Date: 2014-09-30 19:43:11 +0000 (Tue, 30 Sep 2014)
New Revision: 18175

Added:
   
trunk/packages/gwyddion/trunk/debian/patches/gwyddion-2.38-stat-tool-save-crash.patch
Modified:
   trunk/packages/gwyddion/trunk/debian/changelog
   trunk/packages/gwyddion/trunk/debian/patches/series
Log:
Adding upstream patch to fix a crash in statistics tool. Uploaded as 2.38-2.

Modified: trunk/packages/gwyddion/trunk/debian/changelog
===================================================================
--- trunk/packages/gwyddion/trunk/debian/changelog      2014-09-30 19:33:33 UTC 
(rev 18174)
+++ trunk/packages/gwyddion/trunk/debian/changelog      2014-09-30 19:43:11 UTC 
(rev 18175)
@@ -1,3 +1,10 @@
+gwyddion (2.38-2) unstable; urgency=medium
+
+  * Include upstream patch to fix a crash when saving results from
+    the statistics tool
+
+ -- Jan Beyer <j...@beathovn.de>  Tue, 30 Sep 2014 21:31:09 +0200
+
 gwyddion (2.38-1) unstable; urgency=medium
 
   * New upstream release

Added: 
trunk/packages/gwyddion/trunk/debian/patches/gwyddion-2.38-stat-tool-save-crash.patch
===================================================================
--- 
trunk/packages/gwyddion/trunk/debian/patches/gwyddion-2.38-stat-tool-save-crash.patch
                               (rev 0)
+++ 
trunk/packages/gwyddion/trunk/debian/patches/gwyddion-2.38-stat-tool-save-crash.patch
       2014-09-30 19:43:11 UTC (rev 18175)
@@ -0,0 +1,15 @@
+Description: This upstream patch fixes a crash when saving results from the 
Statistics tool.
+Forwarded: no
+Author: David Nečas (Yeti) <y...@gwyddion.net>
+
+--- old/modules/tools/stats.c  (revision 16602)
++++ new/modules/tools/stats.c  (working copy)
+@@ -1096,7 +1096,7 @@
+     area = report_data->same_units ? fmt_val(area) : g_strdup(_("N.A."));
+     projarea = fmt_val(projarea);
+ 
+-    vf = gwy_si_unit_get_format_with_digits(siunitarea,
++    vf = gwy_si_unit_get_format_with_digits(siunitvar,
+                                             GWY_SI_UNIT_FORMAT_PLAIN,
+                                             report_data->results.var, 3, vf);
+     var = fmt_val(var);

Modified: trunk/packages/gwyddion/trunk/debian/patches/series
===================================================================
--- trunk/packages/gwyddion/trunk/debian/patches/series 2014-09-30 19:33:33 UTC 
(rev 18174)
+++ trunk/packages/gwyddion/trunk/debian/patches/series 2014-09-30 19:43:11 UTC 
(rev 18175)
@@ -1,2 +1,3 @@
 fix-manpage-section-for-debian.diff
 fix-rpath-issue.patch
+gwyddion-2.38-stat-tool-save-crash.patch


_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to