aboutsummaryrefslogtreecommitdiff
path: root/graphics/danpei
diff options
context:
space:
mode:
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;