Skip to content
Snippets Groups Projects
Commit 053708cf authored by Natanael Copa's avatar Natanael Copa
Browse files

main/coreutils: avoid using statvfs

The API is broken on 32 bit, and the 64 bit musl implementation is
equally broken.

ref: https://lists.gnu.org/archive/html/bug-coreutils/2024-08/msg00021.html
fixes: #16386
(cherry picked from commit 9b13accc)
parent 8327e746
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=coreutils
pkgver=9.5
pkgrel=1
pkgrel=2
pkgdesc="The basic file, shell and text manipulation utilities"
url="https://www.gnu.org/software/coreutils/"
arch="all"
......@@ -23,6 +23,10 @@ options="!check" # FAIL: tests/cp/reflink-auto
# - CVE-2017-18018
build() {
# statvfs API is broken on 32 bit and musl implementation is equally
# broken on 64 bit. Avoid using it.
# https://lists.gnu.org/archive/html/bug-coreutils/2024-08/msg00021.html
fu_cv_sys_stat_statvfs=n \
CFLAGS="$CFLAGS -I/usr/include/utmps -flto=auto" \
LIBS="-lutmps -lskarnet" \
./configure \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment