guix-commits
[Top][All Lists]
Advanced

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

03/12: gnu: gzochi: Build without '-Werror'.


From: Ludovic Courtès
Subject: 03/12: gnu: gzochi: Build without '-Werror'.
Date: Mon, 30 Apr 2018 17:41:31 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 1798e9ee97016ec58dc17ae95a73814e9ebc2ebe
Author: Ludovic Courtès <address@hidden>
Date:   Mon Apr 30 19:12:34 2018 +0200

    gnu: gzochi: Build without '-Werror'.
    
    Previously it would fail to build due to GLib deprecation warnings.
    
    * gnu/packages/game-development.scm (gzochi)[arguments]: New field.
---
 gnu/packages/game-development.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/game-development.scm 
b/gnu/packages/game-development.scm
index 86abf9f..1374676 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1,7 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2014 Tomáš Čech <address@hidden>
 ;;; Copyright © 2015 Mark H Weaver <address@hidden>
-;;; Copyright © 2015 Ludovic Courtès <address@hidden>
+;;; Copyright © 2015, 2018 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2015 Alex Kost <address@hidden>
 ;;; Copyright © 2015, 2016, 2017 David Thompson <address@hidden>
 ;;; Copyright © 2016, 2017, 2018 Efraim Flashner <address@hidden>
@@ -233,6 +233,15 @@ PCM data.")
                (base32
                 "13j1m92zhxwkaaja3lg5x0h0b28mrrawdzk9d3hd19031akfxwb3"))))
     (build-system gnu-build-system)
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (add-before 'build 'no-Werror
+                    (lambda _
+                      ;; Don't abort builds due to things like GLib
+                      ;; deprecation warnings.
+                      (substitute* (find-files "." "^Makefile\\.in$")
+                        (("-Werror") ""))
+                      #t)))))
     (native-inputs `(("pkgconfig" ,pkg-config)))
     (inputs `(("bdb" ,bdb)
               ("glib" ,glib)



reply via email to

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