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:
Marius Bakke 2019-10-18 11:53:03 +02:00
parent b95d1b3289
commit a5ef1bcd24
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -848,13 +848,20 @@ Machine Protocol.")
(lambda* (#:key outputs #:allow-other-keys)
(chdir "client")
#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
(lambda* (#:key outputs #:allow-other-keys)
(install-file "looking-glass-client"
(string-append (assoc-ref outputs "out")
"/bin"))
#t))
)))
#t)))))
(home-page "https://looking-glass.hostfission.com")
(synopsis "KVM Frame Relay (KVMFR) implementation")
(description "Looking Glass allows the use of a KVM (Kernel-based Virtual