Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jun 2013 11:41:25 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r320987 - in head/graphics/gd: . files
Message-ID:  <201306151141.r5FBfPqW052667@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306151141.r5FBfPqW052667>