diff --git a/xrdp-0.9.17-missing-rfb-func.patch b/xrdp-0.9.17-missing-rfb-func.patch new file mode 100644 index 0000000..171ab96 --- /dev/null +++ b/xrdp-0.9.17-missing-rfb-func.patch @@ -0,0 +1,17 @@ +diff -ruN xrdp-0.9.17-v/vnc/vnc.c xrdp-0.9.17/vnc/vnc.c +--- xrdp-0.9.17-v/vnc/vnc.c 2021-09-01 11:30:54.000000000 +1000 ++++ xrdp-0.9.17/vnc/vnc.c 2021-09-06 07:11:11.863754188 +1000 +@@ -1194,6 +1194,13 @@ + return error; + } + ++/* Trivially implement missing function */ ++static const char * ++rfb_get_eds_status_msg(unsigned int response_code) ++{ ++ return ""; ++} ++ + /**************************************************************************//** + * Looks for a resize confirm in a framebuffer update request + * diff --git a/xrdp.spec b/xrdp.spec index 20bf47b..08d95bb 100644 --- a/xrdp.spec +++ b/xrdp.spec @@ -13,7 +13,7 @@ Summary: Open source remote desktop protocol (RDP) server Name: xrdp Epoch: 1 Version: 0.9.17 -Release: 1%{?dist} +Release: 2%{?dist} License: ASL 2.0 and GPLv2+ and MIT URL: http://www.xrdp.org/ Source0: https://github.com/neutrinolabs/xrdp/releases/download/v%{version}/xrdp-%{version}.tar.gz @@ -34,6 +34,7 @@ Patch6: xrdp-0.9.14-vnc-uninit.patch %if 0%{?fedora} >= 32 || 0%{?rhel} >= 8 Patch7: xrdp-0.9.15-sesman-ini.patch %endif +Patch8: xrdp-0.9.17-missing-rfb-func.patch BuildRequires: make BuildRequires: gcc @@ -280,6 +281,9 @@ fi %{_datadir}/selinux/*/%{name}.pp %changelog +* Mon Sep 6 2021 Bojan Smojver - 1:0.9.17-2 +- Trivially implement missing rfb_get_eds_status_msg() function + * Wed Sep 1 2021 Bojan Smojver - 1:0.9.17-1 - Bump up to 0.9.17