guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

42/52: gnu: libxi: Add --disable-malloc0-returnsnull when necessary.


From: guix-commits
Subject: 42/52: gnu: libxi: Add --disable-malloc0-returnsnull when necessary.
Date: Mon, 20 Sep 2021 07:19:39 -0400 (EDT)

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

commit 1485d531a734cb26be7a8da495a01c2499854fcc
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Wed Aug 25 14:41:37 2021 +0200

    gnu: libxi: Add --disable-malloc0-returnsnull when necessary.
    
    * gnu/packages/xorg.scm
      (libxi)[arguments]<#:configure-flags>: Add malloc0-flags.
---
 gnu/packages/xorg.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index aedaa1b..23ebce1 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5207,10 +5207,11 @@ new API's in libXft, or the legacy API's in libX11.")
     (build-system gnu-build-system)
     (outputs '("out" "doc"))             ;man pages represent 28% of the total
     (arguments
-     '(#:configure-flags (list "--disable-static"
+     `(#:configure-flags (list "--disable-static"
                                (string-append "--mandir="
                                               (assoc-ref %outputs "doc")
-                                              "/share/man"))))
+                                              "/share/man")
+                               ,@(malloc0-flags))))
     (propagated-inputs
       `(("xorgproto" ,xorgproto)
         ("libx11" ,libx11)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]