summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2026-04-07 22:27:36 +0800
committerHilton Chain <hako@ultrarare.space>2026-04-10 13:14:26 +0800
commitd9c7933f8e7c29346a41355d26ac2abf318d097d (patch)
treee4693a36015ca704c8f052a09288dd187549c656 /gnu/packages
parent1e98199d97454e6c6b4c71a6a7343d242216d611 (diff)
gnu: gamemode: Patch library references.
This change addresses the following error: $ gamemoderun echo ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. * gnu/packages/linux.scm (gamemode) [arguments] <#:phases>: Patch libgamemode.so.0 and libgamemodeauto.so.0 references. Change-Id: I8a32677c835bcc1c2fe1a9d6e4363fbb32a88dc7 Merges: #7728
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/linux.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 8a6ef282fff..a55d818296b 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7713,7 +7713,15 @@ and copy/paste text in the console and in xterm.")
7713 "/etc/security/limits.d") 7713 "/etc/security/limits.d")
7714 ;; Guix does not use systemd. 7714 ;; Guix does not use systemd.
7715 "-Dwith-systemd-user-unit=false" 7715 "-Dwith-systemd-user-unit=false"
7716 "-Dwith-systemd-group=false"))) 7716 "-Dwith-systemd-group=false")
7717 #:phases
7718 #~(modify-phases %standard-phases
7719 (add-after 'unpack 'patch-references
7720 (lambda _
7721 (substitute* '("lib/gamemode_client.h"
7722 "data/gamemoderun")
7723 (("libgamemode(auto)?\\.so\\.0" lib)
7724 (string-append #$output "/lib/" lib))))))))
7717 (native-inputs 7725 (native-inputs
7718 (list pkg-config)) 7726 (list pkg-config))
7719 (inputs 7727 (inputs