rpms/octave/FC-5 octave-2.9.8-misc.patch, NONE, 1.1 octave.spec, 1.41, 1.42

Quentin Spencer (qspencer) fedora-extras-commits at redhat.com
Fri Sep 15 15:50:55 UTC 2006


Author: qspencer

Update of /cvs/extras/rpms/octave/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1009

Modified Files:
	octave.spec 
Added Files:
	octave-2.9.8-misc.patch 
Log Message:
Small bug fix.

octave-2.9.8-misc.patch:

--- NEW FILE octave-2.9.8-misc.patch ---
Index: liboctave/mx-inlines.cc
===================================================================
RCS file: /cvs/octave/liboctave/mx-inlines.cc,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- liboctave/mx-inlines.cc	22 Aug 2006 18:37:43 -0000	1.49
+++ liboctave/mx-inlines.cc	26 Aug 2006 03:02:39 -0000	1.50
@@ -383,6 +383,12 @@
         } \
     } \
  \
+  if (nd == 2 && dv(0) == 0 && dv(1) == 0) \
+    { \
+      retval.resize (dim_vector (1, 1), INIT_VAL); \
+      return retval; \
+    } \
+ \
   /* We need to find first non-singleton dim.  */ \
  \
   if (dim == -1) \


Index: octave.spec
===================================================================
RCS file: /cvs/extras/rpms/octave/FC-5/octave.spec,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- octave.spec	25 Aug 2006 16:19:20 -0000	1.41
+++ octave.spec	15 Sep 2006 15:50:55 -0000	1.42
@@ -1,12 +1,13 @@
 Name:           octave
 Version:        2.9.8
-Release:        1%{?dist}
+Release:        2%{?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.9.8-misc.patch
 URL:            http://www.octave.org
 Requires:       gnuplot less info texinfo 
 Requires(post): /sbin/install-info
@@ -49,6 +50,7 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 
 %build
@@ -123,6 +125,10 @@
 
 
 %changelog
+* Mon Sep 11 2006 Quentin Spencer <qspencer at users.sourceforge.net> 2.9.8-2
+- Fix this bug:
+  https://www.cae.wisc.edu/pipermail/bug-octave/2006-September/000687.html
+
 * Fri Aug 25 2006 Quentin Spencer <qspencer at users.sourceforge.net> 2.9.8-1
 - New release. Remove old patch. This fixes bug #203676.
 




More information about the fedora-extras-commits mailing list