aboutsummaryrefslogtreecommitdiffstats
path: root/community/ocaml/fix-mcontext-fields.patch
diff options
context:
space:
mode:
authorTuan Hoang <tmhoang@linux.ibm.com>2019-11-22 18:42:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-25 07:29:21 +0000
commitda68172df58bbbb6ea94b3f2f569bdf7628a0660 (patch)
tree637da7ab84a7c5983916f861cfd41ad9399979e0 /community/ocaml/fix-mcontext-fields.patch
parent0af557e86d000ac9a1bc35a99b5d14d417c67d72 (diff)
downloadaports-da68172df58bbbb6ea94b3f2f569bdf7628a0660.tar.bz2
aports-da68172df58bbbb6ea94b3f2f569bdf7628a0660.tar.xz
community/ocaml: fix mcontext patch on s390x
The context patch was just wrong from the beginning. No pkgrel bump.
Diffstat (limited to 'community/ocaml/fix-mcontext-fields.patch')
-rw-r--r--community/ocaml/fix-mcontext-fields.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/community/ocaml/fix-mcontext-fields.patch b/community/ocaml/fix-mcontext-fields.patch
index 436057df76..23b4875d21 100644
--- a/community/ocaml/fix-mcontext-fields.patch
+++ b/community/ocaml/fix-mcontext-fields.patch
@@ -25,20 +25,3 @@ diff -Nru a/runtime/signals_osdep.h b/runtime/signals_osdep.h
+ #endif
/****************** PowerPC, NetBSD */
-
-@@ -354,11 +362,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->gregs[13])
-+ #define CONTEXT_YOUNG_LIMIT (context->sregs->gregs[10])
-+ #define CONTEXT_YOUNG_PTR (context->sregs->gregs[11])
-+ #define CONTEXT_SP (context->sregs->gregs[15])
-
- /******************** Default */