summaryrefslogtreecommitdiff
path: root/graphics/exrtools
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/exrtools')
-rw-r--r--graphics/exrtools/Makefile4
-rw-r--r--graphics/exrtools/files/patch-pngoutput.c10
2 files changed, 12 insertions, 2 deletions
diff --git a/graphics/exrtools/Makefile b/graphics/exrtools/Makefile
index e44bf4480a2d..5e1afe4f13ad 100644
--- a/graphics/exrtools/Makefile
+++ b/graphics/exrtools/Makefile
@@ -7,7 +7,7 @@
PORTNAME= exrtools
PORTVERSION= 0.4
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= http://scanline.ca/exrtools/ \
CRITICAL
@@ -18,7 +18,7 @@ COMMENT= Utilities for manipulating with HDR images in OpenEXR format
LICENSE= GPLv2
LIB_DEPENDS= IlmImf:${PORTSDIR}/graphics/OpenEXR \
- png:${PORTSDIR}/graphics/png \
+ png15:${PORTSDIR}/graphics/png \
jpeg:${PORTSDIR}/graphics/jpeg
GNU_CONFIGURE= yes
diff --git a/graphics/exrtools/files/patch-pngoutput.c b/graphics/exrtools/files/patch-pngoutput.c
new file mode 100644
index 000000000000..b3dab36ac666
--- /dev/null
+++ b/graphics/exrtools/files/patch-pngoutput.c
@@ -0,0 +1,10 @@
+--- src/pngoutput.c.orig 2003-12-08 18:33:27.000000000 +0100
++++ src/pngoutput.c 2012-04-25 06:41:11.000000000 +0200
+@@ -27,6 +27,7 @@
+ #include <errno.h>
+ #include <string.h>
+ #include <png.h>
++#include <zlib.h>
+ #include "pngoutput.h"
+
+ struct pngoutput_s