summaryrefslogtreecommitdiff
path: root/packages/gcc/9.4.0/0006-libgfortran-missing-include.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2022-02-14 08:11:42 (GMT)
committerGitHub <noreply@github.com>2022-02-14 08:11:42 (GMT)
commit681aaef1f1ff39c341fdc529e0db2c14639a58d8 (patch)
treece98c2b3d9648db065d27add325370392a35d584 /packages/gcc/9.4.0/0006-libgfortran-missing-include.patch
parentba680a3e5b8c62a7c1554e71f6d09903dac95a2f (diff)
parent86c2982568de1ad4d4cc12a65b19231331484405 (diff)
Merge pull request #1674 from stilor/master
Updates to make `ct-ng build-all` pass
Diffstat (limited to 'packages/gcc/9.4.0/0006-libgfortran-missing-include.patch')
-rw-r--r--packages/gcc/9.4.0/0006-libgfortran-missing-include.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/gcc/9.4.0/0006-libgfortran-missing-include.patch b/packages/gcc/9.4.0/0006-libgfortran-missing-include.patch
index f93524b..d4917ee 100644
--- a/packages/gcc/9.4.0/0006-libgfortran-missing-include.patch
+++ b/packages/gcc/9.4.0/0006-libgfortran-missing-include.patch
@@ -4,11 +4,11 @@
--- a/libgfortran/io/close.c
+++ b/libgfortran/io/close.c
-@@ -29,6 +29,7 @@ see the files COPYING3 and COPYING.RUNTI
+@@ -29,6 +29,7 @@
#if !HAVE_UNLINK_OPEN_FILE
#include <string.h>
#endif
+#include <stdlib.h>
typedef enum
- { CLOSE_DELETE, CLOSE_KEEP, CLOSE_UNSPECIFIED }
+ { CLOSE_INVALID = - 1, CLOSE_DELETE, CLOSE_KEEP, CLOSE_UNSPECIFIED }