[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: modem-manager: Fix build.
From: |
Ricardo Wurmus |
Subject: |
01/01: gnu: modem-manager: Fix build. |
Date: |
Tue, 29 May 2018 16:12:53 -0400 (EDT) |
rekado pushed a commit to branch core-updates
in repository guix.
commit 660c9b47885675aec374fe889504a8d686b091fa
Author: Ricardo Wurmus <address@hidden>
Date: Tue May 29 22:11:04 2018 +0200
gnu: modem-manager: Fix build.
* gnu/packages/freedesktop.scm (modem-manager)[arguments]: Add configure
flag
to avoid aborting on certain warnings.
---
gnu/packages/freedesktop.scm | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 9a01c78..71b3589 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -3,7 +3,7 @@
;;; Copyright © 2015 Sou Bunnbu <address@hidden>
;;; Copyright © 2015, 2017 Andy Wingo <address@hidden>
;;; Copyright © 2015, 2016, 2017 Ludovic Courtès <address@hidden>
-;;; Copyright © 2015, 2017 Ricardo Wurmus <address@hidden>
+;;; Copyright © 2015, 2017, 2018 Ricardo Wurmus <address@hidden>
;;; Copyright © 2015 David Hashe <address@hidden>
;;; Copyright © 2016, 2017 Efraim Flashner <address@hidden>
;;; Copyright © 2016 Kei Kebreau <address@hidden>
@@ -841,7 +841,11 @@ which speak the Qualcomm MSM Interface (QMI) protocol.")
(build-system gnu-build-system)
(arguments
'(#:configure-flags
- `(,(string-append "--with-udev-base-dir=" %output "/lib/udev"))))
+ `(,(string-append "--with-udev-base-dir=" %output "/lib/udev")
+ ;; FIXME: Without this flag the build fails with "error: assignment
+ ;; from incompatible pointer type" whenever the return value of
+ ;; "g_object_ref" is assigned to "ctx->self".
+ "--disable-more-warnings")))
(native-inputs
`(("glib:bin" ,glib "bin") ; for glib-mkenums
("gobject-introspection" ,gobject-introspection)