diff --git a/srcpkgs/gamemode/patches/musl-basename.patch b/srcpkgs/gamemode/patches/musl-basename.patch deleted file mode 100644 index 91e00ac1e9ae5f..00000000000000 --- a/srcpkgs/gamemode/patches/musl-basename.patch +++ /dev/null @@ -1,28 +0,0 @@ -commit 7b2e2589c00c02ada1eb2e7289679da83954cec3 -Author: Daniel Martinez -Date: Tue Feb 27 10:57:15 2024 -0500 - - use posix basename to fix build on musl - - glibc provides a nonstandard basename implementation, - this can be overriden and posix basename can be used - by includeing libgen.h, however musl only has posix - basename, and must always include libgen.h - - In this particular case, it doesn't appear that using - the posix version of basename will cause any issues, - as it is simply being used to match a hardcoded config - file name. - -diff --git a/daemon/gamemode-config.c b/daemon/gamemode-config.c -index 92f5406..a63459c 100644 ---- a/daemon/gamemode-config.c -+++ b/daemon/gamemode-config.c -@@ -41,6 +41,7 @@ POSSIBILITY OF SUCH DAMAGE. - #include - - #include -+#include - #include - #include - #include diff --git a/srcpkgs/gamemode/patches/musl-shed.patch b/srcpkgs/gamemode/patches/musl-shed.patch deleted file mode 100644 index 02b7095805767e..00000000000000 --- a/srcpkgs/gamemode/patches/musl-shed.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 4a82094c9822a989722acf30fff9679a9ad1a311 Mon Sep 17 00:00:00 2001 -From: Kostadin Shishmanov -Date: Sat, 30 Dec 2023 22:47:38 +0200 -Subject: [PATCH] Fix build with musl - -Fixes the following build failure: -In file included from ../common/common-cpu.c:32: -../common/common-cpu.h:44:9: error: unknown type name 'cpu_set_t' - 44 | cpu_set_t *online; - | ^~~~~~~~~ -../common/common-cpu.h:45:9: error: unknown type name 'cpu_set_t' - 45 | cpu_set_t *to_keep; - | ^~~~~~~~~ - -Signed-off-by: Kostadin Shishmanov ---- - common/common-cpu.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/common/common-cpu.h b/common/common-cpu.h -index 3c8df27c..ccc8ed44 100644 ---- a/common/common-cpu.h -+++ b/common/common-cpu.h -@@ -31,6 +31,8 @@ POSSIBILITY OF SUCH DAMAGE. - - #pragma once - -+#define _GNU_SOURCE -+ - #include - #include - diff --git a/srcpkgs/gamemode/template b/srcpkgs/gamemode/template index c9cb41bf354522..86d5d3382a3e7f 100644 --- a/srcpkgs/gamemode/template +++ b/srcpkgs/gamemode/template @@ -1,6 +1,6 @@ # Template file for 'gamemode' pkgname=gamemode -version=1.8.1 +version=1.8.2 revision=1 build_style=meson configure_args="-Dwith-sd-bus-provider=elogind -Dwith-privileged-group=gamemode" @@ -12,7 +12,7 @@ license="BSD-3-Clause" homepage="https://github.com/FeralInteractive/gamemode" changelog="https://raw.githubusercontent.com/FeralInteractive/gamemode/${version}/CHANGELOG.md" distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz" -checksum=c52af84f41f5a867f66a817472e9d784d137702233f01d2cd3d96488458b2f0d +checksum=2b4a20894822caf04767af6a1601130d6b718fc30b8a77895607341b1674740f shlib_requires="libgamemode.so.0 libgamemodeauto.so.0" system_groups=gamemode