aboutsummaryrefslogtreecommitdiff
path: root/graphics/pngnq
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
commit2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch)
treec04604583d8be53b3ed7f10975be828c731f87cb /graphics/pngnq
parent24315159daa0089f08acea4ba1b130fb6721ad5c (diff)
downloadports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.tar.gz
ports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.zip
- update png to 1.5.10
Notes
Notes: svn path=/head/; revision=297915
Diffstat (limited to 'graphics/pngnq')
-rw-r--r--graphics/pngnq/Makefile3
-rw-r--r--graphics/pngnq/files/patch-rwpng.c10
2 files changed, 12 insertions, 1 deletions
diff --git a/graphics/pngnq/Makefile b/graphics/pngnq/Makefile
index 57e05cd768a5..7fd70f505e47 100644
--- a/graphics/pngnq/Makefile
+++ b/graphics/pngnq/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pngnq
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF
@@ -15,7 +16,7 @@ COMMENT= A tool for quantizing PNG images in RGBA format
LICENSE= BSD
-LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
+LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
GNU_CONFIGURE= yes
diff --git a/graphics/pngnq/files/patch-rwpng.c b/graphics/pngnq/files/patch-rwpng.c
new file mode 100644
index 000000000000..563f04f9fb14
--- /dev/null
+++ b/graphics/pngnq/files/patch-rwpng.c
@@ -0,0 +1,10 @@
+--- src/rwpng.c.orig 2010-05-11 00:42:56.000000000 +0200
++++ src/rwpng.c 2012-04-25 19:10:41.000000000 +0200
+@@ -33,6 +33,7 @@
+ #include <stdlib.h>
+
+ #include "png.h" /* libpng header; includes zlib.h */
++#include "zlib.h"
+ #include "rwpng.h" /* typedefs, common macros, public prototypes */
+
+ /* future versions of libpng will provide this macro: */