summaryrefslogtreecommitdiff
path: root/lang/mono/files/patch-mono_sgen_sgen-archdep.h
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2021-10-18 08:20:57 +0200
committerMikael Urankar <mikael@FreeBSD.org>2021-10-18 13:43:57 +0200
commitf863e5a65963da6621a262f48ef9432585bba5a1 (patch)
tree081e4c12bbc13434cb5e8ca1da27f7fb56c0ba2e /lang/mono/files/patch-mono_sgen_sgen-archdep.h
parentmultimedia/gstreamer1-plugins-rust: Mark as broken on aarch64. (diff)
lang/mono: Fix build on aarch64.
Approved by: portmgr (build fix blanket)
Diffstat (limited to 'lang/mono/files/patch-mono_sgen_sgen-archdep.h')
-rw-r--r--lang/mono/files/patch-mono_sgen_sgen-archdep.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/mono/files/patch-mono_sgen_sgen-archdep.h b/lang/mono/files/patch-mono_sgen_sgen-archdep.h
new file mode 100644
index 000000000000..e46d7a1ccf04
--- /dev/null
+++ b/lang/mono/files/patch-mono_sgen_sgen-archdep.h
@@ -0,0 +1,11 @@
+--- mono/sgen/sgen-archdep.h.orig 2018-07-11 23:55:34 UTC
++++ mono/sgen/sgen-archdep.h
+@@ -45,7 +45,7 @@
+
+ #elif defined(TARGET_ARM64)
+
+-#ifdef __linux__
++#if defined(__linux__) || defined(__FreeBSD__)
+ #define REDZONE_SIZE 0
+ #elif defined(__APPLE__)
+ #define REDZONE_SIZE 128