Hmm, the patch seems to be misformatted by the mail, so attached is a diff on the git repository.
diff --git a/debian/xrdp-build-pulse-modules b/debian/xrdp-build-pulse-modules index 64e68fb1..1e2898b1 100755 --- a/debian/xrdp-build-pulse-modules +++ b/debian/xrdp-build-pulse-modules @@ -23,8 +23,8 @@ pulseaudio_version=$(dpkg-query -W -f='${source:Version}' pulseaudio) pulseaudio_upstream_version=$(dpkg-query -W -f='${source:Upstream-Version}' pulseaudio) # Determine mirror -if test -x /usr/bin/apt ; then - set -- $(apt show "pulseaudio=$pulseaudio_version" 2>/dev/null) +if test -x /usr/bin/apt-cache ; then + set -- $(apt-cache policy pulseaudio | fgrep -A1 '***' | tail -1) mirror=$2 suite=${3#*/} fi