FreeBSD Bugzilla – Attachment 195061 Details for
Bug 229707
graphics/gd - upgrade and fix a potential DOS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Upgrade graphics/gd to 2.2.5
gd-update.patch (text/plain), 2.72 KB, created by
Mikhail Teterin
on 2018-07-11 20:00:41 UTC
(
hide
)
Description:
Upgrade graphics/gd to 2.2.5
Filename:
MIME Type:
Creator:
Mikhail Teterin
Created:
2018-07-11 20:00:41 UTC
Size:
2.72 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 474471) >+++ Makefile (working copy) >@@ -2,8 +2,7 @@ > # $FreeBSD$ > > PORTNAME= libgd >-PORTVERSION= 2.2.4 >-PORTREVISION= 1 >+PORTVERSION= 2.2.5 > PORTEPOCH= 1 > CATEGORIES+= graphics > MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/gd-${PORTVERSION}/ >@@ -24,6 +23,7 @@ > SHEBANG_FILES= ${WRKSRC}/src/bdftogd > GNU_CONFIGURE= yes > USE_LDCONFIG= yes >+TEST_TARGET= check > > OPTIONS_DEFINE= FONTCONFIG ICONV XPM WEBP > OPTIONS_DEFAULT=FONTCONFIG WEBP >@@ -90,6 +90,6 @@ > post-install: > ${INSTALL_DATA} ${WRKSRC}/src/gdhelpers.h \ > ${STAGEDIR}${PREFIX}/include/ >- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgd.so.6.0.4 >+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgd.so.6* > > .include <bsd.port.mk> >Index: distinfo >=================================================================== >--- distinfo (revision 474471) >+++ distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1485463341 >-SHA256 (libgd-2.2.4.tar.xz) = 137f13a7eb93ce72e32ccd7cebdab6874f8cf7ddf31d3a455a68e016ecd9e4e6 >-SIZE (libgd-2.2.4.tar.xz) = 2478528 >+TIMESTAMP = 1531337629 >+SHA256 (libgd-2.2.5.tar.xz) = 8c302ccbf467faec732f0741a859eef4ecae22fea2d2ab87467be940842bde51 >+SIZE (libgd-2.2.5.tar.xz) = 2594092 >Index: files/patch-gd_gif_in.c >=================================================================== >--- files/patch-gd_gif_in.c (nonexistent) >+++ files/patch-gd_gif_in.c (working copy) >@@ -0,0 +1,34 @@ >+See: >+ >+ https://bugs.php.net/bug.php?id=75571 >+ >+--- src/gd_gif_in.c 2017-08-30 07:05:54.000000000 -0400 >++++ src/gd_gif_in.c 2018-07-11 15:39:11.746181000 -0400 >+@@ -336,9 +336,4 @@ >+ } >+ >+- if(!im->colorsTotal) { >+- gdImageDestroy(im); >+- return 0; >+- } >+- >+ /* Check for open colors at the end, so >+ * we can reduce colorsTotal and ultimately >+@@ -352,4 +347,9 @@ >+ } >+ >++ if(!im->colorsTotal) { >++ gdImageDestroy(im); >++ return 0; >++ } >++ >+ return im; >+ } >+@@ -447,6 +447,5 @@ >+ GetCode_(gdIOCtx *fd, CODE_STATIC_DATA *scd, int code_size, int flag, int *ZeroDataBlockP) >+ { >+- int i, j, ret; >+- unsigned char count; >++ int i, j, ret, count; >+ >+ if(flag) { > >Property changes on: files/patch-gd_gif_in.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 474471) >+++ pkg-plist (working copy) >@@ -29,5 +29,5 @@ > lib/libgd.la > lib/libgd.so > lib/libgd.so.6 >-lib/libgd.so.6.0.4 >+lib/libgd.so.6.0.5 > libdata/pkgconfig/gdlib.pc
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 229707
:
195060
| 195061