diff --git a/xrdp-0.9.14-xfree86-evdev.patch b/xrdp-0.9.14-xfree86-evdev.patch new file mode 100644 index 0000000..6d2f0d8 --- /dev/null +++ b/xrdp-0.9.14-xfree86-evdev.patch @@ -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 + #include + +-extern int xfree86_to_evdev[137-8]; ++extern int xfree86_to_evdev[137-8+1]; + + int main(int argc, char **argv) + { diff --git a/xrdp.spec b/xrdp.spec index 95b1339..a1ef5b9 100644 --- a/xrdp.spec +++ b/xrdp.spec @@ -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