summaryrefslogtreecommitdiff
path: root/patches/gcc/6.3.0
diff options
context:
space:
mode:
authorDirk Vanden Boer <dirk.vdb@gmail.com>2017-01-17 09:44:50 (GMT)
committerDirk Vanden Boer <dirk.vdb@gmail.com>2017-01-18 18:32:03 (GMT)
commit272f62285d081a5c6551ba9347bdcf3d62d302e9 (patch)
tree3dba16be9b7a76c0078734cae5866ba60e11a0d7 /patches/gcc/6.3.0
parent61d8314c3bf5cff1389447506f8b46c505a3f528 (diff)
Added patch for gcc compilation error with fortran enabled
Signed-off-by: Dirk Vanden Boer <dirk.vdb@gmail.com>
Diffstat (limited to 'patches/gcc/6.3.0')
-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 }