From 32edb31234c30b0d568fe75050dfb020b2e0a758 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sat, 13 Jan 2018 20:35:43 +0100 Subject: [PATCH] iperf: fix cross-musl. --- srcpkgs/iperf/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/iperf/template b/srcpkgs/iperf/template index 282bdc047e..04137ce702 100644 --- a/srcpkgs/iperf/template +++ b/srcpkgs/iperf/template @@ -11,6 +11,10 @@ homepage="https://iperf.fr/" distfiles="https://iperf.fr/download/source/${pkgname}-${version}-source.tar.gz" checksum=a5350777b191e910334d3a107b5e5219b72ffa393da4186da1e0a4552aeeded6 +case "$XBPS_TARGET_MACHINE" in + *-musl) configure_args=" ac_cv_sizeof_bool=0" ;; +esac + post_install() { vlicense COPYING LICENSE }