rpms/esound/devel esound-0.2.38-drain.patch, NONE, 1.1 esound.spec, 1.36, 1.37

Bastien Nocera (hadess) fedora-extras-commits at redhat.com
Mon Jun 11 10:47:17 UTC 2007


Author: hadess

Update of /cvs/pkgs/rpms/esound/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31265

Modified Files:
	esound.spec 
Added Files:
	esound-0.2.38-drain.patch 
Log Message:
* Mon Jun 11 2007 - Bastien Nocera <bnocera at redhat.com> - 1:0.2.38-2
- Patch from Martin Stransky <stransky at redhat.com> to work around
  a race condition in snd_pcm_drain (#238680)


esound-0.2.38-drain.patch:

--- NEW FILE esound-0.2.38-drain.patch ---
--- esound-0.2.38/audio_alsa09.c.old	2007-06-11 12:22:24.000000000 +0200
+++ esound-0.2.38/audio_alsa09.c	2007-06-11 12:22:49.000000000 +0200
@@ -486,7 +486,7 @@ void esd_audio_flush(void)
 	}
 
 	if (alsa_playback_handle != NULL)
-		snd_pcm_drain( alsa_playback_handle );
+		snd_pcm_drop( alsa_playback_handle );
   
 	if (alsadbg) 
 		print_state();


Index: esound.spec
===================================================================
RCS file: /cvs/pkgs/rpms/esound/devel/esound.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- esound.spec	8 May 2007 13:42:18 -0000	1.36
+++ esound.spec	11 Jun 2007 10:46:42 -0000	1.37
@@ -2,7 +2,7 @@
 Summary: Allows several audio streams to play on a single audio device
 Name:    esound
 Version: 0.2.38
-Release: 1%{?dist}
+Release: 2%{?dist}
 Epoch:   1
 License: LGPL
 URL: ftp://ftp.gnome.org/pub/GNOME/sources/esound
@@ -12,6 +12,7 @@
 Patch0: esound-0.2.19-noerrors.patch
 Patch2: esound-0.2.35-64bit_install.patch
 Patch3: esound-multilib.patch
+Patch4: esound-0.2.38-drain.patch
 BuildRequires: docbook-utils
 BuildRequires: audiofile-devel
 BuildRequires: alsa-lib-devel
@@ -64,6 +65,7 @@
 %patch0 -p1 -b .noerrors
 %patch2 -p1 -b .64bit
 %patch3 -p1 -b .multilib
+%patch4 -p1 -b .drain-race
 
 %build
 %configure --disable-static
@@ -126,6 +128,10 @@
 %{_mandir}/man1/esd-config.1.gz
 
 %changelog
+* Mon Jun 11 2007 - Bastien Nocera <bnocera at redhat.com> - 1:0.2.38-2
+- Patch from Martin Stransky <stransky at redhat.com> to work around
+  a race condition in snd_pcm_drain (#238680)
+
 * Tue May 08 2007 - Bastien Nocera <bnocera at redhat.com> - 1:0.2.38-1
 - New upstream release (#237487)
 - Fix not obsoleting older non-split versions of esound (#230631)




More information about the fedora-extras-commits mailing list