- 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
This commit is contained in:
Matthias Bach 2022-09-03 11:56:59 +00:00 committed by Git OBS Bridge
parent e861b4ab6b
commit 5f85021414
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Sep 3 11:47:40 UTC 2022 - Matthias Bach <marix@marix.org> - 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 <marix@marix.org> - 1.7

View File

@ -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