From owner-svn-ports-all@freebsd.org Mon Feb 12 10:02:03 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88938F096DF; Mon, 12 Feb 2018 10:02:03 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B3D26AD0A; Mon, 12 Feb 2018 10:02:03 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1C7CF10759; Mon, 12 Feb 2018 10:02:03 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1CA22OF041472; Mon, 12 Feb 2018 10:02:02 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1CA223v041469; Mon, 12 Feb 2018 10:02:02 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201802121002.w1CA223v041469@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 12 Feb 2018 10:02:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r461572 - in head/graphics/optipng: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/graphics/optipng: . files X-SVN-Commit-Revision: 461572 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Feb 2018 10:02:03 -0000 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 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;