Remove useless patch thanks to gcc upgrade

This commit is contained in:
sergesanspaille 2019-04-13 05:55:07 +00:00
parent 25a719b7c8
commit 32e777c925
2 changed files with 4 additions and 28 deletions

View File

@ -1,25 +0,0 @@
From 201cacaa74446657d884786d31411a98f6f9c17e Mon Sep 17 00:00:00 2001
From: serge-sans-paille <sguelton@redhat.com>
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

View File

@ -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