Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jun 2013 13:15:53 +0300 (EEST)
From:      Sayetsky Anton <vsjcfm@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/179197: [patch] [update] graphics/pngcrush: unbreak & update
Message-ID:  <201306021015.r52AFrJF076809@jw.lds.net.ua>
Resent-Message-ID: <201306021020.r52AK0j3000649@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179197
>Category:       ports
>Synopsis:       [patch] [update] graphics/pngcrush: unbreak & update
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 02 10:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Sayetsky Anton
>Release:        FreeBSD 9.1-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD jw.local 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0 r250095: Tue Apr 30 12:25:23 EEST 2013 root@jw.local:/usr/obj/media/dvlfiles/build/src/sys/JASONW amd64

>Description:
There is a new version.

>How-To-Repeat:

>Fix:
Patch attached with submission follows:

--- patch.txt begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 319641)
+++ Makefile	(working copy)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pngcrush
-PORTVERSION=	1.7.51
+PORTVERSION=	1.7.59
 CATEGORIES=	graphics
 MASTER_SITES=	SF/pmt/${PORTNAME}/${PORTVERSION}
 DISTNAME=	${PORTNAME}-${PORTVERSION}-nolib
@@ -12,10 +12,7 @@
 
 LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png
 
-BROKEN=		Does not fetch
-
 USE_XZ=		yes
-USE_GMAKE=	yes
 CFLAGS+=	-DPNGCRUSH_COUNT_COLORS -I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 MAKE_ARGS+=	CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}"
Index: distinfo
===================================================================
--- distinfo	(revision 319641)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (pngcrush-1.7.51-nolib.tar.xz) = 78df26dd2c6fdb09e55078d173350bef62abb2ba51ccfe352f4be6f6b8cf7762
-SIZE (pngcrush-1.7.51-nolib.tar.xz) = 53912
+SHA256 (pngcrush-1.7.59-nolib.tar.xz) = 0dd7b7d0fb73e8ce9ada44ab1690613dc58c0800806bf3b06a411d69ffd37eb0
+SIZE (pngcrush-1.7.59-nolib.tar.xz) = 56532
Index: files/patch-Makefile
===================================================================
--- files/patch-Makefile	(revision 0)
+++ files/patch-Makefile	(working copy)
@@ -0,0 +1,29 @@
+--- ./Makefile.orig	2013-06-02 13:08:48.000000000 +0300
++++ ./Makefile	2013-06-02 13:10:53.000000000 +0300
+@@ -11,11 +11,11 @@
+ # macros --------------------------------------------------------------------
+ 
+ # uncomment these 2 lines only if you are using an external copy of libpng:
+-PNGINC = ${HOME}/include
+-PNGLIB = ${HOME}/lib
++#PNGINC = ${HOME}/include
++#PNGLIB = ${HOME}/lib
+ # uncomment these 2 lines only if you are using an external copy of zlib:
+-ZINC = ${HOME}/include
+-ZLIB = ${HOME}/lib
++#ZINC = ${HOME}/include
++#ZLIB = ${HOME}/lib
+ 
+ CC = gcc
+ LD = gcc
+@@ -31,8 +31,8 @@
+ PNGCRUSH  = pngcrush
+ 
+ # LIBS = -lm
+-LIBS = -L$(PNGLIB) -lpng -lz -lm
+-# LIBS = -lpng -lz -lm
++#LIBS = -L$(PNGLIB) -lpng -lz -lm
++LIBS = -lpng -lz -lm
+ #LIBS = ${ZLIB}/libz.a -lm
+ 
+ # uncomment these 4 lines only if you are NOT using an external copy of zlib:
--- patch.txt ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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