Cannot buildworld in CURRENT

Giorgos Keramidas keramida at freebsd.org
Fri Nov 7 05:16:34 PST 2008


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
>> @@ -273,7 +273,8 @@
>>  					(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 :)



More information about the freebsd-current mailing list