mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
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.
This commit is contained in:
parent
e9f837ba0c
commit
016163fe1a
1 changed files with 2 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'coreutils'
|
# Template file for 'coreutils'
|
||||||
pkgname=coreutils
|
pkgname=coreutils
|
||||||
version=8.24
|
version=8.24
|
||||||
revision=2
|
revision=3
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
makedepends="gmp-devel acl-devel libcap-devel"
|
makedepends="gmp-devel acl-devel libcap-devel"
|
||||||
|
@ -18,16 +18,11 @@ if [ "$CHROOT_READY" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
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
|
# Build natively all utils for the host, we need this to generate
|
||||||
# the manpages via help2man.
|
# the manpages via help2man.
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
CC=cc LD=ld AR=ar RANLIB=ranlib CFLAGS=-Os CXXFLAGS=-Os LDFLAGS= \
|
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 ${makejobs}
|
||||||
make install
|
make install
|
||||||
make distclean
|
make distclean
|
||||||
|
|
Loading…
Add table
Reference in a new issue