From 30d11a12c1dbe366f9c7305f83bf861f93a65289 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 11 Feb 2013 13:48:25 +0100 Subject: [PATCH] psmisc: override malloc/realloc/memcmp detection in cross builds. --- srcpkgs/psmisc/template | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/srcpkgs/psmisc/template b/srcpkgs/psmisc/template index 68d383ecd9a..1f7efc483ec 100644 --- a/srcpkgs/psmisc/template +++ b/srcpkgs/psmisc/template @@ -11,3 +11,9 @@ homepage="http://psmisc.sourceforge.net/index.html" license="GPL-2" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=e112ccadd4694c98f5ea4a02cd6944fdc5a2a1985f20e2b3f74f4dbca83a2a31 + +if [ -n "$XBPS_CROSS_TRIPLET" ]; then + configure_args="ac_cv_func_malloc_0_nonnull=yes + ac_cv_func_realloc_0_nonnull=yes + ac_cv_func_memcmp_working=yes" +fi