[Pkg-octave-commit] r2408 - in octaviz/trunk/debian: . patches

Thomas Weber thomas-guest at alioth.debian.org
Sat Sep 6 09:03:34 UTC 2008


tags 480431 pending
thanks

Author: thomas-guest
Date: 2008-09-06 09:03:34 +0000 (Sat, 06 Sep 2008)
New Revision: 2408

Added:
   octaviz/trunk/debian/patches/no-nan-values
Modified:
   octaviz/trunk/debian/changelog
   octaviz/trunk/debian/patches/series
Log:
Bug fix for 480431
Error out before handing NaN values to VTK, they are not supported


Modified: octaviz/trunk/debian/changelog
===================================================================
--- octaviz/trunk/debian/changelog	2008-09-02 10:33:26 UTC (rev 2407)
+++ octaviz/trunk/debian/changelog	2008-09-06 09:03:34 UTC (rev 2408)
@@ -1,11 +1,17 @@
-octaviz (0.4.7-1.1) UNRELEASED; urgency=low
+octaviz (0.4.7-2) unstable; urgency=low
 
+  [ Ólafur Jens Sigurðsson ]
   * debian/control: Bumped Standards-Version to 3.8.0 (no changes
     needed)
   * added myself to the uploaders list.
 
- -- Ólafur Jens Sigurðsson <ojsbug at gmail.com>  Thu, 31 Jul 2008 17:52:46 +0200
+  [ Thomas Weber ]
+  * New patch: patches/no-nan-values
+    Error out in case of NaN values, they are not supported by VTK 
+    (closes: 480431)
 
+ -- Thomas Weber <thomas.weber.mail at gmail.com>  Sat, 06 Sep 2008 00:14:53 +0200
+
 octaviz (0.4.7-1) unstable; urgency=low
 
   * New upstream version.

Added: octaviz/trunk/debian/patches/no-nan-values
===================================================================
--- octaviz/trunk/debian/patches/no-nan-values	                        (rev 0)
+++ octaviz/trunk/debian/patches/no-nan-values	2008-09-06 09:03:34 UTC (rev 2408)
@@ -0,0 +1,13 @@
+--- a/Scripts/vtk_trisurf.m
++++ b/Scripts/vtk_trisurf.m
+@@ -117,6 +117,10 @@
+     end
+     pts = [x y z];
+   end
++
++  if (find(isnan(pts)) || find(isnan(t)))
++    error("Sorry, NaN values are not supported in VTK\n");
++  endif
+   
+   vtk_init;	
+   

Modified: octaviz/trunk/debian/patches/series
===================================================================
--- octaviz/trunk/debian/patches/series	2008-09-02 10:33:26 UTC (rev 2407)
+++ octaviz/trunk/debian/patches/series	2008-09-06 09:03:34 UTC (rev 2408)
@@ -1 +1,2 @@
 enable-rpath.patch
+no-nan-values




More information about the Pkg-octave-commit mailing list