diff options
author | Shiz <hi@shiz.me> | 2017-05-13 05:53:04 +0200 |
---|---|---|
committer | Shiz <hi@shiz.me> | 2017-05-13 05:53:20 +0200 |
commit | a5c9034d9b328371a02550b581ee0e9f322ec07b (patch) | |
tree | 710a69fbe3280f558958d55b7ddc0d776909df92 /community/ocaml/fix-s390x-mcontext-fields.patch | |
parent | 0704f00909ba3cb5e172f220aa2f7e81c239f946 (diff) | |
download | aports-a5c9034d9b328371a02550b581ee0e9f322ec07b.tar.bz2 aports-a5c9034d9b328371a02550b581ee0e9f322ec07b.tar.xz |
community/ocaml: bump to 4.04.1, add tests, fix s390x
Diffstat (limited to 'community/ocaml/fix-s390x-mcontext-fields.patch')
-rw-r--r-- | community/ocaml/fix-s390x-mcontext-fields.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/community/ocaml/fix-s390x-mcontext-fields.patch b/community/ocaml/fix-s390x-mcontext-fields.patch new file mode 100644 index 0000000000..71435f284a --- /dev/null +++ b/community/ocaml/fix-s390x-mcontext-fields.patch @@ -0,0 +1,20 @@ +diff -Nru a/asmrun/signals_osdep.h b/asmrun/signals_osdep.h +--- a/asmrun/signals_osdep.h 2016-11-04 16:08:24.000000000 +0000 ++++ b/asmrun/signals_osdep.h 2017-05-13 03:16:28.749615533 +0000 +@@ -314,11 +314,11 @@ + sigact.sa_flags = 0 + + typedef unsigned long context_reg; +- #define CONTEXT_PC (context->sregs->regs.psw.addr) +- #define CONTEXT_EXCEPTION_POINTER (context->sregs->regs.gprs[13]) +- #define CONTEXT_YOUNG_LIMIT (context->sregs->regs.gprs[10]) +- #define CONTEXT_YOUNG_PTR (context->sregs->regs.gprs[11]) +- #define CONTEXT_SP (context->sregs->regs.gprs[15]) ++ #define CONTEXT_PC (context->sregs->psw.addr) ++ #define CONTEXT_EXCEPTION_POINTER (context->sregs->gprs[13]) ++ #define CONTEXT_YOUNG_LIMIT (context->sregs->gprs[10]) ++ #define CONTEXT_YOUNG_PTR (context->sregs->gprs[11]) ++ #define CONTEXT_SP (context->sregs->gprs[15]) + + /****************** PowerPC, BSD */ + |