mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 23:06:59 +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"))
|
"/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" "")
|
||||||
|
|
Loading…
Reference in a new issue