aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gimageview
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2012-06-01 13:26:28 +0800
committerdinoex <dinoex@FreeBSD.org>2012-06-01 13:26:28 +0800
commit530706893f31269bbfa303e069f2e76cbbe2fce7 (patch)
treea8077a0d6e20d70b39e6a7fe3e57a6dafe7c7f33 /graphics/gimageview
parent9d262811a145d3e715edefd1d5d64ceac41de547 (diff)
downloadfreebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.tar.gz
freebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.tar.zst
freebsd-ports-gnome-530706893f31269bbfa303e069f2e76cbbe2fce7.zip
- update png to 1.5.10
Diffstat (limited to 'graphics/gimageview')
-rw-r--r--graphics/gimageview/Makefile5
-rw-r--r--graphics/gimageview/files/patch-png_loader.c11
-rw-r--r--graphics/gimageview/files/patch-png_saver.c11
3 files changed, 25 insertions, 2 deletions
diff --git a/graphics/gimageview/Makefile b/graphics/gimageview/Makefile
index ffedf411a40d..70aee8d00d0d 100644
--- a/graphics/gimageview/Makefile
+++ b/graphics/gimageview/Makefile
@@ -7,14 +7,15 @@
PORTNAME= gimageview
PORTVERSION= 0.2.27
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= graphics
MASTER_SITES= SF/gtkmmviewer/${PORTNAME}/${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Yet another GTK+ based image viewer
-LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
+ png15:${PORTSDIR}/graphics/png
USE_GMAKE= yes
WANT_GNOME= yes
diff --git a/graphics/gimageview/files/patch-png_loader.c b/graphics/gimageview/files/patch-png_loader.c
new file mode 100644
index 000000000000..79ad00553117
--- /dev/null
+++ b/graphics/gimageview/files/patch-png_loader.c
@@ -0,0 +1,11 @@
+--- plugins/image_loader/png_loader.c.orig 2004-05-23 16:08:16.000000000 +0200
++++ plugins/image_loader/png_loader.c 2012-05-09 12:30:01.000000000 +0200
+@@ -255,7 +255,7 @@
+ return NULL;
+ }
+
+- if (setjmp (png_ptr->jmpbuf)) goto ERROR;
++ if (setjmp (png_jmpbuf(png_ptr))) goto ERROR;
+
+ context.gio = gio;
+ context.bytes_read = 0;
diff --git a/graphics/gimageview/files/patch-png_saver.c b/graphics/gimageview/files/patch-png_saver.c
new file mode 100644
index 000000000000..960992e1b04a
--- /dev/null
+++ b/graphics/gimageview/files/patch-png_saver.c
@@ -0,0 +1,11 @@
+--- plugins/image_saver/png_saver.c.orig 2004-05-23 16:08:11.000000000 +0200
++++ plugins/image_saver/png_saver.c 2012-05-11 17:57:12.000000000 +0200
+@@ -130,7 +130,7 @@
+ return FALSE;
+ }
+
+- if (setjmp (png_ptr->jmpbuf)) {
++ if (setjmp (png_jmpbuf(png_ptr))) {
+ png_destroy_write_struct (&png_ptr, &info_ptr);
+ fclose (handle);
+ return FALSE;