summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-05-02 12:52:47 +0200
committerMarius Bakke <mbakke@fastmail.com>2020-05-02 12:52:47 +0200
commit48a168ff9712c42c127f8bee45a45ba2f7df28f7 (patch)
treeed16eb9890b21e8d55186e9d32463609f37f68ff /gnu/packages
parenta2522c5da3a71a634a55e5d77df3cf585784676f (diff)
downloadpatches-48a168ff9712c42c127f8bee45a45ba2f7df28f7.tar
patches-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/packages')
-rw-r--r--gnu/packages/gtk.scm8
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" "")