From 6ad4887547d23049536feab42251788c3f08cbe3 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Fri, 4 Dec 2020 20:13:11 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/bpftrace.git#5b1b0ed06f26039512c5adc1a4cb49f8ddee6fdd --- bpftrace-gcc11.patch | 12 ++++++++++++ bpftrace.spec | 6 +++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 bpftrace-gcc11.patch 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