diff options
author | John Marino <marino@FreeBSD.org> | 2016-03-20 00:57:54 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2016-03-20 00:57:54 +0000 |
commit | f55f71fec08789e0076e53c9ece13b6d0a8f45b5 (patch) | |
tree | 453025e3c6e68cc4268da940306ba23f223cd825 /lang/gcc6-aux/files | |
parent | 527ff1afeab5f94c3bfee05e666240264fb46823 (diff) | |
download | ports-f55f71fec08789e0076e53c9ece13b6d0a8f45b5.tar.gz ports-f55f71fec08789e0076e53c9ece13b6d0a8f45b5.zip |
lang/gcc6-aux: Fix build on FreeBSD i386
Reported by: pkg-fallout
Notes
Notes:
svn path=/head/; revision=411426
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 @@ |