freebsd-ports/lang/mono/files
Dimitry Andric b5a6298f4d lang/mono: fix build with clang 15
During an exp-run for llvm 15 (see bug 265425), it turned out that
lang/mono failed to build with clang 15, on i386:

  mini-runtime.c:806:24: error: incompatible pointer to integer conversion assigning to 'guint32' (aka 'unsigned int') from 'MonoLMF *' (aka 'struct MonoLMF *') [-Wint-conversion]
          ext->lmf.previous_lmf = *lmf_addr;
                                ^ ~~~~~~~~~
  mini-runtime.c:808:24: error: incompatible pointer to integer conversion assigning to 'guint32' (aka 'unsigned int') from 'gpointer' (aka 'void *') [-Wint-conversion]
          ext->lmf.previous_lmf = (gpointer)(((gssize)ext->lmf.previous_lmf) | 2);
                                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

As noted, this is because on i386 the previous_lmf field is declared as
guint32, while other architectures use gpointer.

Upstream changed the field to gpointer in
<https://github.com/mono/mono/pull/8308/commits/1c43a8476b5>, which got
merged into main in <https://github.com/mono/mono/commit/384c4a4e2ea>.

PR:		268321
Approved by:	portmgr (tcberner)
MFH:		2022Q4
2022-12-18 18:33:30 +01:00
..
extra-patch-aarch64-race-workaround
patch-configure.ac
patch-external_boringssl_crypto_cpu-aarch64-linux.c
patch-mcs_class_Mono.Security_Mono.Security.Cryptography_KeyPairPersistence.cs
patch-mcs_class_Mono.Security_Mono.Security.X509_X509StoreManager.cs
patch-mcs_tools_mono-configuration-crypto_lib_Mono.Configuration.Crypto_KeyContainerCollection.cs
patch-mcs_tools_xbuild_data_12.0_Microsoft.CSharp.targets
patch-mcs_tools_xbuild_data_14.0_Microsoft.CSharp.targets
patch-mono_eglib_gfile-posix.c
patch-mono_mini_driver.c
patch-mono_mini_mini-ppc.c
patch-mono_mini_mini-x86.h
patch-mono_mini_tramp-amd64.c
patch-mono_sgen_sgen-archdep.h
patch-mono_utils_mono-context.h
patch-mono_utils_mono-proclib.c
patch-mono_utils_mono-sigcontext.h
patch-mono_utils_mono-threads.c
patch-scripts_mono-heapviz