[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/octave-forge/devel octave-forge-2005.06.13-legend.patch, NONE, 1.1 octave-forge.spec, 1.8, 1.9



Author: qspencer

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

Modified Files:
	octave-forge.spec 
Added Files:
	octave-forge-2005.06.13-legend.patch 
Log Message:
Added patch to fix errors caused by main/plot/legend.m


octave-forge-2005.06.13-legend.patch:

--- NEW FILE octave-forge-2005.06.13-legend.patch ---
Index: legend.m
===================================================================
RCS file: /cvsroot/octave-forge/main/plot/legend.m,v
retrieving revision 1.12
diff -u -r1.12 legend.m
--- main/plot/legend.m    21 Apr 2005 13:58:43 -0000      1.12
+++ main/plot/legend.m    16 Jun 2005 17:21:59 -0000
@@ -186,4 +186,8 @@
     if (++attempt > 20) error("gnuplot is not responding"); endif
     usleep(1e5);
   end
+  # wait for the file to be non-empty
+  while (~stat(tmpfilename).size)
+    usleep(1e5);
+  end
   plot_cmd = split(system(shell_cmd),"\n");

   if (~length(deblank(plot_cmd(rows(plot_cmd), :))))


Index: octave-forge.spec
===================================================================
RCS file: /cvs/extras/rpms/octave-forge/devel/octave-forge.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- octave-forge.spec	14 Jun 2005 20:42:08 -0000	1.8
+++ octave-forge.spec	17 Jun 2005 17:22:10 -0000	1.9
@@ -15,6 +15,7 @@
 ## tar czf octave-forge-%{version}.patched.tar.gz octave-forge-%{version}
 ## rm -Rf octave-forge-%{version}
 Source0:        %{name}-%{version}.patched.tar.gz
+Patch0:         %{name}-2005.06.13-legend.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 
@@ -38,6 +39,7 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 %configure
@@ -77,6 +79,7 @@
 - Corrected instructions on creating patched source tarball.
 - Remove explicit BuildRequires for c++ compiler and libs
   (not needed and causes build failure in the build system for x86_64).
+- Add patch for problem with main/plot/legend.m
 
 * Sat Jun 11 2005 Quentin Spencer <qspencer users sf net> 2004.11.16-7
 - Cleanup of unneeded things in build section


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]