Trivially implement missing rfb_get_eds_status_msg() function.

This commit is contained in:
Bojan Smojver 2021-09-06 07:14:49 +10:00
parent 1f3af7fa44
commit d9c910695b
2 changed files with 22 additions and 1 deletions

View File

@ -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
*

View File

@ -13,7 +13,7 @@ Summary: Open source remote desktop protocol (RDP) server
Name: xrdp Name: xrdp
Epoch: 1 Epoch: 1
Version: 0.9.17 Version: 0.9.17
Release: 1%{?dist} Release: 2%{?dist}
License: ASL 2.0 and GPLv2+ and MIT License: ASL 2.0 and GPLv2+ and MIT
URL: http://www.xrdp.org/ URL: http://www.xrdp.org/
Source0: https://github.com/neutrinolabs/xrdp/releases/download/v%{version}/xrdp-%{version}.tar.gz 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 %if 0%{?fedora} >= 32 || 0%{?rhel} >= 8
Patch7: xrdp-0.9.15-sesman-ini.patch Patch7: xrdp-0.9.15-sesman-ini.patch
%endif %endif
Patch8: xrdp-0.9.17-missing-rfb-func.patch
BuildRequires: make BuildRequires: make
BuildRequires: gcc BuildRequires: gcc
@ -280,6 +281,9 @@ fi
%{_datadir}/selinux/*/%{name}.pp %{_datadir}/selinux/*/%{name}.pp
%changelog %changelog
* Mon Sep 6 2021 Bojan Smojver <bojan@rexurive.com> - 1:0.9.17-2
- Trivially implement missing rfb_get_eds_status_msg() function
* Wed Sep 1 2021 Bojan Smojver <bojan@rexurive.com> - 1:0.9.17-1 * Wed Sep 1 2021 Bojan Smojver <bojan@rexurive.com> - 1:0.9.17-1
- Bump up to 0.9.17 - Bump up to 0.9.17