fix a wrong assertion
This commit is contained in:
parent
cbd8c4ec4e
commit
e5612c0610
@ -5,7 +5,7 @@
|
||||
Name: pulseaudio
|
||||
Summary: Improved Linux sound server
|
||||
Version: 0.9.11
|
||||
Release: 0.0.%{alphatag}%{?dist}
|
||||
Release: 0.1.%{alphatag}%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Daemons
|
||||
Source0: http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-%{version}.%{alphatag}.tar.gz
|
||||
@ -33,6 +33,7 @@ Obsoletes: pulseaudio-devel
|
||||
#Patch7: pulseaudio-0.9.8-ltdl-assert.patch
|
||||
#Patch8: pulseaudio-0.9.8-disable-realtime.patch
|
||||
#Patch9: pulseaudio-0.9.8-cputime-abort.patch
|
||||
Patch10: wrong-assert.patch
|
||||
|
||||
%description
|
||||
PulseAudio is a sound server for Linux and other Unix like operating
|
||||
@ -403,6 +404,9 @@ fi
|
||||
%{_mandir}/man1/pax11publish.1.gz
|
||||
|
||||
%changelog
|
||||
* Sat May 17 2008 Matthias Clasen <mclasen@redhat.com> 0.9.11-0.1.svn20080516
|
||||
- Fix a wrong assertion in module-default-device-restore
|
||||
|
||||
* Fri May 16 2008 Matthias Clasen <mclasen@redhat.com> 0.9.11-0.0.svn20080516
|
||||
- Update to an svn snapshot of the 'glitch-free' rewrite of pulseaudio
|
||||
|
||||
|
||||
12
wrong-assert.patch
Normal file
12
wrong-assert.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up pulseaudio-0.9.11/src/modules/module-default-device-restore.c.wrong-assert pulseaudio-0.9.11/src/modules/module-default-device-restore.c
|
||||
--- pulseaudio-0.9.11/src/modules/module-default-device-restore.c.wrong-assert 2008-05-17 22:14:43.000000000 -0400
|
||||
+++ pulseaudio-0.9.11/src/modules/module-default-device-restore.c 2008-05-17 22:14:50.000000000 -0400
|
||||
@@ -158,7 +158,7 @@ static void subscribe_cb(pa_core *c, pa_
|
||||
int pa__init(pa_module *m) {
|
||||
struct userdata *u;
|
||||
|
||||
- pa_assert(u);
|
||||
+ pa_assert(m);
|
||||
|
||||
u = pa_xnew0(struct userdata, 1);
|
||||
u->core = m->core;
|
||||
Loading…
Reference in New Issue
Block a user