From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 21 13:33:58 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BACE2163 for ; Thu, 21 Nov 2013 13:33:58 +0000 (UTC) Received: from mail-qc0-x236.google.com (mail-qc0-x236.google.com [IPv6:2607:f8b0:400d:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7CEA227F2 for ; Thu, 21 Nov 2013 13:33:58 +0000 (UTC) Received: by mail-qc0-f182.google.com with SMTP id n7so6932236qcx.27 for ; Thu, 21 Nov 2013 05:33:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=GsAAaiNg6UKagMzuYzgJXbOxUsjW2DbIAa5ToI57r48=; b=D2L/EKvahUai5tOA/gUrgNEZmPEI5Hc9c46hVnoxfnJvJjDB0wWVMklY7ThB8SeqRn gouNw3A6PaPWWc63E8VTr7fjuW1hlHlnyhMRaGsPSsPB9jmYMe6zIxGgTdVEMFq47Noz g7gP9x+HQoU6o05HdZawJNXFF2rhanwj7Sz9fbsgt156bCZlN1Ji1fbdUciCGzvSpptJ 9KBWvZeu34LOIBGm4hwE2kurgHkkLrjawSJRLr46+vKUk+uiyOsVCh4nM0+JekPvAlOR 5IfIhaSqSYAGwPnd79wVh2CUyZ6v7Eg1k9PzhywtyLi0Q4dRQ+9zZRW2QVzgR9jZ3r5O rJfA== MIME-Version: 1.0 X-Received: by 10.224.37.1 with SMTP id v1mr10765594qad.29.1385040837665; Thu, 21 Nov 2013 05:33:57 -0800 (PST) Received: by 10.224.25.81 with HTTP; Thu, 21 Nov 2013 05:33:57 -0800 (PST) Received: by 10.224.25.81 with HTTP; Thu, 21 Nov 2013 05:33:57 -0800 (PST) In-Reply-To: <20131120182552.0251F9B5@hub.freebsd.org> References: <20131120122336.0553e1fd@puffo.bilink.net> <528CCBD0.3080900@freebsd.org> <20131120182552.0251F9B5@hub.freebsd.org> Date: Thu, 21 Nov 2013 06:33:57 -0700 Message-ID: Subject: Re: /usr/ports/devel/icu does not compile From: Craig Whipp Cc: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.16 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: Thu, 21 Nov 2013 13:33:58 -0000 On Nov 20, 2013 11:25 AM, "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_ */ > > -- > /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) > \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 > X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG > / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ I have experienced this, too, on a G4 Powerbook. I think that there's a PR already, perhaps it warrants additional attention. See: Powerpc/181502