guix-commits
[Top][All Lists]
Advanced

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

09/10: gnu: hyperrogue: Fix FTBFS with GCC7.


From: guix-commits
Subject: 09/10: gnu: hyperrogue: Fix FTBFS with GCC7.
Date: Wed, 16 Jan 2019 08:41:22 -0500 (EST)

mbakke pushed a commit to branch wip-gcc7
in repository guix.

commit 56e8b4ff7936262e3f322c427e82c8c0c3f4100a
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 04521d3..1a00c7d 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3673,7 +3673,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]