diff options
author | yuri <yuri@FreeBSD.org> | 2018-02-12 18:02:02 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2018-02-12 18:02:02 +0800 |
commit | 57c2605e0f2a60ed495c898ff13fdfde5de9230b (patch) | |
tree | f830de62696f0bc915d500524650f69349598c5f /graphics | |
parent | f846e98a197613b72cbac0182e29c7ee0af2acf2 (diff) | |
download | freebsd-ports-gnome-57c2605e0f2a60ed495c898ff13fdfde5de9230b.tar.gz freebsd-ports-gnome-57c2605e0f2a60ed495c898ff13fdfde5de9230b.tar.zst freebsd-ports-gnome-57c2605e0f2a60ed495c898ff13fdfde5de9230b.zip |
graphics/optipng: Update to 0.7.7
PR: 224960
Submitted by: Vidar Karlsen <vidar@karlsen.tech>
Approved by: timeout expired, tcberner (mentor, implicit)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/optipng/Makefile | 2 | ||||
-rw-r--r-- | graphics/optipng/distinfo | 6 | ||||
-rw-r--r-- | graphics/optipng/files/patch-src_pngxtern_pngxmem.c | 10 |
3 files changed, 9 insertions, 9 deletions
diff --git a/graphics/optipng/Makefile b/graphics/optipng/Makefile index 2d4a9b13054c..ff8ff96e88ca 100644 --- a/graphics/optipng/Makefile +++ b/graphics/optipng/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= optipng -PORTVERSION= 0.7.6 +PORTVERSION= 0.7.7 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/OptiPNG/${PORTNAME}-${PORTVERSION} diff --git a/graphics/optipng/distinfo b/graphics/optipng/distinfo index 4958b9c74123..f4199736a041 100644 --- a/graphics/optipng/distinfo +++ b/graphics/optipng/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1486685228 -SHA256 (optipng-0.7.6.tar.gz) = 4870631fcbd3825605f00a168b8debf44ea1cda8ef98a73e5411eee97199be80 -SIZE (optipng-0.7.6.tar.gz) = 2202237 +TIMESTAMP = 1515280833 +SHA256 (optipng-0.7.7.tar.gz) = 4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452 +SIZE (optipng-0.7.7.tar.gz) = 2329555 diff --git a/graphics/optipng/files/patch-src_pngxtern_pngxmem.c b/graphics/optipng/files/patch-src_pngxtern_pngxmem.c index f519ce30d5f4..cdf321697a5e 100644 --- a/graphics/optipng/files/patch-src_pngxtern_pngxmem.c +++ b/graphics/optipng/files/patch-src_pngxtern_pngxmem.c @@ -1,11 +1,11 @@ ---- src/pngxtern/pngxmem.c.orig 2015-04-22 09:07:30 UTC +--- src/pngxtern/pngxmem.c.orig 2018-01-06 23:22:33 UTC +++ src/pngxtern/pngxmem.c -@@ -34,7 +34,7 @@ pngx_malloc_rows_extended(png_structp pn - png_error(png_ptr, "Missing IHDR"); +@@ -35,7 +35,7 @@ pngx_malloc_rows_extended(png_structp pn row_size = png_get_rowbytes(png_ptr, info_ptr); /* libpng sets row_size to 0 when the width is too large to process. */ -- if (row_size == 0 || height > (pngx_alloc_size_t)(-1) / sizeof(png_bytep)) -+ if (row_size == 0 || height > (pngx_alloc_size_t)(-1U) / sizeof(png_bytep)) + if (row_size == 0 || +- (pngx_alloc_size_t)height > (pngx_alloc_size_t)(-1) / sizeof(png_bytep)) ++ (pngx_alloc_size_t)height > (pngx_alloc_size_t)(-1U) / sizeof(png_bytep)) png_error(png_ptr, "Can't handle exceedingly large image dimensions"); if (row_size < min_row_size) row_size = min_row_size; |