summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-11-09 14:26:33 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-11-09 14:26:33 +0000
commit8255dfe27001ee83a1a3b9e72b4b0f4fa1a2addb (patch)
treefbe10c4200a789b325ab839337f8b7ab4c32092b /patches
parent220a2491f7f78a8dfbde2973325845289883e44f (diff)
downloadmidipix_build-8255dfe27001ee83a1a3b9e72b4b0f4fa1a2addb.tar.bz2
midipix_build-8255dfe27001ee83a1a3b9e72b4b0f4fa1a2addb.tar.xz
vars/build.vars:native_packages_etc: adds rdesktop v1.8.3 (via Redfoxmoon.)
patches/rdesktop-1.8.3.local.patch: via Redfoxmoon.
Diffstat (limited to 'patches')
-rw-r--r--patches/rdesktop-1.8.3.local.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/rdesktop-1.8.3.local.patch b/patches/rdesktop-1.8.3.local.patch
new file mode 100644
index 00000000..8a6d5cbd
--- /dev/null
+++ b/patches/rdesktop-1.8.3.local.patch
@@ -0,0 +1,21 @@
+diff -ru rdesktop-1.8.3.orig/rdpsnd_alsa.c rdesktop-1.8.3/rdpsnd_alsa.c
+--- rdesktop-1.8.3.orig/rdpsnd_alsa.c 2015-08-21 08:24:23.000000000 +0200
++++ rdesktop-1.8.3/rdpsnd_alsa.c 2018-11-01 20:53:55.216422142 +0100
+@@ -218,7 +218,7 @@
+ #endif
+
+ rate = pwfx->nSamplesPerSec;
+- if ((err = snd_pcm_hw_params_set_rate_near(pcm, hwparams, &rate, 0)) < 0)
++ if ((err = __snd_pcm_hw_params_set_rate_near(pcm, hwparams, &rate, 0)) < 0)
+ {
+ error("snd_pcm_hw_params_set_rate_near: %s\n", snd_strerror(err));
+ return False;
+@@ -233,7 +233,7 @@
+
+
+ buffertime = 500000; /* microseconds */
+- if ((err = snd_pcm_hw_params_set_buffer_time_near(pcm, hwparams, &buffertime, 0)) < 0)
++ if ((err = __snd_pcm_hw_params_set_buffer_time_near(pcm, hwparams, &buffertime, 0)) < 0)
+ {
+ error("snd_pcm_hw_params_set_buffer_time_near: %s\n", snd_strerror(err));
+ return False;