diff --git a/srcpkgs/util-linux/template b/srcpkgs/util-linux/template index 3fe02bd1d80..55972bd3ffd 100644 --- a/srcpkgs/util-linux/template +++ b/srcpkgs/util-linux/template @@ -1,7 +1,7 @@ # Template file for 'util-linux' pkgname=util-linux version=2.27 -revision=1 +revision=2 short_desc="Miscellaneous linux utilities" maintainer="Juan RP " homepage="https://www.kernel.org/pub/linux/utils/util-linux/" @@ -23,6 +23,9 @@ conf_files=" /etc/pam.d/login" provides="eject-${version}_1" +# XXX musl needs this for switch_root(8). +CFLAGS="-D_DIRENT_HAVE_D_TYPE" + pre_configure() { NOCONFIGURE=1 ./autogen.sh }