Fix build with gcc 7

This commit is contained in:
Tom Stellard 2017-03-14 18:17:44 +00:00
parent 7ea8081c79
commit aced856ea0
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From 7ef45eab67114ce1ed136f0666f34aafd0dab89d Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar@redhat.com>
Date: Tue, 14 Mar 2017 14:54:10 -0400
Subject: [PATCH] Fix build with gcc 7
---
include/lldb/Utility/TaskPool.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/lldb/Utility/TaskPool.h b/include/lldb/Utility/TaskPool.h
index 3ad9c7c..bcd8186 100644
--- a/include/lldb/Utility/TaskPool.h
+++ b/include/lldb/Utility/TaskPool.h
@@ -12,6 +12,7 @@
#include <cassert>
#include <cstdint>
+#include <functional>
#include <future>
#include <list>
#include <queue>
--
1.8.3.1

View File

@ -1,6 +1,6 @@
Name: lldb
Version: 3.9.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Next generation high-performance debugger
License: NCSA
@ -11,6 +11,7 @@ ExclusiveArch: %{arm} aarch64 %{ix86} x86_64
# Patch to remove use of private llvm headers
Patch1: 0001-Replace-uses-of-MIUtilParse-CRegexParser-with-llvm-R.patch
Patch2: 0001-Remove-MIUtilParse-no-longer-used.patch
Patch3: 0001-Fix-build-with-gcc-7.patch
BuildRequires: cmake
BuildRequires: llvm-devel = %{version}
@ -48,6 +49,7 @@ The package contains the LLDB Python module.
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
@ -115,6 +117,9 @@ rm -f %{buildroot}%{python_sitearch}/six.*
%{python_sitearch}/lldb
%changelog
* Tue Mar 14 2017 Tom Stellard <tstellar@redhat.com> - 3.9.1-2
- Fix build with gcc 7
* Thu Mar 02 2017 Dave Airlie <airlied@redhat.com - 3.9.1-1
- lldb 3.9.1