From owner-svn-ports-all@FreeBSD.ORG Sat Jun 15 11:41:26 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 28BA4DFF; Sat, 15 Jun 2013 11:41:26 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 1A0E612EC; Sat, 15 Jun 2013 11:41:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5FBfPob052669; Sat, 15 Jun 2013 11:41:25 GMT (envelope-from dinoex@svn.freebsd.org) Received: (from dinoex@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5FBfPqW052667; Sat, 15 Jun 2013 11:41:25 GMT (envelope-from dinoex@svn.freebsd.org) Message-Id: <201306151141.r5FBfPqW052667@svn.freebsd.org> From: Dirk Meyer Date: Sat, 15 Jun 2013 11:41:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320987 - in head/graphics/gd: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 11:41:26 -0000 Author: dinoex Date: Sat Jun 15 11:41:25 2013 New Revision: 320987 URL: http://svnweb.freebsd.org/changeset/ports/320987 Log: - fix to support interlaced gif PR: 179537 Submitted by: Sergey Kandaurov Obtained from: libgd repo Added: head/graphics/gd/files/patch-gd_gif_out.c (contents, props changed) Modified: head/graphics/gd/Makefile Modified: head/graphics/gd/Makefile ============================================================================== --- head/graphics/gd/Makefile Sat Jun 15 11:29:10 2013 (r320986) +++ head/graphics/gd/Makefile Sat Jun 15 11:41:25 2013 (r320987) @@ -3,7 +3,7 @@ PORTNAME= gd PORTVERSION= 2.0.35 -PORTREVISION?= 8 +PORTREVISION?= 9 PORTEPOCH= 1 CATEGORIES+= graphics MASTER_SITES= http://www.libgd.org/releases/ \ Added: head/graphics/gd/files/patch-gd_gif_out.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/gd/files/patch-gd_gif_out.c Sat Jun 15 11:41:25 2013 (r320987) @@ -0,0 +1,24 @@ +--- gd_gif_out.c~ 2007-01-04 15:44:31.000000000 +0300 ++++ gd_gif_out.c 2013-06-13 17:11:11.000000000 +0400 +@@ -586,9 +586,9 @@ + int InitCodeSize; + int i; + GifCtx ctx; ++ memset(&ctx, 0, sizeof(ctx)); + ctx.Interlace = GInterlace; + ctx.in_count = 1; +- memset(&ctx, 0, sizeof(ctx)); + ColorMapSize = 1 << BitsPerPixel; + + RWidth = ctx.Width = GWidth; +@@ -735,9 +735,9 @@ + int InitCodeSize; + int i; + GifCtx ctx; ++ memset(&ctx, 0, sizeof(ctx)); + ctx.Interlace = GInterlace; + ctx.in_count = 1; +- memset(&ctx, 0, sizeof(ctx)); + ColorMapSize = 1 << BitsPerPixel; + + if (LeftOfs < 0) LeftOfs = 0;