From owner-freebsd-amd64@FreeBSD.ORG Tue Feb 3 00:39:23 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBA5216A4CF for ; Tue, 3 Feb 2004 00:39:22 -0800 (PST) Received: from scribble.fsn.hu (scribble.fsn.hu [193.224.40.95]) by mx1.FreeBSD.org (Postfix) with SMTP id C2C3B43D73 for ; Tue, 3 Feb 2004 00:38:49 -0800 (PST) (envelope-from bra@fsn.hu) Received: (qmail 5704 invoked from network); 3 Feb 2004 08:38:47 -0000 Received: from unknown (HELO fsn.hu) (127.0.0.1) by localhost with SMTP; 3 Feb 2004 08:38:47 -0000 Message-ID: <401F5E17.2060306@fsn.hu> Date: Tue, 03 Feb 2004 09:38:47 +0100 From: Attila Nagy Organization: Free Software Network Foundation - http://www.fsn.hu/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: hu, en-us, en MIME-Version: 1.0 To: ports@freebsd.org Content-Type: multipart/mixed; boundary="------------040208030402080904010503" cc: amd64@freebsd.org Subject: [Fwd: Re: jigdo-0.7.0 broken on amd64] X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 08:39:23 -0000 This is a multi-part message in MIME format. --------------040208030402080904010503 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Kris Kennaway wrote: > http://bento.freebsd.org/errorlogs/amd64-5-latest/jigdo-0.7.0.log > Can you please investigate and/or report to the developers? I've attached a patch which should correct the problem. Could you please test it? Thanks, -- Attila Nagy e-mail: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone @work: +361 210 1415/127 ISOs: http://www.fsn.hu/?f=download cell.: +3630 306 6758 --------------040208030402080904010503 Content-Type: text/plain; name="patch-aa" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="patch-aa" --- src.orig/mktemplate.cc +++ src/mktemplate.cc @@ -1,4 +1,4 @@ -/* $Id: mktemplate.cc,v 1.92 2003/04/27 15:57:21 richard Exp $ -*- C++ -= *- +/* $Id: mktemplate.cc,v 1.93 2003/05/06 19:12:14 richard Exp $ -*- C++ -= *- __ _ |_) /| Copyright (C) 2001-2002 Richard Atterer | \/=AF| @@ -643,7 +643,7 @@ Paranoid(*data + len <=3D bufferLength); rsum->addBack(buf + *data, len); *data +=3D len; off +=3D len; *n -=3D len; - *rsumBack =3D modAdd(*rsumBack, len, bufferLength); + *rsumBack =3D modAdd(*rsumBack, implicit_cast(len), bufferLe= ngth); Paranoid(off =3D=3D nextEvent || off =3D=3D nextAlignedOff); # if DEBUG for (unsigned i =3D 0; i < len; ++i) { --------------040208030402080904010503--