From owner-freebsd-ia64 Sat Jan 18 13:56:42 2003 Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B6CF37B401; Sat, 18 Jan 2003 13:56:41 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D91443ED8; Sat, 18 Jan 2003 13:56:40 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.6/8.12.2) with ESMTP id h0ILueIx076816; Sat, 18 Jan 2003 13:56:40 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.6/Submit) id h0ILtO4p076769; Sat, 18 Jan 2003 13:55:24 -0800 (PST) Date: Sat, 18 Jan 2003 13:55:24 -0800 From: "David O'Brien" To: Marcel Moolenaar Cc: Kris Kennaway , ia64@FreeBSD.ORG, anholt@FreeBSD.ORG Subject: Re: XFree86-libraries fails on ia64 Message-ID: <20030118215524.GF70151@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20030116012828.GA27790@rot13.obsecurity.org> <20030116014854.GA22020@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030116014854.GA22020@dhcp01.pn.xcllnt.net> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Jan 15, 2003 at 05:48:54PM -0800, Marcel Moolenaar wrote: > Alternative 1: > --- extras/FreeType/lib/ttcalc.c.orig Sat Feb 12 21:03:51 2000 > +++ extras/FreeType/lib/ttcalc.c Mon Dec 2 00:39:32 2002 > @@ -84,7 +84,7 @@ > - z = (unsigned INT64)z >> 1; > + z = (unsigned long long)z >> 1; > Alternative 2: > --- extras/FreeType/lib/ttcalc.c.orig Sat Feb 12 21:03:51 2000 > +++ extras/FreeType/lib/ttcalc.c Thu Dec 5 17:56:25 2002 > @@ -84,7 +84,11 @@ > +#if defined(__ia64__) > + z = (unsigned long)z >> 1; > +#else > z = (unsigned INT64)z >> 1; > +#endif This looks like a total hack (at first glance). Why isn't INT64 usable? Is there a missing ia64 case in the definition of it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message