[oe-commits] Otavio Salvador : rdesktop (1.6.0): fix audio redirection for Windows 2008 Server/Vista

git version control git at git.openembedded.org
Fri Jul 10 17:26:15 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 013c006d11a59269b9d3adc6cbb6fb8091144965
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=013c006d11a59269b9d3adc6cbb6fb8091144965

Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Mon Jun  8 15:11:52 2009 -0300

rdesktop (1.6.0): fix audio redirection for Windows 2008 Server/Vista

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>

---

 recipes/rdesktop/rdesktop-1.6.0/audio-2008.patch |   22 ++++++++++++++++++++++
 recipes/rdesktop/rdesktop_1.6.0.bb               |    4 ++++
 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 0000000..57052a7
--- /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 c492afa..08ec0fc 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} "





More information about the Openembedded-commits mailing list