From 1485d531a734cb26be7a8da495a01c2499854fcc Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Wed, 25 Aug 2021 14:41:37 +0200 Subject: 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 aedaa1b498..23ebce17ff 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) -- cgit 1.4.1