File ucontext.patch of Package mono-core

Index: mono-5.0.1.1/mono/utils/mono-context.h
===================================================================
--- mono-5.0.1.1.orig/mono/utils/mono-context.h
+++ mono-5.0.1.1/mono/utils/mono-context.h
@@ -907,7 +907,7 @@ typedef struct {
 
 #define MONO_ARCH_HAS_MONO_CONTEXT 1
 
-typedef struct ucontext MonoContext;
+typedef ucontext_t MonoContext;
 
 #define MONO_CONTEXT_SET_IP(ctx,ip) 					\
 	do {								\
openSUSE Build Service is sponsored by