aboutsummaryrefslogtreecommitdiff
path: root/graphics/danpei
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/danpei
parent24315159daa0089f08acea4ba1b130fb6721ad5c (diff)
downloadports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.tar.gz
ports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.zip
Notes
Diffstat (limited to 'graphics/danpei')
-rw-r--r--graphics/danpei/Makefile4
-rw-r--r--graphics/danpei/files/patch-image_cache.c11
2 files changed, 13 insertions, 2 deletions
diff --git a/graphics/danpei/Makefile b/graphics/danpei/Makefile
index 8de037908150..3703b42479ec 100644
--- a/graphics/danpei/Makefile
+++ b/graphics/danpei/Makefile
@@ -7,14 +7,14 @@
PORTNAME= danpei
PORTVERSION= 2.9.7
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= bu7cher@yandex.ru
COMMENT= Image Viewer for X Window System with thumbnail preview feature
-LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
+LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
.if !defined(WITHOUT_IMAGEMAGICK)
RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
diff --git a/graphics/danpei/files/patch-image_cache.c b/graphics/danpei/files/patch-image_cache.c
new file mode 100644
index 000000000000..b5c7888df007
--- /dev/null
+++ b/graphics/danpei/files/patch-image_cache.c
@@ -0,0 +1,11 @@
+--- src/image_cache.c.orig 2003-08-08 09:17:58.000000000 +0200
++++ src/image_cache.c 2012-05-03 23:39:36.000000000 +0200
+@@ -782,7 +782,7 @@
+ return FALSE;
+ }
+
+- if (setjmp (png_ptr->jmpbuf)) {
++ if (setjmp (png_jmpbuf(png_ptr))) {
+ png_destroy_write_struct(&png_ptr, &info_ptr);
+ fclose (fp);
+ return FALSE;