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

commit 642fcb1d08548fa887b4561f2590df62cd8eacbc
Author: Guillaume Le Vaillant <[email protected]>
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