From owner-freebsd-ports@FreeBSD.ORG Mon Aug 28 15:15:46 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 888A116A4DD for ; Mon, 28 Aug 2006 15:15:46 +0000 (UTC) (envelope-from Mark.Martinec@ijs.si) Received: from mail.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A46043D53 for ; Mon, 28 Aug 2006 15:15:44 +0000 (GMT) (envelope-from Mark.Martinec@ijs.si) Received: from localhost (mail4.ijs.si [193.2.4.66]) by mail.ijs.si (Postfix) with ESMTP id 4827717B95B for ; Mon, 28 Aug 2006 17:15:43 +0200 (CEST) DKIM-Signature: a=rsa-sha1; c=relaxed/simple; d=ijs.si; s=ja-200608; t=1156778143; bh=LGGcPDTkFeRGygEGxDuUdsp2sBk=; h=DomainKey-Signature: X-Virus-Scanned:Received:Received:Received:From:Organization:To: Subject:Date:User-Agent:MIME-Version:Content-Type:Message-Id; b=fs4 Gr7Im7fthSj1+sbmfCYxtg2fAqm8uUNBdn7OcPt4NYw/ovQTAfKvX2A5Xe95yysDWM1 hFk+/xT/lB3NQE7zmsT7NBmeURFKuyGDxGqiGY/eu3LuHhDf9EFBisBRnP DomainKey-Signature: a=rsa-sha1; s=ja-200608; d=ijs.si; c=nofws; q=dns; h=x-virus-scanned:received:from:organization:to:subject:date: user-agent:mime-version:content-type:message-id; b=EssW1yH2YEKjz8X4i/tb+brZVYwJXlmgbBFAjYUis/rq/aIduhyVx3Spe0PjY5Z3s Mip4tcIjgOKoWX7wqZFTto6Nf5rEx9r0CLttL/sHFuHxbJwLWhMp3CllXbZBR4u X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([127.0.0.1]) by localhost (mail.ijs.si [127.0.0.1]) (amavisd-new, port 10026) with LMTP id GsXRYonQHDrE for ; Mon, 28 Aug 2006 17:15:41 +0200 (CEST) Received: from edina.ijs.si (edina.ijs.si [193.2.4.3]) by mail.ijs.si (Postfix) with ESMTP id 2DF6517B951 for ; Mon, 28 Aug 2006 17:15:41 +0200 (CEST) Received: from ezri.ijs.si (ezri.ijs.si [193.2.4.245]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by edina.ijs.si (Postfix) with ESMTP id 2731950C5C for ; Mon, 28 Aug 2006 17:15:40 +0200 (CEST) From: Mark Martinec Organization: J. Stefan Institute To: ports@freebsd.org Date: Mon, 28 Aug 2006 17:15:40 +0200 User-Agent: KMail/1.9.3 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_ciw8EnxX7IFLlgf" Message-Id: <200608281715.40646.Mark.Martinec@ijs.si> Cc: Subject: patch for port: graphics/libungif X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2006 15:15:46 -0000 --Boundary-00=_ciw8EnxX7IFLlgf Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Please add the attached patch to graphics/libungif/files/ It fixes a segfault in the giftext utility during processing of gif files with no color map (or a broken map). The patch was provided by Christian Holler and comes with his FuzzyOcr plugin to SpamAssassin. The giftext utility became important to people using SpamAssassin plugin FuzzyOcr. Regards Mark --Boundary-00=_ciw8EnxX7IFLlgf Content-Type: text/x-diff; charset="us-ascii"; name="patch-giftext-segfault" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-giftext-segfault" --- util/giftext.c.orig Mon Oct 10 08:08:51 2005 +++ util/giftext.c Mon Aug 28 17:01:18 2006 @@ -136,5 +136,5 @@ printf("\tColorResolution = %d, BitsPerPixel = %d, BackGround = %d.\n", GifFile->SColorResolution, - GifFile->SColorMap->BitsPerPixel, + GifFile->SColorMap?GifFile->SColorMap->BitsPerPixel:0, GifFile->SBackGroundColor); if (GifFile->SColorMap) --Boundary-00=_ciw8EnxX7IFLlgf--