Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2018 10:02:02 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461572 - in head/graphics/optipng: . files
Message-ID:  <201802121002.w1CA223v041469@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Feb 12 10:02:02 2018
New Revision: 461572
URL: https://svnweb.freebsd.org/changeset/ports/461572

Log:
  graphics/optipng: Update to 0.7.7
  
  PR:		224960
  Submitted by:	Vidar Karlsen <vidar@karlsen.tech>
  Approved by:	timeout expired, tcberner (mentor, implicit)

Modified:
  head/graphics/optipng/Makefile
  head/graphics/optipng/distinfo
  head/graphics/optipng/files/patch-src_pngxtern_pngxmem.c

Modified: head/graphics/optipng/Makefile
==============================================================================
--- head/graphics/optipng/Makefile	Mon Feb 12 09:55:18 2018	(r461571)
+++ head/graphics/optipng/Makefile	Mon Feb 12 10:02:02 2018	(r461572)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	optipng
-PORTVERSION=	0.7.6
+PORTVERSION=	0.7.7
 CATEGORIES=	graphics
 MASTER_SITES=	SF/${PORTNAME}/OptiPNG/${PORTNAME}-${PORTVERSION}
 

Modified: head/graphics/optipng/distinfo
==============================================================================
--- head/graphics/optipng/distinfo	Mon Feb 12 09:55:18 2018	(r461571)
+++ head/graphics/optipng/distinfo	Mon Feb 12 10:02:02 2018	(r461572)
@@ -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

Modified: head/graphics/optipng/files/patch-src_pngxtern_pngxmem.c
==============================================================================
--- head/graphics/optipng/files/patch-src_pngxtern_pngxmem.c	Mon Feb 12 09:55:18 2018	(r461571)
+++ head/graphics/optipng/files/patch-src_pngxtern_pngxmem.c	Mon Feb 12 10:02:02 2018	(r461572)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802121002.w1CA223v041469>