[med-svn] r2885 - in trunk/packages/gwyddion/trunk/debian: . patches

beathovn-guest at alioth.debian.org beathovn-guest at alioth.debian.org
Tue Dec 30 20:55:20 UTC 2008


Author: beathovn-guest
Date: 2008-12-30 20:55:20 +0000 (Tue, 30 Dec 2008)
New Revision: 2885

Added:
   trunk/packages/gwyddion/trunk/debian/patches/fix-crash-on-no-mask-present_svn8911.patch
Modified:
   trunk/packages/gwyddion/trunk/debian/changelog
   trunk/packages/gwyddion/trunk/debian/patches/series
Log:
Backported one of upstream's more important patches.

Modified: trunk/packages/gwyddion/trunk/debian/changelog
===================================================================
--- trunk/packages/gwyddion/trunk/debian/changelog	2008-12-30 20:54:37 UTC (rev 2884)
+++ trunk/packages/gwyddion/trunk/debian/changelog	2008-12-30 20:55:20 UTC (rev 2885)
@@ -3,6 +3,9 @@
   * New upstream release.
   * Updating debian/copyright.
   * Recreating debian/patches/fix-rpath-issue.patch.
+  * Added a patch from upstream's SVN (commit 8911,
+    fix-crash-on-no-mask-present_svn8911.patch) fixing a possible crash when no
+    mask is present.
   * debian/control:
     - set policy version 3.8.0 for real.
     - improve short descriptions.
@@ -16,7 +19,7 @@
       empty anyway.
     - removing config.log explicitly in clean target is no longer necessary.
 
- -- Jan Beyer <jan at beathovn.de>  Thu, 25 Dec 2008 21:50:15 +0100
+ -- Jan Beyer <jan at beathovn.de>  Tue, 30 Dec 2008 21:28:22 +0100
 
 gwyddion (2.10-1) unstable; urgency=low
 

Added: trunk/packages/gwyddion/trunk/debian/patches/fix-crash-on-no-mask-present_svn8911.patch
===================================================================
--- trunk/packages/gwyddion/trunk/debian/patches/fix-crash-on-no-mask-present_svn8911.patch	                        (rev 0)
+++ trunk/packages/gwyddion/trunk/debian/patches/fix-crash-on-no-mask-present_svn8911.patch	2008-12-30 20:55:20 UTC (rev 2885)
@@ -0,0 +1,24 @@
+Author: David Necas
+Source: upstream's SVN commit 8911
+Description: Fixes a possible crash when no mask is present due to 
+missing initialization.
+--- gwyddion/modules/process/polylevel.c
++++ gwyddion/modules/process/polylevel.c
+@@ -122,7 +122,7 @@
+     &module_register,
+     N_("Subtracts polynomial background."),
+     "Yeti <yeti at gwyddion.net>",
+-    "2.4",
++    "2.5",
+     "David Nečas (Yeti) & Petr Klapetek",
+     "2004",
+ };
+@@ -721,7 +721,7 @@
+ poly_level_update_preview(PolyLevelControls *controls,
+                           PolyLevelArgs *args)
+ {
+-    GwyDataField *source, *leveled, *bg, *mask;
++    GwyDataField *source, *leveled, *bg, *mask = NULL;
+ 
+     gwy_container_gis_object_by_name(controls->data, "/source", &source);
+     gwy_container_gis_object_by_name(controls->data, "/mask", &mask);

Modified: trunk/packages/gwyddion/trunk/debian/patches/series
===================================================================
--- trunk/packages/gwyddion/trunk/debian/patches/series	2008-12-30 20:54:37 UTC (rev 2884)
+++ trunk/packages/gwyddion/trunk/debian/patches/series	2008-12-30 20:55:20 UTC (rev 2885)
@@ -1,2 +1,3 @@
 fix-manpage-section-for-debian.diff
 fix-rpath-issue.patch
+fix-crash-on-no-mask-present_svn8911.patch




More information about the debian-med-commit mailing list