Created attachment 155855 [details] patch to 0.7.5 Update to 0.7.5. Convert to modern OPTIONS style. Had to use _CONFIGURE_ON/_OFF due to lack of _CONFIGURE_WITHOUT - better than breaking existing configs. Fix a compiler warning on amd64 - pngxmem.c is expected to compare height with MAX_UINT / sizeof(*ptr), but was instead doing MAX_ULONG / sizeof(*ptr). It should now correctly reject PNGs more than 536.8 million pixels tall. I don't have one handy to test :(
Created attachment 155856 [details] poudriere testport on 10.1-RELEASE/amd64
Created attachment 155857 [details] poudriere testport on 9.3-RELEASE/amd64
Committed. Thanks.
A commit references this bug: Author: jbeich Date: Thu Apr 23 11:11:13 UTC 2015 New revision: 384558 URL: https://svnweb.freebsd.org/changeset/ports/384558 Log: - Update to 0.7.5 - Convert to option helpers but don't use _CONFIGURE_WITH due to inverse logic - Fix compiler warning on amd64 due to (size_t)(-1) being larger than UINT_MAX PR: 199612 Submitted by: Thomas Hurst <tom@hur.st> (maintainer) Changes: head/graphics/optipng/Makefile head/graphics/optipng/distinfo head/graphics/optipng/files/patch-src-optipng-osys.c head/graphics/optipng/files/patch-src_optipng_osys.c head/graphics/optipng/files/patch-src_pngxtern_pngxmem.c