guix-commits
[Top][All Lists]
Advanced

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

09/14: gnu: love: Fix build with address@hidden


From: Tobias Geerinckx-Rice
Subject: 09/14: gnu: love: Fix build with address@hidden
Date: Tue, 27 Feb 2018 10:50:20 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 130acf72f78feaf008c148a22680e15725b9112a
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Feb 12 11:08:54 2018 +0100

    gnu: love: Fix build with address@hidden
    
    * gnu/packages/game-development.scm (love)[source]: Add snippet fixing Lua 
version detection.
---
 gnu/packages/game-development.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/game-development.scm 
b/gnu/packages/game-development.scm
index ffc3522..5deb5a3 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -547,7 +547,15 @@ archive on a per-file basis.")
                                  "love-" version "-linux-src.tar.gz"))
              (sha256
               (base32
-               "11x346pw0gqad8nmkmywzx4xpcbfc3dslbrdw5x94n1i25mk0sxj"))))
+               "11x346pw0gqad8nmkmywzx4xpcbfc3dslbrdw5x94n1i25mk0sxj"))
+             (modules '((guix build utils)))
+             (snippet
+              '(begin
+                 ;; Build with luajit 2.1.0-beta3.  Fixed in love 0.11.
+                 ;; See <https://bitbucket.org/rude/love/issues/1277>.
+                 (substitute* "src/libraries/luasocket/libluasocket/lua.h"
+                   (("> 501") ">= 501"))
+                 #t))))
     (build-system gnu-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)))



reply via email to

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