diff options
Diffstat (limited to 'lang/gcc6-aux/files')
-rw-r--r-- | lang/gcc6-aux/files/diff-ada | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lang/gcc6-aux/files/diff-ada b/lang/gcc6-aux/files/diff-ada index 3e558455ab7f..6b2eee05721a 100644 --- a/lang/gcc6-aux/files/diff-ada +++ b/lang/gcc6-aux/files/diff-ada @@ -48,6 +48,15 @@ #elif defined (__linux__) || defined (__FreeBSD__) || defined (__NetBSD__) \ || defined (__OpenBSD__) || defined (__GLIBC__) || defined (__ANDROID__) \ || defined (__DragonFly__) +@@ -1443,7 +1484,7 @@ + utimbuf.modtime = time_stamp; + + /* Set access time to now in local time. */ +- t = time ((time_t) 0); ++ t = time (NULL); + utimbuf.actime = mktime (localtime (&t)); + + utime (name, &utimbuf); --- gcc/ada/cio.c.orig +++ gcc/ada/cio.c @@ -49,7 +49,7 @@ |