From 2b74a89bc8342f0b9b737c37d87737caf7b0ea1e Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Fri, 1 Jun 2012 05:26:28 +0000 Subject: - update png to 1.5.10 --- graphics/danpei/Makefile | 4 ++-- graphics/danpei/files/patch-image_cache.c | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 graphics/danpei/files/patch-image_cache.c (limited to 'graphics/danpei') 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; -- cgit v1.2.3