guix-commits
[Top][All Lists]
Advanced

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

branch core-updates-frozen updated: gnu: 4dtris: Fix build.


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: 4dtris: Fix build.
Date: Tue, 21 Sep 2021 09:51:03 -0400

This is an automated email from the git hooks/post-receive script.

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

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new a3324e5  gnu: 4dtris: Fix build.
a3324e5 is described below

commit a3324e57531186a42feb3aa488556faa67386e9c
Author: Felix Gruber <felgru@posteo.net>
AuthorDate: Mon Sep 20 19:37:50 2021 +0000

    gnu: 4dtris: Fix build.
    
    * gnu/packages/games.scm (4dtris)[attributes]: Add -fcommon to CFLAGS
      and use search-input-directory to find SDL include path.
    
    Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 gnu/packages/games.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 88a5895..e279e1e 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -8639,7 +8639,8 @@ affected by the gravity of the planets.")
          "1nfkhcm0l89jyw8yr65na97g4l385zhjf7whkyg47c3v5sdqq2g7"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases
+     `(#:configure-flags '("CFLAGS=-fcommon")
+       #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'fix-install-directories
            (lambda* (#:key outputs #:allow-other-keys)
@@ -8656,7 +8657,7 @@ affected by the gravity of the planets.")
            (lambda* (#:key inputs #:allow-other-keys)
              (setenv "CPATH"
                      (string-append
-                      (search-input-file inputs "/include/SDL")
+                      (search-input-directory inputs "/include/SDL")
                       ":" (or (getenv "CPATH") ""))))))))
     (inputs
      `(("fontconfig" ,fontconfig)



reply via email to

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