From 32e777c925d3f17440256b09e573cb55cfbf3573 Mon Sep 17 00:00:00 2001 From: sergesanspaille Date: Sat, 13 Apr 2019 05:55:07 +0000 Subject: [PATCH] Remove useless patch thanks to gcc upgrade --- ...nd-GCC-9-bug-when-handling-bitfields.patch | 25 ------------------- clang.spec | 7 +++--- 2 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 0001-Workaround-GCC-9-bug-when-handling-bitfields.patch diff --git a/0001-Workaround-GCC-9-bug-when-handling-bitfields.patch b/0001-Workaround-GCC-9-bug-when-handling-bitfields.patch deleted file mode 100644 index eee6d3a..0000000 --- a/0001-Workaround-GCC-9-bug-when-handling-bitfields.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 201cacaa74446657d884786d31411a98f6f9c17e Mon Sep 17 00:00:00 2001 -From: serge-sans-paille -Date: Mon, 4 Feb 2019 21:25:45 +0000 -Subject: [PATCH] Workaround GCC 9 bug when handling bitfields. - ---- - include/clang/Frontend/TextDiagnosticPrinter.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/include/clang/Frontend/TextDiagnosticPrinter.h b/include/clang/Frontend/TextDiagnosticPrinter.h -index 3cb4e02edf..d47d71930c 100644 ---- a/include/clang/Frontend/TextDiagnosticPrinter.h -+++ b/include/clang/Frontend/TextDiagnosticPrinter.h -@@ -35,7 +35,7 @@ class TextDiagnosticPrinter : public DiagnosticConsumer { - /// A string to prefix to error messages. - std::string Prefix; - -- unsigned OwnsOutputStream : 1; -+ bool OwnsOutputStream; - - public: - TextDiagnosticPrinter(raw_ostream &os, DiagnosticOptions *diags, --- -2.19.2 - diff --git a/clang.spec b/clang.spec index 396ba0e..4c58728 100644 --- a/clang.spec +++ b/clang.spec @@ -61,7 +61,7 @@ Name: %pkg_name Version: %{maj_ver}.%{min_ver}.%{patch_ver} -Release: 1%{?rc_ver:.rc%{rc_ver}}%{?dist} +Release: 2%{?rc_ver:.rc%{rc_ver}}%{?dist} Summary: A C language family front-end for LLVM License: NCSA @@ -73,7 +73,6 @@ Source1: http://%{?rc_ver:pre}releases.llvm.org/%{version}/%{?rc_ver:rc%{rc_ver} Patch4: 0002-gtest-reorg.patch Patch9: 0001-Fix-uninitialized-value-in-ABIArgInfo.patch -Patch10: 0001-Workaround-GCC-9-bug-when-handling-bitfields.patch Patch11: 0001-ToolChain-Add-lgcc_s-to-the-linker-flags-when-using-.patch BuildRequires: gcc @@ -216,7 +215,6 @@ pathfix.py -i %{__python3} -pn \ %patch4 -p1 -b .gtest %patch9 -p1 -b .abi-arginfo -%patch10 -p1 -b .bitfields %patch11 -p1 -b .libcxx-fix mv ../%{clang_tools_srcdir} tools/extra @@ -420,6 +418,9 @@ false %endif %changelog +* Fri Apr 12 2019 sguelton@redhat.com - 8.0.0-2 +- Remove useless patch thanks to GCC upgrade + * Wed Mar 20 2019 sguelton@redhat.com - 8.0.0-1 - 8.0.0 final