From b0bab803d2f1c96af5760374e2684f9a85591916 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 2 Oct 2022 01:11:51 +0100 Subject: gentoo auto-resync : 02:10:2022 - 01:11:51 --- .../files/gamemode-1.6.1-signal_h-musl.patch | 39 ---------------------- 1 file changed, 39 deletions(-) delete mode 100644 games-util/gamemode/files/gamemode-1.6.1-signal_h-musl.patch (limited to 'games-util/gamemode/files/gamemode-1.6.1-signal_h-musl.patch') diff --git a/games-util/gamemode/files/gamemode-1.6.1-signal_h-musl.patch b/games-util/gamemode/files/gamemode-1.6.1-signal_h-musl.patch deleted file mode 100644 index 8689157969bc..000000000000 --- a/games-util/gamemode/files/gamemode-1.6.1-signal_h-musl.patch +++ /dev/null @@ -1,39 +0,0 @@ -https://github.com/FeralInteractive/gamemode/pull/368 - -From 4079d246805e9ce6c1f5ee49116013eb9f5225d7 Mon Sep 17 00:00:00 2001 -From: Alfred Persson Forsberg -Date: Tue, 5 Jul 2022 17:18:19 +0000 -Subject: [PATCH] Fix build on musl libc - -This simple patch includes signal.h in daemon/gamemode-context.c to fix building gamemode on musl -libc. - -This has been tested Gentoo musl and Alpine (also Gentoo glibc to -ensure no multiple defined symbols/other errors for glibc). - -> ../daemon/gamemode-context.c: In function 'game_mode_context_auto_expire': -> ../daemon/gamemode-context.c:421:29: error: implicit declaration of function 'kill' [-Werror=implicit-function-declaration] -> 421 | if (kill(client->pid, 0) != 0) { -> | ^~~~ -> ../daemon/gamemode-context.c:421:29: warning: nested extern declaration of 'kill' [-Wnested-externs] - -Signed-off-by: Alfred Persson Forsberg ---- - daemon/gamemode-context.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/daemon/gamemode-context.c b/daemon/gamemode-context.c -index 3b5a61b..feba2b1 100644 ---- a/daemon/gamemode-context.c -+++ b/daemon/gamemode-context.c -@@ -45,6 +45,7 @@ POSSIBILITY OF SUCH DAMAGE. - #include - #include - #include -+#include - #include - #include - #include --- -2.35.1 - -- cgit v1.2.3