aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mono/arm-remove-sigcontext-include.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-10-08 18:25:40 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2015-10-08 18:26:21 +0000
commit945bcf416cdd22c05e1e2b6d44a575941c2b6def (patch)
treea0c345a612482413022d1f6d0692d3c69a9891f2 /testing/mono/arm-remove-sigcontext-include.patch
parent5aa88df1700263f3fdea5f039caff0c098d3d2ed (diff)
downloadaports-945bcf416cdd22c05e1e2b6d44a575941c2b6def.tar.bz2
aports-945bcf416cdd22c05e1e2b6d44a575941c2b6def.tar.xz
testing/mono: build fix for arm
sigcontext get included twice
Diffstat (limited to 'testing/mono/arm-remove-sigcontext-include.patch')
-rw-r--r--testing/mono/arm-remove-sigcontext-include.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/mono/arm-remove-sigcontext-include.patch b/testing/mono/arm-remove-sigcontext-include.patch
new file mode 100644
index 0000000000..2b6e28d0c6
--- /dev/null
+++ b/testing/mono/arm-remove-sigcontext-include.patch
@@ -0,0 +1,15 @@
+--- ./mono/mini/exceptions-arm.c.orig
++++ ./mono/mini/exceptions-arm.c
+@@ -13,12 +13,6 @@
+ #include <signal.h>
+ #include <string.h>
+
+-#ifndef MONO_CROSS_COMPILE
+-#ifdef HAVE_ASM_SIGCONTEXT_H
+-#include <asm/sigcontext.h>
+-#endif /* def HAVE_ASM_SIGCONTEXT_H */
+-#endif
+-
+ #ifdef HAVE_UCONTEXT_H
+ #include <ucontext.h>
+ #endif /* def HAVE_UCONTEXT_H */