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.c17
1 files changed, 13 insertions, 4 deletions
diff --git a/devel/flang/files/patch-runtime_flangrti_trace__lin.c b/devel/flang/files/patch-runtime_flangrti_trace__lin.c
index 637f590959d9..fa886d6fd5e5 100644
--- a/devel/flang/files/patch-runtime_flangrti_trace__lin.c
+++ b/devel/flang/files/patch-runtime_flangrti_trace__lin.c
@@ -1,6 +1,15 @@
---- runtime/flangrti/trace_lin.c.orig 2018-09-03 06:03:48 UTC
+--- runtime/flangrti/trace_lin.c.orig 2019-10-09 20:28:35 UTC
+++ runtime/flangrti/trace_lin.c
-@@ -87,7 +87,7 @@ static struct sigs sigs[] = {
+@@ -25,7 +25,7 @@
+ #include <string.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+-#include <linux/limits.h>
++#include <limits.h>
+ #include <inttypes.h>
+
+ /* codes and strings for signals */
+@@ -92,7 +92,7 @@ static struct sigs sigs[] = {
{0, CODNULL, NULL} /* end of list */
};
@@ -8,8 +17,8 @@
+static void *regs; /* pointer to regs at signal */
extern char **__io_get_argv();
- static char ** saved_argv;
-@@ -143,7 +143,7 @@ __abort_trace(int skip)
+ static char ** saved_argv = NULL;
+@@ -182,7 +182,7 @@ __abort_trace(int skip)
char **strings;
size_t i;