FreeBSD Bugzilla – Attachment 134812 Details for
Bug 179537
[patch] graphics/gd: fix to enable interlaced gif
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.25 KB, created by
pluknet
on 2013-06-13 14:30:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
pluknet
Created:
2013-06-13 14:30:00 UTC
Size:
1.25 KB
patch
obsolete
>Index: graphics/gd/Makefile >=================================================================== >--- graphics/gd/Makefile (revision 320799) >+++ graphics/gd/Makefile (working copy) >@@ -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/ \ >Index: graphics/gd/files/patch-gd_gif_out.c >=================================================================== >--- graphics/gd/files/patch-gd_gif_out.c (revision 0) >+++ graphics/gd/files/patch-gd_gif_out.c (working copy) >@@ -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;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 179537
: 134812