gnu: libxi: Add --disable-malloc0-returnsnull when necessary.

* gnu/packages/xorg.scm
  (libxi)[arguments]<#:configure-flags>: Add malloc0-flags.
This commit is contained in:
Maxime Devos 2021-08-25 14:41:37 +02:00 committed by Mathieu Othacehe
parent 2505055c02
commit 1485d531a7
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -5207,10 +5207,11 @@ (define-public libxi
(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)