guix-commits
[Top][All Lists]
Advanced

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

28/29: gnu: hyperrogue: Fix FTBFS with GCC7.


From: guix-commits
Subject: 28/29: gnu: hyperrogue: Fix FTBFS with GCC7.
Date: Sat, 9 Feb 2019 15:55:27 -0500 (EST)

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

commit b6c2805c0b6d9d237c52f9e0cc779fb7af548b93
Author: Marius Bakke <address@hidden>
Date:   Sun Oct 7 18:31:26 2018 +0200

    gnu: hyperrogue: Fix FTBFS with GCC7.
    
    * gnu/packages/games.scm (hyperrogue)[arguments]: Remove redundant
      #:make-flags.  Preserve original CPATH when adding SDL path.
---
 gnu/packages/games.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 5d7c89a..f46da6c 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3635,7 +3635,8 @@ throwing people around in pseudo-randomly generated 
buildings.")
          (add-after 'set-paths 'set-sdl-paths
            (lambda* (#:key inputs #:allow-other-keys)
              (setenv "CPATH"
-                     (string-append (assoc-ref inputs "sdl-union")
+                     (string-append (getenv "CPATH") ":"
+                                    (assoc-ref inputs "sdl-union")
                                     "/include/SDL"))))
          (replace 'configure
            (lambda* (#:key inputs outputs #:allow-other-keys)



reply via email to

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