aboutsummaryrefslogtreecommitdiff
path: root/devel/libzvbi
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 /devel/libzvbi
parent24315159daa0089f08acea4ba1b130fb6721ad5c (diff)
Notes
Diffstat (limited to 'devel/libzvbi')
-rw-r--r--devel/libzvbi/Makefile4
-rw-r--r--devel/libzvbi/files/patch-src-exp-gfx.c16
2 files changed, 18 insertions, 2 deletions
diff --git a/devel/libzvbi/Makefile b/devel/libzvbi/Makefile
index 078ce7ba3c9d..6f1d9c1dbcfa 100644
--- a/devel/libzvbi/Makefile
+++ b/devel/libzvbi/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libzvbi
PORTVERSION= 0.2.33
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= SF/zapping/zvbi/${PORTVERSION}
DISTNAME= ${PORTNAME:S/lib//}-${PORTVERSION}
@@ -15,7 +15,7 @@ DISTNAME= ${PORTNAME:S/lib//}-${PORTVERSION}
MAINTAINER= oliver@FreeBSD.org
COMMENT= Routines to access raw VBI capture devices
-LIB_DEPENDS+= png.6:${PORTSDIR}/graphics/png \
+LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png \
unicode.0:${PORTSDIR}/devel/libunicode
USE_GETTEXT= yes
diff --git a/devel/libzvbi/files/patch-src-exp-gfx.c b/devel/libzvbi/files/patch-src-exp-gfx.c
new file mode 100644
index 000000000000..5091955a012c
--- /dev/null
+++ b/devel/libzvbi/files/patch-src-exp-gfx.c
@@ -0,0 +1,16 @@
+--- src/exp-gfx.c.orig 2008-02-24 15:17:47.000000000 +0100
++++ src/exp-gfx.c 2012-05-26 12:49:12.000000000 +0200
+@@ -1672,11 +1672,11 @@
+ char title[80];
+ unsigned int i;
+
+- if (setjmp (png_ptr->jmpbuf))
++ if (setjmp (png_jmpbuf(png_ptr)))
+ return FALSE;
+
+ png_set_write_fn (png_ptr,
+- (voidp) gfx,
++ gfx,
+ write_data,
+ flush_data);
+