void-packages/srcpkgs/mouseemu/patches/009-uinput_error_msg.patch
q66 b004d06c23 New package: mouseemu-0.15
This is a daemon which allows you to emulate middle and right
click as well as a mouse wheel. It was originally written for
Apple PowerPC laptops with a single button, but can be used on
any hardware.
2020-02-09 03:10:27 +01:00

15 lines
547 B
Diff

Author: <gaudenz@debian.org>
Description: send error message to stderr if no uinput device is found
--- a/mouseemu.c
+++ b/mouseemu.c
@@ -821,8 +821,8 @@
running = uinput_setup();
if (running < 0) {
- syslog(LOG_NOTICE, "Make sure uinput module is loaded or available "
- "in the kernel.\n");
+ fprintf(stderr, "No uinput device found! Make sure the uinput module is loaded\n"
+ "or CONFIG_INPUT_UINPUT is compiled into the kernel.\n");
}