1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00

Copy over files/patch-libgfortran from revision r481429 of lang/gcc7-devel:

Add a partial fix for what was reported in PR 231804, the part that's
actually relevant upstream and that I made there, cf.
https://gcc.gnu.org/ml/gcc-patches/2018-10/msg00076.html as a new
local patch files/patch-libgfortran until I have backported this to the
upstream release branch and hence we get it via the weekly snapshots.

PR:		231804
This commit is contained in:
Gerald Pfeifer 2018-10-20 10:59:09 +00:00
parent a4f96acfe1
commit fae9c3042d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482485

View File

@ -0,0 +1,19 @@
2018-10-02 Gerald Pfeifer <gerald@pfeifer.com>
* io/close.c [!HAVE_UNLINK_OPEN_FILE]: Include <string.h>.
--- UTC
Index: libgfortran/io/close.c
===================================================================
--- libgfortran/io/close.c (revision 264799)
+++ libgfortran/io/close.c (revision 264800)
@@ -26,6 +26,9 @@ see the files COPYING3 and COPYING.RUNTIME respect
#include "unix.h"
#include "async.h"
#include <limits.h>
+#if !HAVE_UNLINK_OPEN_FILE
+#include <string.h>
+#endif
typedef enum
{ CLOSE_DELETE, CLOSE_KEEP, CLOSE_UNSPECIFIED }