From 7ae4e1d32a98b596d483a19ed94a21b560eb595d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 24 Oct 2022 21:52:37 +0100 Subject: gentoo auto-resync : 24:10:2022 - 21:52:37 --- .../files/mouseremote-0.90-fix-clang-16.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 app-misc/mouseremote/files/mouseremote-0.90-fix-clang-16.patch (limited to 'app-misc/mouseremote/files/mouseremote-0.90-fix-clang-16.patch') diff --git a/app-misc/mouseremote/files/mouseremote-0.90-fix-clang-16.patch b/app-misc/mouseremote/files/mouseremote-0.90-fix-clang-16.patch new file mode 100644 index 000000000000..041a28041652 --- /dev/null +++ b/app-misc/mouseremote/files/mouseremote-0.90-fix-clang-16.patch @@ -0,0 +1,29 @@ +From 4363dd75d5df8c85869f0f6f5d3a22d561cff7e0 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Mon, 24 Oct 2022 17:28:49 +0100 +Subject: [PATCH] Fix build with Clang 16 + +Bug: https://bugs.gentoo.org/874957 +--- a/MultiMouse/daemon.c ++++ b/MultiMouse/daemon.c +@@ -78,6 +78,7 @@ int MakeMeDaemon() + setsid(); + close(fileno(stderr)); + kill(parent, SIGTERM); ++ return 0; + } + + void SetSignals() +--- a/MultiMouse/main.c ++++ b/MultiMouse/main.c +@@ -30,6 +30,10 @@ + + #include "mumse.h" + ++int MakeMeDaemon(void); ++void SetSignals(void); ++void Selection(int numMouse); ++ + static + void InitMouse(int mfd, u_short baud, u_short cflag) + { -- cgit v1.2.3