rekado pushed a commit to branch core-updates
in repository guix.

commit 660c9b47885675aec374fe889504a8d686b091fa
Author: Ricardo Wurmus <[email protected]>
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 <[email protected]>
 ;;; Copyright © 2015, 2017 Andy Wingo <[email protected]>
 ;;; Copyright © 2015, 2016, 2017 Ludovic Courtès <[email protected]>
-;;; Copyright © 2015, 2017 Ricardo Wurmus <[email protected]>
+;;; Copyright © 2015, 2017, 2018 Ricardo Wurmus <[email protected]>
 ;;; Copyright © 2015 David Hashe <[email protected]>
 ;;; Copyright © 2016, 2017 Efraim Flashner <[email protected]>
 ;;; Copyright © 2016 Kei Kebreau <[email protected]>
@@ -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)

Reply via email to