FreeBSD Bugzilla – Attachment 259589 Details for
Bug 286117
lang/dotnet-host: allowing building on i386
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Allow building on i386
0001-devel-dotnet-host-Allowing-building-on-i386.patch (text/plain), 2.14 KB, created by
Mikhail Teterin
on 2025-04-15 16:14:40 UTC
(
hide
)
Description:
Allow building on i386
Filename:
MIME Type:
Creator:
Mikhail Teterin
Created:
2025-04-15 16:14:40 UTC
Size:
2.14 KB
patch
obsolete
>From 7fad0ffd042bf2213471b608d9d171ec6a23243c Mon Sep 17 00:00:00 2001 >From: Mikhail Teterin <mi@FreeBSD.org> >Date: Tue, 15 Apr 2025 12:08:48 -0400 >Subject: [PATCH] devel/dotnet-host: Allowing building on i386 > >--- > lang/dotnet-host/Makefile | 5 +---- > lang/dotnet-host/files/patch-i386 | 18 ++++++++++++++++++ > 2 files changed, 19 insertions(+), 4 deletions(-) > create mode 100644 lang/dotnet-host/files/patch-i386 > >diff --git a/lang/dotnet-host/Makefile b/lang/dotnet-host/Makefile >index fae22b3505e7..99f305c52444 100644 >--- a/lang/dotnet-host/Makefile >+++ b/lang/dotnet-host/Makefile >@@ -9,9 +9,6 @@ WWW= https://dot.net > > LICENSE= MIT > >-NOT_FOR_ARCHS= i386 >-NOT_FOR_ARCHS_REASON= eng/native/functions.cmake:7: 'i386' is an unsupported architecture. >- > BUILD_DEPENDS= bash:shells/bash > > USES= cmake:indirect llvm:noexport >@@ -27,7 +24,7 @@ PLIST_FILES= bin/dotnet \ > share/dotnet/THIRD-PARTY-NOTICES.TXT \ > share/dotnet/dotnet > >-DOTNET_ARCH= ${ARCH:S|amd64|x64|:C|aarch64|arm64|} >+DOTNET_ARCH= ${ARCH:S|amd64|x64|:C|aarch64|arm64|:C|i386|x86|} > > .if defined(WITH_DEBUG) > BUILD_TYPE= Debug >diff --git a/lang/dotnet-host/files/patch-i386 b/lang/dotnet-host/files/patch-i386 >new file mode 100644 >index 000000000000..8bd4ad617800 >--- /dev/null >+++ b/lang/dotnet-host/files/patch-i386 >@@ -0,0 +1,18 @@ >+--- eng/native/configureplatform.cmake 2025-03-13 17:40:22.000000000 -0400 >++++ eng/native/configureplatform.cmake 2025-04-15 11:53:10.858273000 -0400 >+@@ -168,4 +168,6 @@ >+ elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL aarch64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL arm64) >+ set(CLR_CMAKE_HOST_UNIX_ARM64 1) >++ elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL i386) >++ set(CLR_CMAKE_HOST_UNIX_X86 1) >+ else() >+ clr_unknown_arch() >+--- eng/native/configurecompiler.cmake 2025-03-13 17:40:22.000000000 -0400 >++++ eng/native/configurecompiler.cmake 2025-04-15 11:55:26.890280000 -0400 >+@@ -429,4 +429,6 @@ >+ elseif(CLR_CMAKE_HOST_UNIX_AMD64) >+ message("Detected FreeBSD amd64") >++ elseif(CLR_CMAKE_HOST_UNIX_X86) >++ message("Detected FreeBSD i386") >+ else() >+ message(FATAL_ERROR "Unsupported FreeBSD architecture") >-- >2.48.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 286117
: 259589