Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package llvm10 for openSUSE:Factory checked in at 2021-06-06 22:40:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm10 (Old) and /work/SRC/openSUSE:Factory/.llvm10.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm10" Sun Jun 6 22:40:35 2021 rev:10 rq:897770 version:10.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm10/llvm10.changes 2021-01-02 21:30:33.779410487 +0100 +++ /work/SRC/openSUSE:Factory/.llvm10.new.1898/llvm10.changes 2021-06-06 22:40:37.879392752 +0200 @@ -1,0 +2,5 @@ +Sat Jun 5 12:50:14 UTC 2021 - Aaron Puchert <[email protected]> + +- Fix-missing-include.patch: fix build with GCC 11. (boo#1181875) + +------------------------------------------------------------------- New: ---- Fix-missing-include.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ llvm10.spec ++++++ --- /var/tmp/diff_new_pack.kqrEls/_old 2021-06-06 22:40:38.899394750 +0200 +++ /var/tmp/diff_new_pack.kqrEls/_new 2021-06-06 22:40:38.903394758 +0200 @@ -1,7 +1,7 @@ # # spec file for package llvm10 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -132,6 +132,8 @@ Patch27: fix-atomics-test.patch # PATCH-FIX-UPSTREAM llvm-fix-a-copy-and-paste-error-that-would-cause-a-crash.patch -- Fix dsymutil crash on ELF file. Patch28: llvm-fix-a-copy-and-paste-error-that-would-cause-a-crash.patch +# Fix build with GCC 11. (boo#1181875) +Patch29: Fix-missing-include.patch BuildRequires: binutils-devel >= 2.21.90 BuildRequires: cmake BuildRequires: fdupes @@ -146,7 +148,7 @@ # Avoid multiple provider errors Requires: libLLVM%{_sonum} Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Recommends: %{name}-doc # llvm does not work on s390 ExcludeArch: s390 @@ -228,9 +230,9 @@ Requires: libLTO%{_sonum} Requires: libclang%{_sonum} Requires(post): update-alternatives -Requires(postun): update-alternatives -Recommends: clang-tools +Requires(postun):update-alternatives Recommends: clang%{_sonum}-doc +Recommends: clang-tools Recommends: libstdc++-devel Suggests: libc++-devel @@ -428,7 +430,7 @@ Group: Development/Tools/Building URL: https://lld.llvm.org/ Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives %description -n lld%{_sonum} LLD is a linker from the LLVM project. That is a drop-in replacement for system linkers and runs much faster than them. It also provides features that are useful for toolchain developers. @@ -462,7 +464,7 @@ # Avoid multiple provider errors Requires: liblldb%{_sonum} = %{version} Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Recommends: python3-lldb%{_sonum} ExclusiveArch: x86_64 @@ -557,6 +559,7 @@ %patch24 -p1 %patch25 -p1 %patch28 -p2 +%patch29 -p2 pushd clang-%{_version}.src %patch2 -p1 ++++++ Fix-missing-include.patch ++++++ >From b498303066a63a203d24f739b2d2e0e56dca70d1 Mon Sep 17 00:00:00 2001 From: serge-sans-paille <[email protected]> Date: Tue, 10 Nov 2020 14:55:25 +0100 Subject: [PATCH] [nfc] Fix missing include --- llvm/utils/benchmark/src/benchmark_register.h | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/utils/benchmark/src/benchmark_register.h b/llvm/utils/benchmark/src/benchmark_register.h index 0705e219f2fa..4caa5ad4da07 100644 --- a/llvm/utils/benchmark/src/benchmark_register.h +++ b/llvm/utils/benchmark/src/benchmark_register.h @@ -1,6 +1,7 @@ #ifndef BENCHMARK_REGISTER_H #define BENCHMARK_REGISTER_H +#include <limits> #include <vector> #include "check.h" -- 2.30.0
