mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-02 07:56:23 +01:00
gnu: looking-glass-client: Adjust for Mesa 19.2.
* gnu/packages/virtualization.scm (looking-glass-client)[arguments]: Add phase 'add-missing-include'.
This commit is contained in:
parent
b95d1b3289
commit
a5ef1bcd24
1 changed files with 9 additions and 2 deletions
|
@ -848,13 +848,20 @@ (define-public looking-glass-client
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(chdir "client")
|
(chdir "client")
|
||||||
#t))
|
#t))
|
||||||
|
(add-after 'chdir-to-client 'add-missing-include
|
||||||
|
(lambda _
|
||||||
|
;; Mimic upstream commit b9797529893, required since the
|
||||||
|
;; update to Mesa 19.2.
|
||||||
|
(substitute* "renderers/egl/shader.h"
|
||||||
|
(("#include <stdbool\\.h>")
|
||||||
|
"#include <stdbool.h>\n#include <stddef.h>"))
|
||||||
|
#t))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(install-file "looking-glass-client"
|
(install-file "looking-glass-client"
|
||||||
(string-append (assoc-ref outputs "out")
|
(string-append (assoc-ref outputs "out")
|
||||||
"/bin"))
|
"/bin"))
|
||||||
#t))
|
#t)))))
|
||||||
)))
|
|
||||||
(home-page "https://looking-glass.hostfission.com")
|
(home-page "https://looking-glass.hostfission.com")
|
||||||
(synopsis "KVM Frame Relay (KVMFR) implementation")
|
(synopsis "KVM Frame Relay (KVMFR) implementation")
|
||||||
(description "Looking Glass allows the use of a KVM (Kernel-based Virtual
|
(description "Looking Glass allows the use of a KVM (Kernel-based Virtual
|
||||||
|
|
Loading…
Reference in a new issue