1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Update graphics/optipng to 0.7.6

- Convert to USES=localbase

PR:		216952
Submitted by:	Thomas Hurst <tom@hur.st> (maintainer)
This commit is contained in:
Guido Falsi 2017-02-16 21:24:21 +00:00
parent ad139da46e
commit b3db121977
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434254
3 changed files with 5 additions and 16 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= optipng
PORTVERSION= 0.7.5
PORTVERSION= 0.7.6
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/OptiPNG/${PORTNAME}-${PORTVERSION}
@ -18,8 +18,7 @@ BUNDLED_LIBPNG_DESC= Use bundled libpng
BUNDLED_LIBPNG_CONFIGURE_OFF= --with-system-libpng
BUNDLED_LIBPNG_CONFIGURE_ON= --without-system-libpng
BUNDLED_LIBPNG_LIB_DEPENDS_OFF= libpng.so:graphics/png
BUNDLED_LIBPNG_CFLAGS_OFF= -I${LOCALBASE}/include
BUNDLED_LIBPNG_LDFLAGS_OFF= -L${LOCALBASE}/lib
BUNDLED_LIBPNG_USES_OFF= localbase:ldflags
BUNDLED_ZLIB_DESC= Use bundled zlib
BUNDLED_ZLIB_CONFIGURE_OFF= --with-system-zlib

View File

@ -1,2 +1,3 @@
SHA256 (optipng-0.7.5.tar.gz) = 74e54b798b012dff8993fb8d90185ca83f18cfa4935f4a93b0bcfc33c849619d
SIZE (optipng-0.7.5.tar.gz) = 2141943
TIMESTAMP = 1486685228
SHA256 (optipng-0.7.6.tar.gz) = 4870631fcbd3825605f00a168b8debf44ea1cda8ef98a73e5411eee97199be80
SIZE (optipng-0.7.6.tar.gz) = 2202237

View File

@ -1,11 +0,0 @@
--- src/optipng/osys.c.orig 2015-04-22 09:09:17 UTC
+++ src/optipng/osys.c
@@ -518,7 +518,7 @@ osys_copy_attr(const char *src_path, con
if (chmod(dest_path, sbuf.st_mode) != 0)
result = -1;
-#ifdef AT_FDCWD
+#if 0
{
struct timespec times[2];