diff --git a/srcpkgs/strace/template b/srcpkgs/strace/template index 2f9d5fda1e0..9e78d366794 100644 --- a/srcpkgs/strace/template +++ b/srcpkgs/strace/template @@ -1,6 +1,6 @@ # Template file for 'strace' pkgname=strace -version=6.14 +version=6.15 revision=1 build_style=gnu-configure configure_args="--enable-silent-rules $(vopt_with libunwind)" @@ -11,7 +11,7 @@ license="LGPL-2.1-or-later" homepage="https://strace.io/" changelog="https://raw.githubusercontent.com/strace/strace/master/NEWS" distfiles="https://github.com/strace/strace/releases/download/v${version}/strace-${version}.tar.xz" -checksum=244f3b5c20a32854ca9b7ca7a3ee091dd3d4bd20933a171ecee8db486c77d3c9 +checksum=8552dfab08abc22a0f2048c98fd9541fd4d71b6882507952780dab7c7c512f51 build_options="static libunwind" build_options_default="libunwind" @@ -23,6 +23,9 @@ if [ "$build_option_static" ]; then LDFLAGS=-static fi +# workound musl not defining off64_t +CFLAGS="-D_LARGEFILE64_SOURCE" + case "$XBPS_TARGET_MACHINE" in aarch64*|ppc64*) configure_args+=" --enable-mpers=no" ;; # work around https://github.com/strace/strace/issues/133