Accepting request 1001031 from games:tools

- Add a workaround for building on Tumbleweed where detection of
  the pidfd_open function does not work properly.

OBS-URL: https://build.opensuse.org/request/show/1001031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gamemode?expand=0&rev=10
This commit is contained in:
2022-09-03 21:19:23 +00:00
committed by Git OBS Bridge
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