diff options
Diffstat (limited to '')
-rw-r--r-- | lang/dotnet/Makefile | 1 | ||||
-rw-r--r-- | lang/dotnet/files/patch-src_diagnostics_src_SOS_extensions_hostcoreclr.cpp | 24 | ||||
-rw-r--r-- | lang/dotnet8/Makefile | 2 | ||||
-rw-r--r-- | lang/dotnet8/files/patch-src_diagnostics_src_SOS_extensions_hostcoreclr.cpp | 24 |
4 files changed, 50 insertions, 1 deletions
diff --git a/lang/dotnet/Makefile b/lang/dotnet/Makefile index 91d2600c520c..b34d8537baf5 100644 --- a/lang/dotnet/Makefile +++ b/lang/dotnet/Makefile @@ -1,6 +1,7 @@ PORTNAME= dotnet DISTVERSIONPREFIX= v DISTVERSION= ${DOTNETVERSION}.6 +PORTREVISION= 1 CATEGORIES= lang devel MASTER_SITES= https://github.com/dotnet/dotnet/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/release.json?dummy=/:dotnetmanifest \ https://github.com/sec/dotnet-core-freebsd-source-build/releases/download/${BOOTSTRAP_SDKVERSION}-vmr/:bootstrap diff --git a/lang/dotnet/files/patch-src_diagnostics_src_SOS_extensions_hostcoreclr.cpp b/lang/dotnet/files/patch-src_diagnostics_src_SOS_extensions_hostcoreclr.cpp new file mode 100644 index 000000000000..83760061a737 --- /dev/null +++ b/lang/dotnet/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/dotnet8/Makefile b/lang/dotnet8/Makefile index 210cdf8e770d..654e3099bef0 100644 --- a/lang/dotnet8/Makefile +++ b/lang/dotnet8/Makefile @@ -1,7 +1,7 @@ PORTNAME= dotnet DISTVERSIONPREFIX= v DISTVERSION= ${DOTNETVERSION}.6 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= lang devel MASTER_SITES= https://github.com/dotnet/dotnet/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/release.json?dummy=/:dotnetmanifest \ LOCAL/arrowd/dotnet/:bootstrap diff --git a/lang/dotnet8/files/patch-src_diagnostics_src_SOS_extensions_hostcoreclr.cpp b/lang/dotnet8/files/patch-src_diagnostics_src_SOS_extensions_hostcoreclr.cpp new file mode 100644 index 000000000000..09a320c03831 --- /dev/null +++ b/lang/dotnet8/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 2024-05-28 16:53:38 UTC ++++ src/diagnostics/src/SOS/extensions/hostcoreclr.cpp +@@ -460,11 +460,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) +- TraceError("Hosting on NetBSD not supported\n"); +- return E_FAIL; +-#else +- + HRESULT Status = E_FAIL; + std::vector<ProbingStrategy> strategyList = { + { ProbeEnvVarInstallationHint, RuntimeHostingConstants::DotnetRootArchSpecificEnvVar } +@@ -527,7 +522,6 @@ static HRESULT GetHostRuntime(std::string& coreClrPath + coreClrPath.append(DIRECTORY_SEPARATOR_STR_A); + coreClrPath.append(MAKEDLLNAME_A("coreclr")); + return S_OK; +-#endif + } + + /**********************************************************************\ |