From 8255dfe27001ee83a1a3b9e72b4b0f4fa1a2addb Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz Date: Nov 09 2018 14:26:33 +0000 Subject: vars/build.vars:native_packages_etc: adds rdesktop v1.8.3 (via Redfoxmoon.) patches/rdesktop-1.8.3.local.patch: via Redfoxmoon. --- diff --git a/patches/rdesktop-1.8.3.local.patch b/patches/rdesktop-1.8.3.local.patch new file mode 100644 index 0000000..8a6d5cb --- /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; diff --git a/vars/build.vars b/vars/build.vars index 6f9b8b1..1e5bc18 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -1145,7 +1145,7 @@ patch patchutils perl python2 python3 ruby smallbasic tcl"; # Packages list native_packages_etc NATIVE_PACKAGES_ETC_PACKAGES=" ca_certificates cron dante debianutils fetchmail hexcurse htop icecast isync infounzip infozip jamvm classpath -john less mc mintty nano ncdu p7zip procps_ng qpdf rw rxvt_unicode st tmux tzdb vim xcowsay +john less mc mintty nano ncdu p7zip procps_ng qpdf rdesktop rw rxvt_unicode st tmux tzdb vim xcowsay xeyes xorriso xterm xwd"; : ${PKG_CA_CERTIFICATES_URLS_GIT:="ca-certificates=https://github.com/Redfoxmoon3/ca-certificates@master"}; : ${PKG_CA_CERTIFICATES_IN_TREE:=1}; @@ -1248,6 +1248,11 @@ fi; : ${PKG_QPDF_URL:=http://sourceforge.mirrorservice.org/q/qp/qpdf/qpdf/${PKG_QPDF_VERSION}/qpdf-${PKG_QPDF_VERSION}.tar.gz}; : ${PKG_QPDF_CONFIGURE_ARGS_EXTRA:=--with-random=/dev/urandom}; : ${PKG_QPDF_IN_TREE:=1}; +: ${PKG_RDESKTOP_SHA256SUM:=43896afa6cde099fc1c2609eae1b0fa0997897888daed16e5b992c8878dd3b4f}; +: ${PKG_RDESKTOP_VERSION:=1.8.3}; +: ${PKG_RDESKTOP_URL:=https://github.com/rdesktop/rdesktop/releases/download/v${PKG_RDESKTOP_VERSION}/rdesktop-${PKG_RDESKTOP_VERSION}.tar.gz}; +: ${PKG_RDESKTOP_IN_TREE:=1}; +: ${PKG_RDESKTOP_CONFIGURE_ARGS_EXTRA:="ALSA_LIBS=-lasound --disable-credssp --disable-smartcard --with-openssl=${PREFIX_NATIVE}"}; : ${PKG_RW_SHA256SUM:=50009730e36991dfe579716f91f4f616f5ba05ffb7bf69c03d41bf305ed93b6d}; : ${PKG_RW_VERSION:=1.0}; : ${PKG_RW_URL:=https://sortix.org/rw/release/rw-portable-${PKG_RW_VERSION}.tar.gz}