summaryrefslogtreecommitdiff
path: root/packages/gcc/7.3.0/0007-libgfortran-missing-include.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-02-02 06:16:05 (GMT)
committerGitHub <noreply@github.com>2018-02-02 06:16:05 (GMT)
commitfd9fe523b22cb6281f26081232a3f8f3aee7fda1 (patch)
tree9851733e0973e1de900d7f932e5b88fe637441f3 /packages/gcc/7.3.0/0007-libgfortran-missing-include.patch
parentba165ed4c0bfa8a83e61a2efd1ad205777978486 (diff)
parent36bb675a71cc66a2abd69bc82d613f2153d3791f (diff)
Merge pull request #904 from stilor/upgrade
A bunch of upgrades
Diffstat (limited to 'packages/gcc/7.3.0/0007-libgfortran-missing-include.patch')
-rw-r--r--packages/gcc/7.3.0/0007-libgfortran-missing-include.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/gcc/7.3.0/0007-libgfortran-missing-include.patch b/packages/gcc/7.3.0/0007-libgfortran-missing-include.patch
new file mode 100644
index 0000000..701e7b4
--- /dev/null
+++ b/packages/gcc/7.3.0/0007-libgfortran-missing-include.patch
@@ -0,0 +1,14 @@
+---
+ libgfortran/io/close.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/libgfortran/io/close.c
++++ b/libgfortran/io/close.c
+@@ -25,6 +25,7 @@
+ #include "io.h"
+ #include "unix.h"
+ #include <limits.h>
++#include <stdlib.h>
+
+ typedef enum
+ { CLOSE_DELETE, CLOSE_KEEP, CLOSE_UNSPECIFIED }