bcc: update to 0.4.0.
This commit is contained in:
parent
3563ac4b13
commit
be10d5bef8
|
@ -0,0 +1,10 @@
|
|||
--- src/cc/ns_guard.h.orig
|
||||
+++ src/cc/ns_guard.h
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include <memory>
|
||||
|
||||
#include "file_desc.h"
|
|
@ -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 <leah@vuxu.org>"
|
|||
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"
|
||||
|
|
Loading…
Reference in New Issue