Add patch for mismatch of xfree_to_evdev declarations.

This commit is contained in:
Bojan Smojver 2020-08-31 19:56:40 +10:00
parent b9f3813997
commit eb5d092c15
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -ruN xrdp-0.9.14-v/genkeymap/genkeymap.c xrdp-0.9.14/genkeymap/genkeymap.c
--- xrdp-0.9.14-v/genkeymap/genkeymap.c 2020-08-26 12:32:21.000000000 +1000
+++ xrdp-0.9.14/genkeymap/genkeymap.c 2020-08-31 19:55:04.773214339 +1000
@@ -44,7 +44,7 @@
#include <X11/XKBlib.h>
#include <locale.h>
-extern int xfree86_to_evdev[137-8];
+extern int xfree86_to_evdev[137-8+1];
int main(int argc, char **argv)
{

View File

@ -31,6 +31,7 @@ Patch3: xrdp-0.9.2-setpriv.patch
Patch4: xrdp-0.9.10-scripts-libexec.patch
Patch5: xrdp-0.9.6-script-interpreter.patch
Patch6: xrdp-0.9.14-log-snprintf.patch
Patch7: xrdp-0.9.14-xfree86-evdev.patch
BuildRequires: gcc
BuildRequires: libX11-devel