From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 20 18:52:36 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 271A963B for ; Wed, 20 Nov 2013 18:52:36 +0000 (UTC) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B50802140 for ; Wed, 20 Nov 2013 18:52:34 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id rAKIqSaO062493; Wed, 20 Nov 2013 19:52:31 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <528D04EC.8090606@fgznet.ch> Date: Wed, 20 Nov 2013 19:52:28 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Luciano Mannucci , freebsd-ppc@freebsd.org Subject: Re: /usr/ports/devel/icu does not compile References: <20131120122336.0553e1fd@puffo.bilink.net> <528CCBD0.3080900@freebsd.org> <20131120182552.0C50A9C4@hub.freebsd.org> In-Reply-To: <20131120182552.0C50A9C4@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 18:52:36 -0000 On 20.11.13 19:25, Luciano Mannucci wrote: > On Wed, 20 Nov 2013 15:59:23 +0100 > Frank Pfabigan 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