# Depends on: libgmp acl libcap
name=coreutils
-version=8.24
-release=2
+version=8.26
+release=1
source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.xz \
- $name-uname.patch)
+ $name-uname.patch $name-$version-Fix-cross.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/$name-uname.patch
+ patch -p1 -i $SRC/$name-$version-Fix-cross.patch
cat > config.cache <<EOF
ac_cv_search_clock_gettime=no
export FORCE_UNSAFE_CONFIGURE=1
+ # fix to avoid build manpages
+ sed "s|UBDIRS = po . gnulib-tests|UBDIRS = . gnulib-tests|g" -i Makefile.am
+ sed 's|include $(top_srcdir)/man/local.mk||g' -i Makefile.am
+
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \