diff --git a/bpftrace-gcc11.patch b/bpftrace-gcc11.patch new file mode 100644 index 0000000..222e417 --- /dev/null +++ b/bpftrace-gcc11.patch @@ -0,0 +1,12 @@ +diff --git a/src/parser.yy b/src/parser.yy +index 53293c5..3dbbd05 100644 +--- a/src/parser.yy ++++ b/src/parser.yy +@@ -18,6 +18,7 @@ + %code requires + { + #include ++#include + + namespace bpftrace { + class Driver; diff --git a/bpftrace.spec b/bpftrace.spec index 446c348..5388abd 100644 --- a/bpftrace.spec +++ b/bpftrace.spec @@ -1,6 +1,6 @@ Name: bpftrace Version: 0.11.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: High-level tracing language for Linux eBPF License: ASL 2.0 @@ -9,6 +9,7 @@ Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}-irbuilderbpf.cpp-bpforc.h-Fix-compilation-with-LLVM-.patch Patch1: %{name}-%{version}-Feature-detect-bpf_attach_kprobe-signature.patch Patch2: %{name}-%{version}-Detect-7-arg-bpf_attach_uprobe-API.patch +Patch3: %{name}-gcc11.patch # Arches will be included as upstream support is added and dependencies are # satisfied in the respective arches @@ -79,6 +80,9 @@ find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \ %changelog +* Fri Dec 04 2020 Jeff Law - 0.11.0-6 +- Fix missing #include for gcc-11 + * Fri Nov 13 2020 Jerome Marchand - 0.11.0-5 - Rebuilt for LLVM 11