/usr/ports/devel/icu does not compile

Andreas Tobler andreast-list at fgznet.ch
Wed Nov 20 18:52:36 UTC 2013


On 20.11.13 19:25, Luciano Mannucci wrote:
> On Wed, 20 Nov 2013 15:59:23 +0100
> Frank Pfabigan <frank.pfabigan at gmail.com> wrote:
> 
>> /usr/include/stdint.h:68:68: error: missing binary operator before token "("
> Yes, standard 9.2 stdint.h does'nt work on 32 bit PPCs.
> I've modified mine by commenting out the offending lines and adding a
> #define __WORDSIZE 32
> which, of course, is correct on my machine (and yours too I presume :).
> The End of my stdint.h looks like that now:
> 
> /* GNU and Darwin define this and people seem to think it's portable @/
> #if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX)
> #define	__WORDSIZE		64
> #else
> #define	__WORDSIZE		32
> #endif
> */
> 
> #define	__WORDSIZE		32
> 
> #endif /* !_SYS_STDINT_H_ */
> 

I think the below is the fix:

http://svnweb.freebsd.org/base?view=revision&revision=229494

Andreas


More information about the freebsd-ppc mailing list