rpms/octave-forge/devel octave-forge-2006.03.17-zplane.patch, NONE, 1.1 octave-forge.spec, 1.23, 1.24
Quentin Spencer (qspencer)
fedora-extras-commits at redhat.com
Wed May 3 15:42:44 UTC 2006
Author: qspencer
Update of /cvs/extras/rpms/octave-forge/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16178
Modified Files:
octave-forge.spec
Added Files:
octave-forge-2006.03.17-zplane.patch
Log Message:
Bug fix for #190481
octave-forge-2006.03.17-zplane.patch:
--- NEW FILE octave-forge-2006.03.17-zplane.patch ---
Index: main/signal/zplane.m
===================================================================
RCS file: /cvsroot/octave/octave-forge/main/signal/zplane.m,v
retrieving revision 1.4
diff -u -r1.4 zplane.m
--- main/signal/zplane.m 7 Jan 2006 05:23:27 -0000 1.4
+++ main/signal/zplane.m 3 May 2006 14:27:36 -0000
@@ -83,9 +83,12 @@
catch eleo = 0; end; ##<oct
try wele = warn_empty_list_elements; ##<oct
catch wele = 0; end; ##<oct
+ try ar = automatic_replot;
+ catch ar = 1; end
unwind_protect ##<oct
empty_list_elements_ok = 1; ##<oct
warn_empty_list_elements = 0; ##<oct
+ automatic_replot = 0;
xmin = min([-1; real(z(:)); real(p(:))]);
xmax = max([ 1; real(z(:)); real(p(:))]);
@@ -109,7 +112,8 @@
text();
plot_with_labels(z, "o");
plot_with_labels(p, "x");
-
+ replot;
+
unwind_protect_cleanup ##<oct
empty_list_elements_ok = eleo; ##<oct
warn_empty_list_elements = wele; ##<oct
@@ -118,6 +122,7 @@
axis(); ##<oct
__gnuplot_set__ pointsize 1 ##<oct
axis('normal'); ##<oct
+ automatic_replot = ar;
end_unwind_protect ##<oct
##<mat r = exp(2i*pi*[0:100]/100);
##<mat plot(real(r), imag(r),'k'); hold on;
Index: octave-forge.spec
===================================================================
RCS file: /cvs/extras/rpms/octave-forge/devel/octave-forge.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- octave-forge.spec 28 Apr 2006 18:47:37 -0000 1.23
+++ octave-forge.spec 3 May 2006 15:42:44 -0000 1.24
@@ -1,6 +1,6 @@
Name: octave-forge
Version: 2006.03.17
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Contributed functions for octave
Group: Applications/Engineering
@@ -17,6 +17,7 @@
Source0: %{name}-%{version}.patched.tar.gz
Patch0: %{name}-system.patch.gz
Patch1: %{name}-2006.03.17-octcdf.patch
+Patch2: %{name}-2006.03.17-zplane.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: octave >= 2.9.5 ImageMagick
@@ -38,6 +39,7 @@
%patch0 -p1
# The following patch requires regenerating the configure script
%patch1 -p0
+%patch2 -p0
# The sparse matrix functions are in octave 2.9.x so don't install them
touch main/sparse/NOINSTALL
@@ -73,6 +75,9 @@
%changelog
+* Wed May 3 2006 Quentin Spencer <qspencer at users.sf.net> 2006.03.17-4
+- Bug fix for #190481
+
* Thu Apr 27 2006 Quentin Spencer <qspencer at users.sf.net> 2006.03.17-3
- Add fixes for octcdf (from the author), which changes the dependency
from netcdf to libnc-dap. (This requires autoconf temporarily.)
More information about the scm-commits
mailing list