From 1347d1f7fcbf3bde9c80a3c51e552710c104d4e3 Mon Sep 17 00:00:00 2001 From: q66 Date: Fri, 10 Apr 2020 12:49:19 +0200 Subject: [PATCH] lttng-tools: fix build on musl --- srcpkgs/lttng-tools/patches/musl-ino_t.patch | 10 ++++++++++ srcpkgs/lttng-tools/template | 4 ---- 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/lttng-tools/patches/musl-ino_t.patch diff --git a/srcpkgs/lttng-tools/patches/musl-ino_t.patch b/srcpkgs/lttng-tools/patches/musl-ino_t.patch new file mode 100644 index 0000000000..ca3007a1f5 --- /dev/null +++ b/srcpkgs/lttng-tools/patches/musl-ino_t.patch @@ -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 ++#include + + TRACEPOINT_EVENT(tp, tptest, + TP_ARGS(ino_t, ns_ino), diff --git a/srcpkgs/lttng-tools/template b/srcpkgs/lttng-tools/template index 0edf96d9cc..fce3cdbbaa 100644 --- a/srcpkgs/lttng-tools/template +++ b/srcpkgs/lttng-tools/template @@ -14,10 +14,6 @@ distfiles="${homepage}/files/${pkgname}/${pkgname}-${version}.tar.bz2" checksum=405661d27617dc79a42712174a051a45c7ca12d167576c0d93f2de708ed29445 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() { short_desc+=" - development files" depends="${makedepends} ${sourcepkg}>=${version}_${revision}"