rpms/arts/F-11 arts-1.5.10-assertion-failure.patch, NONE, 1.1 arts.spec, 1.95, 1.96

Kevin Kofler kkofler at fedoraproject.org
Wed Mar 24 19:47:31 UTC 2010


Author: kkofler

Update of /cvs/pkgs/rpms/arts/F-11
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv28489/F-11

Modified Files:
	arts.spec 
Added Files:
	arts-1.5.10-assertion-failure.patch 
Log Message:
Sync from devel:

* Wed Mar 24 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 8:1.5.10-12
- don't call snd_pcm_close(NULL), triggers assertion failure in ALSA (#558570)

arts-1.5.10-assertion-failure.patch:
 audioioalsa9.cc |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- NEW FILE arts-1.5.10-assertion-failure.patch ---
diff -ur arts-1.5.10/flow/audioioalsa9.cc arts-1.5.10-assertion-failure/flow/audioioalsa9.cc
--- arts-1.5.10/flow/audioioalsa9.cc	2007-10-08 11:47:09.000000000 +0200
+++ arts-1.5.10-assertion-failure/flow/audioioalsa9.cc	2010-03-24 20:07:13.000000000 +0100
@@ -176,7 +176,7 @@
 			_error += " can't be opened for capture (";
 			_error += snd_strerror(err);
 			_error += ")";
-			snd_pcm_close(m_pcm_playback);
+			if (m_pcm_playback) snd_pcm_close(m_pcm_playback);
 			return false;
 		}
 		snd_pcm_nonblock(m_pcm_capture, 0);
@@ -190,8 +190,8 @@
 	/* set PCM communication parameters */
 	if (((_direction & directionWrite) && setPcmParams(m_pcm_playback)) ||
 	    ((_direction & directionRead) && setPcmParams(m_pcm_capture))) {
-		snd_pcm_close(m_pcm_playback);
-		snd_pcm_close(m_pcm_capture);
+		if (m_pcm_playback) snd_pcm_close(m_pcm_playback);
+		if (m_pcm_capture) snd_pcm_close(m_pcm_capture);
 		return false;
 	}
 


Index: arts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/arts/F-11/arts.spec,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -p -r1.95 -r1.96
--- arts.spec	16 Dec 2009 09:28:25 -0000	1.95
+++ arts.spec	24 Mar 2010 19:47:31 -0000	1.96
@@ -10,7 +10,7 @@ Summary: aRts (analog realtime synthesiz
 Group:   System Environment/Daemons
 Epoch:   8
 Version: 1.5.10
-Release: 11%{?dist}
+Release: 12%{?dist}
 
 License: LGPLv2+
 Url: http://www.kde.org
@@ -26,6 +26,8 @@ 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
+# don't call snd_pcm_close(NULL), triggers assertion failure in ALSA (#558570)
+Patch10: arts-1.5.10-assertion-failure.patch
 # kde#93359
 Patch50: arts-1.5.4-dlopenext.patch
 Patch51: kde-3.5-libtool-shlibext.patch
@@ -85,6 +87,7 @@ Install %{name}-devel if you intend to w
 %patch7 -p1 -b .check_tmp_dir
 %patch8 -p1 -b .multilib
 %patch9 -p1 -b .cpu-overload-quiet
+%patch10 -p1 -b .assertion-failure
 
 %patch50 -p1 -b .dlopenext
 %patch51 -p1 -b .libtool-shlibext
@@ -196,17 +199,20 @@ rm -rf  %{buildroot}
 
 
 %changelog
-* Wed Dec 16 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1.5.10-11
+* Wed Mar 24 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 8:1.5.10-12
+- don't call snd_pcm_close(NULL), triggers assertion failure in ALSA (#558570)
+
+* Wed Dec 16 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 8: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
+* Thu Dec 10 2009 Stepan Kasal <skasal at redhat.com> - 8:1.5.10-10
 - patch autoconfigury to build with autoconf >= 2.64
 
-* Sun Dec 06 2009 Than Ngo <than at redhat.com> - 1.5.10-9
+* Sun Dec 06 2009 Than Ngo <than at redhat.com> - 8:1.5.10-9
 - fix url
 - fix security issues in libltdl (CVE-2009-3736)
 
-* Wed Sep 02 2009 Than Ngo <than at redhat.com> - 1.5.10-8
+* Wed Sep 02 2009 Than Ngo <than at redhat.com> - 8:1.5.10-8
 - drop support fedora < 10
 
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 8:1.5.10-7



More information about the scm-commits mailing list