aboutsummaryrefslogtreecommitdiff
path: root/devel/libevdev/files/patch-test_test-libevdev-has-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libevdev/files/patch-test_test-libevdev-has-event.c')
-rw-r--r--devel/libevdev/files/patch-test_test-libevdev-has-event.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/libevdev/files/patch-test_test-libevdev-has-event.c b/devel/libevdev/files/patch-test_test-libevdev-has-event.c
new file mode 100644
index 000000000000..adac5377008c
--- /dev/null
+++ b/devel/libevdev/files/patch-test_test-libevdev-has-event.c
@@ -0,0 +1,16 @@
+--- test/test-libevdev-has-event.c.orig 2017-05-04 00:37:30 UTC
++++ test/test-libevdev-has-event.c
+@@ -116,6 +116,13 @@ START_TEST(test_event_codes)
+ evbit++;
+ continue;
+ }
++#ifdef __FreeBSD__
++ /* Force feedback events are not supported by FreeBSD */
++ if (*evbit == EV_FF) {
++ evbit++;
++ continue;
++ }
++#endif
+
+ max = libevdev_event_type_get_max(*evbit);
+