From: Otavio Salvador Date: Mon, 8 Jun 2009 18:11:52 +0000 (-0300) Subject: rdesktop (1.6.0): fix audio redirection for Windows 2008 Server/Vista X-Git-Tag: Release-2010-05/1~2974^2~6^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=013c006d11a59269b9d3adc6cbb6fb8091144965;p=openembedded.git rdesktop (1.6.0): fix audio redirection for Windows 2008 Server/Vista Signed-off-by: Otavio Salvador --- diff --git a/recipes/rdesktop/rdesktop-1.6.0/audio-2008.patch b/recipes/rdesktop/rdesktop-1.6.0/audio-2008.patch new file mode 100644 index 0000000000..57052a78a4 --- /dev/null +++ b/recipes/rdesktop/rdesktop-1.6.0/audio-2008.patch @@ -0,0 +1,22 @@ +--- a/rdpdr.c (revisão 1505) ++++ b/rdpdr.c (cópia de trabalho) +@@ -841,14 +841,11 @@ + RD_BOOL + rdpdr_init() + { +- if (g_num_devices > 0) +- { +- rdpdr_channel = +- channel_register("rdpdr", +- CHANNEL_OPTION_INITIALIZED | CHANNEL_OPTION_COMPRESS_RDP, +- rdpdr_process); +- } +- ++ rdpdr_channel = ++ channel_register("rdpdr", ++ CHANNEL_OPTION_INITIALIZED | CHANNEL_OPTION_COMPRESS_RDP, ++ rdpdr_process); ++ + return (rdpdr_channel != NULL); + } + diff --git a/recipes/rdesktop/rdesktop_1.6.0.bb b/recipes/rdesktop/rdesktop_1.6.0.bb index c492afa0b2..08ec0fc659 100644 --- a/recipes/rdesktop/rdesktop_1.6.0.bb +++ b/recipes/rdesktop/rdesktop_1.6.0.bb @@ -2,6 +2,10 @@ require rdesktop.inc PR = "${INC_PR}.1" +SRC_URI += " file://audio-2008.patch;patch=1" + +SRC_URI += " file://audio-2008.patch;patch=1" + inherit autotools EXTRA_OECONF = "--with-openssl=${STAGING_EXECPREFIXDIR} "