diff --git a/common/environment/configure/autoconf_cache/common-linux b/common/environment/configure/autoconf_cache/common-linux index 4c27d3549d3..f524addfe65 100644 --- a/common/environment/configure/autoconf_cache/common-linux +++ b/common/environment/configure/autoconf_cache/common-linux @@ -163,3 +163,6 @@ compat_cv_func_makedev_three_args=no # exo ac_cv_strftime_extensions=yes + +# time +ac_cv_func_wait3=yes diff --git a/srcpkgs/time/template b/srcpkgs/time/template index 651b5a9d0bb..e4af8e17746 100644 --- a/srcpkgs/time/template +++ b/srcpkgs/time/template @@ -1,7 +1,7 @@ # Template file for 'time' pkgname=time version=1.7 -revision=6 +revision=7 build_style=gnu-configure short_desc="The GNU time program for measuring cpu resource usage" maintainer="Juan RP " @@ -10,6 +10,9 @@ license="GPL-2" distfiles="$GNU_SITE/$pkgname/$pkgname-$version.tar.gz" checksum=e37ea79a253bf85a85ada2f7c632c14e481a5fd262a362f6f4fd58e68601496d +# Required by wait3(2) with musl +CFLAGS="-D_GNU_SOURCE" + do_install() { make bindir="${DESTDIR}/usr/bin" infodir="${DESTDIR}/usr/share/info" install }