summaryrefslogtreecommitdiff
path: root/packages/gcc/8.4.0/8.3.0/0006-libgfortran-missing-include.patch
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2020-04-23 05:59:39 (GMT)
committerGitHub <noreply@github.com>2020-04-23 05:59:39 (GMT)
commit5659366bf62b5555bf914b5f55e8a01c92d6c6f1 (patch)
tree0242c3001d64e05f49feab957e8e43a4a8726c36 /packages/gcc/8.4.0/8.3.0/0006-libgfortran-missing-include.patch
parent75d7525aa1698a8bd8dd0c6b78819846fe2ec869 (diff)
parent31ca84ac88030299171d9f2099e2a41990d219a1 (diff)
Merge pull request #1319 from cpackham/gcc-8.4.0
Update to gcc 8.4.0
Diffstat (limited to 'packages/gcc/8.4.0/8.3.0/0006-libgfortran-missing-include.patch')
-rw-r--r--packages/gcc/8.4.0/8.3.0/0006-libgfortran-missing-include.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/gcc/8.4.0/8.3.0/0006-libgfortran-missing-include.patch b/packages/gcc/8.4.0/8.3.0/0006-libgfortran-missing-include.patch
new file mode 100644
index 0000000..6e2e4e4
--- /dev/null
+++ b/packages/gcc/8.4.0/8.3.0/0006-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
+@@ -28,6 +28,7 @@
+ #if !HAVE_UNLINK_OPEN_FILE
+ #include <string.h>
+ #endif
++#include <stdlib.h>
+
+ typedef enum
+ { CLOSE_DELETE, CLOSE_KEEP, CLOSE_UNSPECIFIED }