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
This commit is contained in:
DistroBaker 2020-12-04 20:13:11 +00:00
parent 2f3c39b596
commit 6ad4887547
2 changed files with 17 additions and 1 deletions

12
bpftrace-gcc11.patch Normal file
View File

@ -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 <regex>
+#include <limits>
namespace bpftrace {
class Driver;

View File

@ -1,6 +1,6 @@
Name: bpftrace Name: bpftrace
Version: 0.11.0 Version: 0.11.0
Release: 5%{?dist} Release: 6%{?dist}
Summary: High-level tracing language for Linux eBPF Summary: High-level tracing language for Linux eBPF
License: ASL 2.0 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 Patch0: %{name}-%{version}-irbuilderbpf.cpp-bpforc.h-Fix-compilation-with-LLVM-.patch
Patch1: %{name}-%{version}-Feature-detect-bpf_attach_kprobe-signature.patch Patch1: %{name}-%{version}-Feature-detect-bpf_attach_kprobe-signature.patch
Patch2: %{name}-%{version}-Detect-7-arg-bpf_attach_uprobe-API.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 # Arches will be included as upstream support is added and dependencies are
# satisfied in the respective arches # satisfied in the respective arches
@ -79,6 +80,9 @@ find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \
%changelog %changelog
* Fri Dec 04 2020 Jeff Law <law@redhat.com> - 0.11.0-6
- Fix missing #include for gcc-11
* Fri Nov 13 2020 Jerome Marchand <jmarchan@redhat.com> - 0.11.0-5 * Fri Nov 13 2020 Jerome Marchand <jmarchan@redhat.com> - 0.11.0-5
- Rebuilt for LLVM 11 - Rebuilt for LLVM 11