diff options
Diffstat (limited to 'devel/flang/files/patch-runtime_flangrti_iostdinit.c')
-rw-r--r-- | devel/flang/files/patch-runtime_flangrti_iostdinit.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/devel/flang/files/patch-runtime_flangrti_iostdinit.c b/devel/flang/files/patch-runtime_flangrti_iostdinit.c deleted file mode 100644 index c36429a28f0b..000000000000 --- a/devel/flang/files/patch-runtime_flangrti_iostdinit.c +++ /dev/null @@ -1,28 +0,0 @@ ---- runtime/flangrti/iostdinit.c.orig 2019-10-09 20:28:35 UTC -+++ runtime/flangrti/iostdinit.c -@@ -163,7 +163,7 @@ __io_ferror(void *p) - int - __io_getfd(void *fp) - { -- return (((FILE *)fp)->_fileno); -+ return (((FILE *)fp)->_file); - } - - /* is a tty? */ -@@ -273,14 +273,14 @@ extern long *_imp___timezone_dll; /* for crtdll.dll */ - #define timezone _timezone /* cygnus, timezone is usually a function */ - #endif - --#elif !defined(DEC) && !defined(IBM) && !defined(ST100_V1_2) && !defined(OSX86) /* !defined(WINNT) */ -+#elif !defined(DEC) && !defined(IBM) && !defined(ST100_V1_2) && !defined(OSX86) && !defined(__FreeBSD__) /* !defined(WINNT) */ - extern time_t timezone; /* for the rest */ - #endif - - int - __io_timezone(void *tm) - { --#if defined(SUN4) || defined(PPC) || defined(OSX86) -+#if defined(SUN4) || defined(PPC) || defined(OSX86) || defined(__FreeBSD__) - return ((struct tm *)tm)->tm_gmtoff; - #elif defined(WINNT) || defined(WIN64) || defined(WIN32) - return (0); |