aboutsummaryrefslogtreecommitdiff
path: root/graphics/gif2png
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/gif2png
parent24315159daa0089f08acea4ba1b130fb6721ad5c (diff)
downloadports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.tar.gz
ports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.zip
Notes
Diffstat (limited to 'graphics/gif2png')
-rw-r--r--graphics/gif2png/Makefile3
-rw-r--r--graphics/gif2png/files/patch-gif2png.h11
2 files changed, 13 insertions, 1 deletions
diff --git a/graphics/gif2png/Makefile b/graphics/gif2png/Makefile
index acfb62ffc034..82f549f4939e 100644
--- a/graphics/gif2png/Makefile
+++ b/graphics/gif2png/Makefile
@@ -7,13 +7,14 @@
PORTNAME= gif2png
PORTVERSION= 2.5.4
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.catb.org/~esr/gif2png/
MAINTAINER= saper@saper.info
COMMENT= Converts GIF images to a PNG format
-LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
+LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
USE_PYTHON_RUN= yes
GNU_CONFIGURE= yes
diff --git a/graphics/gif2png/files/patch-gif2png.h b/graphics/gif2png/files/patch-gif2png.h
new file mode 100644
index 000000000000..bcb02608a70b
--- /dev/null
+++ b/graphics/gif2png/files/patch-gif2png.h
@@ -0,0 +1,11 @@
+--- gif2png.h.orig 2010-10-20 00:11:28.000000000 +0200
++++ gif2png.h 2012-04-25 06:50:10.000000000 +0200
+@@ -2,6 +2,8 @@
+
+ /* get png type definitions */
+ #include "png.h"
++#include "pngpriv.h"
++#include "zlib.h"
+
+ #define GIFterminator ';'
+ #define GIFextension '!'