From aced856ea08d4df84f6214c07e01aba9236d1637 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Mar 2017 18:17:44 +0000 Subject: [PATCH] Fix build with gcc 7 --- 0001-Fix-build-with-gcc-7.patch | 24 ++++++++++++++++++++++++ lldb.spec | 7 ++++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 0001-Fix-build-with-gcc-7.patch diff --git a/0001-Fix-build-with-gcc-7.patch b/0001-Fix-build-with-gcc-7.patch new file mode 100644 index 0000000..b21fa93 --- /dev/null +++ b/0001-Fix-build-with-gcc-7.patch @@ -0,0 +1,24 @@ +From 7ef45eab67114ce1ed136f0666f34aafd0dab89d Mon Sep 17 00:00:00 2001 +From: Tom Stellard +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 + #include ++#include + #include + #include + #include +-- +1.8.3.1 + diff --git a/lldb.spec b/lldb.spec index 7c42496..ff846c4 100644 --- a/lldb.spec +++ b/lldb.spec @@ -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 - 3.9.1-2 +- Fix build with gcc 7 + * Thu Mar 02 2017 Dave Airlie