Package: octave-plplot
Version: 5.9.2-1
Severity: important

--- Please enter the report below this line. ---
after putting in .m
warning(\"off\",\"Octave:built-in-variable-assignment\");

toggle_plplot_use crashes when called, due to a wrong test.

the patch below fix this
--------------------------------------------------------------------------------------------
--- /usr/share/octave/site/m/PLplot/toggle_plplot_use.m.orig    2009-04-03 
15:58:39.000000000 +0200
+++ /usr/share/octave/site/m/PLplot/toggle_plplot_use.m 2009-04-03 
16:04:18.000000000 +0200
@@ -26,7 +26,7 @@
   # Warn user about spurious warnings with octave 2.9
   ver = str2num(split(version,"."));
   if ((ver(1) == 2 && ver(2) == 9) || (ver(1) >= 3))
-    if (warning("query","Octave:built-in-variable-assignment").state == "on")
+    if strcmp (warning("query","Octave:built-in-variable-assignment").state, 
"on")
       warning("You may want to call\n  
warning(\"off\",\"Octave:built-in-variable-assignment\");\nto prevent spurious 
warnings from the plplot code for compatability with octave 2.0/2.1.\n");
     endif
   endif
--------------------------------------------------------------------------------------------

i use plplot 5.9.2-1 from sid, backported on lenny by myself (Thanks Rafael L 
;-)

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.26-al

Debian Release: 5.0
  500 stable          volatile.debian.org 
  500 stable          security.debian.org 
  500 stable          ftp.fr.debian.org 
  200 lenny-backports www.backports.org 

--- Package information. ---
Depends                              (Version) | Installed
==============================================-+-====================
libplplot9                         (= 5.9.2-1) | 5.9.2-1
libblas3gf                                     | 1.2-2
 OR libblas.so.3gf                             | 
 OR libatlas3gf-base                           | 3.6.0-22
libc6                               (>= 2.7-1) | 2.7-18
libfftw3-3                                     | 3.1.2-3.1
libgcc1                           (>= 1:4.1.1) | 1:4.3.2-1.1
libgfortran3                          (>= 4.3) | 4.3.2-1.1
libhdf5-serial-1.6.6-0                         | 1.6.6-4
 OR libhdf5-1.6.6-0                            | 
liblapack3gf                                   | 3.1.1-1
 OR liblapack.so.3gf                           | 
 OR libatlas3gf-base                           | 3.6.0-22
libncurses5                (>= 5.6+20071006-3) | 5.7+20081213-1
libreadline5                          (>= 5.2) | 5.2-3.1
libstdc++6                          (>= 4.1.1) | 4.3.2-1.1
zlib1g                            (>= 1:1.1.4) | 1:1.2.3.3.dfsg-12
octave3.0                           (>= 3.0.1) | 1:3.0.1-6lenny3






-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to