mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
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 @@ (define-public libdbusmenu
|
|||
"/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" "")
|
||||
|
|
Loading…
Reference in a new issue