mirror of
https://git.freebsd.org/ports.git
synced 2025-06-13 00:30:33 -04:00
Update devel/py-evdev to 1.3.0 Pass maintainership to x11@ since this is used in xorg and wayland input stacks. PR: 249961 Submitted by: zeising Approved by: hselasky (maintainer) Obtained from: FreeBSD Graphics Team git repo
47 lines
1.1 KiB
Text
47 lines
1.1 KiB
Text
# XXX Patch churn from GSoC 2014, expect v4l_compat for now
|
|
|
|
--- evdev/genecodes.py.orig 2020-01-11 21:45:04 UTC
|
|
+++ evdev/genecodes.py
|
|
@@ -30,12 +30,8 @@ uname = ' '.join(uname)
|
|
#-----------------------------------------------------------------------------
|
|
template = r'''
|
|
#include <Python.h>
|
|
-#ifdef __FreeBSD__
|
|
-#include <dev/evdev/input.h>
|
|
-#else
|
|
#include <linux/input.h>
|
|
#include <linux/uinput.h>
|
|
-#endif
|
|
|
|
/* Automatically generated by evdev.genecodes */
|
|
/* Generated on %s */
|
|
--- evdev/input.c.orig 2020-01-11 23:01:08 UTC
|
|
+++ evdev/input.c
|
|
@@ -18,11 +18,7 @@
|
|
#include <fcntl.h>
|
|
#include <unistd.h>
|
|
|
|
-#ifdef __FreeBSD__
|
|
-#include <dev/evdev/input.h>
|
|
-#else
|
|
#include <linux/input.h>
|
|
-#endif
|
|
|
|
#ifndef input_event_sec
|
|
#define input_event_sec time.tv_sec
|
|
--- evdev/uinput.c.orig 2020-01-11 22:09:18 UTC
|
|
+++ evdev/uinput.c
|
|
@@ -8,13 +8,8 @@
|
|
#include <fcntl.h>
|
|
#include <unistd.h>
|
|
|
|
-#ifdef __FreeBSD__
|
|
-#include <dev/evdev/input.h>
|
|
-#include <dev/evdev/uinput.h>
|
|
-#else
|
|
#include <linux/input.h>
|
|
#include <linux/uinput.h>
|
|
-#endif
|
|
|
|
#ifndef input_event_sec
|
|
#define input_event_sec time.tv_sec
|