summaryrefslogtreecommitdiff
path: root/patches/gcc
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-01-20 01:13:00 (GMT)
committerGitHub <noreply@github.com>2017-01-20 01:13:00 (GMT)
commitdc3f68c8a5501fd745d079d724da389ea05566f8 (patch)
tree043291597ca10053bb6f8f51251882c053d27300 /patches/gcc
parent2bd87c8614fbb80225b91c0ab5315ecf80e3d308 (diff)
parent272f62285d081a5c6551ba9347bdcf3d62d302e9 (diff)
Merge pull request #545 from dirkvdb/master
Gcc compilation fix when fortran is enabled
Diffstat (limited to 'patches/gcc')
-rw-r--r--patches/gcc/6.3.0/900-libgfortran-missing-include.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/patches/gcc/6.3.0/900-libgfortran-missing-include.patch b/patches/gcc/6.3.0/900-libgfortran-missing-include.patch
new file mode 100644
index 0000000..1f47469
--- /dev/null
+++ b/patches/gcc/6.3.0/900-libgfortran-missing-include.patch
@@ -0,0 +1,10 @@
+--- gcc-6.3.0/libgfortran/io/close.c.org 2017-01-17 09:43:48.395850000 +0100
++++ gcc-6.3.0/libgfortran/io/close.c 2017-01-17 09:21:05.000000000 +0100
+@@ -25,6 +25,7 @@
+ #include "io.h"
+ #include "unix.h"
+ #include <limits.h>
++#include <stdlib.h>
+
+ typedef enum
+ { CLOSE_DELETE, CLOSE_KEEP, CLOSE_UNSPECIFIED }