rpms/arts/devel arts-1.5.10-cpu-overload-quiet.patch, NONE, 1.1 arts.spec, 1.100, 1.101

Kevin Kofler kkofler at fedoraproject.org
Wed Dec 16 09:05:13 UTC 2009


Author: kkofler

Update of /cvs/pkgs/rpms/arts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25991/devel

Modified Files:
	arts.spec 
Added Files:
	arts-1.5.10-cpu-overload-quiet.patch 
Log Message:
* Wed Dec 16 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1.5.10-11
- don't pop up a dialog on CPU overload (#361891)

arts-1.5.10-cpu-overload-quiet.patch:
 cpuusage.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- NEW FILE arts-1.5.10-cpu-overload-quiet.patch ---
diff -ur arts-1.5.10/soundserver/cpuusage.cc arts-1.5.10-cpu-overload-quiet/soundserver/cpuusage.cc
--- arts-1.5.10/soundserver/cpuusage.cc	2005-09-10 10:13:31.000000000 +0200
+++ arts-1.5.10-cpu-overload-quiet/soundserver/cpuusage.cc	2009-12-16 09:28:14.000000000 +0100
@@ -24,6 +24,7 @@
 #include "dispatcher.h"
 #include "debug.h"
 
+#include <stdlib.h>
 #include <time.h>
 #include <unistd.h>
 #include <sys/time.h>
@@ -121,7 +122,7 @@
 
 		// ok, cancel synthesis due to cpu overload! brutal method
 		if(d->stalled > 15)
-			arts_fatal("cpu overload, aborting");
+			exit(1);
 	}
 
 	// prepare for next checkpoint


Index: arts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/arts/devel/arts.spec,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -p -r1.100 -r1.101
--- arts.spec	10 Dec 2009 16:18:45 -0000	1.100
+++ arts.spec	16 Dec 2009 09:05:12 -0000	1.101
@@ -10,7 +10,7 @@ Summary: aRts (analog realtime synthesiz
 Group:   System Environment/Daemons
 Epoch:   8
 Version: 1.5.10
-Release: 10%{?dist}
+Release: 11%{?dist}
 
 License: LGPLv2+
 Url: http://www.kde.org
@@ -24,6 +24,8 @@ Patch5: arts-1.3.1-alsa.patch
 Patch6: arts-1.5.8-glibc.patch
 Patch7: arts-1.5.0-check_tmp_dir.patch
 Patch8: arts-1.5.2-multilib.patch
+# don't pop up a dialog on CPU overload (#361891)
+Patch9: arts-1.5.10-cpu-overload-quiet.patch
 # kde#93359
 Patch50: arts-1.5.4-dlopenext.patch
 Patch51: kde-3.5-libtool-shlibext.patch
@@ -82,6 +84,7 @@ Install %{name}-devel if you intend to w
 %patch6 -p1 -b .glibc
 %patch7 -p1 -b .check_tmp_dir
 %patch8 -p1 -b .multilib
+%patch9 -p1 -b .cpu-overload-quiet
 
 %patch50 -p1 -b .dlopenext
 %patch51 -p1 -b .libtool-shlibext
@@ -193,6 +196,9 @@ rm -rf  %{buildroot}
 
 
 %changelog
+* Wed Dec 16 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1.5.10-11
+- don't pop up a dialog on CPU overload (#361891)
+
 * Thu Dec 10 2009 Stepan Kasal <skasal at redhat.com> - 1.5.10-10
 - patch autoconfigury to build with autoconf >= 2.64
 




More information about the fedora-extras-commits mailing list