rpms/octave/devel octave-2.1.71-save.patch, NONE, 1.1 octave.spec, 1.3, 1.4

Quentin Spencer (qspencer) fedora-extras-commits at redhat.com
Fri May 27 15:32:28 UTC 2005


Author: qspencer

Update of /cvs/extras/rpms/octave/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21603

Modified Files:
	octave.spec 
Added Files:
	octave-2.1.71-save.patch 
Log Message:
Patch to fix data save problem (more info in spec changelog).


octave-2.1.71-save.patch:

--- NEW FILE octave-2.1.71-save.patch ---
src/ChangeLog:

2005-05-27  John W. Eaton  <jwe at octave.org>

	* ls-mat5.cc (save_mat5_binary_element): Extract complex N-d
	array, not matrix.


Index: src/ls-mat5.cc
===================================================================
RCS file: /usr/local/cvsroot/octave/src/ls-mat5.cc,v
retrieving revision 1.8.2.5
diff -u -r1.8.2.5 ls-mat5.cc
--- src/ls-mat5.cc	5 May 2005 03:53:38 -0000	1.8.2.5
+++ src/ls-mat5.cc	27 May 2005 14:14:32 -0000
@@ -1180,7 +1180,7 @@
     }
   else if (tc.is_complex_scalar () || tc.is_complex_matrix ()) 
     {
-      ComplexNDArray m_cmplx = tc.complex_matrix_value ();
+      ComplexNDArray m_cmplx = tc.complex_array_value ();
 
       write_mat5_array (os, ::real (m_cmplx), save_as_floats);
       write_mat5_array (os, ::imag (m_cmplx), save_as_floats);


Index: octave.spec
===================================================================
RCS file: /cvs/extras/rpms/octave/devel/octave.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- octave.spec	26 May 2005 17:23:44 -0000	1.3
+++ octave.spec	27 May 2005 15:32:26 -0000	1.4
@@ -2,13 +2,14 @@
 
 Name:           octave
 Version:        2.1.71
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A high-level language for numerical computations
 Epoch:          6
 
 Group:          Applications/Engineering
 License:        GPL
 Source:         ftp://ftp.octave.org/pub/octave/bleeding-edge/octave-%{version}.tar.bz2
+Patch0:         octave-2.1.71-save.patch
 URL:            http://www.octave.org
 Requires:       gnuplot less info texinfo 
 Requires:       /sbin/install-info
@@ -46,6 +47,7 @@
 
 %prep
 %setup -q
+%patch0 -p0
 ./autogen.sh
 
 
@@ -123,6 +125,9 @@
 
 
 %changelog
+* Fri May 27 2005 Quentin Spencer <qspencer at users.sourceforge.net> 2.1.71-3
+- Added patch for http://www.octave.org/mailing-lists/bug-octave/2005/617 
+
 * Thu May 26 2005 Quentin Spencer <qspencer at users.sourceforge.net> 2.1.71-2
 - Added dist tag.
 




More information about the fedora-extras-commits mailing list