lttng-tools: fix build on musl

This commit is contained in:
q66 2020-04-10 12:49:19 +02:00
parent 3141030948
commit 1347d1f7fc
2 changed files with 10 additions and 4 deletions

View file

@ -0,0 +1,10 @@
--- tests/utils/testapp/gen-ust-events-ns/tp.h
+++ tests/utils/testapp/gen-ust-events-ns/tp.h
@@ -12,6 +12,7 @@
#define _TRACEPOINT_TP_H
#include <lttng/tracepoint.h>
+#include <sys/types.h>
TRACEPOINT_EVENT(tp, tptest,
TP_ARGS(ino_t, ns_ino),

View file

@ -14,10 +14,6 @@ distfiles="${homepage}/files/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=405661d27617dc79a42712174a051a45c7ca12d167576c0d93f2de708ed29445 checksum=405661d27617dc79a42712174a051a45c7ca12d167576c0d93f2de708ed29445
system_groups="tracing" system_groups="tracing"
case "${XBPS_TARGET_MACHINE}" in
*-musl) broken="https://build.voidlinux.org/builders/x86_64-musl_builder/builds/27478/steps/shell_3/logs/stdio";;
esac
lttng-tools-devel_package() { lttng-tools-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}" depends="${makedepends} ${sourcepkg}>=${version}_${revision}"