ports/devel/evemu/files/patch-tools_evemu-record.c
Vladimir Kondratyev c29ab0a9c9 New port: devel/evemu
Tools and bindings for kernel input event device emulation and data capture
and replay.

Evemu provides a programmatic API to access the kernel input event devices.
The original and intended purpose is for supporting multi-touch input,
especially with regard to the Ubuntu touch and gesture stack.

WWW: http://www.freedesktop.org/wiki/Evemu

PR:		218383
Approved by:	bapt (mentor)
2017-08-09 21:00:12 +00:00

12 lines
363 B
C

--- tools/evemu-record.c.orig 2016-03-01 14:10:40 UTC
+++ tools/evemu-record.c
@@ -209,6 +209,9 @@ out:
return rc;
}
+/* Fix broken linux/input.h ioctl define found in multimedia/v4l_compat as of 2017-04-02 */
+#undef EVIOCGRAB
+#define EVIOCGRAB _IOWINT('E', 0x90)
static inline bool test_grab_device(int fd)
{
if (ioctl(fd, EVIOCGRAB, (void*)1) < 0) {