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

rpms/octave-forge/FC-4 octave-forge-2005.06.13-legend.patch, NONE, 1.1 octave-forge.spec, 1.7, 1.8



Author: qspencer

Update of /cvs/extras/rpms/octave-forge/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7271

Modified Files:
	octave-forge.spec 
Added Files:
	octave-forge-2005.06.13-legend.patch 
Log Message:
Add patch for problem in 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/FC-4/octave-forge.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- octave-forge.spec	14 Jun 2005 20:44:15 -0000	1.7
+++ octave-forge.spec	17 Jun 2005 17:27:32 -0000	1.8
@@ -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
@@ -72,10 +74,11 @@
 
 
 %changelog
-* Tue Jun 14 2005 Quentin Spencer <qspencer users sf net> 2005.06.13-1
+* Fri Jun 17 2005 Quentin Spencer <qspencer users sf net> 2005.06.13-1
 - New upstream release. Now requires pcre-devel to build.
 - Corrected instructions on creating patched source tarball.
 - Cleanup of unneeded things in build section
+- Add patch for problem with main/plot/legend.m
 
 * Fri Jun  3 2005 Quentin Spencer <qspencer users sf net> 2004.11.16-8
 - Remove explicit BuildRequires for c++ compiler and libs


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