guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: libdbusmenu: Fix build failure.


From: guix-commits
Subject: 02/02: gnu: libdbusmenu: Fix build failure.
Date: Sat, 2 May 2020 07:00:48 -0400 (EDT)

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

commit 48a168ff9712c42c127f8bee45a45ba2f7df28f7
Author: Marius Bakke <address@hidden>
AuthorDate: Sat May 2 12:52:47 2020 +0200

    gnu: libdbusmenu: Fix build failure.
    
    * gnu/packages/gtk.scm (libdbusmenu)[arguments]: Add phase
    do-not-treat-warnings-as-errors.
---
 gnu/packages/gtk.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 159b5f4..f375ca9 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1914,6 +1914,14 @@ shell scripts.  Example of how to use @code{yad} can be 
consulted at
                          "/lib/girepository-1.0"))
        #:phases
        (modify-phases %standard-phases
+         (add-before 'configure 'do-not-treat-warnings-as-errors
+           (lambda _
+             ;; Prevent the build from failing due to deprecation warnings
+             ;; from newer GLib and GTK versions.
+             (substitute* (find-files "." "^Makefile.in$")
+               ((" -Werror")
+                ""))
+             #t))
          (add-before 'configure 'set-environment
            (lambda _
              (setenv "HAVE_VALGRIND_TRUE" "")



reply via email to

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