diff --git a/gcc12.patch b/gcc12.patch new file mode 100644 index 0000000..3523d47 --- /dev/null +++ b/gcc12.patch @@ -0,0 +1,20 @@ +--- a/llvm-11.1.0.src/include/llvm/Support/Base64.h 2021-02-03 14:51:10.000000000 -0700 ++++ b/llvm-11.1.0.src/include/llvm/Support/Base64.h 2023-01-30 10:58:39.424270016 -0700 +@@ -13,6 +13,7 @@ + #ifndef LLVM_SUPPORT_BASE64_H + #define LLVM_SUPPORT_BASE64_H + ++#include + #include + + namespace llvm { +--- a/llvm-11.1.0.src/include/llvm/Support/Signals.h 2021-02-03 14:51:10.000000000 -0700 ++++ b/llvm-11.1.0.src/include/llvm/Support/Signals.h 2023-01-30 09:51:35.823901524 -0700 +@@ -14,6 +14,7 @@ + #ifndef LLVM_SUPPORT_SIGNALS_H + #define LLVM_SUPPORT_SIGNALS_H + ++#include + #include + + namespace llvm { diff --git a/llvm13.spec b/llvm13.spec index 125840c..4b973db 100644 --- a/llvm13.spec +++ b/llvm13.spec @@ -69,7 +69,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 3%{?dist} +Release: 4%{?dist} Summary: The Low Level Virtual Machine License: NCSA @@ -88,6 +88,7 @@ Patch0: 0001-cmake-Allow-shared-libraries-to-customize-the-soname.patch %endif Patch1: 0001-XFAIL-missing-abstract-variable.ll-test-on-ppc64le.patch Patch2: 0001-Disable-CrashRecoveryTest.DumpStackCleanup-test-on-a.patch +Patch3: gcc12.patch BuildRequires: gcc BuildRequires: gcc-c++ @@ -544,6 +545,9 @@ fi %endif %changelog +* Tue Jan 31 2023 Jens Petersen - 13.0.1-4 +- Add gcc12 patch to add includes needed for GCC 12 (Jerry James) + * Thu Jan 19 2023 Fedora Release Engineering - 13.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild