From 5f85021414375550056ae509e584fe706e2d778ba81693b5a54f280543495098 Mon Sep 17 00:00:00 2001 From: Matthias Bach Date: Sat, 3 Sep 2022 11:56:59 +0000 Subject: [PATCH] - Add a workaround for building on Tumbleweed where detection of the pidfd_open function does not work properly. OBS-URL: https://build.opensuse.org/package/show/games:tools/gamemode?expand=0&rev=29 --- gamemode.changes | 6 ++++++ gamemode.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/gamemode.changes b/gamemode.changes index afa8f54..a5bbe9b 100644 --- a/gamemode.changes +++ b/gamemode.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Sep 3 11:47:40 UTC 2022 - Matthias Bach - 1.7 + +- Add a workaround for building on Tumbleweed where detection of + the pidfd_open function does not work properly. + ------------------------------------------------------------------- Fri Jul 22 18:27:05 UTC 2022 - Matthias Bach - 1.7 diff --git a/gamemode.spec b/gamemode.spec index 5c4c336..ececaa6 100644 --- a/gamemode.spec +++ b/gamemode.spec @@ -113,6 +113,9 @@ built-in GameMode support. cp %{SOURCE3} . +# Work around broken pidfd_open detection on Tumbleweed +sed -i 's/pidfd_open = .*/pidfd_open = false/' meson.build + %build %meson -Dwith-examples=false %meson_build