From owner-freebsd-ia64 Wed Jan 15 17:48:47 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 1791F37B401; Wed, 15 Jan 2003 17:48:46 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54BC843EB2; Wed, 15 Jan 2003 17:48:45 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h0G1mi2G056246; Wed, 15 Jan 2003 17:48:45 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.6/8.12.6) with ESMTP id h0G1mt2E022077; Wed, 15 Jan 2003 17:48:55 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.6/8.12.6/Submit) id h0G1msOO022076; Wed, 15 Jan 2003 17:48:54 -0800 (PST) (envelope-from marcel) Date: Wed, 15 Jan 2003 17:48:54 -0800 From: Marcel Moolenaar To: Kris Kennaway Cc: ia64@FreeBSD.ORG, anholt@FreeBSD.ORG Subject: Re: XFree86-libraries fails on ia64 Message-ID: <20030116014854.GA22020@dhcp01.pn.xcllnt.net> References: <20030116012828.GA27790@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030116012828.GA27790@rot13.obsecurity.org> User-Agent: Mutt/1.5.1i 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:28:29PM -0800, Kris Kennaway wrote: > http://bento.freebsd.org/errorlogs/ia64-5-latest/XFree86-libraries-4.2.1_5.log > > This prevents 3074 package builds from being attempted :-) I sent patches for this before we even branched (IIRC). The issue is known for say 2 months now. These were the patches I sent to the maintainer (you were cc'd) some moons back. Both fix the problem, but they do it differently, so only one is to be committed: 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 @@ while ( z ) { - z = (unsigned INT64)z >> 1; + z = (unsigned long long)z >> 1; j++; } return j - 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 @@ while ( z ) { +#if defined(__ia64__) + z = (unsigned long)z >> 1; +#else z = (unsigned INT64)z >> 1; +#endif j++; } return j - 1; -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message