gnu: libdbusmenu: Fix build failure.
* gnu/packages/gtk.scm (libdbusmenu)[arguments]: Add phase do-not-treat-warnings-as-errors.
This commit is contained in:
parent
a2522c5da3
commit
48a168ff97
1 changed files with 8 additions and 0 deletions
|
@ -1914,6 +1914,14 @@ shell scripts. Example of how to use @code{yad} can be consulted at
|
||||||
"/lib/girepository-1.0"))
|
"/lib/girepository-1.0"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(add-before 'configure 'set-environment
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "HAVE_VALGRIND_TRUE" "")
|
(setenv "HAVE_VALGRIND_TRUE" "")
|
||||||
|
|
Reference in a new issue