From owner-cvs-ports@FreeBSD.ORG Sun May 14 10:06:58 2006 Return-Path: X-Original-To: cvs-ports@freebsd.org Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A49116A42C for ; Sun, 14 May 2006 10:06:58 +0000 (UTC) (envelope-from caelian@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DB2243D7B for ; Sun, 14 May 2006 10:06:42 +0000 (GMT) (envelope-from caelian@gmail.com) Received: by py-out-1112.google.com with SMTP id e30so876502pya for ; Sun, 14 May 2006 03:06:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=dl95eyzy1KwHL9IS7cndybyU8GGedthxRp59XsARyX4LuMJriby1J1NBjuJv8Vsn//3sRDYIXVkj6CF0oNQl75PL1/egGwMCDyzUgZSwzYfcZSzSGWnoNdriXHlMgvaqhU8rLCoyxXz9CCD5LW65D74Vj769fKn9Lbi/ka3Ggq0= Received: by 10.35.36.13 with SMTP id o13mr1643528pyj; Sun, 14 May 2006 03:06:41 -0700 (PDT) Received: from synergy.odyssey.homeunix.org ( [68.190.230.198]) by mx.gmail.com with ESMTP id f20sm1756337pyf.2006.05.14.03.06.40; Sun, 14 May 2006 03:06:41 -0700 (PDT) From: Pascal Hofstee To: Marcus Alves Grando In-Reply-To: <200605130356.k4D3uGZV034400@repoman.freebsd.org> References: <200605130356.k4D3uGZV034400@repoman.freebsd.org> Content-Type: text/plain Date: Sun, 14 May 2006 03:06:38 -0700 Message-Id: <1147601198.25766.3.camel@synergy.odyssey.homeunix.org> Mime-Version: 1.0 X-Mailer: Evolution 2.7.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/sysutils/file Makefile distinfo X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 10:06:59 -0000 On Sat, 2006-05-13 at 03:56 +0000, Marcus Alves Grando wrote: > mnag 2006-05-13 03:56:16 UTC > > FreeBSD ports repository > > Modified files: > sysutils/file Makefile distinfo > Log: > - Update to 4.17 This update breaks the build on machines with MALLOC_OPTIONS set to AJ (which is the default on CURRENT) because of an assumption made that malloc-ed memory will automatically be initialized to 0x0. Below is the contents of patch-src_apprentice.c which fixes the build on my amd64 7.0-CURRENT system. --- src/apprentice.c.orig Sun May 14 02:57:19 2006 +++ src/apprentice.c Sun May 14 02:57:49 2006 @@ -386,6 +386,7 @@ file_oomem(ms); return -1; } + memset(marray, 0, maxmagic * sizeof(*marray)); marraycount = 0; /* print silly verbose header for USG compat. */ -- Pascal Hofstee