forked from pool/mono-core
Accepting request 514965 from home:Andreas_Schwab:Factory
- ucontext.patch: use ucontext_t instead of struct ucontext OBS-URL: https://build.opensuse.org/request/show/514965 OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=185
This commit is contained in:
parent
53cd96c635
commit
5ebab8b2a8
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 7 10:21:45 UTC 2017 - schwab@suse.de
|
||||
|
||||
- ucontext.patch: use ucontext_t instead of struct ucontext
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 26 21:00:00 UTC 2017 - fwdsbs.to.11df@xoxy.net
|
||||
|
||||
|
@ -52,6 +52,8 @@ Source1: mono-core.rpmlintrc
|
||||
Source2: gmcs
|
||||
# ppc build segfault so exclude it
|
||||
ExcludeArch: ppc
|
||||
# PATCH-FIX-UPSTREAM use ucontext_t instead of struct ucontext
|
||||
Patch1: ucontext.patch
|
||||
# PATCH-FIX-OPENSUSE remove checks for libmono in mono-find-provides and mono-find-requires scripts
|
||||
Patch14: find-deps-fix.patch
|
||||
# PATCH-FIX-OPENSUSE revert Microsoft.Build.Tasks library to use old mcs compiler. This will make xbuild to use old mcs instead of csc - patch is used when roslyn is unavailable for current platform (big-endian systems).
|
||||
@ -192,6 +194,7 @@ technologies that have been submitted to the ECMA for standardization.
|
||||
|
||||
%prep
|
||||
%setup -q -n mono-%{version}.%{version_suffix}
|
||||
%patch1 -p1
|
||||
%patch14 -p1
|
||||
%if %roslyn == no
|
||||
%patch15 -p1
|
||||
|
26
ucontext.patch
Normal file
26
ucontext.patch
Normal file
@ -0,0 +1,26 @@
|
||||
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 { \
|
||||
Index: mono-5.0.1.1/mono/utils/mono-sigcontext.h
|
||||
===================================================================
|
||||
--- mono-5.0.1.1.orig/mono/utils/mono-sigcontext.h
|
||||
+++ mono-5.0.1.1/mono/utils/mono-sigcontext.h
|
||||
@@ -285,7 +285,7 @@ typedef struct ucontext {
|
||||
#endif
|
||||
|
||||
#if defined(__linux__)
|
||||
- typedef struct ucontext os_ucontext;
|
||||
+ typedef ucontext_t os_ucontext;
|
||||
|
||||
#ifdef __mono_ppc64__
|
||||
#define UCONTEXT_REG_Rn(ctx, n) (((os_ucontext*)(ctx))->uc_mcontext.gp_regs [(n)])
|
Loading…
Reference in New Issue
Block a user