From 016163fe1a1d524c7cc9ec8993f9c97d6bc63e00 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 30 Aug 2015 08:35:14 +0200 Subject: [PATCH] coreutils: rebuild with syncfs() support for musl. musl-1.1.11 has corrected the return value of syncfs() which was void in previous releases and now returns an int as specified by the spec. --- srcpkgs/coreutils/template | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/srcpkgs/coreutils/template b/srcpkgs/coreutils/template index 21e7ad30e5f..e2d5db4354f 100644 --- a/srcpkgs/coreutils/template +++ b/srcpkgs/coreutils/template @@ -1,7 +1,7 @@ # Template file for 'coreutils' pkgname=coreutils version=8.24 -revision=2 +revision=3 build_pie=yes bootstrap=yes makedepends="gmp-devel acl-devel libcap-devel" @@ -18,16 +18,11 @@ if [ "$CHROOT_READY" ]; then fi pre_configure() { - local args - case "$XBPS_TARGET_MACHINE" in - # XXX syncfs() in src/sync.c expects a return value. - *-musl) args=" ac_cv_func_syncfs=no";; - esac # Build natively all utils for the host, we need this to generate # the manpages via help2man. if [ "$CROSS_BUILD" ]; then CC=cc LD=ld AR=ar RANLIB=ranlib CFLAGS=-Os CXXFLAGS=-Os LDFLAGS= \ - ./configure --prefix=${wrksrc}/coreutils-${XBPS_MACHINE} ${args} + ./configure --prefix=${wrksrc}/coreutils-${XBPS_MACHINE} make ${makejobs} make install make distclean