From be10d5bef8bfcdc7cc2285db644f67b6ec65dce9 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sat, 21 Oct 2017 19:03:30 +0200 Subject: [PATCH] bcc: update to 0.4.0. --- srcpkgs/bcc/patches/musl.patch | 10 ++++++++++ srcpkgs/bcc/template | 8 ++++---- 2 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/bcc/patches/musl.patch diff --git a/srcpkgs/bcc/patches/musl.patch b/srcpkgs/bcc/patches/musl.patch new file mode 100644 index 0000000000..bb55144e38 --- /dev/null +++ b/srcpkgs/bcc/patches/musl.patch @@ -0,0 +1,10 @@ +--- src/cc/ns_guard.h.orig ++++ src/cc/ns_guard.h +@@ -17,6 +17,7 @@ + + #pragma once + ++#include + #include + + #include "file_desc.h" diff --git a/srcpkgs/bcc/template b/srcpkgs/bcc/template index eb6a2ce536..db0bcb53a3 100644 --- a/srcpkgs/bcc/template +++ b/srcpkgs/bcc/template @@ -1,7 +1,7 @@ # Template file for 'bcc' pkgname=bcc -version=0.3.0 -revision=3 +version=0.4.0 +revision=1 build_style=cmake configure_args="-DREVISION=${version}" hostmakedepends="flex" @@ -12,11 +12,11 @@ maintainer="Leah Neukirchen " license="Apache-2.0" homepage="https://github.com/iovisor/bcc" distfiles="https://github.com/iovisor/${pkgname}/archive/v${version}.tar.gz" -checksum=88f54dff96c30c6e7b45f475938eef790b1c9485f794b1ac6791c4e56007f7cc +checksum=f77dd07262e8365e48589bf0475e3248e4e77deae0f90e4fb77af26255bce87d nocross=yes # https://github.com/voidlinux/void-packages/issues/4738 post_extract() { - sed -i 's/REG_/BCC_REG_/g' src/cc/usdt_args.cc src/cc/usdt.h + sed -i '/tests/d' CMakeLists.txt # break on musl } bcc-tools_package() { short_desc+=" - tools"