summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2011-05-30 17:17:16 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2011-05-30 17:17:16 +0000
commitd5584222003354c00c3c9d500ef018e17f5a4890 (patch)
treea26a0f06ebb502714f0e200206a2676aa4d67a98 /net-misc/rdesktop/files
parentCheck for linux-headers instead of the current kernel version. Thanks to Jory... (diff)
downloadhistorical-d5584222003354c00c3c9d500ef018e17f5a4890.tar.gz
historical-d5584222003354c00c3c9d500ef018e17f5a4890.tar.bz2
historical-d5584222003354c00c3c9d500ef018e17f5a4890.zip
EAPI4, fix crash with libao and pulseaudio, thanks everyone in bug #280923
Package-Manager: portage-2.2.0_alpha37/cvs/Linux x86_64
Diffstat (limited to 'net-misc/rdesktop/files')
-rw-r--r--net-misc/rdesktop/files/rdesktop-1.7.0-libao_crash.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-misc/rdesktop/files/rdesktop-1.7.0-libao_crash.patch b/net-misc/rdesktop/files/rdesktop-1.7.0-libao_crash.patch
new file mode 100644
index 000000000000..3afb9b2b0f23
--- /dev/null
+++ b/net-misc/rdesktop/files/rdesktop-1.7.0-libao_crash.patch
@@ -0,0 +1,18 @@
+--- rdpsnd_libao.c.orig 2010-11-29 14:55:31.124907038 +0100
++++ rdpsnd_libao.c 2010-11-29 14:55:51.708464083 +0100
+@@ -76,6 +76,7 @@
+ format.channels = 2;
+ format.rate = 44100;
+ format.byte_format = AO_FMT_NATIVE;
++ format.matrix = NULL;
+
+
+ o_device = ao_open_live(default_driver, &format, NULL);
+@@ -115,6 +116,7 @@
+ format.channels = pwfx->nChannels;
+ format.rate = 44100;
+ format.byte_format = AO_FMT_NATIVE;
++ format.matrix = NULL;
+
+ if (o_device != NULL)
+ ao_close(o_device);