From 978dc6acca734b9068262434a9dc67aafd8576fd Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 4 Jul 2015 07:56:50 +0200 Subject: [PATCH] coreutils: unbreak musl build; syncfs() proto does not match with glibc. --- srcpkgs/coreutils/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/coreutils/template b/srcpkgs/coreutils/template index c55c72855cd..5c515fcb2fa 100644 --- a/srcpkgs/coreutils/template +++ b/srcpkgs/coreutils/template @@ -35,6 +35,10 @@ do_configure() { gl_cv_func_working_mkstemp=yes gl_cv_func_working_acl_get_file=yes " fi + case "$XBPS_TARGET_MACHINE" in + # XXX syncfs() in src/sync.c expects a return value. + *-musl) configure_args+=" ac_cv_func_syncfs=no";; + esac # # Do not install kill: provided by util-linux. # Do not install uptime: provided by procps-ng.