From dc894d2c2057536f1eaca3dd84efa4c2377b99ae Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Sun, 6 Dec 2020 22:14:36 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/dotnet3.1.git#7d66170eeba7d2f13cd15d1c05d1c259ba48c324 --- dotnet3.1-gcc11.patch | 19 +++++++++++++++++++ dotnet3.1.spec | 9 ++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 dotnet3.1-gcc11.patch diff --git a/dotnet3.1-gcc11.patch b/dotnet3.1-gcc11.patch new file mode 100644 index 0000000..19829b0 --- /dev/null +++ b/dotnet3.1-gcc11.patch @@ -0,0 +1,19 @@ +diff --git a/src/core-setup.1721e3943939f9af7d5effa702bb7e9b99e254f1/src/corehost/cli/test/nativehost/host_context_test.cpp b/src/core-setup.1721e3943939f9af7d5effa702bb7e9b99e254f1/src/corehost/cli/test/nativehost/host_context_test.cpp +index e6dc9f6d8..d42c0e0f2 100644 +--- a/src/core-setup.1721e3943939f9af7d5effa702bb7e9b99e254f1/src/corehost/cli/test/nativehost/host_context_test.cpp ++++ b/src/core-setup.1721e3943939f9af7d5effa702bb7e9b99e254f1/src/corehost/cli/test/nativehost/host_context_test.cpp +@@ -11,6 +11,7 @@ + #include + #include "host_context_test.h" + #include ++#include + + namespace + { +@@ -539,4 +540,4 @@ bool host_context_test::load_assembly_and_get_function_pointer( + hostfxr_exports hostfxr{ hostfxr_path }; + + return load_assembly_and_get_function_pointer(hostfxr, config_path, argc, argv, config_log_prefix, test_output); +-} +\ No newline at end of file ++} diff --git a/dotnet3.1.spec b/dotnet3.1.spec index ad23c88..161ce18 100644 --- a/dotnet3.1.spec +++ b/dotnet3.1.spec @@ -55,7 +55,7 @@ Name: dotnet3.1 Version: %{sdk_rpm_version} -Release: 1%{?dist} +Release: 2%{?dist} Summary: .NET Core Runtime and SDK License: MIT and ASL 2.0 and BSD and LGPLv2+ and CC-BY and CC0 and MS-PL and EPL-1.0 and GPL+ and GPLv2 and ISC and OFL and zlib URL: https://github.com/dotnet/ @@ -91,6 +91,8 @@ Patch300: core-setup-hardening-flags.patch # Disable telemetry by default; make it opt-in Patch500: cli-telemetry-optout.patch +Patch600: %{name}-gcc11.patch + %if 0%{?fedora} > 32 || 0%{?rhel} > 8 ExclusiveArch: aarch64 x86_64 %else @@ -373,6 +375,8 @@ pushd src/cli.* %patch500 -p1 popd +%patch600 -p1 + # If CLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE is misisng, add it back grep CLR_CMAKE_USE_SYSTEM_LIBUNWIND repos/coreclr.common.props || \ sed -i 's|\$(BuildArguments) |$(BuildArguments) cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE|' repos/coreclr.common.props @@ -551,6 +555,9 @@ echo "Testing build results for debug symbols..." %changelog +* Sun Dec 06 2020 Jeff Law - 3.1.110-2 +- Fix missing #include for gcc-11 + * Tue Nov 10 2020 Omair Majid - 3.1.110-1 - Update to .NET Core SDK 3.1.110 and Runtime 3.1.10