diff --git a/srcpkgs/bcc/patches/musl.patch b/srcpkgs/bcc/patches/musl.patch index bb55144e380..bc7ac1e7726 100644 --- a/srcpkgs/bcc/patches/musl.patch +++ b/srcpkgs/bcc/patches/musl.patch @@ -1,10 +1,50 @@ ---- src/cc/ns_guard.h.orig -+++ src/cc/ns_guard.h +--- src/cc/api/BPFTable.cc.orig ++++ src/cc/api/BPFTable.cc +@@ -14,6 +14,7 @@ + * limitations under the License. + */ + ++#include + #include + #include + #include +--- src/cc/api/BPF.cc.orig ++++ src/cc/api/BPF.cc +@@ -14,6 +14,7 @@ + * limitations under the License. + */ + ++#include + #include + #include + #include +--- src/cc/perf_reader.c.orig ++++ src/cc/perf_reader.c +@@ -14,6 +14,7 @@ + * limitations under the License. + */ + ++#include + #include + #include + #include +--- src/cc/libbpf/src/libbpf.c.orig ++++ src/cc/libbpf/src/libbpf.c +@@ -12,6 +12,7 @@ + #ifndef _GNU_SOURCE + #define _GNU_SOURCE + #endif ++#include + #include + #include + #include +--- src/cc/libbpf.c.orig ++++ src/cc/libbpf.c @@ -17,6 +17,7 @@ + #define _GNU_SOURCE + #endif - #pragma once - -+#include - #include - - #include "file_desc.h" ++#include + #include + #include + #include diff --git a/srcpkgs/bcc/template b/srcpkgs/bcc/template index ed3ee47f8b9..3e513a29fb2 100644 --- a/srcpkgs/bcc/template +++ b/srcpkgs/bcc/template @@ -1,7 +1,7 @@ # Template file for 'bcc' pkgname=bcc version=0.9.0 -revision=1 +revision=2 build_style=cmake configure_args="-DREVISION=${version}" hostmakedepends="flex"