summaryrefslogtreecommitdiff
path: root/devel/flang/files/patch-runtime_flangrti_trace__lin.c
diff options
context:
space:
mode:
authorJohannes M Dieterich <jmd@FreeBSD.org>2017-05-19 02:01:51 +0000
committerJohannes M Dieterich <jmd@FreeBSD.org>2017-05-19 02:01:51 +0000
commit589d6627b2261e01d3d75632cd3beeea4a9cc75f (patch)
treee7c55c1d449d849cebc6ade15bcd4d370df22e7c /devel/flang/files/patch-runtime_flangrti_trace__lin.c
parent- Add new port: devel/R-cran-rlang (diff)
new ports: devel/flang and devel/flang-clang.
Welcome the freshly released flang Fortran LLVM compiler (currently only for amd6) ! It needs as a companion a custom clang, added as flang-clang. Reviewed by: swills (mentor) Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D10805
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);
+ }
+