diff options
author | Marius Bakke <mbakke@fastmail.com> | 2020-05-02 12:52:47 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2020-05-02 12:52:47 +0200 |
commit | 48a168ff9712c42c127f8bee45a45ba2f7df28f7 (patch) | |
tree | ed16eb9890b21e8d55186e9d32463609f37f68ff /gnu | |
parent | a2522c5da3a71a634a55e5d77df3cf585784676f (diff) | |
download | guix-48a168ff9712c42c127f8bee45a45ba2f7df28f7.tar.gz |
gnu: libdbusmenu: Fix build failure.
* gnu/packages/gtk.scm (libdbusmenu)[arguments]: Add phase do-not-treat-warnings-as-errors.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/gtk.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 159b5f4705..f375ca9b82 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" "") |