Page MenuHomePhabricator

EFL VNC Server patch to build on FreeBSD
Closed, ResolvedPublic

Description

--- src/modules/ecore_evas/vnc_server/ecore_evas_vnc_server_fb_keymap.c.orig    2020-05-14 02:37:27.221504000 +0200
+++ src/modules/ecore_evas/vnc_server/ecore_evas_vnc_server_fb_keymap.c 2020-05-14 02:41:59.358400000 +0200
@@ -1,4 +1,8 @@
-#include <linux/input-event-codes.h>
+#if defined(__linux__)
+ #include <linux/input-event-codes.h>
+#elif defined(__FreeBSD__)
+ #include <dev/evdev/input-event-codes.h>
+#endif
 #include <rfb/keysym.h>
 #include <stdlib.h>
 #include <limits.h>
cederom created this task.May 13 2020, 6:42 PM

@cederom if you want proper credit for this patch I would need a git format patch.

If you don't care and prefer me to commit it with "original patch by cederom" please state so.

Thank you @stefan_schmidt please go ahead and push this way thank you for your time and checking out :-)