void-packages/srcpkgs/mouseemu/patches/001-nofork.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

13 lines
358 B
Diff

Author: <gaudenz@debian.org>
Description: Don't kill ourselves if not forking into the background
--- a/mouseemu.c
+++ b/mouseemu.c
@@ -706,7 +706,7 @@
}
/* tell the parent we are running without problems */
/* What should we do if the parent is dead? */
- if (answer) {
+ if (answer && !nofork) {
answer=0;
kill(getppid(), SIGUSR1);
}