Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 2003 17:48:54 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        ia64@FreeBSD.ORG, anholt@FreeBSD.ORG
Subject:   Re: XFree86-libraries fails on ia64
Message-ID:  <20030116014854.GA22020@dhcp01.pn.xcllnt.net>
In-Reply-To: <20030116012828.GA27790@rot13.obsecurity.org>
References:  <20030116012828.GA27790@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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