bcc: update to 0.30.0.

This commit is contained in:
Leah Neukirchen 2024-04-05 14:43:31 +02:00
parent 7115588369
commit 5aadefce61

View file

@ -1,7 +1,7 @@
# Template file for 'bcc'
pkgname=bcc
version=0.29.1
revision=2
version=0.30.0
revision=1
build_style=cmake
configure_args="-DREVISION=${version} -DENABLE_LLVM_SHARED=1"
hostmakedepends="flex python3-setuptools"
@ -13,9 +13,15 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/iovisor/bcc"
distfiles="https://github.com/iovisor/bcc/releases/download/v${version}/bcc-src-with-submodule.tar.gz>bcc-${version}.tar.gz"
checksum=321575fa94f3274040379dd2d4535217f45099f4240b58a4dfc171aa8c78402f
checksum=c74ed8055a72625a5df341e067c67e02ac3d94a2e765505a17b723ffe6d77aca
python_version="3"
# bug in llvm17-devel dependencies
case "$XBPS_TARGET_MACHINE" in
x86_64*|aarch64*)
makedepends+=" libomp-devel"
esac
post_extract() {
sed -i '/tests/d' CMakeLists.txt # break on musl
sed -i 's/<error.h>/<errno.h>/' examples/cpp/KModRetExample.cc