diff options
author | Marius Bakke <mbakke@fastmail.com> | 2019-10-18 11:53:03 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2019-10-18 18:18:27 +0200 |
commit | a5ef1bcd24a53c13d868db786a645b6e0f10aea9 (patch) | |
tree | f8bc66fa347eb0e72b4a9504ed2d831e95b7d65b | |
parent | b95d1b3289a6bb8e346a47e750660e16fb201c57 (diff) | |
download | guix-patches-a5ef1bcd24a53c13d868db786a645b6e0f10aea9.tar guix-patches-a5ef1bcd24a53c13d868db786a645b6e0f10aea9.tar.gz |
gnu: looking-glass-client: Adjust for Mesa 19.2.
* gnu/packages/virtualization.scm (looking-glass-client)[arguments]: Add phase
'add-missing-include'.
-rw-r--r-- | gnu/packages/virtualization.scm | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index a3504882a2..93e1cb5ec5 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -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 |