From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 1 23:00:26 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E29616A422 for ; Wed, 1 Feb 2006 23:00:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4186243D49 for ; Wed, 1 Feb 2006 23:00:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k11N0LpB026601 for ; Wed, 1 Feb 2006 23:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k11N0LgR026600; Wed, 1 Feb 2006 23:00:21 GMT (envelope-from gnats) Date: Wed, 1 Feb 2006 23:00:21 GMT Message-Id: <200602012300.k11N0LgR026600@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Kris Kennaway Cc: Subject: Re: ports/92658: [PATCH] sysutils/heirloom: [Unbreak AMD64 build] X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kris Kennaway List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 23:00:26 -0000 The following reply was made to PR ports/92658; it has been noted by GNATS. From: Kris Kennaway To: "Jeffrey H. Johnson" Cc: Larry Rosenman , FreeBSD-gnats-submit@freebsd.org, kris@obsecurity.org, mnag@FreeBSD.org, ports@FreeBSD.org, ports-amd64@FreeBSD.org Subject: Re: ports/92658: [PATCH] sysutils/heirloom: [Unbreak AMD64 build] Date: Wed, 1 Feb 2006 17:52:40 -0500 --8P1HSweYDcXXzwPJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 01, 2006 at 05:41:58PM -0500, Jeffrey H. Johnson wrote: > OK, I have an update here: >=20 > ----------------------------------- > --- spell/spellin.c.orig Wed Feb 1 23:34:58 2006 > +++ spell/spellin.c Wed Feb 1 23:27:02 2006 > @@ -103,7 +103,7 @@ > z =3D huff((1L< fprintf(stderr, "%s: expected code widths =3D %f\n", > argv[0], z); > - for (count =3D 0; scanf("%lo", (long *)&h) =3D=3D 1; ++count) { > + for (count =3D 0; scanf("%o", (long *)&h) =3D=3D 1; ++count) { > if ((t =3D h >> (HASHWIDTH - INDEXWIDTH)) !=3D u) { > if (bp !=3D B) > wp++; > ----------------------------------- >=20 > This should work on all architectures where int32_t is the same size > as int, which I *believe* should cover all current FreeBSD platforms. >=20 > If someone has a better solution, I'd be glad to hear it. I'm also > puzzled as to why this seems to work on pointyhat without the=20 > modifications but I don't have access to AMD64 running 5 to examine.=20 It's probably as simple as that the amd64 5 build hasn't been rerun since the recent update :) Kris --8P1HSweYDcXXzwPJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD4Tu3Wry0BWjoQKURAhZgAKDCLAuyXvbaQm1xGf6sxQHAKy/V9wCfa5oV XybmT4SRufpnBoy3Ss0h5Ho= =hyVK -----END PGP SIGNATURE----- --8P1HSweYDcXXzwPJ--