Page MenuHomeFreeBSD

D13998.diff
No OneTemporary

D13998.diff

Index: devel/libevdev/Makefile
===================================================================
--- devel/libevdev/Makefile
+++ devel/libevdev/Makefile
@@ -2,6 +2,7 @@
PORTNAME= libevdev
PORTVERSION= 1.4.4
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://freedesktop.org/software/${PORTNAME}/
Index: multimedia/libv4l/Makefile
===================================================================
--- multimedia/libv4l/Makefile
+++ multimedia/libv4l/Makefile
@@ -4,7 +4,7 @@
PORTNAME?= libv4l
PORTVERSION= 1.6.3
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES= multimedia
MASTER_SITES= http://linuxtv.org/downloads/v4l-utils/:master \
LOCAL/kwm:local
Index: multimedia/libv4l/files/patch-contrib_freebsd_include_linux_input.h
===================================================================
--- /dev/null
+++ multimedia/libv4l/files/patch-contrib_freebsd_include_linux_input.h
@@ -0,0 +1,18 @@
+Synchronize `EVIOCGMTSLOTS` ioctl with `input.h` from FreeBSD base
+
+The ioctl, used by libevdev, queries the multitouch state of a touchpad.
+To do that, it passes the code of the attribute to fetch. Unlike Linux,
+the ioctl must be declared as in/out to allow the code to be passed to
+the evdev kernel driver.
+
+--- contrib/freebsd/include/linux/input.h.orig 2015-05-06 19:24:59 UTC
++++ contrib/freebsd/include/linux/input.h
+@@ -170,7 +170,7 @@ struct input_keymap_entry {
+ *
+ * If the request code is not an ABS_MT value, -EINVAL is returned.
+ */
+-#define EVIOCGMTSLOTS(len) _IOC(_IOC_READ, 'E', 0x0a, len)
++#define EVIOCGMTSLOTS(len) _IOC(_IOC_READ|_IOC_WRITE, 'E', 0x0a, len)
+
+ #define EVIOCGKEY(len) _IOC(_IOC_READ, 'E', 0x18, len) /* get global key state */
+ #define EVIOCGLED(len) _IOC(_IOC_READ, 'E', 0x19, len) /* get all LEDs */
Index: multimedia/v4l_compat/Makefile
===================================================================
--- multimedia/v4l_compat/Makefile
+++ multimedia/v4l_compat/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= v4l_compat
-PORTREVISION= 0
+PORTREVISION= 1
COMMENT= Video4Linux IOCTL header files

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 18, 3:15 AM (20 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27703699
Default Alt Text
D13998.diff (2 KB)

Event Timeline