svn commit: r320987 - in head/graphics/gd: . files
Dirk Meyer
dinoex at FreeBSD.org
Sat Jun 15 11:41:26 UTC 2013
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;
More information about the svn-ports-head
mailing list