diff options
author | gerald <gerald@FreeBSD.org> | 2018-10-20 18:59:09 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2018-10-20 18:59:09 +0800 |
commit | 3ddb49f70a16fc14ba61910187290b786e379eab (patch) | |
tree | e3246bbef8797690a8d11ca23610d569fe3b63ad /lang | |
parent | 1250e647e21f2485d1f698f8a20b1687a0cf9b1e (diff) | |
download | freebsd-ports-gnome-3ddb49f70a16fc14ba61910187290b786e379eab.tar.gz freebsd-ports-gnome-3ddb49f70a16fc14ba61910187290b786e379eab.tar.zst freebsd-ports-gnome-3ddb49f70a16fc14ba61910187290b786e379eab.zip |
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
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc7/files/patch-libgfortran | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/gcc7/files/patch-libgfortran b/lang/gcc7/files/patch-libgfortran new file mode 100644 index 000000000000..41bb863c4373 --- /dev/null +++ b/lang/gcc7/files/patch-libgfortran @@ -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 } |