guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: gnu: q5go: Fix build.


From: guix-commits
Subject: 03/04: gnu: q5go: Fix build.
Date: Sat, 18 Sep 2021 09:35:45 -0400 (EDT)

glv pushed a commit to branch core-updates-frozen
in repository guix.

commit 642fcb1d08548fa887b4561f2590df62cd8eacbc
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Sat Sep 18 15:03:41 2021 +0200

    gnu: q5go: Fix build.
    
    * gnu/packages/games.scm (q5go)[arguments]: Add 'fix-header' phase.
---
 gnu/packages/games.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 9d7ba9a..88a5895 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -10121,6 +10121,11 @@ can be downloaded from 
@url{https://zero.sjeng.org/best-network}.";)
               (("qtchooser -run-tool=(.*) -qt=qt5" _ command)
                command))
             #t))
+        (add-after 'unpack 'fix-header
+          (lambda _
+            (substitute* "src/bitarray.h"
+              (("#include <cstring>" all)
+               (string-append all "\n#include <stdexcept>")))))
         (add-after 'unpack 'fix-paths
           (lambda _
             (substitute* '("src/pics/Makefile.in"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]