diff options
Diffstat (limited to 'lang/dotnet-devel/files')
7 files changed, 158 insertions, 0 deletions
diff --git a/lang/dotnet-devel/files/extra-patch-base-openssl b/lang/dotnet-devel/files/extra-patch-base-openssl new file mode 100644 index 000000000000..7f57f098b436 --- /dev/null +++ b/lang/dotnet-devel/files/extra-patch-base-openssl @@ -0,0 +1,12 @@ +--- src/runtime/src/native/libs/System.Security.Cryptography.Native/CMakeLists.txt.orig	2025-01-21 19:57:31 UTC ++++ src/runtime/src/native/libs/System.Security.Cryptography.Native/CMakeLists.txt +@@ -11,6 +11,9 @@ add_definitions(-DOPENSSL_API_COMPAT=0x10100000L) +  + add_definitions(-DOPENSSL_API_COMPAT=0x10100000L) +  ++if(CMAKE_SYSTEM_NAME STREQUAL FreeBSD) ++  set(OPENSSL_ROOT_DIR /usr) ++endif() + include(${CMAKE_CURRENT_LIST_DIR}/extra_libs.cmake) +  + set(NATIVE_LIBS_EXTRA) diff --git a/lang/dotnet-devel/files/patch-src_diagnostics_src_SOS_extensions_hostcoreclr.cpp b/lang/dotnet-devel/files/patch-src_diagnostics_src_SOS_extensions_hostcoreclr.cpp new file mode 100644 index 000000000000..83760061a737 --- /dev/null +++ b/lang/dotnet-devel/files/patch-src_diagnostics_src_SOS_extensions_hostcoreclr.cpp @@ -0,0 +1,24 @@ +https://github.com/dotnet/diagnostics/pull/5547 + +--- src/diagnostics/src/SOS/extensions/hostcoreclr.cpp.orig	2025-05-20 22:48:44 UTC ++++ src/diagnostics/src/SOS/extensions/hostcoreclr.cpp +@@ -476,11 +476,6 @@ static HRESULT GetHostRuntime(std::string& coreClrPath +     // If the hosting runtime isn't already set, use the runtime we are debugging +     if (g_hostRuntimeDirectory == nullptr) +     { +-#if defined(HOST_FREEBSD) +-        TraceHostingError("FreeBSD not supported\n"); +-        return E_FAIL; +-#else +- +         HRESULT Status = E_FAIL; +         std::vector<ProbingStrategy> strategyList = { +              { ProbeEnvVarInstallationHint, RuntimeHostingConstants::DotnetRootArchSpecificEnvVar } +@@ -546,7 +541,6 @@ static HRESULT GetHostRuntime(std::string& coreClrPath +     coreClrPath.append(DIRECTORY_SEPARATOR_STR_A); +     coreClrPath.append(MAKEDLLNAME_A("coreclr")); +     return S_OK; +-#endif + } +  + /**********************************************************************\ diff --git a/lang/dotnet-devel/files/patch-src_roslyn-analyzers_src_PerformanceTests_Tests_PerformanceTests.csproj b/lang/dotnet-devel/files/patch-src_roslyn-analyzers_src_PerformanceTests_Tests_PerformanceTests.csproj new file mode 100644 index 000000000000..e357953d20c7 --- /dev/null +++ b/lang/dotnet-devel/files/patch-src_roslyn-analyzers_src_PerformanceTests_Tests_PerformanceTests.csproj @@ -0,0 +1,10 @@ +--- src/roslyn-analyzers/src/PerformanceTests/Tests/PerformanceTests.csproj.orig	2025-03-15 17:17:42 UTC ++++ src/roslyn-analyzers/src/PerformanceTests/Tests/PerformanceTests.csproj +@@ -1,6 +1,6 @@ + <Project Sdk="Microsoft.NET.Sdk"> +   <PropertyGroup> +-    <TargetFramework>net6.0</TargetFramework> ++    <TargetFramework>net8.0</TargetFramework> +     <LangVersion>preview</LangVersion> +     <Nullable>disable</Nullable> +     <OutputType>Exe</OutputType> diff --git a/lang/dotnet-devel/files/patch-src_runtime_src_native_libs_System.IO.Compression.Native_CMakeLists.txt b/lang/dotnet-devel/files/patch-src_runtime_src_native_libs_System.IO.Compression.Native_CMakeLists.txt new file mode 100644 index 000000000000..7f27c622ee8c --- /dev/null +++ b/lang/dotnet-devel/files/patch-src_runtime_src_native_libs_System.IO.Compression.Native_CMakeLists.txt @@ -0,0 +1,15 @@ +--- src/runtime/src/native/libs/System.IO.Compression.Native/CMakeLists.txt.orig	2024-10-29 16:00:04 UTC ++++ src/runtime/src/native/libs/System.IO.Compression.Native/CMakeLists.txt +@@ -16,8 +16,11 @@ if (NOT CLR_CMAKE_TARGET_BROWSER AND NOT CLR_CMAKE_TAR +  + if (NOT CLR_CMAKE_TARGET_BROWSER AND NOT CLR_CMAKE_TARGET_WASI) +  +-    if (CLR_CMAKE_USE_SYSTEM_BROTLI) ++    if (CLR_CMAKE_USE_SYSTEM_BROTLI)         +         add_definitions(-DFEATURE_USE_SYSTEM_BROTLI) ++        find_package(PkgConfig REQUIRED) ++        pkg_check_modules(BROTLI REQUIRED libbrotlicommon) ++        include_directories(${BROTLI_INCLUDE_DIRS}) +     else () +         include(${CLR_SRC_NATIVE_DIR}/external/brotli.cmake) +  diff --git a/lang/dotnet-devel/files/patch-src_sdk_eng_Version.Details.xml b/lang/dotnet-devel/files/patch-src_sdk_eng_Version.Details.xml new file mode 100644 index 000000000000..aa3495508528 --- /dev/null +++ b/lang/dotnet-devel/files/patch-src_sdk_eng_Version.Details.xml @@ -0,0 +1,45 @@ +--- src/sdk/eng/Version.Details.xml.orig	2025-10-18 06:44:58 UTC ++++ src/sdk/eng/Version.Details.xml +@@ -137,7 +137,7 @@ +     </Dependency> +     <!-- Temporarily pinned to a net9 supporting version until the SDK can target net10. +          See https://github.com/dotnet/sdk/issues/42920. --> +-    <Dependency Name="Microsoft.AspNetCore.DeveloperCertificates.XPlat" Version="9.0.0-rc.2.24474.3" Pinned="true"> ++    <Dependency Name="Microsoft.AspNetCore.DeveloperCertificates.XPlat" Version="9.0.9-servicing.25420.3" Pinned="true"> +       <Uri>https://github.com/dotnet/aspnetcore</Uri> +       <Sha>280c613963a1768b810d09f32c998fe4490855e9</Sha> +     </Dependency> +@@ -256,7 +256,7 @@ +     </Dependency> +     <!-- Temporarily pinned to a net9 supporting version until the SDK can target net10. +          See https://github.com/dotnet/sdk/issues/42920. --> +-    <Dependency Name="System.Resources.Extensions" Version="9.0.0-rc.2.24473.5" Pinned="True"> ++    <Dependency Name="System.Resources.Extensions" Version="9.0.9" Pinned="True"> +       <Uri>https://github.com/dotnet/runtime</Uri> +       <Sha>c4d7f7c6f2e2f34f07e64c6caa3bf9b2ce915cc1</Sha> +     </Dependency> +@@ -585,13 +585,13 @@ +       <Uri>https://github.com/dotnet/runtime</Uri> +       <Sha>cca022b6212f33adc982630ab91469882250256c</Sha> +     </Dependency> +-    <Dependency Name="System.Security.Permissions" Version="9.0.0-rc.2.24473.5" Pinned="True"> ++    <Dependency Name="System.Security.Permissions" Version="9.0.9" Pinned="True"> +       <Uri>https://github.com/dotnet/runtime</Uri> +       <Sha>c4d7f7c6f2e2f34f07e64c6caa3bf9b2ce915cc1</Sha> +     </Dependency> +     <!-- Temporarily pinned to a net9 supporting version until the SDK can target net10. +          See https://github.com/dotnet/sdk/issues/42920. --> +-    <Dependency Name="System.Windows.Extensions" Version="9.0.0-rc.2.24473.5" Pinned="True"> ++    <Dependency Name="System.Windows.Extensions" Version="9.0.9" Pinned="True"> +       <Uri>https://github.com/dotnet/runtime</Uri> +       <Sha>c4d7f7c6f2e2f34f07e64c6caa3bf9b2ce915cc1</Sha> +     </Dependency> +@@ -629,7 +629,7 @@ +     </Dependency> +     <!-- Temporarily pinned to a net9 supporting version until the SDK can target net10. +          See https://github.com/dotnet/sdk/issues/42920. --> +-    <Dependency Name="System.Reflection.MetadataLoadContext" Version="9.0.0-rc.2.24473.5" Pinned="True"> ++    <Dependency Name="System.Reflection.MetadataLoadContext" Version="9.0.9" Pinned="True"> +       <Uri>https://github.com/dotnet/runtime</Uri> +       <Sha>c4d7f7c6f2e2f34f07e64c6caa3bf9b2ce915cc1</Sha> +     </Dependency> diff --git a/lang/dotnet-devel/files/patch-src_sdk_eng_Versions.props b/lang/dotnet-devel/files/patch-src_sdk_eng_Versions.props new file mode 100644 index 000000000000..d9d1e69c27f1 --- /dev/null +++ b/lang/dotnet-devel/files/patch-src_sdk_eng_Versions.props @@ -0,0 +1,31 @@ +--- src/sdk/eng/Versions.props.orig	2025-10-18 06:42:32 UTC ++++ src/sdk/eng/Versions.props +@@ -134,15 +134,15 @@ +     <SystemCompositionRuntimePackageVersion>10.0.0-alpha.1.24528.7</SystemCompositionRuntimePackageVersion> +     <SystemCompositionTypedPartsPackageVersion>10.0.0-alpha.1.24528.7</SystemCompositionTypedPartsPackageVersion> +     <SystemConfigurationConfigurationManagerPackageVersion>10.0.0-alpha.1.24528.7</SystemConfigurationConfigurationManagerPackageVersion> +-    <SystemReflectionMetadataLoadContextVersion>9.0.0-rc.2.24473.5</SystemReflectionMetadataLoadContextVersion> +-    <SystemResourcesExtensionsPackageVersion>9.0.0-rc.2.24473.5</SystemResourcesExtensionsPackageVersion> ++    <SystemReflectionMetadataLoadContextVersion>9.0.9</SystemReflectionMetadataLoadContextVersion> ++    <SystemResourcesExtensionsPackageVersion>9.0.9</SystemResourcesExtensionsPackageVersion> +     <SystemSecurityCryptographyPkcsPackageVersion>10.0.0-alpha.1.24528.7</SystemSecurityCryptographyPkcsPackageVersion> +     <SystemSecurityCryptographyProtectedDataPackageVersion>10.0.0-alpha.1.24528.7</SystemSecurityCryptographyProtectedDataPackageVersion> +     <SystemSecurityCryptographyXmlPackageVersion>10.0.0-alpha.1.24528.7</SystemSecurityCryptographyXmlPackageVersion> +-    <SystemSecurityPermissionsPackageVersion>9.0.0-rc.2.24473.5</SystemSecurityPermissionsPackageVersion> ++    <SystemSecurityPermissionsPackageVersion>9.0.9</SystemSecurityPermissionsPackageVersion> +     <SystemTextEncodingCodePagesPackageVersion>10.0.0-alpha.1.24528.7</SystemTextEncodingCodePagesPackageVersion> +     <SystemTextJsonPackageVersion>10.0.0-alpha.1.24528.7</SystemTextJsonPackageVersion> +-    <SystemWindowsExtensionsPackageVersion>9.0.0-rc.2.24473.5</SystemWindowsExtensionsPackageVersion> ++    <SystemWindowsExtensionsPackageVersion>9.0.9</SystemWindowsExtensionsPackageVersion> +     <SystemIOHashingPackageVersion>10.0.0-alpha.1.24528.7</SystemIOHashingPackageVersion> +     <SystemFormatsAsn1Version>10.0.0-alpha.1.24528.7</SystemFormatsAsn1Version> +     <!-- These are minimum versions used for netfx-targeted components that run in Visual Studio because in those cases, +@@ -237,7 +237,7 @@ +   <PropertyGroup> +     <!-- Dependencies from https://github.com/aspnet/AspNetCore --> +     <MicrosoftAspNetCoreAppRefPackageVersion>10.0.0-alpha.2.24529.6</MicrosoftAspNetCoreAppRefPackageVersion> +-    <MicrosoftAspNetCoreDeveloperCertificatesXPlatPackageVersion>9.0.0-rc.2.24474.3</MicrosoftAspNetCoreDeveloperCertificatesXPlatPackageVersion> ++    <MicrosoftAspNetCoreDeveloperCertificatesXPlatPackageVersion>9.0.9-servicing.25420.3</MicrosoftAspNetCoreDeveloperCertificatesXPlatPackageVersion> +     <MicrosoftAspNetCoreComponentsSdkAnalyzersPackageVersion>10.0.0-alpha.2.24529.6</MicrosoftAspNetCoreComponentsSdkAnalyzersPackageVersion> +     <MicrosoftAspNetCoreMvcAnalyzersPackageVersion>10.0.0-alpha.2.24529.6</MicrosoftAspNetCoreMvcAnalyzersPackageVersion> +     <MicrosoftAspNetCoreMvcApiAnalyzersPackageVersion>10.0.0-alpha.2.24529.6</MicrosoftAspNetCoreMvcApiAnalyzersPackageVersion> diff --git a/lang/dotnet-devel/files/patch-src_sdk_src_Installer_redist-installer_targets_GenerateBundledVersions.targets b/lang/dotnet-devel/files/patch-src_sdk_src_Installer_redist-installer_targets_GenerateBundledVersions.targets new file mode 100644 index 000000000000..19e014845bab --- /dev/null +++ b/lang/dotnet-devel/files/patch-src_sdk_src_Installer_redist-installer_targets_GenerateBundledVersions.targets @@ -0,0 +1,21 @@ +--- src/sdk/src/Installer/redist-installer/targets/GenerateBundledVersions.targets.orig	2025-10-18 05:59:57 UTC ++++ src/sdk/src/Installer/redist-installer/targets/GenerateBundledVersions.targets +@@ -86,12 +86,12 @@ +       <_NETCorePlatformsPackageVersion>$(MicrosoftNETCorePlatformsPackageVersion)</_NETCorePlatformsPackageVersion> +  +       <!-- TODO: Once .NET 9.0.X has released, update these version numbers to 9.0.$(VersionFeature90) --> +-      <_NET90RuntimePackVersion>9.0.0-rc.2.24473.5</_NET90RuntimePackVersion> +-      <_NET90TargetingPackVersion>9.0.0-rc.2.24473.5</_NET90TargetingPackVersion> +-      <_WindowsDesktop90RuntimePackVersion>9.0.0-rc.2.24474.4</_WindowsDesktop90RuntimePackVersion> +-      <_WindowsDesktop90TargetingPackVersion>9.0.0-rc.2.24474.4</_WindowsDesktop90TargetingPackVersion> +-      <_AspNet90RuntimePackVersion>9.0.0-rc.2.24474.3</_AspNet90RuntimePackVersion> +-      <_AspNet90TargetingPackVersion>9.0.0-rc.2.24474.3</_AspNet90TargetingPackVersion> ++      <_NET90RuntimePackVersion>9.0.$(VersionFeature90)</_NET90RuntimePackVersion> ++      <_NET90TargetingPackVersion>9.0.$(VersionFeature90)</_NET90TargetingPackVersion> ++      <_WindowsDesktop90RuntimePackVersion>9.0.$(VersionFeature90)</_WindowsDesktop90RuntimePackVersion> ++      <_WindowsDesktop90TargetingPackVersion>9.0.$(VersionFeature90)</_WindowsDesktop90TargetingPackVersion> ++      <_AspNet90RuntimePackVersion>9.0.$(VersionFeature90)</_AspNet90RuntimePackVersion> ++      <_AspNet90TargetingPackVersion>9.0.$(VersionFeature90)</_AspNet90TargetingPackVersion> +  +       <_NET80RuntimePackVersion>8.0.$(VersionFeature80)</_NET80RuntimePackVersion> +       <_NET80TargetingPackVersion>8.0.$(VersionFeature80)</_NET80TargetingPackVersion>  | 
