summaryrefslogtreecommitdiff
path: root/lang/mono/files/patch-mono_utils_mono-context.h
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2018-06-16 15:56:41 +0000
committerMark Felder <feld@FreeBSD.org>2018-06-16 15:56:41 +0000
commit85936160101d4e257e3a84b497be4f27591ba576 (patch)
tree1d6f88bb289550ee35d6c765f793c8166d8776b1 /lang/mono/files/patch-mono_utils_mono-context.h
parentdevel/py-cclib: update 1.5.1 -> 1.5.3 (diff)
Update Mono to 5.10.1.47
This brings a more modern Mono release to the ports tree. After discussions with others in the Mono community I targeted the mono 5.10.1.47 release which is the latest release in the "Visual Studio" release channel. This is considered to be the most stable and widely tested, which makes it a good candidate for us. We may upgrade to 5.12 after additional testing or introduce another Mono package for users who require testing against a newer release; this has yet to be determined. - Build from official release tarballs - Now include BoringSSL per upstream guidelines [1] - Remove ACCEPTANCE_TESTS, not being updated by upstream - No long require glib; Mono includes their own replacement - USES=display:tests required for some tests - Remove broken for armv6, armv7: file now available [2] - Mark as LLD safe as mono changed how it handles TLS [3] Changelog: http://www.mono-project.com/docs/about-mono/releases/5.10.0/ PR: 222271 [1] PR: 221236 [2] PR: 218885 [3] PR: 211367 Approved by: dbn Differential Revision: https://reviews.freebsd.org/D15780
Diffstat (limited to 'lang/mono/files/patch-mono_utils_mono-context.h')
-rw-r--r--lang/mono/files/patch-mono_utils_mono-context.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/lang/mono/files/patch-mono_utils_mono-context.h b/lang/mono/files/patch-mono_utils_mono-context.h
new file mode 100644
index 000000000000..e08b5ea2e9b7
--- /dev/null
+++ b/lang/mono/files/patch-mono_utils_mono-context.h
@@ -0,0 +1,42 @@
+--- mono/utils/mono-context.h.orig 2018-04-13 23:37:57 UTC
++++ mono/utils/mono-context.h
+@@ -24,23 +24,30 @@
+
+ #if defined(TARGET_X86)
+ #if defined(__APPLE__)
++#define MONO_HAVE_SIMD_REG
+ typedef struct __darwin_xmm_reg MonoContextSimdReg;
+ #endif
+ #elif defined(TARGET_AMD64)
+ #if defined(__APPLE__)
++#define MONO_HAVE_SIMD_REG
+ typedef struct __darwin_xmm_reg MonoContextSimdReg;
+ #elif defined(__linux__) && defined(__GLIBC__)
++#define MONO_HAVE_SIMD_REG
+ typedef struct _libc_xmmreg MonoContextSimdReg;
+ #elif defined(HOST_WIN32)
++#define MONO_HAVE_SIMD_REG
+ #include <emmintrin.h>
+ typedef __m128d MonoContextSimdReg;
+ #elif defined(HOST_ANDROID)
++#define MONO_HAVE_SIMD_REG
+ typedef struct _libc_xmmreg MonoContextSimdReg;
+ #elif defined(__linux__)
++#define MONO_HAVE_SIMD_REG
+ #include <emmintrin.h>
+ typedef __m128d MonoContextSimdReg;
+ #endif
+ #elif defined(TARGET_ARM64)
++#define MONO_HAVE_SIMD_REG
+ typedef __uint128_t MonoContextSimdReg;
+ #endif
+
+@@ -255,7 +262,7 @@ typedef struct {
+
+ typedef struct {
+ mgreg_t gregs [AMD64_NREG];
+-#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__)) || defined(HOST_WIN32)
++#if defined(MONO_HAVE_SIMD_REG)
+ MonoContextSimdReg fregs [AMD64_XMM_NREG];
+ #else
+ double fregs [AMD64_XMM_NREG];