Fri Jan 28 20:46:11 2011 UTC ()
Changes 1.7.14:
* Built with libpng-1.5.1beta06 and zlib-1.2.5
* Removed WIN32_WCE support (libpng has dropped it already)
* Include zlib.h and define png_memcpy, etc., and revise the
  png_get_iCCP() and png_set_iCCP() calls to be able to build
  with bundled libpng-1.5.x.  Pngcrush cannot be built yet with
  a system libpng-1.5.x.


(adam)
diff -r1.44 -r1.45 pkgsrc/graphics/pngcrush/Makefile
diff -r1.28 -r1.29 pkgsrc/graphics/pngcrush/distinfo
diff -r0 -r1.10 pkgsrc/graphics/pngcrush/patches/patch-aa

cvs diff -r1.44 -r1.45 pkgsrc/graphics/pngcrush/Makefile (expand / switch to context diff)
--- pkgsrc/graphics/pngcrush/Makefile 2011/01/13 13:38:15 1.44
+++ pkgsrc/graphics/pngcrush/Makefile 2011/01/28 20:46:11 1.45
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.44 2011/01/13 13:38:15 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2011/01/28 20:46:11 adam Exp $
 
-DISTNAME=	pngcrush-1.7.13-nolib
+DISTNAME=	pngcrush-1.7.14
 PKGNAME=	${DISTNAME:C/-nolib//}
-PKGREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=pmt/}
 EXTRACT_SUFX=	.tar.bz2
@@ -16,10 +15,10 @@
 NO_CONFIGURE=		yes
 INSTALLATION_DIRS=	bin
 
-do-build:
-	cd ${WRKSRC} && ${CC} -DPNG_USE_LOCAL_ARRAYS \
-		${CFLAGS} `libpng-config --cflags` -o pngcrush pngcrush.c \
-		${LDFLAGS} `libpng-config --ldflags` -lz
+#do-build:
+#	cd ${WRKSRC} && ${CC} -DPNG_USE_LOCAL_ARRAYS \
+#		${CFLAGS} `libpng-config --cflags` -o pngcrush pngcrush.c \
+#		${LDFLAGS} `libpng-config --ldflags` -lz
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/pngcrush ${DESTDIR}${PREFIX}/bin

cvs diff -r1.28 -r1.29 pkgsrc/graphics/pngcrush/distinfo (expand / switch to context diff)
--- pkgsrc/graphics/pngcrush/distinfo 2010/12/13 16:15:33 1.28
+++ pkgsrc/graphics/pngcrush/distinfo 2011/01/28 20:46:11 1.29
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.28 2010/12/13 16:15:33 adam Exp $
+$NetBSD: distinfo,v 1.29 2011/01/28 20:46:11 adam Exp $
 
-SHA1 (pngcrush-1.7.13-nolib.tar.bz2) = 37e38c1e99532b5136ad62b2c3279f0b40ae103b
+SHA1 (pngcrush-1.7.14.tar.bz2) = 266cb0f0ffdfba01ff7141d5871dd2b2cedb757f
-RMD160 (pngcrush-1.7.13-nolib.tar.bz2) = 51b54f780f07e21bb0b84bedf139e333feab896c
+RMD160 (pngcrush-1.7.14.tar.bz2) = 7ce64d19bb392b4c87515506daa1407323e05ef0
-Size (pngcrush-1.7.13-nolib.tar.bz2) = 48793 bytes
+Size (pngcrush-1.7.14.tar.bz2) = 315020 bytes
+SHA1 (patch-aa) = 5c82c5afc9923110254ac40b607fdff6d6863cc2

File Added: pkgsrc/graphics/pngcrush/patches/Attic/patch-aa
$NetBSD: patch-aa,v 1.10 2011/01/28 20:46:11 adam Exp $

--- Makefile.orig	2011-01-28 20:28:50.000000000 +0000
+++ Makefile
@@ -14,17 +14,13 @@
 #ZINC = ../../zlib
 #ZLIB = ../../zlib
 
-CC = gcc
-LD = gcc
 RM = rm -f
 #CFLAGS = -I. -O -Wall
 #CFLAGS = -I. -O2 -fomit-frame-pointer -Wall
 #CFLAGS = -I. -O3 -fomit-frame-pointer -Wall
 #CFLAGS = -I. -Os -fomit-frame-pointer -Wall
-CFLAGS = -I. -O3 -funroll-loops -fomit-frame-pointer -Wall -Wshadow
 #CFLAGS = -I${ZINC} -I. -O3 -fomit-frame-pointer -Wall
 # [note that -Wall is a gcc-specific compilation flag ("all warnings on")]
-LDFLAGS =
 O = .o
 E =
 
@@ -63,7 +59,7 @@ pngcrush$(O): pngcrush.c png.h pngconf.h
 	$(CC) -c $(CFLAGS) $<
 
 $(PNGCRUSH)$(E): $(OBJS)
-	$(LD) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
+	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
 
 # maintenance ---------------------------------------------------------------