me
/
guix
Archived
1
0
Fork 0

gnu: libdbusmenu: Fix build failure.

* gnu/packages/gtk.scm (libdbusmenu)[arguments]: Add phase
do-not-treat-warnings-as-errors.
master
Marius Bakke 2020-05-02 12:52:47 +02:00
parent a2522c5da3
commit 48a168ff97
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 8 additions and 0 deletions

View File

@ -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" "")