From 87c87c6e454c27d3b991cbce10d995a337d4f509 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 18 Jan 2014 13:52:11 +0100 Subject: [PATCH] libX11: cross build support. --- srcpkgs/libX11/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libX11/template b/srcpkgs/libX11/template index 44f67e45c3..ba7b7dfa64 100644 --- a/srcpkgs/libX11/template +++ b/srcpkgs/libX11/template @@ -4,7 +4,8 @@ version=1.6.2 revision=1 build_style=gnu-configure configure_args="--enable-ipv6 --enable-xlocaledir --without-xmlto - --disable-secure-rpc --disable-static ac_cv_func_mmap_fixed_mapped=yes" + --disable-secure-rpc --disable-static ac_cv_func_mmap_fixed_mapped=yes + ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes" hostmakedepends="pkg-config" makedepends="xproto>=7.0.23 xextproto xtrans xcmiscproto kbproto bigreqsproto inputproto>=2.2 xf86bigfontproto libxcb-devel"