summaryrefslogtreecommitdiff
path: root/recipes/rdesktop
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2009-06-08 15:11:52 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2009-07-10 14:25:36 -0300
commit013c006d11a59269b9d3adc6cbb6fb8091144965 (patch)
tree2b8c4403c7873b877e768ba88f8421e6845458c0 /recipes/rdesktop
parent40fcccc606326a5ae866b3987612df0581ae45c6 (diff)
rdesktop (1.6.0): fix audio redirection for Windows 2008 Server/Vista
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes/rdesktop')
-rw-r--r--recipes/rdesktop/rdesktop-1.6.0/audio-2008.patch22
-rw-r--r--recipes/rdesktop/rdesktop_1.6.0.bb4
2 files changed, 26 insertions, 0 deletions
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} "