New package: uftrace-0.8.1

This commit is contained in:
Leah Neukirchen 2017-11-09 14:36:58 +01:00
parent f50e17903c
commit 9859ea6afa
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- utils/debug.c.orig
+++ utils/debug.c
@@ -120,7 +120,7 @@
vfprintf(logfp, fmt, ap);
va_end(ap);
- fprintf(logfp, ": %s\n", strerror_r(saved_errno, buf, sizeof(buf)));
+ fprintf(logfp, ": %s\n", strerror(saved_errno));
color(TERM_COLOR_RESET, logfp);

22
srcpkgs/uftrace/template Normal file
View File

@ -0,0 +1,22 @@
# Template file for 'uftrace'
pkgname=uftrace
version=0.8.1
revision=1
build_style=gnu-configure
hostmakedepends="pandoc"
makedepends="elfutils-devel"
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends="argp-standalone"; export LDFLAGS=-largp;;
esac
only_for_archs="aarch64 aarch64-musl armv6l armv6l-musl armv7l armv7l-musl x86_64 x86_64-musl"
case "$XBPS_TARGET_MACHINE" in
x86_64*) export ARCH=x86_64;;
arm*) export ARCH=arm;;
aarch64*) export ARCH=aarch64;;
esac
short_desc="Function graph tracer for user-space"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="https://github.com/namhyung/uftrace"
distfiles="https://github.com/namhyung/uftrace/archive/v${version}.tar.gz"
checksum=5f9489554d0b9e475eaf6f181550e4c99274ad2038841cf8a2d615d9f65d6d44