Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 19:52:28 +0100
From:      Andreas Tobler <andreast-list@fgznet.ch>
To:        Luciano Mannucci <luciano@vespaperitivo.it>, freebsd-ppc@freebsd.org
Subject:   Re: /usr/ports/devel/icu does not compile
Message-ID:  <528D04EC.8090606@fgznet.ch>
In-Reply-To: <20131120182552.0C50A9C4@hub.freebsd.org>
References:  <CAFX4DrbFucTEPVt4XWnB%2BLEgwc6pfOrYVqz1MkeKcNzLjz=kAQ@mail.gmail.com> <20131120122336.0553e1fd@puffo.bilink.net> <CAFX4DrZn27Ne2N5tOB9LzghCyheBV1uHMkEbdHGci6Cja1VJ-g@mail.gmail.com> <528CCBD0.3080900@freebsd.org> <CAFX4DrYP0qV5wHCL2RAbdyt2irB6aiQOF269Lx82ofiMxLqEnQ@mail.gmail.com> <20131120182552.0C50A9C4@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 20.11.13 19:25, Luciano Mannucci wrote:
> On Wed, 20 Nov 2013 15:59:23 +0100
> Frank Pfabigan <frank.pfabigan@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?528D04EC.8090606>