Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323
uae
fix_build_with_glibc2.26.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_build_with_glibc2.26.patch of Package uae
diff -ur e-uae-0.8.29-20080820.orig/src/compemu_raw_x86.c e-uae-0.8.29-20080820/src/compemu_raw_x86.c --- e-uae-0.8.29-20080820.orig/src/compemu_raw_x86.c 2007-11-21 04:13:59.000000000 +0100 +++ e-uae-0.8.29-20080820/src/compemu_raw_x86.c 2017-09-09 17:40:14.722631994 +0200 @@ -2196,16 +2196,16 @@ typedef void *CONTEXT_T; -#define CONTEXT_EIP(context) (((struct ucontext *)context)->uc_mcontext.gregs[REG_EIP]) -#define CONTEXT_EAX(context) (((struct ucontext *)context)->uc_mcontext.gregs[REG_EAX]) -#define CONTEXT_ECX(context) (((struct ucontext *)context)->uc_mcontext.gregs[REG_ECX]) -#define CONTEXT_EDX(context) (((struct ucontext *)context)->uc_mcontext.gregs[REG_EDX]) -#define CONTEXT_EBX(context) (((struct ucontext *)context)->uc_mcontext.gregs[REG_EBX]) -#define CONTEXT_ESP(context) (((struct ucontext *)context)->uc_mcontext.gregs[REG_ESP]) -#define CONTEXT_EBP(context) (((struct ucontext *)context)->uc_mcontext.gregs[REG_EBP]) -#define CONTEXT_ESI(context) (((struct ucontext *)context)->uc_mcontext.gregs[REG_ESI]) -#define CONTEXT_EDI(context) (((struct ucontext *)context)->uc_mcontext.gregs[REG_EDI]) -#define CONTEXT_CR2(context) (((struct ucontext *)context)->uc_mcontext.cr2) +#define CONTEXT_EIP(context) (((ucontext_t *)context)->uc_mcontext.gregs[REG_EIP]) +#define CONTEXT_EAX(context) (((ucontext_t *)context)->uc_mcontext.gregs[REG_EAX]) +#define CONTEXT_ECX(context) (((ucontext_t *)context)->uc_mcontext.gregs[REG_ECX]) +#define CONTEXT_EDX(context) (((ucontext_t *)context)->uc_mcontext.gregs[REG_EDX]) +#define CONTEXT_EBX(context) (((ucontext_t *)context)->uc_mcontext.gregs[REG_EBX]) +#define CONTEXT_ESP(context) (((ucontext_t *)context)->uc_mcontext.gregs[REG_ESP]) +#define CONTEXT_EBP(context) (((ucontext_t *)context)->uc_mcontext.gregs[REG_EBP]) +#define CONTEXT_ESI(context) (((ucontext_t *)context)->uc_mcontext.gregs[REG_ESI]) +#define CONTEXT_EDI(context) (((ucontext_t *)context)->uc_mcontext.gregs[REG_EDI]) +#define CONTEXT_CR2(context) (((ucontext_t *)context)->uc_mcontext.cr2) /* * Try to handle faulted memory access in compiled code
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor