View | Details | Raw Unified | Return to bug 179537
Collapse All | Expand All

(-)graphics/gd/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	gd
4
PORTNAME=	gd
5
PORTVERSION=	2.0.35
5
PORTVERSION=	2.0.35
6
PORTREVISION?=	8
6
PORTREVISION?=	9
7
PORTEPOCH=	1
7
PORTEPOCH=	1
8
CATEGORIES+=	graphics
8
CATEGORIES+=	graphics
9
MASTER_SITES=	http://www.libgd.org/releases/ \
9
MASTER_SITES=	http://www.libgd.org/releases/ \
(-)graphics/gd/files/patch-gd_gif_out.c (+24 lines)
Line 0 Link Here
1
--- gd_gif_out.c~	2007-01-04 15:44:31.000000000 +0300
2
+++ gd_gif_out.c	2013-06-13 17:11:11.000000000 +0400
3
@@ -586,9 +586,9 @@
4
         int InitCodeSize;
5
         int i;
6
 	GifCtx ctx;
7
+	memset(&ctx, 0, sizeof(ctx));
8
         ctx.Interlace = GInterlace;
9
 	ctx.in_count = 1;
10
-	memset(&ctx, 0, sizeof(ctx));
11
         ColorMapSize = 1 << BitsPerPixel;
12
 
13
         RWidth = ctx.Width = GWidth;
14
@@ -735,9 +735,9 @@
15
         int InitCodeSize;
16
         int i;
17
 	GifCtx ctx;
18
+	memset(&ctx, 0, sizeof(ctx));
19
         ctx.Interlace = GInterlace;
20
 	ctx.in_count = 1;
21
-	memset(&ctx, 0, sizeof(ctx));
22
         ColorMapSize = 1 << BitsPerPixel;
23
 
24
 	if (LeftOfs < 0) LeftOfs = 0;

Return to bug 179537