Re: Cannot buildworld in CURRENT

From: Giorgos Keramidas <keramida_at_freebsd.org>
Date: Fri, 07 Nov 2008 15:16:11 +0200
On Fri, 07 Nov 2008 12:23:16 +0300, Alex Keda <admin_at_lissyara.su> wrote:
>> Can you try this patch?
>>
>> %%%
>> diff -r aa58af068624 usr.bin/du/du.c
>> --- a/usr.bin/du/du.c	Thu Nov 06 23:29:46 2008 +0200
>> +++ b/usr.bin/du/du.c	Thu Nov 06 23:51:48 2008 +0200
>> _at__at_ -273,7 +273,8 _at__at_
>>  					(void)printf("\t%s\n", p->fts_path);
>>  				} else {
>>  					(void)printf("%jd\t%s\n",
>> -					    howmany(p->fts_bignum * cblocksize,
>> +					    (intmax_t)howmany(
>> +					    p->fts_bignum * cblocksize,
>>  					    blocksize), p->fts_path);
>>  				}
>>  			}
>> %%%
>
> another machine. Build success. Updated 2 hour ago...

Thanks :)

> You commit this patch? =)

Max committed a fix in Subversion change 184742:

: r184742 | mlaier | 2008-11-07 01:55:28 +0200 (Fri, 07 Nov 2008) | 2 lines
: Changed paths:
:    M /head/usr.bin/du/du.c
:
: Restore (intmax_t) casts I lost during the last change & unbreak the build.
:

If you resync your source tree you will get the fix too :)
Received on Fri Nov 07 2008 - 12:16:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:37 UTC