summaryrefslogtreecommitdiff
path: root/devel/flang/files/patch-runtime_flangrti_trace__lin.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/flang/files/patch-runtime_flangrti_trace__lin.c')
-rw-r--r--devel/flang/files/patch-runtime_flangrti_trace__lin.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/flang/files/patch-runtime_flangrti_trace__lin.c b/devel/flang/files/patch-runtime_flangrti_trace__lin.c
new file mode 100644
index 000000000000..353a9b46e037
--- /dev/null
+++ b/devel/flang/files/patch-runtime_flangrti_trace__lin.c
@@ -0,0 +1,20 @@
+--- runtime/flangrti/trace_lin.c.orig 2017-05-17 00:40:01 UTC
++++ runtime/flangrti/trace_lin.c
+@@ -85,7 +85,7 @@ static struct sigs sigs[] = {
+ {0, CODNULL, NULL} /* end of list */
+ };
+
+-static gregset_t *regs; /* pointer to regs at signal */
++static void *regs; /* pointer to regs at signal */
+
+ /* walk the stack back */
+
+@@ -99,7 +99,7 @@ __abort_trace(int skip)
+ char **strings;
+ size_t i, n;
+
+- if (regs != (gregset_t *)0) {
++ if (regs != (void *)0) {
+ dumpregs(regs);
+ }
+